Skip to content

fix(deps): update dependency nanoid to v6 - #10602

Open
metamask-ci[bot] wants to merge 2 commits into
mainfrom
renovate/major-ai-nanoid
Open

metamask-ci[bot] wants to merge 2 commits into
mainfrom
renovate/major-ai-nanoid

Conversation

@metamask-ci

@metamask-ci metamask-ci Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
nanoid ^3.3.19 → ^6.0.2 age confidence

Release Notes

ai/nanoid (nanoid)

v6.0.2

Compare Source

v6.0.1

Compare Source

  • Fixed docs.

v6.0.0

Compare Source

  • Made nanoid() and customAlphabet() 4 times faster (by @​orhanayd).
  • Removed Node.js 18 and 20 support.

v5.1.16

Compare Source

v5.1.15

Compare Source

  • Fixed random pool corruption on big ID sizes.

v5.1.14

Compare Source

  • Fixed npm package size regression.

v5.1.13

Compare Source

  • Fixed npm package size regression.

v5.1.12

Compare Source

  • Moved to npm Provenance and Staged Publishing.

v5.1.11

Compare Source

  • Fixed breaking Nano ID by requesting big ID.

v5.1.10

Compare Source

v5.1.9

Compare Source

  • Fixed npm package size regression.

v5.1.8

Compare Source

v5.1.7

Compare Source

v5.1.6

Compare Source

  • Fixed infinite loop on 0 size for customAlphabet.

v5.1.5

Compare Source

  • Fixed latest version on npm after 3.x release.

v5.1.4

Compare Source

  • Fixed latest version on npm after 3.x release.

v5.1.3

Compare Source

v5.1.2

Compare Source

  • Fixed module docs.

v5.1.1

Compare Source

v5.1.0

Compare Source

v5.0.9

Compare Source

  • Fixed a way to break Nano ID by passing non-integer size (by @​myndzi).

v5.0.8

Compare Source

v5.0.7

Compare Source

v5.0.6

Compare Source

  • Fixed React Native support.

v5.0.5

Compare Source

  • Make browser’s version faster by increasing size a little (by Samuel Elgozi).

v5.0.4

Compare Source

v5.0.3

Compare Source

  • Fixed CLI docs (by Chris Schmich).

v5.0.2

Compare Source

  • Fixed webcrypto import (by Divyansh Singh).

v5.0.1

Compare Source

  • Fixed Node.js 18 support.

v5.0.0

Compare Source

v4.0.2

Compare Source

  • Added link to Github Sponsors.

v4.0.1

Compare Source

v4.0.0

Compare Source

v3.3.20

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.


Note

Medium Risk
Major nanoid upgrade affects ID generation in approval, permission, and JSON-RPC provider paths; API usage is unchanged and packages already target Node 22+, aligning with nanoid v6’s engine requirements.

Overview
Upgrades nanoid from ^3.3.19 to ^6.0.2 across four workspace packages and refreshes the lockfile. @metamask/approval-controller, @metamask/eth-json-rpc-provider, and @metamask/permission-controller list it as a runtime dependency; @metamask/permission-log-controller keeps it as a devDependency for tests.

Changelog Unreleased notes are updated so the documented range is ^3.3.8 → ^6.0.2 (including prior bump PRs). There are no application source changes—only package.json, changelogs, and yarn.lock.

Reviewed by Cursor Bugbot for commit 512dda0. Bugbot is set up for automated code reviews on this repo. Configure here.

@metamask-ci
metamask-ci Bot requested review from a team as code owners September 30, 2026 06:24
@metamask-ci
metamask-ci Bot deployed to default-branch September 30, 2026 06:24 Active
@metamask-ci
metamask-ci Bot deployed to dependabot September 30, 2026 06:24 Active
@socket-security

socket-security Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednanoid@​6.0.21001007993100

View full report

@metamask-ci

metamask-ci Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@metamask-ci
metamask-ci Bot force-pushed the renovate/major-ai-nanoid branch from 777d1a5 to add4767 Compare October 7, 2026 14:58
@metamask-ci
metamask-ci Bot deployed to dependabot October 7, 2026 14:58 Active
@metamask-ci
metamask-ci Bot force-pushed the renovate/major-ai-nanoid branch from e738a0f to d2ccd44 Compare October 9, 2026 06:25
@metamask-ci
metamask-ci Bot deployed to dependabot October 9, 2026 06:26 Active
@metamask-ci
metamask-ci Bot force-pushed the renovate/major-ai-nanoid branch from c3b3f6e to b5979bf Compare October 9, 2026 13:06
@metamask-ci
metamask-ci Bot deployed to dependabot October 9, 2026 13:06 Active

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

Comment thread packages/approval-controller/package.json
@metamask-ci
metamask-ci Bot force-pushed the renovate/major-ai-nanoid branch from 84206e8 to d5261ab Compare October 11, 2026 06:23
@metamask-ci
metamask-ci Bot deployed to dependabot October 11, 2026 06:23 Active
@metamask-ci
metamask-ci Bot force-pushed the renovate/major-ai-nanoid branch from 1613ac9 to e476014 Compare October 17, 2026 06:23
@metamask-ci
metamask-ci Bot deployed to dependabot October 17, 2026 06:23 Active

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit e476014. Configure here.

"@types/lodash": "^4.17.26",
"lodash-es": "^4.18.1",
"nanoid": "^3.3.19"
"nanoid": "^6.0.2"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESM-only nanoid breaks Jest tests

High Severity

Bumping nanoid from v3 to v6 drops CommonJS. Jest still compiles these packages to CommonJS and leaves node_modules untransformed, so imports of nanoid fail on Node 22 with ERR_REQUIRE_ESM. CI runs that matrix, and other Jest packages that load these sources through the workspace mapper hit the same failure.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit e476014. Configure here.

This branch was successfully deployed

2 active (outdated) deployments
default-branch — b296e701 Deployed Sep 30, 2026 by metamask-ci[bot] via Determine whether this PR is a release PR #4934
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants