diff --git a/examples/example-controllers/package.json b/examples/example-controllers/package.json index fdbb22410c..95fe83bdd0 100644 --- a/examples/example-controllers/package.json +++ b/examples/example-controllers/package.json @@ -52,7 +52,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/controller-utils": "^11.3.0", + "@metamask/controller-utils": "^11.4.0", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", "jest": "^27.5.1", diff --git a/package.json b/package.json index d8fbd301dd..f486be3999 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/core-monorepo", - "version": "225.0.0", + "version": "226.0.0", "private": true, "description": "Monorepo for packages shared between MetaMask clients", "repository": { diff --git a/packages/address-book-controller/package.json b/packages/address-book-controller/package.json index 61a461b10b..430f9c4e0e 100644 --- a/packages/address-book-controller/package.json +++ b/packages/address-book-controller/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.1", - "@metamask/controller-utils": "^11.3.0", + "@metamask/controller-utils": "^11.4.0", "@metamask/utils": "^9.1.0" }, "devDependencies": { diff --git a/packages/assets-controllers/package.json b/packages/assets-controllers/package.json index e69368eccd..4bbde82fba 100644 --- a/packages/assets-controllers/package.json +++ b/packages/assets-controllers/package.json @@ -55,7 +55,7 @@ "@metamask/abi-utils": "^2.0.3", "@metamask/base-controller": "^7.0.1", "@metamask/contract-metadata": "^2.4.0", - "@metamask/controller-utils": "^11.3.0", + "@metamask/controller-utils": "^11.4.0", "@metamask/eth-query": "^4.0.0", "@metamask/metamask-eth-abis": "^3.1.1", "@metamask/polling-controller": "^11.0.0", diff --git a/packages/controller-utils/CHANGELOG.md b/packages/controller-utils/CHANGELOG.md index 6b89c6f357..0884fe89cf 100644 --- a/packages/controller-utils/CHANGELOG.md +++ b/packages/controller-utils/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [11.4.0] + +### Added + +- Add `isEqualCaseInsensitive` function for case-insensitive string comparison ([#4811](https://github.com/MetaMask/core/pull/4811)) + ## [11.3.0] ### Added @@ -400,7 +406,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 All changes listed after this point were applied to this package following the monorepo conversion. -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.3.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.4.0...HEAD +[11.4.0]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.3.0...@metamask/controller-utils@11.4.0 [11.3.0]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.2.0...@metamask/controller-utils@11.3.0 [11.2.0]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.1.0...@metamask/controller-utils@11.2.0 [11.1.0]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.0.2...@metamask/controller-utils@11.1.0 diff --git a/packages/controller-utils/package.json b/packages/controller-utils/package.json index 994bcc8d97..16beed744a 100644 --- a/packages/controller-utils/package.json +++ b/packages/controller-utils/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/controller-utils", - "version": "11.3.0", + "version": "11.4.0", "description": "Data and convenience functions shared by multiple packages", "keywords": [ "MetaMask", diff --git a/packages/ens-controller/package.json b/packages/ens-controller/package.json index 3fda8cda72..629d9cf0c3 100644 --- a/packages/ens-controller/package.json +++ b/packages/ens-controller/package.json @@ -49,7 +49,7 @@ "dependencies": { "@ethersproject/providers": "^5.7.0", "@metamask/base-controller": "^7.0.1", - "@metamask/controller-utils": "^11.3.0", + "@metamask/controller-utils": "^11.4.0", "@metamask/utils": "^9.1.0", "punycode": "^2.1.1" }, diff --git a/packages/gas-fee-controller/package.json b/packages/gas-fee-controller/package.json index a4a9f16a0d..34d8e7f38e 100644 --- a/packages/gas-fee-controller/package.json +++ b/packages/gas-fee-controller/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.1", - "@metamask/controller-utils": "^11.3.0", + "@metamask/controller-utils": "^11.4.0", "@metamask/eth-query": "^4.0.0", "@metamask/ethjs-unit": "^0.3.0", "@metamask/polling-controller": "^11.0.0", diff --git a/packages/logging-controller/package.json b/packages/logging-controller/package.json index 2ee5a020fd..c6eaeeba67 100644 --- a/packages/logging-controller/package.json +++ b/packages/logging-controller/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.1", - "@metamask/controller-utils": "^11.3.0", + "@metamask/controller-utils": "^11.4.0", "uuid": "^8.3.2" }, "devDependencies": { diff --git a/packages/message-manager/package.json b/packages/message-manager/package.json index e4711ed242..bccf1e54f8 100644 --- a/packages/message-manager/package.json +++ b/packages/message-manager/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.1", - "@metamask/controller-utils": "^11.3.0", + "@metamask/controller-utils": "^11.4.0", "@metamask/eth-sig-util": "^8.0.0", "@metamask/utils": "^9.1.0", "@types/uuid": "^8.3.0", diff --git a/packages/name-controller/package.json b/packages/name-controller/package.json index 0645926d3d..133db27b3d 100644 --- a/packages/name-controller/package.json +++ b/packages/name-controller/package.json @@ -49,7 +49,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.1", - "@metamask/controller-utils": "^11.3.0", + "@metamask/controller-utils": "^11.4.0", "@metamask/utils": "^9.1.0", "async-mutex": "^0.5.0" }, diff --git a/packages/network-controller/package.json b/packages/network-controller/package.json index 04fbefc982..40574eb3c8 100644 --- a/packages/network-controller/package.json +++ b/packages/network-controller/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.1", - "@metamask/controller-utils": "^11.3.0", + "@metamask/controller-utils": "^11.4.0", "@metamask/eth-block-tracker": "^11.0.2", "@metamask/eth-json-rpc-infura": "^10.0.0", "@metamask/eth-json-rpc-middleware": "^15.0.0", diff --git a/packages/notification-services-controller/package.json b/packages/notification-services-controller/package.json index f71d182862..8cf421da3c 100644 --- a/packages/notification-services-controller/package.json +++ b/packages/notification-services-controller/package.json @@ -101,7 +101,7 @@ "dependencies": { "@contentful/rich-text-html-renderer": "^16.5.2", "@metamask/base-controller": "^7.0.1", - "@metamask/controller-utils": "^11.3.0", + "@metamask/controller-utils": "^11.4.0", "@metamask/utils": "^9.1.0", "bignumber.js": "^9.1.2", "firebase": "^10.11.0", diff --git a/packages/permission-controller/package.json b/packages/permission-controller/package.json index 76f9b434ff..01ebce13b7 100644 --- a/packages/permission-controller/package.json +++ b/packages/permission-controller/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.1", - "@metamask/controller-utils": "^11.3.0", + "@metamask/controller-utils": "^11.4.0", "@metamask/json-rpc-engine": "^10.0.0", "@metamask/rpc-errors": "^7.0.0", "@metamask/utils": "^9.1.0", diff --git a/packages/phishing-controller/package.json b/packages/phishing-controller/package.json index ee46f85113..3378d7f7d9 100644 --- a/packages/phishing-controller/package.json +++ b/packages/phishing-controller/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.1", - "@metamask/controller-utils": "^11.3.0", + "@metamask/controller-utils": "^11.4.0", "@noble/hashes": "^1.4.0", "@types/punycode": "^2.1.0", "ethereum-cryptography": "^2.1.2", diff --git a/packages/polling-controller/package.json b/packages/polling-controller/package.json index 684835767a..aac2c01399 100644 --- a/packages/polling-controller/package.json +++ b/packages/polling-controller/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.1", - "@metamask/controller-utils": "^11.3.0", + "@metamask/controller-utils": "^11.4.0", "@metamask/utils": "^9.1.0", "@types/uuid": "^8.3.0", "fast-json-stable-stringify": "^2.1.0", diff --git a/packages/preferences-controller/package.json b/packages/preferences-controller/package.json index 82f6a6ccae..6be6bd1425 100644 --- a/packages/preferences-controller/package.json +++ b/packages/preferences-controller/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.1", - "@metamask/controller-utils": "^11.3.0" + "@metamask/controller-utils": "^11.4.0" }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", diff --git a/packages/queued-request-controller/package.json b/packages/queued-request-controller/package.json index b80970fbcd..580f6feed2 100644 --- a/packages/queued-request-controller/package.json +++ b/packages/queued-request-controller/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.1", - "@metamask/controller-utils": "^11.3.0", + "@metamask/controller-utils": "^11.4.0", "@metamask/json-rpc-engine": "^10.0.0", "@metamask/rpc-errors": "^7.0.0", "@metamask/swappable-obj-proxy": "^2.2.0", diff --git a/packages/signature-controller/package.json b/packages/signature-controller/package.json index 81480a4203..204e116041 100644 --- a/packages/signature-controller/package.json +++ b/packages/signature-controller/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.1", - "@metamask/controller-utils": "^11.3.0", + "@metamask/controller-utils": "^11.4.0", "@metamask/eth-sig-util": "^8.0.0", "@metamask/utils": "^9.1.0", "jsonschema": "^1.2.4", diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index 49c19a2b65..884c708931 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -54,7 +54,7 @@ "@ethersproject/contracts": "^5.7.0", "@ethersproject/providers": "^5.7.0", "@metamask/base-controller": "^7.0.1", - "@metamask/controller-utils": "^11.3.0", + "@metamask/controller-utils": "^11.4.0", "@metamask/eth-query": "^4.0.0", "@metamask/metamask-eth-abis": "^3.1.1", "@metamask/nonce-tracker": "^6.0.0", diff --git a/packages/user-operation-controller/package.json b/packages/user-operation-controller/package.json index b04c11196b..e0b6dcad68 100644 --- a/packages/user-operation-controller/package.json +++ b/packages/user-operation-controller/package.json @@ -49,7 +49,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.1", - "@metamask/controller-utils": "^11.3.0", + "@metamask/controller-utils": "^11.4.0", "@metamask/eth-query": "^4.0.0", "@metamask/polling-controller": "^11.0.0", "@metamask/rpc-errors": "^7.0.0", diff --git a/yarn.lock b/yarn.lock index 01b702dc8e..d9ff8aa0ab 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2075,7 +2075,7 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@metamask/utils": "npm:^9.1.0" "@types/jest": "npm:^27.4.1" deepmerge: "npm:^4.2.2" @@ -2138,7 +2138,7 @@ __metadata: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" "@metamask/contract-metadata": "npm:^2.4.0" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@metamask/eth-query": "npm:^4.0.0" "@metamask/ethjs-provider-http": "npm:^0.3.0" "@metamask/keyring-api": "npm:^8.1.3" @@ -2327,7 +2327,7 @@ __metadata: languageName: node linkType: hard -"@metamask/controller-utils@npm:^11.3.0, @metamask/controller-utils@workspace:packages/controller-utils": +"@metamask/controller-utils@npm:^11.4.0, @metamask/controller-utils@workspace:packages/controller-utils": version: 0.0.0-use.local resolution: "@metamask/controller-utils@workspace:packages/controller-utils" dependencies: @@ -2436,7 +2436,7 @@ __metadata: "@ethersproject/providers": "npm:^5.7.0" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@metamask/network-controller": "npm:^21.1.0" "@metamask/utils": "npm:^9.1.0" "@types/jest": "npm:^27.4.1" @@ -2803,7 +2803,7 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@metamask/utils": "npm:^9.1.0" "@types/jest": "npm:^27.4.1" deepmerge: "npm:^4.2.2" @@ -2822,7 +2822,7 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@metamask/eth-query": "npm:^4.0.0" "@metamask/ethjs-unit": "npm:^0.3.0" "@metamask/network-controller": "npm:^21.1.0" @@ -2972,7 +2972,7 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@types/jest": "npm:^27.4.1" deepmerge: "npm:^4.2.2" jest: "npm:^27.5.1" @@ -2990,7 +2990,7 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@metamask/eth-sig-util": "npm:^8.0.0" "@metamask/utils": "npm:^9.1.0" "@types/jest": "npm:^27.4.1" @@ -3034,7 +3034,7 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@metamask/utils": "npm:^9.1.0" "@types/jest": "npm:^27.4.1" async-mutex: "npm:^0.5.0" @@ -3054,7 +3054,7 @@ __metadata: "@json-rpc-specification/meta-schema": "npm:^1.0.6" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@metamask/eth-block-tracker": "npm:^11.0.2" "@metamask/eth-json-rpc-infura": "npm:^10.0.0" "@metamask/eth-json-rpc-middleware": "npm:^15.0.0" @@ -3124,7 +3124,7 @@ __metadata: "@lavamoat/allow-scripts": "npm:^3.0.4" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@metamask/keyring-controller": "npm:^17.3.0" "@metamask/profile-sync-controller": "npm:^0.9.7" "@metamask/utils": "npm:^9.1.0" @@ -3186,7 +3186,7 @@ __metadata: "@metamask/approval-controller": "npm:^7.1.0" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@metamask/json-rpc-engine": "npm:^10.0.0" "@metamask/rpc-errors": "npm:^7.0.0" "@metamask/utils": "npm:^9.1.0" @@ -3233,7 +3233,7 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@noble/hashes": "npm:^1.4.0" "@types/jest": "npm:^27.4.1" "@types/punycode": "npm:^2.1.0" @@ -3257,7 +3257,7 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@metamask/network-controller": "npm:^21.1.0" "@metamask/utils": "npm:^9.1.0" "@types/jest": "npm:^27.4.1" @@ -3292,7 +3292,7 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@metamask/keyring-controller": "npm:^17.3.0" "@types/jest": "npm:^27.4.1" deepmerge: "npm:^4.2.2" @@ -3370,7 +3370,7 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@metamask/json-rpc-engine": "npm:^10.0.0" "@metamask/network-controller": "npm:^21.1.0" "@metamask/rpc-errors": "npm:^7.0.0" @@ -3484,7 +3484,7 @@ __metadata: "@metamask/approval-controller": "npm:^7.1.0" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@metamask/eth-sig-util": "npm:^8.0.0" "@metamask/keyring-controller": "npm:^17.3.0" "@metamask/logging-controller": "npm:^6.0.1" @@ -3689,7 +3689,7 @@ __metadata: "@metamask/approval-controller": "npm:^7.1.0" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@metamask/eth-json-rpc-provider": "npm:^4.1.5" "@metamask/eth-query": "npm:^4.0.0" "@metamask/ethjs-provider-http": "npm:^0.3.0" @@ -3734,7 +3734,7 @@ __metadata: "@metamask/approval-controller": "npm:^7.1.0" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/controller-utils": "npm:^11.4.0" "@metamask/eth-query": "npm:^4.0.0" "@metamask/gas-fee-controller": "npm:^21.0.0" "@metamask/keyring-controller": "npm:^17.3.0"