Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions jest.config.packages.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ module.exports = {
'<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

'^@metamask/(.+)$': [
'<rootDir>/../$1/src',
// Some @metamask/* packages we are referencing aren't in this monorepo,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"@metamask/eslint-config-typescript": "^15.0.0",
"@metamask/network-controller": "^37.0.0",
"@metamask/skills": "^0.1.0",
"@metamask/utils": "^11.12.0",
"@metamask/utils": "^12.0.0",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.17.20",
"@types/node": "^22.13.14",
Expand Down
4 changes: 4 additions & 0 deletions packages/account-tree-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [10.0.1]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/account-tree-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@metamask/snaps-sdk": "^11.0.0",
"@metamask/snaps-utils": "^12.1.2",
"@metamask/superstruct": "^3.4.1",
"@metamask/utils": "^11.12.0",
"@metamask/utils": "^12.0.0",
"fast-deep-equal": "^3.1.3",
"lodash-es": "^4.17.21"
},
Expand Down
1 change: 1 addition & 0 deletions packages/accounts-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Bump `uuid` from `^8.3.2` to `^9.0.1` ([#10117](https://github.com/MetaMask/core/pull/10117))
- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [40.0.0]

Expand Down
2 changes: 1 addition & 1 deletion packages/accounts-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@metamask/messenger": "^3.0.0",
"@metamask/network-controller": "^37.0.0",
"@metamask/superstruct": "^3.4.1",
"@metamask/utils": "^11.12.0",
"@metamask/utils": "^12.0.0",
"deepmerge": "^4.2.2",
"ethereum-cryptography": "^2.1.2",
"immer": "^9.0.6",
Expand Down
4 changes: 4 additions & 0 deletions packages/address-book-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [8.0.0]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/address-book-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@metamask/base-controller": "^10.0.0",
"@metamask/controller-utils": "^13.0.0",
"@metamask/messenger": "^3.0.0",
"@metamask/utils": "^11.12.0"
"@metamask/utils": "^12.0.0"
},
"devDependencies": {
"@metamask/auto-changelog": "^6.1.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/ai-controllers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [2.0.0]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/ai-controllers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@metamask/base-controller": "^10.0.0",
"@metamask/messenger": "^3.0.0",
"@metamask/superstruct": "^3.4.1",
"@metamask/utils": "^11.12.0"
"@metamask/utils": "^12.0.0"
},
"devDependencies": {
"@metamask/auto-changelog": "^6.1.0",
Expand Down
1 change: 1 addition & 0 deletions packages/analytics-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Bump `uuid` from `^8.3.2` to `^9.0.1` ([#10117](https://github.com/MetaMask/core/pull/10117))
- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [3.0.0]

Expand Down
2 changes: 1 addition & 1 deletion packages/analytics-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@metamask/base-controller": "^10.0.0",
"@metamask/geolocation-controller": "^2.0.0",
"@metamask/messenger": "^3.0.0",
"@metamask/utils": "^11.12.0",
"@metamask/utils": "^12.0.0",
"lodash-es": "^4.17.21",
"uuid": "^9.0.1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- **BREAKING:** Bump minimum Node.js version to 22 ([#9976](https://github.com/MetaMask/core/pull/9976))
- **BREAKING:** Bump TypeScript target to ES2022 ([#10019](https://github.com/MetaMask/core/pull/10019))
- This package now ships ES2022 code, requiring a compatible modern environment or bundler configuration to consume.
- Bump `@metamask/utils` from `^11.9.0` to `^11.12.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076))
- Bump `@metamask/utils` from `^11.9.0` to `^12.0.0` ([#9074](https://github.com/MetaMask/core/pull/9074), [#10076](https://github.com/MetaMask/core/pull/10076), [#10127](https://github.com/MetaMask/core/pull/10127))
- Bump `@metamask/controller-utils` from `^11.19.0` to `^13.0.0` ([#8344](https://github.com/MetaMask/core/pull/8344), [#8755](https://github.com/MetaMask/core/pull/8755), [#8774](https://github.com/MetaMask/core/pull/8774), [#9058](https://github.com/MetaMask/core/pull/9058), [#9083](https://github.com/MetaMask/core/pull/9083), [#9218](https://github.com/MetaMask/core/pull/9218), [#10160](https://github.com/MetaMask/core/pull/10160))
- Bump `@metamask/messenger` from `^1.1.0` to `^3.0.0` ([#8373](https://github.com/MetaMask/core/pull/8373), [#8632](https://github.com/MetaMask/core/pull/8632), [#9392](https://github.com/MetaMask/core/pull/9392), [#10160](https://github.com/MetaMask/core/pull/10160))
- Bump `@metamask/base-controller` from `^9.0.1` to `^10.0.0` ([#8457](https://github.com/MetaMask/core/pull/8457), [#10160](https://github.com/MetaMask/core/pull/10160))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@metamask/base-controller": "^10.0.0",
"@metamask/controller-utils": "^13.0.0",
"@metamask/messenger": "^3.0.0",
"@metamask/utils": "^11.12.0"
"@metamask/utils": "^12.0.0"
},
"devDependencies": {
"@metamask/auto-changelog": "^6.1.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/approval-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [10.0.0]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/approval-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@metamask/base-controller": "^10.0.0",
"@metamask/messenger": "^3.0.0",
"@metamask/rpc-errors": "^7.0.2",
"@metamask/utils": "^11.12.0",
"@metamask/utils": "^12.0.0",
"nanoid": "^3.3.8"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/assets-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Bump `@metamask/account-tree-controller` from `^10.0.0` to `^10.0.1` ([#10166](https://github.com/MetaMask/core/pull/10166))
- Bump `@metamask/assets-controllers` from `^112.0.0` to `^112.0.1` ([#10166](https://github.com/MetaMask/core/pull/10166))
- Bump `@metamask/core-backend` from `^10.0.0` to `^10.0.1` ([#10166](https://github.com/MetaMask/core/pull/10166))
- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [16.0.0]

Expand Down
2 changes: 1 addition & 1 deletion packages/assets-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"@metamask/snaps-controllers": "^19.0.0",
"@metamask/snaps-utils": "^12.1.2",
"@metamask/transaction-controller": "^70.0.0",
"@metamask/utils": "^11.12.0",
"@metamask/utils": "^12.0.0",
"async-mutex": "^0.5.0",
"bignumber.js": "^9.1.2",
"lodash-es": "^4.17.21",
Expand Down
4 changes: 4 additions & 0 deletions packages/assets-controllers/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [112.0.1]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/assets-controllers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@metamask/snaps-utils": "^12.1.2",
"@metamask/storage-service": "^2.0.0",
"@metamask/transaction-controller": "^70.0.0",
"@metamask/utils": "^11.12.0",
"@metamask/utils": "^12.0.0",
"@tanstack/query-core": "^5.62.16",
"@types/bn.js": "^5.1.5",
"@types/uuid": "^9.0.8",
Expand Down
4 changes: 4 additions & 0 deletions packages/authenticated-user-storage/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [4.0.0]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/authenticated-user-storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@metamask/controller-utils": "^13.0.0",
"@metamask/messenger": "^3.0.0",
"@metamask/superstruct": "^3.4.1",
"@metamask/utils": "^11.12.0"
"@metamask/utils": "^12.0.0"
},
"devDependencies": {
"@metamask/auto-changelog": "^6.1.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/base-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [10.0.0]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/base-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"dependencies": {
"@metamask/messenger": "^3.0.0",
"@metamask/utils": "^11.12.0",
"@metamask/utils": "^12.0.0",
"immer": "^9.0.6"
},
"devDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions packages/base-data-service/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [2.0.0]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/base-data-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@metamask/messenger": "^3.0.0",
"@metamask/storage-service": "^2.0.0",
"@metamask/superstruct": "^3.4.1",
"@metamask/utils": "^11.12.0",
"@metamask/utils": "^12.0.0",
"@tanstack/query-core": "^5.62.16",
"cockatiel": "^3.1.2",
"fast-deep-equal": "^3.1.3",
Expand Down
4 changes: 4 additions & 0 deletions packages/bridge-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [81.1.0]

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/bridge-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@metamask/remote-feature-flag-controller": "^7.0.0",
"@metamask/snaps-controllers": "^19.0.0",
"@metamask/transaction-controller": "^70.0.0",
"@metamask/utils": "^11.12.0",
"@metamask/utils": "^12.0.0",
"bignumber.js": "^9.1.2",
"reselect": "^5.1.1",
"uuid": "^9.0.1"
Expand Down
4 changes: 4 additions & 0 deletions packages/bridge-status-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [76.1.0]

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/bridge-status-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@metamask/snaps-controllers": "^19.0.0",
"@metamask/superstruct": "^3.4.1",
"@metamask/transaction-controller": "^70.0.0",
"@metamask/utils": "^11.12.0",
"@metamask/utils": "^12.0.0",
"bignumber.js": "^9.1.2",
"uuid": "^9.0.1"
},
Expand Down
4 changes: 4 additions & 0 deletions packages/build-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [4.0.0]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/build-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
},
"dependencies": {
"@metamask/utils": "^11.12.0",
"@metamask/utils": "^12.0.0",
"@types/eslint": "^8.44.7"
},
"devDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions packages/chain-agnostic-permission/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [2.0.0]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/chain-agnostic-permission/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@metamask/controller-utils": "^13.0.0",
"@metamask/permission-controller": "^14.0.0",
"@metamask/rpc-errors": "^7.0.2",
"@metamask/utils": "^11.12.0",
"@metamask/utils": "^12.0.0",
"lodash-es": "^4.17.21"
},
"devDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions packages/chomp-api-service/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [5.0.0]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/chomp-api-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@metamask/controller-utils": "^13.0.0",
"@metamask/messenger": "^3.0.0",
"@metamask/superstruct": "^3.4.1",
"@metamask/utils": "^11.12.0",
"@metamask/utils": "^12.0.0",
"@tanstack/query-core": "^5.62.16"
},
"devDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions packages/claims-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [1.0.1]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion packages/claims-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@metamask/messenger": "^3.0.0",
"@metamask/profile-sync-controller": "^32.0.0",
"@metamask/superstruct": "^3.4.1",
"@metamask/utils": "^11.12.0",
"@metamask/utils": "^12.0.0",
"@tanstack/query-core": "^5.62.16"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/client-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Bump `@metamask/core-backend` from `^10.0.0` to `^10.0.1` ([#10166](https://github.com/MetaMask/core/pull/10166))
- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [3.0.0]

Expand Down
2 changes: 1 addition & 1 deletion packages/client-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@metamask/keyring-api": "^24.0.0",
"@metamask/slip44": "^4.3.0",
"@metamask/transaction-controller": "^70.0.0",
"@metamask/utils": "^11.12.0",
"@metamask/utils": "^12.0.0",
"eth-chainlist": "^0.0.795"
},
"devDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions packages/compliance-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Bump `@metamask/utils` from `^11.12.0` to `^12.0.0` ([#10127](https://github.com/MetaMask/core/pull/10127))

## [3.0.0]

### Changed
Expand Down
Loading
Loading