From 42c73c1df775e1ff16314103033fbed116390448 Mon Sep 17 00:00:00 2001 From: Jongsun Suh Date: Mon, 22 Jul 2024 13:33:31 -0400 Subject: [PATCH] chore(snaps-controllers): Bump all core deps (#2593) ## Changelog ```md ### Changed - Bump `@metamask/approval-controller` from `^7.0.0` to `^7.0.2` - Bump `@metamask/base-controller` from `^6.0.1` to `^6.0.2` - Bump `@metamask/json-rpc-engine` from `^9.0.0` to `^9.0.2` - Bump `@metamask/json-rpc-middleware-stream` from `^8.0.0` to `^8.0.2` - Bump `@metamask/permission-controller` from `^10.0.1` to `^11.0.0` - Bump `@metamask/phishing-controller` from `^10.0.0` to `^10.1.1` ``` --- packages/snaps-controllers/package.json | 12 +- .../snaps-execution-environments/package.json | 2 +- packages/snaps-jest/package.json | 8 +- packages/snaps-rpc-methods/package.json | 4 +- packages/snaps-simulator/package.json | 8 +- packages/snaps-utils/package.json | 4 +- yarn.lock | 131 +++++++++--------- 7 files changed, 85 insertions(+), 84 deletions(-) diff --git a/packages/snaps-controllers/package.json b/packages/snaps-controllers/package.json index f624ff890a..be2237a071 100644 --- a/packages/snaps-controllers/package.json +++ b/packages/snaps-controllers/package.json @@ -53,13 +53,13 @@ "build:ci": "tsup --clean" }, "dependencies": { - "@metamask/approval-controller": "^7.0.0", - "@metamask/base-controller": "^6.0.1", - "@metamask/json-rpc-engine": "^9.0.0", - "@metamask/json-rpc-middleware-stream": "^8.0.0", + "@metamask/approval-controller": "^7.0.2", + "@metamask/base-controller": "^6.0.2", + "@metamask/json-rpc-engine": "^9.0.2", + "@metamask/json-rpc-middleware-stream": "^8.0.2", "@metamask/object-multiplex": "^2.0.0", - "@metamask/permission-controller": "^10.0.1", - "@metamask/phishing-controller": "^10.0.0", + "@metamask/permission-controller": "^11.0.0", + "@metamask/phishing-controller": "^10.1.1", "@metamask/post-message-stream": "^8.1.0", "@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 2ad26fbbcf..dfb10fd99e 100644 --- a/packages/snaps-execution-environments/package.json +++ b/packages/snaps-execution-environments/package.json @@ -51,7 +51,7 @@ "build:ci": "tsup --clean" }, "dependencies": { - "@metamask/json-rpc-engine": "^9.0.0", + "@metamask/json-rpc-engine": "^9.0.2", "@metamask/object-multiplex": "^2.0.0", "@metamask/post-message-stream": "^8.1.0", "@metamask/providers": "17.0.0", diff --git a/packages/snaps-jest/package.json b/packages/snaps-jest/package.json index d44ac19858..bcf3af8be7 100644 --- a/packages/snaps-jest/package.json +++ b/packages/snaps-jest/package.json @@ -40,12 +40,12 @@ "@jest/environment": "^29.5.0", "@jest/expect": "^29.5.0", "@jest/globals": "^29.5.0", - "@metamask/base-controller": "^6.0.1", + "@metamask/base-controller": "^6.0.2", "@metamask/eth-json-rpc-middleware": "^12.1.2", - "@metamask/json-rpc-engine": "^9.0.0", - "@metamask/json-rpc-middleware-stream": "^8.0.0", + "@metamask/json-rpc-engine": "^9.0.2", + "@metamask/json-rpc-middleware-stream": "^8.0.2", "@metamask/key-tree": "^9.1.2", - "@metamask/permission-controller": "^10.0.1", + "@metamask/permission-controller": "^11.0.0", "@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 52d96e1830..d480361378 100644 --- a/packages/snaps-rpc-methods/package.json +++ b/packages/snaps-rpc-methods/package.json @@ -40,7 +40,7 @@ }, "dependencies": { "@metamask/key-tree": "^9.1.2", - "@metamask/permission-controller": "^10.0.1", + "@metamask/permission-controller": "^11.0.0", "@metamask/rpc-errors": "^6.3.1", "@metamask/snaps-sdk": "workspace:^", "@metamask/snaps-utils": "workspace:^", @@ -55,7 +55,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.0", + "@metamask/json-rpc-engine": "^9.0.2", "@swc/core": "1.3.78", "@swc/jest": "^0.2.26", "@types/node": "18.14.2", diff --git a/packages/snaps-simulator/package.json b/packages/snaps-simulator/package.json index 1fb03f5187..9570b51222 100644 --- a/packages/snaps-simulator/package.json +++ b/packages/snaps-simulator/package.json @@ -30,12 +30,12 @@ "@emotion/react": "^11.10.8", "@emotion/styled": "^11.10.8", "@ethersproject/units": "^5.7.0", - "@metamask/base-controller": "^6.0.1", + "@metamask/base-controller": "^6.0.2", "@metamask/eth-json-rpc-middleware": "^12.1.2", - "@metamask/json-rpc-engine": "^9.0.0", - "@metamask/json-rpc-middleware-stream": "^8.0.0", + "@metamask/json-rpc-engine": "^9.0.2", + "@metamask/json-rpc-middleware-stream": "^8.0.2", "@metamask/key-tree": "^9.1.2", - "@metamask/permission-controller": "^10.0.1", + "@metamask/permission-controller": "^11.0.0", "@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 319c83e1db..a4ff857e3d 100644 --- a/packages/snaps-utils/package.json +++ b/packages/snaps-utils/package.json @@ -52,9 +52,9 @@ "dependencies": { "@babel/core": "^7.23.2", "@babel/types": "^7.23.0", - "@metamask/base-controller": "^6.0.1", + "@metamask/base-controller": "^6.0.2", "@metamask/key-tree": "^9.1.2", - "@metamask/permission-controller": "^10.0.1", + "@metamask/permission-controller": "^11.0.0", "@metamask/rpc-errors": "^6.3.1", "@metamask/slip44": "^3.1.0", "@metamask/snaps-registry": "^3.2.1", diff --git a/yarn.lock b/yarn.lock index 02047c1d79..fd6b8ff602 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3822,15 +3822,15 @@ __metadata: languageName: node linkType: hard -"@metamask/approval-controller@npm:^7.0.0": - version: 7.0.0 - resolution: "@metamask/approval-controller@npm:7.0.0" +"@metamask/approval-controller@npm:^7.0.2": + version: 7.0.2 + resolution: "@metamask/approval-controller@npm:7.0.2" dependencies: - "@metamask/base-controller": ^6.0.0 - "@metamask/rpc-errors": ^6.2.1 - "@metamask/utils": ^8.3.0 + "@metamask/base-controller": ^6.0.2 + "@metamask/rpc-errors": ^6.3.1 + "@metamask/utils": ^9.1.0 nanoid: ^3.1.31 - checksum: fa9c08959dbd89563fe8f07d0086703854d1f645ac00fe58eae62cc8a4eb344de7c26744baa9f2c2ad7a10999dd522bcb822692f76f76f1c84189550c6c80cdf + checksum: 027b0f1871626095356bd9999a4a80fc8db13e8dc85748e9a2c59efc32743e49522c908bb860c315b948555c15528bd0c3f3d0e90a50ba7f6c9aaa4d800aa18f languageName: node linkType: hard @@ -3864,13 +3864,13 @@ __metadata: languageName: node linkType: hard -"@metamask/base-controller@npm:^6.0.0, @metamask/base-controller@npm:^6.0.1": - version: 6.0.1 - resolution: "@metamask/base-controller@npm:6.0.1" +"@metamask/base-controller@npm:^6.0.2": + version: 6.0.2 + resolution: "@metamask/base-controller@npm:6.0.2" dependencies: - "@metamask/utils": ^9.0.0 + "@metamask/utils": ^9.1.0 immer: ^9.0.6 - checksum: c5dc9ce53dbb65190462e269dff78f5f2a789a787246bf4f7b2f4867da5ac11c54a67db530db5ba520f64f5a124f58983f36f9c6a4ab032e86cd3058a1b3e864 + checksum: 2cdd0310850d7a5ead05248b79ba94bbaee368ea1a99c999ff38e2d16630a7f12d2e4c781d0fe1d7b349f8a0b3651a831ceccd03b376cb7cc451154867fd5668 languageName: node linkType: hard @@ -4114,20 +4114,20 @@ __metadata: languageName: unknown linkType: soft -"@metamask/controller-utils@npm:^11.0.0, @metamask/controller-utils@npm:^11.0.1": - version: 11.0.1 - resolution: "@metamask/controller-utils@npm:11.0.1" +"@metamask/controller-utils@npm:^11.0.2": + version: 11.0.2 + resolution: "@metamask/controller-utils@npm:11.0.2" dependencies: "@ethereumjs/util": ^8.1.0 "@metamask/eth-query": ^4.0.0 "@metamask/ethjs-unit": ^0.3.0 - "@metamask/utils": ^9.0.0 + "@metamask/utils": ^9.1.0 "@spruceid/siwe-parser": 2.1.0 "@types/bn.js": ^5.1.5 bn.js: ^5.2.1 eth-ens-namehash: ^2.0.8 fast-deep-equal: ^3.1.3 - checksum: 1e3adfa9544723e9d9cb76ed5f881d853c25544bb37aa521347fdbaaa9ab9b1e37d87167a4bdd1083f00fae32b6b4a9597ad756f348b4de0d627bf8742fa2b73 + checksum: 21a760f68270318a9f31c35878cdbeae3c093e1aeea45b838c9359ced621f7c9fdd969f6b751f9bc3112bfc8f110da3e75b6990daabd815841e99479fe798a2c languageName: node linkType: hard @@ -4888,14 +4888,14 @@ __metadata: languageName: node linkType: hard -"@metamask/json-rpc-engine@npm:^9.0.0, @metamask/json-rpc-engine@npm:^9.0.1": - version: 9.0.1 - resolution: "@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" dependencies: "@metamask/rpc-errors": ^6.3.1 "@metamask/safe-event-emitter": ^3.0.0 - "@metamask/utils": ^9.0.0 - checksum: 60889825a633f2ae8f5998c3c426c52e580d761871983eb4e25bedc868fad1c367b496b3bd6913274b118444987eda64669a1eb49acda1a7fc2e2a0d75dd1e9a + "@metamask/utils": ^9.1.0 + checksum: 4c852c9f30d05706ee497a2aca3ef6df12aabcff4a71a7426a27d95829f20cf2ff45c774eb9d95224bf16c9555a8cd7e44dccaea1bd44eda4dc43bf298885272 languageName: node linkType: hard @@ -4947,15 +4947,15 @@ __metadata: languageName: node linkType: hard -"@metamask/json-rpc-middleware-stream@npm:^8.0.0": - version: 8.0.1 - resolution: "@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" dependencies: - "@metamask/json-rpc-engine": ^9.0.1 + "@metamask/json-rpc-engine": ^9.0.2 "@metamask/safe-event-emitter": ^3.0.0 - "@metamask/utils": ^9.0.0 + "@metamask/utils": ^9.1.0 readable-stream: ^3.6.2 - checksum: 7f9b43bb171aed6ba1b3fbad1420224cf505fc1cc8f79bff8e3da404f9b835fe660efee0a538565f035f00c8de811979d2921afd9c756dbba91366d558f2fdef + checksum: 0aa44b98e5832c158594e5b616d351c7c8da8f7bc8de0a14f91a043b92fd81f1a63eecac9b11f7ef4729f54d2f1ad1ae5b82db6188368cefac1ca31011b84730 languageName: node linkType: hard @@ -5248,35 +5248,36 @@ __metadata: languageName: node linkType: hard -"@metamask/permission-controller@npm:^10.0.1": - version: 10.0.1 - resolution: "@metamask/permission-controller@npm:10.0.1" +"@metamask/permission-controller@npm:^11.0.0": + version: 11.0.0 + resolution: "@metamask/permission-controller@npm:11.0.0" dependencies: - "@metamask/base-controller": ^6.0.1 - "@metamask/controller-utils": ^11.0.1 - "@metamask/json-rpc-engine": ^9.0.1 + "@metamask/base-controller": ^6.0.2 + "@metamask/controller-utils": ^11.0.2 + "@metamask/json-rpc-engine": ^9.0.2 "@metamask/rpc-errors": ^6.3.1 - "@metamask/utils": ^9.0.0 + "@metamask/utils": ^9.1.0 "@types/deep-freeze-strict": ^1.1.0 deep-freeze-strict: ^1.1.1 immer: ^9.0.6 nanoid: ^3.1.31 peerDependencies: "@metamask/approval-controller": ^7.0.0 - checksum: 0dd9daad694a4decdb7849ef48fce517bd975e3fbbaa50e549cfe16a7d1b0e607fed1f109948b7e28c7edb84b3276d68e3c3c0bef8befdad03671bacaaeacad2 + checksum: 3038d6ddfff65fc4d5b32c49413f09c3c1522a34b990fb9990915534ef959c5112b517d683825d78a5c11d1669c160b7efe432b2f2e40289e079d617c2a4acf1 languageName: node linkType: hard -"@metamask/phishing-controller@npm:^10.0.0": - version: 10.0.0 - resolution: "@metamask/phishing-controller@npm:10.0.0" +"@metamask/phishing-controller@npm:^10.1.1": + version: 10.1.1 + resolution: "@metamask/phishing-controller@npm:10.1.1" dependencies: - "@metamask/base-controller": ^6.0.0 - "@metamask/controller-utils": ^11.0.0 + "@metamask/base-controller": ^6.0.2 + "@metamask/controller-utils": ^11.0.2 "@types/punycode": ^2.1.0 eth-phishing-detect: ^1.2.0 + fastest-levenshtein: ^1.0.16 punycode: ^2.1.1 - checksum: c9da583e8620dc0bb82e799305cccd1b0f54501c9a5b9321295049d08d16fff3bf4111d4c81c76c5d0f292d4c8e1113b3baef18d011bd09e6c2b2404c3d43557 + checksum: 9bd1ea299a721b4106d25475bdda7ab696ebd72ace6eaf2328c7c357f586a38ea200b7e92ba8cb34c42be7061eebadb463b14af52517c994a4d993483b0d9545 languageName: node linkType: hard @@ -5570,19 +5571,19 @@ __metadata: "@esbuild-plugins/node-globals-polyfill": ^0.2.3 "@esbuild-plugins/node-modules-polyfill": ^0.2.2 "@lavamoat/allow-scripts": ^3.0.4 - "@metamask/approval-controller": ^7.0.0 + "@metamask/approval-controller": ^7.0.2 "@metamask/auto-changelog": ^3.4.4 - "@metamask/base-controller": ^6.0.1 + "@metamask/base-controller": ^6.0.2 "@metamask/browser-passworder": ^5.0.0 "@metamask/eslint-config": ^12.1.0 "@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.0 - "@metamask/json-rpc-middleware-stream": ^8.0.0 + "@metamask/json-rpc-engine": ^9.0.2 + "@metamask/json-rpc-middleware-stream": ^8.0.2 "@metamask/object-multiplex": ^2.0.0 - "@metamask/permission-controller": ^10.0.1 - "@metamask/phishing-controller": ^10.0.0 + "@metamask/permission-controller": ^11.0.0 + "@metamask/phishing-controller": ^10.1.1 "@metamask/post-message-stream": ^8.1.0 "@metamask/rpc-errors": ^6.3.1 "@metamask/snaps-registry": ^3.2.1 @@ -5673,7 +5674,7 @@ __metadata: "@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.0 + "@metamask/json-rpc-engine": ^9.0.2 "@metamask/object-multiplex": ^2.0.0 "@metamask/post-message-stream": ^8.1.0 "@metamask/providers": 17.0.0 @@ -5748,16 +5749,16 @@ __metadata: "@jest/types": ^29.6.3 "@lavamoat/allow-scripts": ^3.0.4 "@metamask/auto-changelog": ^3.4.4 - "@metamask/base-controller": ^6.0.1 + "@metamask/base-controller": ^6.0.2 "@metamask/eslint-config": ^12.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 "@metamask/eth-json-rpc-middleware": ^12.1.2 - "@metamask/json-rpc-engine": ^9.0.0 - "@metamask/json-rpc-middleware-stream": ^8.0.0 + "@metamask/json-rpc-engine": ^9.0.2 + "@metamask/json-rpc-middleware-stream": ^8.0.2 "@metamask/key-tree": ^9.1.2 - "@metamask/permission-controller": ^10.0.1 + "@metamask/permission-controller": ^11.0.0 "@metamask/snaps-controllers": "workspace:^" "@metamask/snaps-execution-environments": "workspace:^" "@metamask/snaps-rpc-methods": "workspace:^" @@ -5861,9 +5862,9 @@ __metadata: "@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.0 + "@metamask/json-rpc-engine": ^9.0.2 "@metamask/key-tree": ^9.1.2 - "@metamask/permission-controller": ^10.0.1 + "@metamask/permission-controller": ^11.0.0 "@metamask/rpc-errors": ^6.3.1 "@metamask/snaps-sdk": "workspace:^" "@metamask/snaps-utils": "workspace:^" @@ -5947,17 +5948,17 @@ __metadata: "@emotion/styled": ^11.10.8 "@ethersproject/units": ^5.7.0 "@metamask/auto-changelog": ^3.4.4 - "@metamask/base-controller": ^6.0.1 + "@metamask/base-controller": ^6.0.2 "@metamask/eslint-config": ^12.1.0 "@metamask/eslint-config-browser": ^11.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 "@metamask/eth-json-rpc-middleware": ^12.1.2 - "@metamask/json-rpc-engine": ^9.0.0 - "@metamask/json-rpc-middleware-stream": ^8.0.0 + "@metamask/json-rpc-engine": ^9.0.2 + "@metamask/json-rpc-middleware-stream": ^8.0.2 "@metamask/key-tree": ^9.1.2 - "@metamask/permission-controller": ^10.0.1 + "@metamask/permission-controller": ^11.0.0 "@metamask/snaps-controllers": "workspace:^" "@metamask/snaps-execution-environments": "workspace:^" "@metamask/snaps-rpc-methods": "workspace:^" @@ -6058,13 +6059,13 @@ __metadata: "@esbuild-plugins/node-modules-polyfill": ^0.2.2 "@lavamoat/allow-scripts": ^3.0.4 "@metamask/auto-changelog": ^3.4.4 - "@metamask/base-controller": ^6.0.1 + "@metamask/base-controller": ^6.0.2 "@metamask/eslint-config": ^12.1.0 "@metamask/eslint-config-jest": ^12.1.0 "@metamask/eslint-config-nodejs": ^12.1.0 "@metamask/eslint-config-typescript": ^12.1.0 "@metamask/key-tree": ^9.1.2 - "@metamask/permission-controller": ^10.0.1 + "@metamask/permission-controller": ^11.0.0 "@metamask/post-message-stream": ^8.1.0 "@metamask/rpc-errors": ^6.3.1 "@metamask/slip44": ^3.1.0 @@ -13382,10 +13383,10 @@ __metadata: languageName: node linkType: hard -"fastest-levenshtein@npm:^1.0.12": - version: 1.0.12 - resolution: "fastest-levenshtein@npm:1.0.12" - checksum: e1a013698dd1d302c7a78150130c7d50bb678c2c2f8839842a796d66cc7cdf50ea6b3d7ca930b0c8e7e8c2cd84fea8ab831023b382f7aab6922c318c1451beab +"fastest-levenshtein@npm:^1.0.12, fastest-levenshtein@npm:^1.0.16": + version: 1.0.16 + resolution: "fastest-levenshtein@npm:1.0.16" + checksum: a78d44285c9e2ae2c25f3ef0f8a73f332c1247b7ea7fb4a191e6bb51aa6ee1ef0dfb3ed113616dcdc7023e18e35a8db41f61c8d88988e877cf510df8edafbc71 languageName: node linkType: hard