Skip to content

chore: bump @metamask/utils from ^11.12.0 to ^12.0.0 - #10127

Closed
cryptodev-2s wants to merge 2 commits into
mainfrom
chore/bump-utils-v12
Closed

chore: bump @metamask/utils from ^11.12.0 to ^12.0.0#10127
cryptodev-2s wants to merge 2 commits into
mainfrom
chore/bump-utils-v12

Conversation

@cryptodev-2s

@cryptodev-2s cryptodev-2s commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Explanation

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Note

Medium Risk
A major-version bump on a shared utility used throughout core packages can introduce breaking API or typing changes at runtime and compile time, even though this PR only updates versions and test resolution.

Overview
This PR upgrades @metamask/utils from ^11.12.0 to ^12.0.0 across the monorepo root and essentially every package that depends on it, with matching Unreleased changelog notes pointing at #10127.

The only non-version change is in jest.config.packages.cjs: a dedicated moduleNameMapper entry for @metamask/utils (alongside the existing @metamask/utils/node mapping) so Jest resolves the published package instead of treating it like an in-repo @metamask/* source path. There are no application or controller source edits in the diff—only dependency pins and release notes.

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

@cryptodev-2s
cryptodev-2s changed the base branch from main to mrtenz/es2022 September 7, 2026 14:17
@socket-security

socket-security Bot commented Sep 7, 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
Added@​metamask/​utils@​12.0.09910010096100

View full report

@cryptodev-2s
cryptodev-2s marked this pull request as ready for review September 7, 2026 14:33
@cryptodev-2s cryptodev-2s changed the title Chore/bump utils v12 chore: bump @metamask/utils from ^11.12.0 to ^12.0.0 Sep 7, 2026
@cryptodev-2s
cryptodev-2s changed the base branch from mrtenz/es2022 to main September 7, 2026 14:37
@cryptodev-2s
cryptodev-2s requested review from a team as code owners September 7, 2026 14:37
@cryptodev-2s
cryptodev-2s changed the base branch from main to mrtenz/es2022 September 7, 2026 14:38
@cryptodev-2s cryptodev-2s self-assigned this Sep 7, 2026
@Mrtenz
Mrtenz force-pushed the mrtenz/es2022 branch 8 times, most recently from 67282e1 to 84b746b Compare September 9, 2026 17:51
Base automatically changed from mrtenz/es2022 to main September 9, 2026 17:57
@cryptodev-2s
cryptodev-2s marked this pull request as draft September 9, 2026 18:32
@cryptodev-2s
cryptodev-2s force-pushed the chore/bump-utils-v12 branch 4 times, most recently from 25db44e to c4e64bb Compare September 10, 2026 17:13
@cryptodev-2s
cryptodev-2s marked this pull request as ready for review September 10, 2026 17:13
Comment thread jest.config.packages.cjs
'<rootDir>/../json-rpc-engine/src/v2/index.ts',
],
'^@metamask/utils/node$': require.resolve('@metamask/utils/node'),
'^@metamask/utils$': require.resolve('@metamask/utils'),

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@metamask/utils is ESM only and declares no main, so the directory fallback below cannot find an entry point for it. Resolve it through its exports map instead, as we already do for the /node subpath above.
I will remove this once the package lives in this repo and the source path wins

@cryptodev-2s

Copy link
Copy Markdown
Contributor Author

@metamaskbot update-changelogs

@metamask-ci

metamask-ci Bot commented Sep 10, 2026

Copy link
Copy Markdown

✅ Changelogs updated and pushed.

@cryptodev-2s
cryptodev-2s marked this pull request as draft September 10, 2026 17:41
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.

1 participant