Skip to content

chore(deps): bump memoize-one from 5.2.1 to 6.0.0 in /superset-frontend/packages/superset-ui-demo#37151

Merged
rusackas merged 3 commits into
masterfrom
dependabot/npm_and_yarn/superset-frontend/packages/superset-ui-demo/memoize-one-6.0.0
Jan 27, 2026
Merged

chore(deps): bump memoize-one from 5.2.1 to 6.0.0 in /superset-frontend/packages/superset-ui-demo#37151
rusackas merged 3 commits into
masterfrom
dependabot/npm_and_yarn/superset-frontend/packages/superset-ui-demo/memoize-one-6.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jan 15, 2026

Bumps memoize-one from 5.2.1 to 6.0.0.

Release notes

Sourced from memoize-one's releases.

6.0.0

At a glance

🧹 New .clear() function to remove the current memoization cache 🏋️‍♀️ Stronger types 🥰 Improved documentation

This release is a major, but there are no behaviour or API changes. The major is to reflect that some of the TypeScript types have been tightened which might cause some peoples TypeScript builds to break.

PSA: memoize-one will soon™️ be dropping ie11 support More details

New: Cache releasing with .clear() 🧹

A .clear() property is now added to memoized functions to allow you to clear it's memoization cache

This is helpful if you want to:

  • Release memory
  • Allow the underlying function to be called again without having to change arguments
import memoizeOne from 'memoize-one';
function add(a: number, b: number): number {
return a + b;
}
const memoizedAdd = memoizeOne(add);
// first call - not memoized
const first = memoizedAdd(1, 2);
// second call - cache hit (underlying function not called)
const second = memoizedAdd(1, 2);
// 👋 clearing memoization cache
memoizedAdd.clear();
// third call - not memoized (cache was cleared)
const third = memoizedAdd(1, 2);

Improved: memoized function type

There are no API changes to memoize-one, this is merely a typing improvement

Our previous type for a memoized function was simple:

Previous

... (truncated)

Commits
  • d5acc53 v6.0.0
  • deec8be Merge pull request #124 from alexreardon/refresh
  • e5a4d8b adding tests for casting the type of a memoized function
  • d8246db updating copy in readme
  • 994ef04 updating perf benchmark as lodash only uses the first argument as the key
  • cd46d47 removing temp type:module
  • 18b689f updating results
  • 4c5409b formatting results
  • ce0c6bf outputting results to markdown tables
  • 3e75de0 moving to node 16
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependabot npm Dependabot - npm related PRs labels Jan 15, 2026
@codeant-ai-for-open-source
Copy link
Copy Markdown
Contributor

Skipping PR review because a bot author is detected.

If you want to trigger CodeAnt AI, comment @codeant-ai review to trigger a manual review.

@bito-code-review
Copy link
Copy Markdown
Contributor

bito-code-review Bot commented Jan 15, 2026

Bito Automatic Review Skipped - Files Excluded

Bito didn't auto-review this change because all changed files are in the exclusion list for automatic reviews. No action is needed if you didn't intend for the agent to review it. Otherwise, to manually trigger a review, type /review in a comment and save.
You can change the excluded files settings here, or contact your Bito workspace admin at evan@preset.io.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 15, 2026

Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit 1cfbe6f
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/6978057ffa0b8100084b0995
😎 Deploy Preview https://deploy-preview-37151--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@rusackas
Copy link
Copy Markdown
Member

/review

@bito-code-review
Copy link
Copy Markdown
Contributor

bito-code-review Bot commented Jan 21, 2026

Bito Automatic Review Skipped - Files Excluded

Bito didn't auto-review this change because all changed files are in the exclusion list for automatic reviews. No action is needed if you didn't intend for the agent to review it. Otherwise, to manually trigger a review, type /review in a comment and save.
You can change the excluded files settings here, or contact your Bito workspace admin at evan@preset.io.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/superset-frontend/packages/superset-ui-demo/memoize-one-6.0.0 branch 2 times, most recently from 8a9e516 to 17bef72 Compare January 23, 2026 18:57
@rusackas rusackas force-pushed the dependabot/npm_and_yarn/superset-frontend/packages/superset-ui-demo/memoize-one-6.0.0 branch 2 times, most recently from 9628173 to 4e0e861 Compare January 26, 2026 06:24
@rusackas
Copy link
Copy Markdown
Member

This PR has CI failures due to npm dependency resolution issues causing query-string to be resolved to an ESM-only version and global-box to go missing. The lockfile needs careful manual regeneration to fix these transitive dependency issues.

Errors:

  • Jest: SyntaxError: Cannot use import statement outside a module (query-string ESM issue)
  • Storybook: Module not found: Error: Can't resolve 'global-box' (encodable dependency)

This requires manual intervention to properly regenerate the lockfile while pinning transitive dependencies correctly.

Bumps [memoize-one](https://github.com/alexreardon/memoize-one) from 5.2.1 to 6.0.0.
- [Release notes](https://github.com/alexreardon/memoize-one/releases)
- [Commits](alexreardon/memoize-one@v5.2.1...v6.0.0)

---
updated-dependencies:
- dependency-name: memoize-one
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@rusackas rusackas force-pushed the dependabot/npm_and_yarn/superset-frontend/packages/superset-ui-demo/memoize-one-6.0.0 branch from 4e0e861 to 7af0f31 Compare January 27, 2026 00:00
@rusackas
Copy link
Copy Markdown
Member

Rebased on master after PR #37450 merged, which fixed the query-string/encodable ESM issue. The lockfile has been regenerated and this PR is ready for review.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rusackas
Copy link
Copy Markdown
Member

CI is failing with a webpack compilation error in Table.stories.tsx:124:9. memoize-one 6.0.0 switched from CommonJS to ESM, which breaks the existing import pattern used in the Storybook demo.

…ize-one 6.0.0

memoize-one 6.0.0 has stricter TypeScript types that cannot preserve
generic type parameters. Wrap expandArray calls in concrete typed
lambdas so memoizeOne correctly infers DataRecord[] and string[]
return types instead of unknown[].

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rusackas rusackas merged commit dba75bd into master Jan 27, 2026
75 of 77 checks passed
@rusackas rusackas deleted the dependabot/npm_and_yarn/superset-frontend/packages/superset-ui-demo/memoize-one-6.0.0 branch January 27, 2026 06:22
@bito-code-review
Copy link
Copy Markdown
Contributor

Bito Automatic Review Skipped – PR Already Merged

Bito scheduled an automatic review for this pull request, but the review was skipped because this PR was merged before the review could be run.
No action is needed if you didn't intend to review it. To get a review, you can type /review in a comment and save it

LevisNgigi pushed a commit to LevisNgigi/superset that referenced this pull request Feb 4, 2026
…nd/packages/superset-ui-demo (apache#37151)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@rusackas.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
aminghadersohi pushed a commit to aminghadersohi/superset that referenced this pull request Mar 5, 2026
…nd/packages/superset-ui-demo (apache#37151)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@rusackas.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
alex-poor pushed a commit to alex-poor/superset that referenced this pull request Mar 15, 2026
…nd/packages/superset-ui-demo (apache#37151)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@rusackas.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
qfcwell pushed a commit to qfcwell/superset that referenced this pull request May 12, 2026
…nd/packages/superset-ui-demo (apache#37151)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@rusackas.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant