From 1326766b19afd0a88f0ccc1cb68a74141394a573 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 15 Dec 2023 06:58:13 +0000 Subject: [PATCH] Bump @metamask/snaps-cli from 3.0.1 to 4.0.0 Bumps [@metamask/snaps-cli](https://github.com/MetaMask/snaps) from 3.0.1 to 4.0.0. - [Release notes](https://github.com/MetaMask/snaps/releases) - [Commits](https://github.com/MetaMask/snaps/compare/@metamask/snaps-cli@3.0.1...@metamask/snaps-cli@4.0.0) --- updated-dependencies: - dependency-name: "@metamask/snaps-cli" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- packages/snap/package.json | 2 +- yarn.lock | 233 ++++++++++++++++++++++++++++++++++--- 2 files changed, 220 insertions(+), 15 deletions(-) diff --git a/packages/snap/package.json b/packages/snap/package.json index 95626a1..74802c9 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -42,7 +42,7 @@ "@metamask/eslint-config-jest": "^12.0.0", "@metamask/eslint-config-nodejs": "^12.0.0", "@metamask/eslint-config-typescript": "^12.0.0", - "@metamask/snaps-cli": "^3.0.1", + "@metamask/snaps-cli": "^4.0.0", "@metamask/snaps-jest": "^3.0.0", "@typescript-eslint/eslint-plugin": "^5.42.1", "@typescript-eslint/parser": "^5.42.1", diff --git a/yarn.lock b/yarn.lock index d648c13..2d1fdd9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3490,7 +3490,7 @@ __metadata: "@metamask/eslint-config-jest": ^12.0.0 "@metamask/eslint-config-nodejs": ^12.0.0 "@metamask/eslint-config-typescript": ^12.0.0 - "@metamask/snaps-cli": ^3.0.1 + "@metamask/snaps-cli": ^4.0.0 "@metamask/snaps-jest": ^3.0.0 "@metamask/snaps-types": ^3.0.1 "@metamask/snaps-ui": ^3.0.1 @@ -4020,6 +4020,18 @@ __metadata: languageName: node linkType: hard +"@metamask/approval-controller@npm:^5.0.0": + version: 5.0.0 + resolution: "@metamask/approval-controller@npm:5.0.0" + dependencies: + "@metamask/base-controller": ^4.0.0 + "@metamask/rpc-errors": ^6.1.0 + "@metamask/utils": ^8.2.0 + nanoid: ^3.1.31 + checksum: b6a866db33458fa3125a20910d3c576e6e0fb2d8753db81a5d0d57f2181d361ea5e098ed98b60be868279f0ab4b80ba867911563318e5308f0175cdc1e63d15c + languageName: node + linkType: hard + "@metamask/auto-changelog@npm:^3.4.2": version: 3.4.3 resolution: "@metamask/auto-changelog@npm:3.4.3" @@ -4045,6 +4057,16 @@ __metadata: languageName: node linkType: hard +"@metamask/base-controller@npm:^4.0.0": + version: 4.0.0 + resolution: "@metamask/base-controller@npm:4.0.0" + dependencies: + "@metamask/utils": ^8.2.0 + immer: ^9.0.6 + checksum: a3ac2d54a8d540f1f160ce657d9127e8f3a3f4685834eba3913be8dfa577eea7cc00e4e98ebedd42d6c190e0949e296c7ef9c10b3f8bffcb0b33bdff6e7bafc1 + languageName: node + linkType: hard + "@metamask/browser-passworder@npm:^4.1.0": version: 4.1.0 resolution: "@metamask/browser-passworder@npm:4.1.0" @@ -4067,6 +4089,21 @@ __metadata: languageName: node linkType: hard +"@metamask/controller-utils@npm:^6.0.0": + version: 6.1.0 + resolution: "@metamask/controller-utils@npm:6.1.0" + dependencies: + "@metamask/eth-query": ^4.0.0 + "@metamask/ethjs-unit": ^0.2.1 + "@metamask/utils": ^8.2.0 + "@spruceid/siwe-parser": 1.1.3 + eth-ens-namehash: ^2.0.8 + ethereumjs-util: ^7.0.10 + fast-deep-equal: ^3.1.3 + checksum: 0f0f9a5bc199f9a6c75926f12fa52bd486634091dfbb2db2b98f49b6a09407da9edc0b4a14613ea5c65d8b6cd1f4817acb0e5cffc9b0586f90084e440bf81322 + languageName: node + linkType: hard + "@metamask/eslint-config-browser@npm:^12.1.0": version: 12.1.0 resolution: "@metamask/eslint-config-browser@npm:12.1.0" @@ -4165,6 +4202,16 @@ __metadata: languageName: node linkType: hard +"@metamask/eth-query@npm:^4.0.0": + version: 4.0.0 + resolution: "@metamask/eth-query@npm:4.0.0" + dependencies: + json-rpc-random-id: ^1.0.0 + xtend: ^4.0.1 + checksum: f2e529cf2aa362c20b81433f69840c2830444b3e060a3d9cc778235b8f595f4e1e3a6505b7f14930c4e1566efc9de0ee879e4566f3a6ab184521bdf40f5895d4 + languageName: node + linkType: hard + "@metamask/eth-sig-util@npm:^7.0.0": version: 7.0.0 resolution: "@metamask/eth-sig-util@npm:7.0.0" @@ -4180,6 +4227,16 @@ __metadata: languageName: node linkType: hard +"@metamask/ethjs-unit@npm:^0.2.1": + version: 0.2.1 + resolution: "@metamask/ethjs-unit@npm:0.2.1" + dependencies: + bn.js: 4.11.6 + number-to-bn: 1.7.0 + checksum: 0c8bbbe06000f647b46701fcf976e29b67c7362b3ae252d8d4fe2feb74f3988c1203eb03cc34bb899101f01812c8c300158d75bc721d649124c048e8b149b557 + languageName: node + linkType: hard + "@metamask/json-rpc-engine@npm:^7.1.0, @metamask/json-rpc-engine@npm:^7.1.1": version: 7.2.0 resolution: "@metamask/json-rpc-engine@npm:7.2.0" @@ -4191,6 +4248,17 @@ __metadata: languageName: node linkType: hard +"@metamask/json-rpc-engine@npm:^7.3.0": + version: 7.3.0 + resolution: "@metamask/json-rpc-engine@npm:7.3.0" + dependencies: + "@metamask/rpc-errors": ^6.1.0 + "@metamask/safe-event-emitter": ^3.0.0 + "@metamask/utils": ^8.2.0 + checksum: 7e12fb58ee2775269aa3e6e3a40d18d9053b6cefb6eaa2b80558a65986d0e451a9faf3935548d5b4eced857c6b569e768cb235ef10ff0feb72a23ccadaaff4bc + languageName: node + linkType: hard + "@metamask/key-tree@npm:^9.0.0": version: 9.0.0 resolution: "@metamask/key-tree@npm:9.0.0" @@ -4246,6 +4314,26 @@ __metadata: languageName: node linkType: hard +"@metamask/permission-controller@npm:^6.0.0": + version: 6.0.0 + resolution: "@metamask/permission-controller@npm:6.0.0" + dependencies: + "@metamask/approval-controller": ^5.0.0 + "@metamask/base-controller": ^4.0.0 + "@metamask/controller-utils": ^6.0.0 + "@metamask/json-rpc-engine": ^7.3.0 + "@metamask/rpc-errors": ^6.1.0 + "@metamask/utils": ^8.2.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": ^5.0.0 + checksum: 0d11a70cbb36aba5f76ee7d1ca8dea4eddcd51f81d3226907e0298797b65e0a21dc086f99284cdcd8d0382d21d0bb03f0536be2c4c508cf906be70be687163ad + languageName: node + linkType: hard + "@metamask/phishing-controller@npm:^7.0.0": version: 7.0.1 resolution: "@metamask/phishing-controller@npm:7.0.1" @@ -4308,6 +4396,26 @@ __metadata: languageName: node linkType: hard +"@metamask/providers@npm:^14.0.2": + version: 14.0.2 + resolution: "@metamask/providers@npm:14.0.2" + dependencies: + "@metamask/json-rpc-engine": ^7.1.1 + "@metamask/object-multiplex": ^2.0.0 + "@metamask/rpc-errors": ^6.0.0 + "@metamask/safe-event-emitter": ^3.0.0 + "@metamask/utils": ^8.1.0 + detect-browser: ^5.2.0 + extension-port-stream: ^3.0.0 + fast-deep-equal: ^3.1.3 + is-stream: ^2.0.0 + json-rpc-middleware-stream: ^5.0.1 + readable-stream: ^3.6.2 + webextension-polyfill: ^0.10.0 + checksum: 4111e4f9eae53b461a5318e2bdc90189837bc781a89a3904670a2449dfd3f2985b89183655f39ab4c63e6162d7c9ffd10d8a16335f2351ba2bb32365acd454f7 + 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" @@ -4342,9 +4450,16 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-cli@npm:^3.0.1": - version: 3.0.1 - resolution: "@metamask/snaps-cli@npm:3.0.1" +"@metamask/slip44@npm:^3.1.0": + version: 3.1.0 + resolution: "@metamask/slip44@npm:3.1.0" + checksum: 63de4b85448990bde7760704d2f646ff33b34b22799b570c0bb1f7f08b1ebea9784495759611979ca4a5872094b093b63c28c6f6d94aa614cbd692576fcb134f + languageName: node + linkType: hard + +"@metamask/snaps-cli@npm:^4.0.0": + version: 4.0.0 + resolution: "@metamask/snaps-cli@npm:4.0.0" dependencies: "@babel/core": ^7.23.2 "@babel/plugin-transform-class-properties": ^7.22.5 @@ -4354,9 +4469,10 @@ __metadata: "@babel/plugin-transform-runtime": ^7.13.2 "@babel/preset-env": ^7.23.2 "@babel/preset-typescript": ^7.23.2 - "@metamask/snaps-utils": ^3.1.0 - "@metamask/snaps-webpack-plugin": ^3.0.1 - "@metamask/utils": ^8.1.0 + "@metamask/snaps-sdk": ^1.3.0 + "@metamask/snaps-utils": ^5.1.0 + "@metamask/snaps-webpack-plugin": ^3.1.1 + "@metamask/utils": ^8.2.1 "@swc/core": 1.3.78 assert: ^2.0.0 babelify: ^10.0.0 @@ -4396,7 +4512,7 @@ __metadata: yargs: ^17.7.1 bin: mm-snap: ./dist/cjs/main.js - checksum: 9dffe74889965a87bdc1c72d93f2a6aa27b00a6e3543e179ef4498b4c485c1dcba983dbfc860a6e7fbbcfcb30020af4b06a9f1896dc3452068f74d9d7f93acf3 + checksum: c6f11061d29517f7495665a26956ce2f63f1496d8c38ab18a22f4087da1474a8fe2ddb37145563b3dd4b3c7def9234af4b806c1f65ceb1d7b07c180f52989517 languageName: node linkType: hard @@ -4488,6 +4604,18 @@ __metadata: languageName: node linkType: hard +"@metamask/snaps-registry@npm:^3.0.0": + version: 3.0.0 + resolution: "@metamask/snaps-registry@npm:3.0.0" + dependencies: + "@metamask/utils": ^8.1.0 + "@noble/curves": ^1.2.0 + "@noble/hashes": ^1.3.2 + superstruct: ^1.0.3 + checksum: d816190ee4f345f04b1dcdbbee48fc7153c12192e2deca16f7947c9f3ee437dddc286fd66c21cdf02d18798c4df799bbc377bc839c11a419226aa00b95b645b0 + languageName: node + linkType: hard + "@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" @@ -4504,6 +4632,20 @@ __metadata: languageName: node linkType: hard +"@metamask/snaps-sdk@npm:^1.2.0, @metamask/snaps-sdk@npm:^1.3.0": + version: 1.3.0 + resolution: "@metamask/snaps-sdk@npm:1.3.0" + dependencies: + "@metamask/key-tree": ^9.0.0 + "@metamask/providers": ^14.0.2 + "@metamask/rpc-errors": ^6.1.0 + "@metamask/utils": ^8.2.1 + is-svg: ^4.4.0 + superstruct: ^1.0.3 + checksum: 17d06a862e989cfcec4521b4fa0d47f72f393f346168ba21d643a3660a2c92e89255402716cee4f0f056b86e808e644f19921811d4278a29038e88f720ebf233 + languageName: node + linkType: hard + "@metamask/snaps-simulator@npm:^2.2.0": version: 2.2.0 resolution: "@metamask/snaps-simulator@npm:2.2.0" @@ -4598,14 +4740,45 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-webpack-plugin@npm:^3.0.1": - version: 3.0.1 - resolution: "@metamask/snaps-webpack-plugin@npm:3.0.1" +"@metamask/snaps-utils@npm:^5.0.0, @metamask/snaps-utils@npm:^5.1.0": + version: 5.1.0 + resolution: "@metamask/snaps-utils@npm:5.1.0" dependencies: - "@metamask/snaps-utils": ^3.1.0 - "@metamask/utils": ^8.1.0 + "@babel/core": ^7.23.2 + "@babel/types": ^7.23.0 + "@metamask/base-controller": ^4.0.0 + "@metamask/key-tree": ^9.0.0 + "@metamask/permission-controller": ^6.0.0 + "@metamask/rpc-errors": ^6.1.0 + "@metamask/slip44": ^3.1.0 + "@metamask/snaps-registry": ^3.0.0 + "@metamask/snaps-sdk": ^1.3.0 + "@metamask/utils": ^8.2.1 + "@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: 6483e15abb97eb42b06fbab1b6ae1606a7b0d2f0a64166bcb4629315264b85c0c6eb1a5fb0c65472e750b2c82d9bf261c112d4746f885dd4bf8748b7f92f25fa + languageName: node + linkType: hard + +"@metamask/snaps-webpack-plugin@npm:^3.1.1": + version: 3.1.1 + resolution: "@metamask/snaps-webpack-plugin@npm:3.1.1" + dependencies: + "@metamask/snaps-sdk": ^1.2.0 + "@metamask/snaps-utils": ^5.0.0 + "@metamask/utils": ^8.2.1 webpack-sources: ^3.2.3 - checksum: d07f1184e1db5dfd88888fc06d9f23f6af7c361846cfe5b50b94a983c5553c46b693812071bff5d796a40b87dc3fe52a6871c0e65b05e8ca8b05459a63e781ba + checksum: b18fd2fe1a0ec68b8ef529f5a57d88bf7a54ca108861ccce901cec562b0431e798beace18899b0112443ac6aef4b83a291f4ca013040944b10e3b2c374521324 languageName: node linkType: hard @@ -4652,6 +4825,22 @@ __metadata: languageName: node linkType: hard +"@metamask/utils@npm:^8.2.0, @metamask/utils@npm:^8.2.1": + version: 8.2.1 + resolution: "@metamask/utils@npm:8.2.1" + dependencies: + "@ethereumjs/tx": ^4.2.0 + "@noble/hashes": ^1.3.1 + "@scure/base": ^1.1.3 + "@types/debug": ^4.1.7 + debug: ^4.3.4 + pony-cause: ^2.1.10 + semver: ^7.5.4 + superstruct: ^1.0.3 + checksum: 36a714a17e4949d2040bedb28d4373a22e7e86bb797aa2d59223f9799fd76e662443bcede113719c4e200f5e9d90a9d62feafad5028fff8b9a7a85fface097ca + languageName: node + linkType: hard + "@minoru/react-dnd-treeview@npm:^3.4.4": version: 3.4.4 resolution: "@minoru/react-dnd-treeview@npm:3.4.4" @@ -4806,6 +4995,15 @@ __metadata: languageName: node linkType: hard +"@noble/curves@npm:^1.2.0": + version: 1.3.0 + resolution: "@noble/curves@npm:1.3.0" + dependencies: + "@noble/hashes": 1.3.3 + checksum: b65342ee66c4a440eee2978524412eabba9a9efdd16d6370e15218c6a7d80bddf35e66bb57ed52c0dfd32cb9a717b439ab3a72db618f1a0066dfebe3fd12a421 + languageName: node + linkType: hard + "@noble/ed25519@npm:^1.6.0": version: 1.7.3 resolution: "@noble/ed25519@npm:1.7.3" @@ -4820,6 +5018,13 @@ __metadata: languageName: node linkType: hard +"@noble/hashes@npm:1.3.3, @noble/hashes@npm:^1.3.2": + version: 1.3.3 + resolution: "@noble/hashes@npm:1.3.3" + checksum: 8a6496d1c0c64797339bc694ad06cdfaa0f9e56cd0c3f68ae3666cfb153a791a55deb0af9c653c7ed2db64d537aa3e3054629740d2f2338bb1dcb7ab60cd205b + languageName: node + linkType: hard + "@noble/hashes@npm:^1.0.0, @noble/hashes@npm:^1.3.1, @noble/hashes@npm:~1.3.0, @noble/hashes@npm:~1.3.1, @noble/hashes@npm:~1.3.2": version: 1.3.2 resolution: "@noble/hashes@npm:1.3.2"