From 03eedadd5f649b189c4bbb65c2d3e2a324a00823 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 06:40:39 +0000 Subject: [PATCH] Bump @metamask/snaps-cli from 5.0.0 to 6.0.1 Bumps [@metamask/snaps-cli](https://github.com/MetaMask/snaps) from 5.0.0 to 6.0.1. - [Release notes](https://github.com/MetaMask/snaps/releases) - [Commits](https://github.com/MetaMask/snaps/compare/@metamask/snaps-cli@5.0.0...@metamask/snaps-cli@6.0.1) --- 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 | 217 ++++++++++++++++++++++--------------- 2 files changed, 130 insertions(+), 89 deletions(-) diff --git a/packages/snap/package.json b/packages/snap/package.json index 1794391..c812acf 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -38,7 +38,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": "^5.0.0", + "@metamask/snaps-cli": "^6.0.1", "@metamask/snaps-jest": "^5.0.0", "@typescript-eslint/eslint-plugin": "^5.42.1", "@typescript-eslint/parser": "^5.42.1", diff --git a/yarn.lock b/yarn.lock index d0a25aa..64805f5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1663,13 +1663,6 @@ __metadata: languageName: node linkType: hard -"@endo/env-options@npm:^0.1.4": - version: 0.1.4 - resolution: "@endo/env-options@npm:0.1.4" - checksum: 6099f0a6b700a60bee7b226aa2a39bb5748e22f25e9606d70e5a66a8e62cbd8c972b0fe578735a658f80bf2ebece62e28c20aa3f16417cbfe6c19a8689966dd3 - languageName: node - linkType: hard - "@endo/env-options@npm:^1.1.0": version: 1.1.0 resolution: "@endo/env-options@npm:1.1.0" @@ -2583,7 +2576,7 @@ __metadata: languageName: node linkType: hard -"@metamask/base-controller@npm:^4.0.0, @metamask/base-controller@npm:^4.0.1, @metamask/base-controller@npm:^4.1.0, @metamask/base-controller@npm:^4.1.1": +"@metamask/base-controller@npm:^4.1.0, @metamask/base-controller@npm:^4.1.1": version: 4.1.1 resolution: "@metamask/base-controller@npm:4.1.1" dependencies: @@ -2593,7 +2586,7 @@ __metadata: languageName: node linkType: hard -"@metamask/controller-utils@npm:^8.0.1, @metamask/controller-utils@npm:^8.0.2": +"@metamask/controller-utils@npm:^8.0.2": version: 8.0.2 resolution: "@metamask/controller-utils@npm:8.0.2" dependencies: @@ -2608,6 +2601,21 @@ __metadata: languageName: node linkType: hard +"@metamask/controller-utils@npm:^8.0.3": + version: 8.0.3 + resolution: "@metamask/controller-utils@npm:8.0.3" + dependencies: + "@metamask/eth-query": ^4.0.0 + "@metamask/ethjs-unit": ^0.3.0 + "@metamask/utils": ^8.3.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: a84e4c0d5f30022a3aa2fed0d59265be268f6d35662c88ef9243e213af7472d008304c648ae6b305388a61335345f6a27fcb6de9b91978ed2252e3c86f58119a + 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" @@ -2730,7 +2738,19 @@ __metadata: languageName: node linkType: hard -"@metamask/json-rpc-engine@npm:^7.1.1, @metamask/json-rpc-engine@npm:^7.3.1, @metamask/json-rpc-engine@npm:^7.3.2": +"@metamask/ethjs-unit@npm:^0.3.0": + version: 0.3.0 + resolution: "@metamask/ethjs-unit@npm:0.3.0" + dependencies: + "@metamask/number-to-bn": ^1.7.1 + bn.js: ^5.2.1 + peerDependencies: + "@babel/runtime": ^7.0.0 + checksum: 9eb4f894b24c43b7b14a9180cebb0603d4a07c1af583b0c4a36d58f24e202831bbdf98888666b4a3ea2e4d4a9fef4c6cc55d09379870b20b080ea5582764e622 + languageName: node + linkType: hard + +"@metamask/json-rpc-engine@npm:^7.1.1, @metamask/json-rpc-engine@npm:^7.3.2": version: 7.3.2 resolution: "@metamask/json-rpc-engine@npm:7.3.2" dependencies: @@ -2767,6 +2787,16 @@ __metadata: languageName: node linkType: hard +"@metamask/number-to-bn@npm:^1.7.1": + version: 1.7.1 + resolution: "@metamask/number-to-bn@npm:1.7.1" + dependencies: + bn.js: 5.2.1 + strip-hex-prefix: 1.0.0 + checksum: e3c198c7ab4783757b36413d67d917f5fd5cadd01ebd7d92ae1ab6cbb11f11bfe9fae89ed849f8d7b0120c3746c58d87e9950df167bd342f0a6e590590d4e0ce + languageName: node + linkType: hard + "@metamask/object-multiplex@npm:^2.0.0": version: 2.0.0 resolution: "@metamask/object-multiplex@npm:2.0.0" @@ -2777,33 +2807,33 @@ __metadata: languageName: node linkType: hard -"@metamask/permission-controller@npm:^7.1.0": - version: 7.1.0 - resolution: "@metamask/permission-controller@npm:7.1.0" +"@metamask/permission-controller@npm:^8.0.0": + version: 8.0.0 + resolution: "@metamask/permission-controller@npm:8.0.0" dependencies: - "@metamask/base-controller": ^4.0.1 - "@metamask/controller-utils": ^8.0.1 - "@metamask/json-rpc-engine": ^7.3.1 + "@metamask/base-controller": ^4.1.1 + "@metamask/controller-utils": ^8.0.2 + "@metamask/json-rpc-engine": ^7.3.2 "@metamask/rpc-errors": ^6.1.0 - "@metamask/utils": ^8.2.0 + "@metamask/utils": ^8.3.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.1.1 - checksum: 889213cca32cbf5b32b7e71c70ded0aeea32eae169ec67fb0d0bc8dcaa183b222f9d5417f657e331d7fb21ecb71f250cf1c932110d4b1e2167972b30bd012098 + "@metamask/approval-controller": ^5.1.2 + checksum: edb12aa623ebc57e9021f3bcfc5898db0165f30a4af43f91d26c988caf5e3e02ab9e0d5ff68b9c323e26e314fd50dbb0825c8c0eaae132c7058e141e3b58693e languageName: node linkType: hard -"@metamask/permission-controller@npm:^8.0.0": - version: 8.0.0 - resolution: "@metamask/permission-controller@npm:8.0.0" +"@metamask/permission-controller@npm:^8.0.1": + version: 8.0.1 + resolution: "@metamask/permission-controller@npm:8.0.1" dependencies: "@metamask/base-controller": ^4.1.1 - "@metamask/controller-utils": ^8.0.2 + "@metamask/controller-utils": ^8.0.3 "@metamask/json-rpc-engine": ^7.3.2 - "@metamask/rpc-errors": ^6.1.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/utils": ^8.3.0 "@types/deep-freeze-strict": ^1.1.0 deep-freeze-strict: ^1.1.1 @@ -2811,7 +2841,7 @@ __metadata: nanoid: ^3.1.31 peerDependencies: "@metamask/approval-controller": ^5.1.2 - checksum: edb12aa623ebc57e9021f3bcfc5898db0165f30a4af43f91d26c988caf5e3e02ab9e0d5ff68b9c323e26e314fd50dbb0825c8c0eaae132c7058e141e3b58693e + checksum: a8d0b85c04cf5cbebd32bacaacba85be467796e543b123c6f4caac245e7c78541c93ca4dba2a0516d36607e819f0e8435b5f25fced531aa4debc4ed8fe5f1ba1 languageName: node linkType: hard @@ -2868,6 +2898,16 @@ __metadata: languageName: node linkType: hard +"@metamask/rpc-errors@npm:^6.2.1": + version: 6.2.1 + resolution: "@metamask/rpc-errors@npm:6.2.1" + dependencies: + "@metamask/utils": ^8.3.0 + fast-safe-stringify: ^2.0.6 + checksum: a9223c3cb9ab05734ea0dda990597f90a7cdb143efa0c026b1a970f2094fe5fa3c341ed39b1e7623be13a96b98fb2c697ef51a2e2b87d8f048114841d35ee0a9 + languageName: node + linkType: hard + "@metamask/safe-event-emitter@npm:^3.0.0": version: 3.0.0 resolution: "@metamask/safe-event-emitter@npm:3.0.0" @@ -2892,9 +2932,9 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-cli@npm:^5.0.0": - version: 5.0.0 - resolution: "@metamask/snaps-cli@npm:5.0.0" +"@metamask/snaps-cli@npm:^6.0.1": + version: 6.0.1 + resolution: "@metamask/snaps-cli@npm:6.0.1" dependencies: "@babel/core": ^7.23.2 "@babel/plugin-transform-class-properties": ^7.22.5 @@ -2904,9 +2944,9 @@ __metadata: "@babel/plugin-transform-runtime": ^7.13.2 "@babel/preset-env": ^7.23.2 "@babel/preset-typescript": ^7.23.2 - "@metamask/snaps-sdk": ^2.0.0 - "@metamask/snaps-utils": ^6.0.0 - "@metamask/snaps-webpack-plugin": ^3.1.1 + "@metamask/snaps-sdk": ^3.0.1 + "@metamask/snaps-utils": ^7.0.1 + "@metamask/snaps-webpack-plugin": ^4.0.1 "@metamask/utils": ^8.3.0 "@swc/core": 1.3.78 assert: ^2.0.0 @@ -2915,7 +2955,6 @@ __metadata: browserify-zlib: ^0.2.0 buffer: ^6.0.3 chalk: ^4.1.2 - chokidar: ^3.5.2 console-browserify: ^1.2.0 constants-browserify: ^1.0.0 crypto-browserify: ^3.12.0 @@ -2934,6 +2973,7 @@ __metadata: stream-browserify: ^3.0.0 stream-http: ^3.2.0 string_decoder: ^1.3.0 + strip-ansi: ^6.0.1 superstruct: ^1.0.3 swc-loader: ^0.2.3 terser-webpack-plugin: ^5.3.9 @@ -2946,8 +2986,8 @@ __metadata: webpack-merge: ^5.9.0 yargs: ^17.7.1 bin: - mm-snap: ./dist/cjs/main.js - checksum: 336e3be8cdbcb759aa66c6a58fcdc0db0532de08f1fa2dc728e8037849a58d1dd573a40a83f3c18167384b465ace3ded671034c53ac33af992faae12a5c430d3 + mm-snap: ./dist/main.js + checksum: eb40e6ed0d81ec3eb17090a5b42b3df2e163a4152c341d4baccb0791b4ae8164556cd6c97493a3232c2acaeac34411f1c5c5235f8fe8367477ee0e5deca7c35b languageName: node linkType: hard @@ -3065,48 +3105,48 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-sdk@npm:^1.2.0, @metamask/snaps-sdk@npm:^1.3.2": - version: 1.3.2 - resolution: "@metamask/snaps-sdk@npm:1.3.2" +"@metamask/snaps-sdk@npm:^2.0.0": + version: 2.0.0 + resolution: "@metamask/snaps-sdk@npm:2.0.0" dependencies: "@metamask/key-tree": ^9.0.0 "@metamask/providers": ^14.0.2 "@metamask/rpc-errors": ^6.1.0 - "@metamask/utils": ^8.2.1 + "@metamask/utils": ^8.3.0 is-svg: ^4.4.0 superstruct: ^1.0.3 - checksum: 6492e5aaa57ce3ccd057537890a57d2a1a1e3c442b7decb8bc734ba02c1eae172d58d27b8c4af449d57be6cfe55ba2ebe4f128d673b10baa2d5a32ed9e4181ff + checksum: af13dde4054a46ed5f827db641168a04039d11927f763134a5ce4fe81d57a3783b4739a252b642d8bdf03c0c5bb6146583b705e3dbf3866d23e1c188cea91d3b languageName: node linkType: hard -"@metamask/snaps-sdk@npm:^2.0.0": - version: 2.0.0 - resolution: "@metamask/snaps-sdk@npm:2.0.0" +"@metamask/snaps-sdk@npm:^3.0.1": + version: 3.0.1 + resolution: "@metamask/snaps-sdk@npm:3.0.1" dependencies: "@metamask/key-tree": ^9.0.0 "@metamask/providers": ^14.0.2 - "@metamask/rpc-errors": ^6.1.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/utils": ^8.3.0 - is-svg: ^4.4.0 + fast-xml-parser: ^4.3.4 superstruct: ^1.0.3 - checksum: af13dde4054a46ed5f827db641168a04039d11927f763134a5ce4fe81d57a3783b4739a252b642d8bdf03c0c5bb6146583b705e3dbf3866d23e1c188cea91d3b + checksum: d0194083232c21d1f61cffede73935966c1eae7c638e086ce8414c7eede8f47b87e5388ec2f5e35f4ba639712167c7aed8184d239f462905606a501233ee9e09 languageName: node linkType: hard -"@metamask/snaps-utils@npm:^5.0.0": - version: 5.1.2 - resolution: "@metamask/snaps-utils@npm:5.1.2" +"@metamask/snaps-utils@npm:^6.0.0": + version: 6.0.0 + resolution: "@metamask/snaps-utils@npm:6.0.0" dependencies: "@babel/core": ^7.23.2 "@babel/types": ^7.23.0 - "@metamask/base-controller": ^4.0.0 + "@metamask/base-controller": ^4.1.0 "@metamask/key-tree": ^9.0.0 - "@metamask/permission-controller": ^7.1.0 + "@metamask/permission-controller": ^8.0.0 "@metamask/rpc-errors": ^6.1.0 "@metamask/slip44": ^3.1.0 "@metamask/snaps-registry": ^3.0.0 - "@metamask/snaps-sdk": ^1.3.2 - "@metamask/utils": ^8.2.1 + "@metamask/snaps-sdk": ^2.0.0 + "@metamask/utils": ^8.3.0 "@noble/hashes": ^1.3.1 "@scure/base": ^1.1.1 chalk: ^4.1.2 @@ -3116,26 +3156,26 @@ __metadata: is-svg: ^4.4.0 rfdc: ^1.3.0 semver: ^7.5.4 - ses: ^0.18.8 + ses: ^1.1.0 superstruct: ^1.0.3 validate-npm-package-name: ^5.0.0 - checksum: 746dcb2fa35d3aadeb45fac8543cecf928687ef82d55ddcd992cf2ea122090eae3b1820193fecbeb1c750a844476234affbb605bb1574aee6d9fd3a671fbc5c0 + checksum: 3365da773583791cb0e663dab9349931460b4a161d3e2407426bbb7a8fe761ba4abcfbdc249bb0452a69831459c9fd640e0cb5c15772cd15303b929476933b6b languageName: node linkType: hard -"@metamask/snaps-utils@npm:^6.0.0": - version: 6.0.0 - resolution: "@metamask/snaps-utils@npm:6.0.0" +"@metamask/snaps-utils@npm:^7.0.1": + version: 7.0.1 + resolution: "@metamask/snaps-utils@npm:7.0.1" dependencies: "@babel/core": ^7.23.2 "@babel/types": ^7.23.0 "@metamask/base-controller": ^4.1.0 "@metamask/key-tree": ^9.0.0 - "@metamask/permission-controller": ^8.0.0 - "@metamask/rpc-errors": ^6.1.0 + "@metamask/permission-controller": ^8.0.1 + "@metamask/rpc-errors": ^6.2.1 "@metamask/slip44": ^3.1.0 "@metamask/snaps-registry": ^3.0.0 - "@metamask/snaps-sdk": ^2.0.0 + "@metamask/snaps-sdk": ^3.0.1 "@metamask/utils": ^8.3.0 "@noble/hashes": ^1.3.1 "@scure/base": ^1.1.1 @@ -3143,25 +3183,24 @@ __metadata: 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: ^1.1.0 superstruct: ^1.0.3 validate-npm-package-name: ^5.0.0 - checksum: 3365da773583791cb0e663dab9349931460b4a161d3e2407426bbb7a8fe761ba4abcfbdc249bb0452a69831459c9fd640e0cb5c15772cd15303b929476933b6b + checksum: f4d00488963e530384eded380a8086acfb051609a4548c9b57b67abd8fd47d33e21bc8858d735441748778158753c28d9bac9f2ce621e01892010211c6a7db1e 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" +"@metamask/snaps-webpack-plugin@npm:^4.0.1": + version: 4.0.1 + resolution: "@metamask/snaps-webpack-plugin@npm:4.0.1" dependencies: - "@metamask/snaps-sdk": ^1.2.0 - "@metamask/snaps-utils": ^5.0.0 - "@metamask/utils": ^8.2.1 + "@metamask/snaps-sdk": ^3.0.1 + "@metamask/snaps-utils": ^7.0.1 + "@metamask/utils": ^8.3.0 webpack-sources: ^3.2.3 - checksum: b18fd2fe1a0ec68b8ef529f5a57d88bf7a54ca108861ccce901cec562b0431e798beace18899b0112443ac6aef4b83a291f4ca013040944b10e3b2c374521324 + checksum: b22a6b03db2b285942a05995f5077ab954ba2b5737f500af653b09a27ed2c35fcc7b8f5c933f558f343f191199437d380d3ebfa9d179ee67a9b395a8fc0634c6 languageName: node linkType: hard @@ -3179,7 +3218,7 @@ __metadata: languageName: node linkType: hard -"@metamask/utils@npm:^8.0.0, @metamask/utils@npm:^8.1.0, @metamask/utils@npm:^8.2.0, @metamask/utils@npm:^8.2.1, @metamask/utils@npm:^8.3.0": +"@metamask/utils@npm:^8.0.0, @metamask/utils@npm:^8.1.0, @metamask/utils@npm:^8.3.0": version: 8.3.0 resolution: "@metamask/utils@npm:8.3.0" dependencies: @@ -6441,6 +6480,13 @@ __metadata: languageName: node linkType: hard +"bn.js@npm:5.2.1, bn.js@npm:^5.0.0, bn.js@npm:^5.1.2, bn.js@npm:^5.2.0, bn.js@npm:^5.2.1": + version: 5.2.1 + resolution: "bn.js@npm:5.2.1" + checksum: 3dd8c8d38055fedfa95c1d5fc3c99f8dd547b36287b37768db0abab3c239711f88ff58d18d155dd8ad902b0b0cee973747b7ae20ea12a09473272b0201c9edd3 + languageName: node + linkType: hard + "bn.js@npm:^4.0.0, bn.js@npm:^4.1.0, bn.js@npm:^4.11.9": version: 4.12.0 resolution: "bn.js@npm:4.12.0" @@ -6448,13 +6494,6 @@ __metadata: languageName: node linkType: hard -"bn.js@npm:^5.0.0, bn.js@npm:^5.1.2, bn.js@npm:^5.2.0, bn.js@npm:^5.2.1": - version: 5.2.1 - resolution: "bn.js@npm:5.2.1" - checksum: 3dd8c8d38055fedfa95c1d5fc3c99f8dd547b36287b37768db0abab3c239711f88ff58d18d155dd8ad902b0b0cee973747b7ae20ea12a09473272b0201c9edd3 - languageName: node - linkType: hard - "body-parser@npm:1.20.1": version: 1.20.1 resolution: "body-parser@npm:1.20.1" @@ -7082,7 +7121,7 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:^3.4.2, chokidar@npm:^3.5.2, chokidar@npm:^3.5.3": +"chokidar@npm:^3.4.2, chokidar@npm:^3.5.3": version: 3.5.3 resolution: "chokidar@npm:3.5.3" dependencies: @@ -9770,6 +9809,17 @@ __metadata: languageName: node linkType: hard +"fast-xml-parser@npm:^4.3.4": + version: 4.3.5 + resolution: "fast-xml-parser@npm:4.3.5" + dependencies: + strnum: ^1.0.5 + bin: + fxparser: src/cli/cli.js + checksum: 852064985ca56aa2078be02c92509a675408b57bb9862f696689301bf7df786f9ce9116b812b032c627979a4de5755f9cbfeecc4b90ed9d56be76deccd97c0c6 + languageName: node + linkType: hard + "fastest-levenshtein@npm:^1.0.12": version: 1.0.16 resolution: "fastest-levenshtein@npm:1.0.16" @@ -16568,15 +16618,6 @@ __metadata: languageName: node linkType: hard -"ses@npm:^0.18.8": - version: 0.18.8 - resolution: "ses@npm:0.18.8" - dependencies: - "@endo/env-options": ^0.1.4 - checksum: d7976d2ee218baec021c5cfdfb193d63b52bf2b6cbdbbb90c19d835915a1872b6924910f7fd42bc849eb2de78fc7bdd6e7b4667e1df3c79244cc92d4ede48aa6 - languageName: node - linkType: hard - "ses@npm:^1.1.0": version: 1.1.0 resolution: "ses@npm:1.1.0" @@ -16869,7 +16910,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": ^5.0.0 + "@metamask/snaps-cli": ^6.0.1 "@metamask/snaps-jest": ^5.0.0 "@metamask/snaps-sdk": ^2.0.0 "@typescript-eslint/eslint-plugin": ^5.42.1