From 4673cd6c3d7c1b5f4117f8d85d6764e075c7331c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 1 Nov 2023 11:36:50 +0000 Subject: [PATCH 1/2] Bump @metamask/providers from 9.0.0 to 13.1.0 Bumps [@metamask/providers](https://github.com/MetaMask/providers) from 9.0.0 to 13.1.0. - [Release notes](https://github.com/MetaMask/providers/releases) - [Changelog](https://github.com/MetaMask/providers/blob/main/CHANGELOG.md) - [Commits](https://github.com/MetaMask/providers/compare/v9.0.0...v13.1.0) --- updated-dependencies: - dependency-name: "@metamask/providers" dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- packages/site/package.json | 2 +- yarn.lock | 177 ++----------------------------------- 2 files changed, 8 insertions(+), 171 deletions(-) diff --git a/packages/site/package.json b/packages/site/package.json index d7b29026..e2a33256 100644 --- a/packages/site/package.json +++ b/packages/site/package.json @@ -26,7 +26,7 @@ ] }, "dependencies": { - "@metamask/providers": "^9.0.0", + "@metamask/providers": "^13.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-is": "^18.2.0", diff --git a/yarn.lock b/yarn.lock index e0ac229b..e78bab78 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4170,7 +4170,7 @@ __metadata: languageName: node linkType: hard -"@metamask/providers@npm:^13.0.0": +"@metamask/providers@npm:^13.0.0, @metamask/providers@npm:^13.1.0": version: 13.1.0 resolution: "@metamask/providers@npm:13.1.0" dependencies: @@ -4189,26 +4189,6 @@ __metadata: languageName: node linkType: hard -"@metamask/providers@npm:^9.0.0": - version: 9.0.0 - resolution: "@metamask/providers@npm:9.0.0" - dependencies: - "@metamask/object-multiplex": ^1.1.0 - "@metamask/safe-event-emitter": ^2.0.0 - "@types/chrome": ^0.0.136 - detect-browser: ^5.2.0 - eth-rpc-errors: ^4.0.2 - extension-port-stream: ^2.0.1 - fast-deep-equal: ^2.0.1 - is-stream: ^2.0.0 - json-rpc-engine: ^6.1.0 - json-rpc-middleware-stream: ^3.0.0 - pump: ^3.0.0 - webextension-polyfill-ts: ^0.25.0 - checksum: c005742d0757b10bec9da66f077e364794ae306b5371155aa98f29fce2ba534c7d95637359a2caffca7c22abc3270ad69344fe1b6c9065aed50866d795c27336 - languageName: node - linkType: hard - "@metamask/rpc-errors@npm:^6.0.0, @metamask/rpc-errors@npm:^6.1.0": version: 6.1.0 resolution: "@metamask/rpc-errors@npm:6.1.0" @@ -4389,23 +4369,7 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-rpc-methods@npm:^3.1.0": - version: 3.1.0 - resolution: "@metamask/snaps-rpc-methods@npm:3.1.0" - dependencies: - "@metamask/key-tree": ^9.0.0 - "@metamask/permission-controller": ^5.0.0 - "@metamask/rpc-errors": ^6.1.0 - "@metamask/snaps-ui": ^3.0.1 - "@metamask/snaps-utils": ^3.1.0 - "@metamask/utils": ^8.1.0 - "@noble/hashes": ^1.3.1 - superstruct: ^1.0.3 - checksum: 4ba535c970db72dad65d9d303c3def57c4130b620fb1276f855e73a59535e587535cfa869088f07b59967c9fe30beadddd25acfb28d2986db820a6a92f2d0d68 - languageName: node - linkType: hard - -"@metamask/snaps-rpc-methods@npm:^3.2.0": +"@metamask/snaps-rpc-methods@npm:^3.1.0, @metamask/snaps-rpc-methods@npm:^3.2.0": version: 3.2.1 resolution: "@metamask/snaps-rpc-methods@npm:3.2.1" dependencies: @@ -4475,18 +4439,7 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-ui@npm:^3.0.1": - version: 3.0.1 - resolution: "@metamask/snaps-ui@npm:3.0.1" - dependencies: - "@metamask/utils": ^8.1.0 - is-svg: ^4.4.0 - superstruct: ^1.0.3 - checksum: de4cdf1a589c0af429860a7e15610d8e8f15b0c37fbd1919d2b7f770cf778ed97af0a158257657ca611abaa0ab10f8569c728775dd7f5c72f189ac33b15c05f0 - languageName: node - linkType: hard - -"@metamask/snaps-ui@npm:^3.1.0": +"@metamask/snaps-ui@npm:^3.0.1, @metamask/snaps-ui@npm:^3.1.0": version: 3.1.0 resolution: "@metamask/snaps-ui@npm:3.1.0" dependencies: @@ -4497,36 +4450,7 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-utils@npm:^3.1.0": - version: 3.1.0 - resolution: "@metamask/snaps-utils@npm:3.1.0" - dependencies: - "@babel/core": ^7.23.2 - "@babel/types": ^7.23.0 - "@metamask/base-controller": ^3.2.0 - "@metamask/key-tree": ^9.0.0 - "@metamask/permission-controller": ^5.0.0 - "@metamask/rpc-errors": ^6.1.0 - "@metamask/snaps-registry": ^2.1.0 - "@metamask/snaps-ui": ^3.0.1 - "@metamask/utils": ^8.1.0 - "@noble/hashes": ^1.3.1 - "@scure/base": ^1.1.1 - chalk: ^4.1.2 - cron-parser: ^4.5.0 - fast-deep-equal: ^3.1.3 - fast-json-stable-stringify: ^2.1.0 - is-svg: ^4.4.0 - rfdc: ^1.3.0 - semver: ^7.5.4 - ses: ^0.18.8 - superstruct: ^1.0.3 - validate-npm-package-name: ^5.0.0 - checksum: 82f675e4eaf0ef928851450742b3378ce815ed6e7bdc77d6c20da21b6a95e5ea2627c9979e6a3655e91b04fa5565f78baa8b952826139d1485a22d0c81e10447 - languageName: node - linkType: hard - -"@metamask/snaps-utils@npm:^3.2.0": +"@metamask/snaps-utils@npm:^3.1.0, @metamask/snaps-utils@npm:^3.2.0": version: 3.2.0 resolution: "@metamask/snaps-utils@npm:3.2.0" dependencies: @@ -6086,16 +6010,6 @@ __metadata: languageName: node linkType: hard -"@types/chrome@npm:^0.0.136": - version: 0.0.136 - resolution: "@types/chrome@npm:0.0.136" - dependencies: - "@types/filesystem": "*" - "@types/har-format": "*" - checksum: af96fdc79fb019d827fdb6269f831921f8f36215ee05a2624436dd2ad4d84d7be12333cc6f54912fb8bae0ca49cbfde5a78de94723bfbd20d309d2e71e274a1b - languageName: node - linkType: hard - "@types/common-tags@npm:^1.8.1": version: 1.8.1 resolution: "@types/common-tags@npm:1.8.1" @@ -6186,22 +6100,6 @@ __metadata: languageName: node linkType: hard -"@types/filesystem@npm:*": - version: 0.0.32 - resolution: "@types/filesystem@npm:0.0.32" - dependencies: - "@types/filewriter": "*" - checksum: 4b9079d200a3b241722b90e1c5806c4b32c4dac87d42a1c7ef76a2c0dafdbe7d5f1a379b873ad5de73622b44de6599e1522908f67b938d54e785bd1c36e302a0 - languageName: node - linkType: hard - -"@types/filewriter@npm:*": - version: 0.0.29 - resolution: "@types/filewriter@npm:0.0.29" - checksum: 0c58aa875c2c245be7dbc42b20212f3203e13d11ec013a4a5cd0febf0e8b87214be5882c05ff9d7bdf0398f145a4fdbc24b7e6cf7b094e134a3b4c7a0598502f - languageName: node - linkType: hard - "@types/get-port@npm:^3.2.0": version: 3.2.0 resolution: "@types/get-port@npm:3.2.0" @@ -6248,13 +6146,6 @@ __metadata: languageName: node linkType: hard -"@types/har-format@npm:*": - version: 1.2.8 - resolution: "@types/har-format@npm:1.2.8" - checksum: a14c6f31fb7c39be383638e00b3beaf693acfa6a2d8a10d9333f3d5cb70d3f2fc4d369a781775451012adc52faef08ff476e40a34fc6a1d6a557dd02ad984c0c - languageName: node - linkType: hard - "@types/hast@npm:^2.0.0": version: 2.3.4 resolution: "@types/hast@npm:2.3.4" @@ -11589,15 +11480,6 @@ __metadata: languageName: node linkType: hard -"eth-rpc-errors@npm:^4.0.2": - version: 4.0.3 - resolution: "eth-rpc-errors@npm:4.0.3" - dependencies: - fast-safe-stringify: ^2.0.6 - checksum: 5fa31d1a10fdb340733b9a55e38e7687222c501052ca20743cef4d0c911a9bbcc0cad54aa6bf3e4b428604c071ff519803060e1cbc79ddb7c9257c11d407d32a - languageName: node - linkType: hard - "ethereum-cryptography@npm:^0.1.3": version: 0.1.3 resolution: "ethereum-cryptography@npm:0.1.3" @@ -11847,7 +11729,7 @@ __metadata: languageName: node linkType: hard -"extension-port-stream@npm:^2.0.1, extension-port-stream@npm:^2.1.1": +"extension-port-stream@npm:^2.1.1": version: 2.1.1 resolution: "extension-port-stream@npm:2.1.1" dependencies: @@ -15371,26 +15253,6 @@ __metadata: languageName: node linkType: hard -"json-rpc-engine@npm:^6.1.0": - version: 6.1.0 - resolution: "json-rpc-engine@npm:6.1.0" - dependencies: - "@metamask/safe-event-emitter": ^2.0.0 - eth-rpc-errors: ^4.0.2 - checksum: 33b6c9bbd81abf8e323a0281ee05871713203c40d34a4d0bda27706cd0a0935c7b51845238ba89b73027e44ebc8034bbd82db9f962e6c578eb922d9b95acc8bd - languageName: node - linkType: hard - -"json-rpc-middleware-stream@npm:^3.0.0": - version: 3.0.0 - resolution: "json-rpc-middleware-stream@npm:3.0.0" - dependencies: - "@metamask/safe-event-emitter": ^2.0.0 - readable-stream: ^2.3.3 - checksum: 9ff56cd40a6ba0a6f3d0226ea100921635120154c602822f0f4fdfa6bf7c61367d1e8cd055b6e7a7639aa19ed51a9ce7fbf2932a2d348b2404c060f75bc1231f - languageName: node - linkType: hard - "json-rpc-middleware-stream@npm:^4.2.1": version: 4.2.1 resolution: "json-rpc-middleware-stream@npm:4.2.1" @@ -18394,16 +18256,7 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.2.1": - version: 2.7.1 - resolution: "prettier@npm:2.7.1" - bin: - prettier: bin-prettier.js - checksum: 55a4409182260866ab31284d929b3cb961e5fdb91fe0d2e099dac92eaecec890f36e524b4c19e6ceae839c99c6d7195817579cdffc8e2c80da0cb794463a748b - languageName: node - linkType: hard - -"prettier@npm:^2.8.8": +"prettier@npm:^2.2.1, prettier@npm:^2.8.8": version: 2.8.8 resolution: "prettier@npm:2.8.8" bin: @@ -20283,7 +20136,7 @@ __metadata: "@metamask/eslint-config-jest": ^10.0.0 "@metamask/eslint-config-nodejs": ^10.0.0 "@metamask/eslint-config-typescript": ^10.0.0 - "@metamask/providers": ^9.0.0 + "@metamask/providers": ^13.1.0 "@svgr/webpack": ^6.4.0 "@testing-library/dom": ^8.17.1 "@testing-library/jest-dom": ^5.16.4 @@ -22405,15 +22258,6 @@ __metadata: languageName: node linkType: hard -"webextension-polyfill-ts@npm:^0.25.0": - version: 0.25.0 - resolution: "webextension-polyfill-ts@npm:0.25.0" - dependencies: - webextension-polyfill: ^0.7.0 - checksum: c4dc82c86e34cea717a26af549f2822d63e92af52632f5e909ea13b5e7bd9d6110781f10313e36ada2b54c770ebca018bc3784756d12ba3b0b623d285f1a14a7 - languageName: node - linkType: hard - "webextension-polyfill@npm:>=0.10.0 <1.0, webextension-polyfill@npm:^0.10.0": version: 0.10.0 resolution: "webextension-polyfill@npm:0.10.0" @@ -22421,13 +22265,6 @@ __metadata: languageName: node linkType: hard -"webextension-polyfill@npm:^0.7.0": - version: 0.7.0 - resolution: "webextension-polyfill@npm:0.7.0" - checksum: fb738a5de07feb593875e02f25c3ab4276c8736118929556c8d4bdf965bb0f11c96ea263cd397b9b21259e8faf2dce2eaaa42ce08c922d96de7adb5896ec7d10 - languageName: node - linkType: hard - "webidl-conversions@npm:^3.0.0": version: 3.0.1 resolution: "webidl-conversions@npm:3.0.1" From f381ec24b4a94bf8833723999f8f24981afe03c0 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Wed, 1 Nov 2023 13:12:07 +0100 Subject: [PATCH 2/2] Update snap shasum --- packages/snap/snap.manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/snap/snap.manifest.json b/packages/snap/snap.manifest.json index 8871c59d..a4f981a1 100644 --- a/packages/snap/snap.manifest.json +++ b/packages/snap/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/template-snap-monorepo.git" }, "source": { - "shasum": "sDOks7Ec7RRW/Gxb/w0tSkeqe9+bILuEfWXANDnGBeY=", + "shasum": "jD8E4o4QOJElmDkQFcIITLrcKyZiR81o+rOnEMGSvOY=", "location": { "npm": { "filePath": "dist/bundle.js",