From c91f1fe57b40613da2943b0775bd080a0606a68e Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Mon, 16 Sep 2024 19:55:23 +0200 Subject: [PATCH] Bump MetaMask dependencies --- packages/snaps-controllers/package.json | 10 +- .../snaps-execution-environments/package.json | 2 +- packages/snaps-jest/package.json | 8 +- packages/snaps-rpc-methods/package.json | 4 +- packages/snaps-simulator/package.json | 6 +- packages/snaps-utils/package.json | 4 +- yarn.lock | 112 ++++++++---------- 7 files changed, 68 insertions(+), 78 deletions(-) diff --git a/packages/snaps-controllers/package.json b/packages/snaps-controllers/package.json index 0023f72779..6a7d1aab8c 100644 --- a/packages/snaps-controllers/package.json +++ b/packages/snaps-controllers/package.json @@ -65,13 +65,13 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/approval-controller": "^7.0.2", - "@metamask/base-controller": "^6.0.2", - "@metamask/json-rpc-engine": "^9.0.2", + "@metamask/approval-controller": "^7.0.4", + "@metamask/base-controller": "^7.0.1", + "@metamask/json-rpc-engine": "^9.0.3", "@metamask/json-rpc-middleware-stream": "^8.0.2", "@metamask/object-multiplex": "^2.0.0", - "@metamask/permission-controller": "^11.0.0", - "@metamask/phishing-controller": "^12.0.2", + "@metamask/permission-controller": "^11.0.2", + "@metamask/phishing-controller": "^12.0.3", "@metamask/post-message-stream": "^8.1.1", "@metamask/rpc-errors": "^6.3.1", "@metamask/snaps-registry": "^3.2.1", diff --git a/packages/snaps-execution-environments/package.json b/packages/snaps-execution-environments/package.json index d651052bb2..903b61d34a 100644 --- a/packages/snaps-execution-environments/package.json +++ b/packages/snaps-execution-environments/package.json @@ -54,7 +54,7 @@ "lint:dependencies": "depcheck" }, "dependencies": { - "@metamask/json-rpc-engine": "^9.0.2", + "@metamask/json-rpc-engine": "^9.0.3", "@metamask/object-multiplex": "^2.0.0", "@metamask/post-message-stream": "^8.1.1", "@metamask/providers": "^17.1.2", diff --git a/packages/snaps-jest/package.json b/packages/snaps-jest/package.json index e4fa82b74e..978b4508ce 100644 --- a/packages/snaps-jest/package.json +++ b/packages/snaps-jest/package.json @@ -42,13 +42,13 @@ "@jest/environment": "^29.5.0", "@jest/expect": "^29.5.0", "@jest/globals": "^29.5.0", - "@metamask/base-controller": "^6.0.2", + "@metamask/base-controller": "^7.0.1", "@metamask/eth-json-rpc-middleware": "^14.0.0", - "@metamask/json-rpc-engine": "^9.0.2", + "@metamask/json-rpc-engine": "^9.0.3", "@metamask/json-rpc-middleware-stream": "^8.0.2", "@metamask/key-tree": "^9.1.2", - "@metamask/permission-controller": "^11.0.0", - "@metamask/phishing-controller": "^12.0.2", + "@metamask/permission-controller": "^11.0.2", + "@metamask/phishing-controller": "^12.0.3", "@metamask/snaps-controllers": "workspace:^", "@metamask/snaps-execution-environments": "workspace:^", "@metamask/snaps-rpc-methods": "workspace:^", diff --git a/packages/snaps-rpc-methods/package.json b/packages/snaps-rpc-methods/package.json index 78afa4aef6..225c599b86 100644 --- a/packages/snaps-rpc-methods/package.json +++ b/packages/snaps-rpc-methods/package.json @@ -42,7 +42,7 @@ }, "dependencies": { "@metamask/key-tree": "^9.1.2", - "@metamask/permission-controller": "^11.0.0", + "@metamask/permission-controller": "^11.0.2", "@metamask/rpc-errors": "^6.3.1", "@metamask/snaps-sdk": "workspace:^", "@metamask/snaps-utils": "workspace:^", @@ -57,7 +57,7 @@ "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", "@metamask/eslint-config-typescript": "^12.1.0", - "@metamask/json-rpc-engine": "^9.0.2", + "@metamask/json-rpc-engine": "^9.0.3", "@swc/core": "1.3.78", "@swc/jest": "^0.2.26", "@ts-bridge/cli": "^0.5.1", diff --git a/packages/snaps-simulator/package.json b/packages/snaps-simulator/package.json index dfb3e39d30..3d2be8b880 100644 --- a/packages/snaps-simulator/package.json +++ b/packages/snaps-simulator/package.json @@ -29,12 +29,12 @@ "@emotion/react": "^11.10.8", "@emotion/styled": "^11.10.8", "@ethersproject/units": "^5.7.0", - "@metamask/base-controller": "^6.0.2", + "@metamask/base-controller": "^7.0.1", "@metamask/eth-json-rpc-middleware": "^14.0.0", - "@metamask/json-rpc-engine": "^9.0.2", + "@metamask/json-rpc-engine": "^9.0.3", "@metamask/json-rpc-middleware-stream": "^8.0.2", "@metamask/key-tree": "^9.1.2", - "@metamask/permission-controller": "^11.0.0", + "@metamask/permission-controller": "^11.0.2", "@metamask/snaps-controllers": "workspace:^", "@metamask/snaps-execution-environments": "workspace:^", "@metamask/snaps-rpc-methods": "workspace:^", diff --git a/packages/snaps-utils/package.json b/packages/snaps-utils/package.json index aec2dc935b..35f75cff3b 100644 --- a/packages/snaps-utils/package.json +++ b/packages/snaps-utils/package.json @@ -64,9 +64,9 @@ "dependencies": { "@babel/core": "^7.23.2", "@babel/types": "^7.23.0", - "@metamask/base-controller": "^6.0.2", + "@metamask/base-controller": "^7.0.1", "@metamask/key-tree": "^9.1.2", - "@metamask/permission-controller": "^11.0.0", + "@metamask/permission-controller": "^11.0.2", "@metamask/rpc-errors": "^6.3.1", "@metamask/slip44": "^4.0.0", "@metamask/snaps-registry": "^3.2.1", diff --git a/yarn.lock b/yarn.lock index af3d6368d0..6d57892831 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3829,15 +3829,15 @@ __metadata: languageName: node linkType: hard -"@metamask/approval-controller@npm:^7.0.2": - version: 7.0.2 - resolution: "@metamask/approval-controller@npm:7.0.2" +"@metamask/approval-controller@npm:^7.0.4": + version: 7.0.4 + resolution: "@metamask/approval-controller@npm:7.0.4" dependencies: - "@metamask/base-controller": "npm:^6.0.2" + "@metamask/base-controller": "npm:^7.0.1" "@metamask/rpc-errors": "npm:^6.3.1" "@metamask/utils": "npm:^9.1.0" nanoid: "npm:^3.1.31" - checksum: 10/0ce1f607f11b5c8c9d6a462e89935388187f87d5627814882c8ce808b2e84bd727028f92708ac99c59c638578aadd5e91cb2799d8c8e4be497ee646f39821ea6 + checksum: 10/3d9ba90240303dc5984febc55c38f8e801a876225d553e598db87aa80741e23be4516751066b6ac4b0b1f39db18f745ddf579e528eb273cb10705f06c93345a6 languageName: node linkType: hard @@ -3871,23 +3871,13 @@ __metadata: languageName: node linkType: hard -"@metamask/base-controller@npm:^6.0.2": - version: 6.0.2 - resolution: "@metamask/base-controller@npm:6.0.2" - dependencies: - "@metamask/utils": "npm:^9.1.0" - immer: "npm:^9.0.6" - checksum: 10/c154fec55611516c271ff920e34ba89b62a82784dac57bc6b2f165dd0a4ba4061857bb2ad78423accd49ce5ce3e50aeaf2f8048f547d31b7f74ff60ac70af744 - languageName: node - linkType: hard - -"@metamask/base-controller@npm:^7.0.0": - version: 7.0.0 - resolution: "@metamask/base-controller@npm:7.0.0" +"@metamask/base-controller@npm:^7.0.1": + version: 7.0.1 + resolution: "@metamask/base-controller@npm:7.0.1" dependencies: "@metamask/utils": "npm:^9.1.0" immer: "npm:^9.0.6" - checksum: 10/0ea307da4a7863224fd1fc83039165dbd06d2725922d4d4cf5854f5e7894e789a3c277f1e4592a38ae002de869217a26550f3b9687c259fc29153984dc5b4a4c + checksum: 10/774b6d68ac95a5ec187e890d321bede50065f8a6f1ba7b49a19f5971366274054ac0e401548b51d3b014d0bca5d650409fb554dd13ce120e7fb3495b4e8e67b1 languageName: node linkType: hard @@ -4131,9 +4121,9 @@ __metadata: languageName: unknown linkType: soft -"@metamask/controller-utils@npm:^11.0.2, @metamask/controller-utils@npm:^11.2.0": - version: 11.2.0 - resolution: "@metamask/controller-utils@npm:11.2.0" +"@metamask/controller-utils@npm:^11.3.0": + version: 11.3.0 + resolution: "@metamask/controller-utils@npm:11.3.0" dependencies: "@ethereumjs/util": "npm:^8.1.0" "@metamask/eth-query": "npm:^4.0.0" @@ -4144,7 +4134,7 @@ __metadata: bn.js: "npm:^5.2.1" eth-ens-namehash: "npm:^2.0.8" fast-deep-equal: "npm:^3.1.3" - checksum: 10/8c8630a635c5eeeb8ef46b14a12779a5005d8112668500bfb513186dee3f68b94dcf43ce6eddf42c38382828cd7ba28657b627d0eb617207a25b6ee78eae6b08 + checksum: 10/3200228d1f4ea5fa095228db4e5050529caf0470e072382eb8f7571bb9b07515516ca9e846b7751388399d9ae967e4985dafd6120902ef6c998e98f4eb36d964 languageName: node linkType: hard @@ -4896,14 +4886,14 @@ __metadata: languageName: unknown linkType: soft -"@metamask/json-rpc-engine@npm:^9.0.1, @metamask/json-rpc-engine@npm:^9.0.2": - version: 9.0.2 - resolution: "@metamask/json-rpc-engine@npm:9.0.2" +"@metamask/json-rpc-engine@npm:^9.0.1, @metamask/json-rpc-engine@npm:^9.0.2, @metamask/json-rpc-engine@npm:^9.0.3": + version: 9.0.3 + resolution: "@metamask/json-rpc-engine@npm:9.0.3" dependencies: "@metamask/rpc-errors": "npm:^6.3.1" "@metamask/safe-event-emitter": "npm:^3.0.0" "@metamask/utils": "npm:^9.1.0" - checksum: 10/1649c0aac59fddf50f995b4b40ec2d90e6c1fa1982a3adfcf984a37daa5bd8db8a3764609f97e88275151815fe49d457f9d30e7f89c43d62d6a0c7db7f867cc0 + checksum: 10/23a3cafb5869f6d5867105e3570ac4e214a72dda0b4b428cde6bae8856ec838c822b174f8cea054108122531d662cf93a65e92e1ee07da0485d5d0c0e5a1fca6 languageName: node linkType: hard @@ -4944,14 +4934,14 @@ __metadata: linkType: soft "@metamask/json-rpc-middleware-stream@npm:^8.0.1, @metamask/json-rpc-middleware-stream@npm:^8.0.2": - version: 8.0.2 - resolution: "@metamask/json-rpc-middleware-stream@npm:8.0.2" + version: 8.0.3 + resolution: "@metamask/json-rpc-middleware-stream@npm:8.0.3" dependencies: - "@metamask/json-rpc-engine": "npm:^9.0.2" + "@metamask/json-rpc-engine": "npm:^9.0.3" "@metamask/safe-event-emitter": "npm:^3.0.0" "@metamask/utils": "npm:^9.1.0" readable-stream: "npm:^3.6.2" - checksum: 10/aaf41cb6fa015494eb0424959d14022b1355c390066898603223e3418d93bd72249b6e54caee3e23b4d6a679f389c2374f687882f2a7202379b4f4b042a84974 + checksum: 10/21299e30f735b56d50737739cdc711667e7862b27bf4ce6b73bfa5b9cd7763d5a3022caf1bb2786600169674ac87e7a141321752b92ddd46c12f41dd10b666ae languageName: node linkType: hard @@ -5244,13 +5234,13 @@ __metadata: languageName: node linkType: hard -"@metamask/permission-controller@npm:^11.0.0": - version: 11.0.0 - resolution: "@metamask/permission-controller@npm:11.0.0" +"@metamask/permission-controller@npm:^11.0.2": + version: 11.0.2 + resolution: "@metamask/permission-controller@npm:11.0.2" dependencies: - "@metamask/base-controller": "npm:^6.0.2" - "@metamask/controller-utils": "npm:^11.0.2" - "@metamask/json-rpc-engine": "npm:^9.0.2" + "@metamask/base-controller": "npm:^7.0.1" + "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/json-rpc-engine": "npm:^9.0.3" "@metamask/rpc-errors": "npm:^6.3.1" "@metamask/utils": "npm:^9.1.0" "@types/deep-freeze-strict": "npm:^1.1.0" @@ -5259,23 +5249,23 @@ __metadata: nanoid: "npm:^3.1.31" peerDependencies: "@metamask/approval-controller": ^7.0.0 - checksum: 10/3bd957b72ac4ed307566b650b5531e739732b9e6a414ec630bd43fc86c7c99b446eb5666f744abfb30c043824fe1b5a13681df8bd7c2244640b8996eec8e927a + checksum: 10/019efdfec8a919235bc5be0d93ddc35dc31c5198137836f6307ab774143fbcdb5a1d1f5292f91e1b0cce0e4787b401834b4c36e806ee68c0f630733e1c495a33 languageName: node linkType: hard -"@metamask/phishing-controller@npm:^12.0.2": - version: 12.0.2 - resolution: "@metamask/phishing-controller@npm:12.0.2" +"@metamask/phishing-controller@npm:^12.0.3": + version: 12.0.3 + resolution: "@metamask/phishing-controller@npm:12.0.3" dependencies: - "@metamask/base-controller": "npm:^7.0.0" - "@metamask/controller-utils": "npm:^11.2.0" + "@metamask/base-controller": "npm:^7.0.1" + "@metamask/controller-utils": "npm:^11.3.0" "@noble/hashes": "npm:^1.4.0" "@types/punycode": "npm:^2.1.0" eth-phishing-detect: "npm:^1.2.0" ethereum-cryptography: "npm:^2.1.2" fastest-levenshtein: "npm:^1.0.16" punycode: "npm:^2.1.1" - checksum: 10/78781e1b781c838e303677157616fb3b5e581030fe8f0ed8913f6b75fbcb7ee2ba59a44831936cc68cca8b295ef6546761b40ea3277d810b68d8ed39a58d0e29 + checksum: 10/04cc2173df140043f839849e394924006f6861b924d94bc6ab5ecd1ee52855dc3e900f1ff8f2d69fd5f849161c3b9c5d12f75069584ded9419583f1d7598f0d0 languageName: node linkType: hard @@ -5606,19 +5596,19 @@ __metadata: "@esbuild-plugins/node-globals-polyfill": "npm:^0.2.3" "@esbuild-plugins/node-modules-polyfill": "npm:^0.2.2" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/approval-controller": "npm:^7.0.2" + "@metamask/approval-controller": "npm:^7.0.4" "@metamask/auto-changelog": "npm:^3.4.4" - "@metamask/base-controller": "npm:^6.0.2" + "@metamask/base-controller": "npm:^7.0.1" "@metamask/browser-passworder": "npm:^5.0.1" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" "@metamask/eslint-config-typescript": "npm:^12.1.0" - "@metamask/json-rpc-engine": "npm:^9.0.2" + "@metamask/json-rpc-engine": "npm:^9.0.3" "@metamask/json-rpc-middleware-stream": "npm:^8.0.2" "@metamask/object-multiplex": "npm:^2.0.0" - "@metamask/permission-controller": "npm:^11.0.0" - "@metamask/phishing-controller": "npm:^12.0.2" + "@metamask/permission-controller": "npm:^11.0.2" + "@metamask/phishing-controller": "npm:^12.0.3" "@metamask/post-message-stream": "npm:^8.1.1" "@metamask/rpc-errors": "npm:^6.3.1" "@metamask/snaps-registry": "npm:^3.2.1" @@ -5709,7 +5699,7 @@ __metadata: "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" "@metamask/eslint-config-typescript": "npm:^12.1.0" - "@metamask/json-rpc-engine": "npm:^9.0.2" + "@metamask/json-rpc-engine": "npm:^9.0.3" "@metamask/object-multiplex": "npm:^2.0.0" "@metamask/post-message-stream": "npm:^8.1.1" "@metamask/providers": "npm:^17.1.2" @@ -5784,17 +5774,17 @@ __metadata: "@jest/types": "npm:^29.6.3" "@lavamoat/allow-scripts": "npm:^3.0.4" "@metamask/auto-changelog": "npm:^3.4.4" - "@metamask/base-controller": "npm:^6.0.2" + "@metamask/base-controller": "npm:^7.0.1" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" "@metamask/eslint-config-typescript": "npm:^12.1.0" "@metamask/eth-json-rpc-middleware": "npm:^14.0.0" - "@metamask/json-rpc-engine": "npm:^9.0.2" + "@metamask/json-rpc-engine": "npm:^9.0.3" "@metamask/json-rpc-middleware-stream": "npm:^8.0.2" "@metamask/key-tree": "npm:^9.1.2" - "@metamask/permission-controller": "npm:^11.0.0" - "@metamask/phishing-controller": "npm:^12.0.2" + "@metamask/permission-controller": "npm:^11.0.2" + "@metamask/phishing-controller": "npm:^12.0.3" "@metamask/snaps-controllers": "workspace:^" "@metamask/snaps-execution-environments": "workspace:^" "@metamask/snaps-rpc-methods": "workspace:^" @@ -5896,9 +5886,9 @@ __metadata: "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" "@metamask/eslint-config-typescript": "npm:^12.1.0" - "@metamask/json-rpc-engine": "npm:^9.0.2" + "@metamask/json-rpc-engine": "npm:^9.0.3" "@metamask/key-tree": "npm:^9.1.2" - "@metamask/permission-controller": "npm:^11.0.0" + "@metamask/permission-controller": "npm:^11.0.2" "@metamask/rpc-errors": "npm:^6.3.1" "@metamask/snaps-sdk": "workspace:^" "@metamask/snaps-utils": "workspace:^" @@ -5979,17 +5969,17 @@ __metadata: "@emotion/styled": "npm:^11.10.8" "@ethersproject/units": "npm:^5.7.0" "@metamask/auto-changelog": "npm:^3.4.4" - "@metamask/base-controller": "npm:^6.0.2" + "@metamask/base-controller": "npm:^7.0.1" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-browser": "npm:^11.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" "@metamask/eslint-config-typescript": "npm:^12.1.0" "@metamask/eth-json-rpc-middleware": "npm:^14.0.0" - "@metamask/json-rpc-engine": "npm:^9.0.2" + "@metamask/json-rpc-engine": "npm:^9.0.3" "@metamask/json-rpc-middleware-stream": "npm:^8.0.2" "@metamask/key-tree": "npm:^9.1.2" - "@metamask/permission-controller": "npm:^11.0.0" + "@metamask/permission-controller": "npm:^11.0.2" "@metamask/snaps-controllers": "workspace:^" "@metamask/snaps-execution-environments": "workspace:^" "@metamask/snaps-rpc-methods": "workspace:^" @@ -6088,13 +6078,13 @@ __metadata: "@esbuild-plugins/node-modules-polyfill": "npm:^0.2.2" "@lavamoat/allow-scripts": "npm:^3.0.4" "@metamask/auto-changelog": "npm:^3.4.4" - "@metamask/base-controller": "npm:^6.0.2" + "@metamask/base-controller": "npm:^7.0.1" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" "@metamask/eslint-config-typescript": "npm:^12.1.0" "@metamask/key-tree": "npm:^9.1.2" - "@metamask/permission-controller": "npm:^11.0.0" + "@metamask/permission-controller": "npm:^11.0.2" "@metamask/post-message-stream": "npm:^8.1.1" "@metamask/rpc-errors": "npm:^6.3.1" "@metamask/slip44": "npm:^4.0.0"