From 139f5934ad3f30cc614958da7ef46b454dcd2c36 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 18 Dec 2024 03:17:45 +0000 Subject: [PATCH] chore(deps-dev): Bump @metamask/snaps-cli Bumps [@metamask/snaps-cli](https://github.com/MetaMask/snaps) from 6.3.1 to 6.6.0. - [Release notes](https://github.com/MetaMask/snaps/releases) - [Commits](https://github.com/MetaMask/snaps/compare/@metamask/snaps-cli@6.3.1...@metamask/snaps-cli@6.6.0) --- updated-dependencies: - dependency-name: "@metamask/snaps-cli" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .../packages/snap/package.json | 2 +- packages/hedera-wallet-snap/yarn.lock | 307 ++++++++++++++++-- 2 files changed, 288 insertions(+), 21 deletions(-) diff --git a/packages/hedera-wallet-snap/packages/snap/package.json b/packages/hedera-wallet-snap/packages/snap/package.json index 2ad40397..58fc9fda 100644 --- a/packages/hedera-wallet-snap/packages/snap/package.json +++ b/packages/hedera-wallet-snap/packages/snap/package.json @@ -61,7 +61,7 @@ "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", "@metamask/eslint-config-typescript": "^12.1.0", - "@metamask/snaps-cli": "^6.3.1", + "@metamask/snaps-cli": "^6.6.0", "@metamask/snaps-jest": "^8.3.0", "@types/jest": "^29.5.12", "@types/lodash.clonedeep": "^4.5.9", diff --git a/packages/hedera-wallet-snap/yarn.lock b/packages/hedera-wallet-snap/yarn.lock index 77a334c9..56c0c599 100644 --- a/packages/hedera-wallet-snap/yarn.lock +++ b/packages/hedera-wallet-snap/yarn.lock @@ -77,6 +77,17 @@ __metadata: languageName: node linkType: hard +"@babel/code-frame@npm:^7.16.7": + version: 7.26.2 + resolution: "@babel/code-frame@npm:7.26.2" + dependencies: + "@babel/helper-validator-identifier": ^7.25.9 + js-tokens: ^4.0.0 + picocolors: ^1.0.0 + checksum: db13f5c42d54b76c1480916485e6900748bbcb0014a8aca87f50a091f70ff4e0d0a6db63cade75eb41fcc3d2b6ba0a7f89e343def4f96f00269b41b8ab8dd7b8 + languageName: node + linkType: hard + "@babel/compat-data@npm:^7.20.5, @babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.24.6": version: 7.24.6 resolution: "@babel/compat-data@npm:7.24.6" @@ -353,6 +364,13 @@ __metadata: languageName: node linkType: hard +"@babel/helper-validator-identifier@npm:^7.25.9": + version: 7.25.9 + resolution: "@babel/helper-validator-identifier@npm:7.25.9" + checksum: 5b85918cb1a92a7f3f508ea02699e8d2422fe17ea8e82acd445006c0ef7520fbf48e3dbcdaf7b0a1d571fc3a2715a29719e5226636cb6042e15fe6ed2a590944 + languageName: node + linkType: hard + "@babel/helper-validator-option@npm:^7.24.6": version: 7.24.6 resolution: "@babel/helper-validator-option@npm:7.24.6" @@ -2595,7 +2613,7 @@ __metadata: "@metamask/key-tree": ^9.1.2 "@metamask/providers": ^17.2.0 "@metamask/rpc-errors": ^6.3.1 - "@metamask/snaps-cli": ^6.3.1 + "@metamask/snaps-cli": ^6.6.0 "@metamask/snaps-jest": ^8.3.0 "@metamask/snaps-sdk": ^6.3.0 "@types/jest": ^29.5.12 @@ -3361,6 +3379,16 @@ __metadata: languageName: node linkType: hard +"@metamask/base-controller@npm:^7.0.2": + version: 7.0.2 + resolution: "@metamask/base-controller@npm:7.0.2" + dependencies: + "@metamask/utils": ^10.0.0 + immer: ^9.0.6 + checksum: c9c706077af613e704d166a1795c94e2b92e6da304514994bbc6903c4796f9a752028b86a08cf4ece43ab069d5232af468e5d7b571a85d18b80a5072619ba5cb + languageName: node + linkType: hard + "@metamask/controller-utils@npm:^11.0.2": version: 11.1.0 resolution: "@metamask/controller-utils@npm:11.1.0" @@ -3378,6 +3406,26 @@ __metadata: languageName: node linkType: hard +"@metamask/controller-utils@npm:^11.4.4": + version: 11.4.4 + resolution: "@metamask/controller-utils@npm:11.4.4" + dependencies: + "@ethereumjs/util": ^8.1.0 + "@metamask/eth-query": ^4.0.0 + "@metamask/ethjs-unit": ^0.3.0 + "@metamask/utils": ^10.0.0 + "@spruceid/siwe-parser": 2.1.0 + "@types/bn.js": ^5.1.5 + bignumber.js: ^9.1.2 + bn.js: ^5.2.1 + eth-ens-namehash: ^2.0.8 + fast-deep-equal: ^3.1.3 + peerDependencies: + "@babel/runtime": ^7.0.0 + checksum: 1f25521a31b0fad7567a2186ee37acb95d7ef2560c1244cf1cb7ed4b61868ffe35719dba0ac7194f47d787b46fe345bd2fb577b178e4683fa252222f0ee09e7b + languageName: node + linkType: hard + "@metamask/eslint-config-jest@npm:^12.1.0": version: 12.1.0 resolution: "@metamask/eslint-config-jest@npm:12.1.0" @@ -3509,6 +3557,17 @@ __metadata: languageName: node linkType: hard +"@metamask/json-rpc-engine@npm:^10.0.1": + version: 10.0.1 + resolution: "@metamask/json-rpc-engine@npm:10.0.1" + dependencies: + "@metamask/rpc-errors": ^7.0.1 + "@metamask/safe-event-emitter": ^3.0.0 + "@metamask/utils": ^10.0.0 + checksum: 277c68cf0036d62c9a1528e9d7e55e000233d02a55fb652edcc16b6149631346d34fe3fefaab13bc55377405e79293afdde5b6e3b61d49a2ce125ca50d7eafe1 + 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" @@ -3543,6 +3602,31 @@ __metadata: languageName: node linkType: hard +"@metamask/json-rpc-middleware-stream@npm:^8.0.5": + version: 8.0.5 + resolution: "@metamask/json-rpc-middleware-stream@npm:8.0.5" + dependencies: + "@metamask/json-rpc-engine": ^10.0.1 + "@metamask/safe-event-emitter": ^3.0.0 + "@metamask/utils": ^10.0.0 + readable-stream: ^3.6.2 + checksum: 4ac3d537bad1ab039bb1b42fb35113fe9a98bd89339155a0f759a086b957e5717ea1e75bdd340defd2b25f5886e07ab130235a63a1b8e627f8cb32a3020622c9 + languageName: node + linkType: hard + +"@metamask/key-tree@npm:^10.0.1": + version: 10.0.2 + resolution: "@metamask/key-tree@npm:10.0.2" + dependencies: + "@metamask/scure-bip39": ^2.1.1 + "@metamask/utils": ^11.0.1 + "@noble/curves": ^1.2.0 + "@noble/hashes": ^1.3.2 + "@scure/base": ^1.0.0 + checksum: b2d5f2cbd71a22f49facec7e2906164af38de185cbff631a98815538731f217cf02b10e2fa2186cb45f91551bf712a2435252aae36534f316365b7d0707b4e93 + languageName: node + linkType: hard + "@metamask/key-tree@npm:^9.1.2": version: 9.1.2 resolution: "@metamask/key-tree@npm:9.1.2" @@ -3595,6 +3679,25 @@ __metadata: languageName: node linkType: hard +"@metamask/permission-controller@npm:^11.0.3": + version: 11.0.4 + resolution: "@metamask/permission-controller@npm:11.0.4" + dependencies: + "@metamask/base-controller": ^7.0.2 + "@metamask/controller-utils": ^11.4.4 + "@metamask/json-rpc-engine": ^10.0.1 + "@metamask/rpc-errors": ^7.0.1 + "@metamask/utils": ^10.0.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: c69054595356ae01c89bf4713be4aa055213962e26eb7389faef1f65f52a6375d7b9b146db2149694f679fef2ccd8dba181119e774407b1998f938b418592ee4 + languageName: node + linkType: hard + "@metamask/phishing-controller@npm:^10.1.1": version: 10.1.1 resolution: "@metamask/phishing-controller@npm:10.1.1" @@ -3661,6 +3764,27 @@ __metadata: languageName: node linkType: hard +"@metamask/providers@npm:^18.1.1": + version: 18.3.0 + resolution: "@metamask/providers@npm:18.3.0" + dependencies: + "@metamask/json-rpc-engine": ^10.0.1 + "@metamask/json-rpc-middleware-stream": ^8.0.5 + "@metamask/object-multiplex": ^2.0.0 + "@metamask/rpc-errors": ^7.0.1 + "@metamask/safe-event-emitter": ^3.1.1 + "@metamask/utils": ^10.0.0 + detect-browser: ^5.2.0 + extension-port-stream: ^4.1.0 + fast-deep-equal: ^3.1.3 + is-stream: ^2.0.0 + readable-stream: ^3.6.2 + peerDependencies: + webextension-polyfill: ^0.10.0 || ^0.11.0 || ^0.12.0 + checksum: d51203029d0c512c8d8b11f5584a01e33757198796a05a01e221573baae68ea4a98838a0f1eeadb2564b80abe1c4b32b5339110ea4ab8c10ea60ed484e3364b8 + languageName: node + linkType: hard + "@metamask/rpc-errors@npm:^6.0.0": version: 6.2.1 resolution: "@metamask/rpc-errors@npm:6.2.1" @@ -3681,6 +3805,16 @@ __metadata: languageName: node linkType: hard +"@metamask/rpc-errors@npm:^7.0.1": + version: 7.0.2 + resolution: "@metamask/rpc-errors@npm:7.0.2" + dependencies: + "@metamask/utils": ^11.0.1 + fast-safe-stringify: ^2.0.6 + checksum: 262a1ab57121e277eb979325d8e4335b9f4194c5acd0138ee0032db35b4e20ea0423badb5dad4bdf6abb85d22b476377f17911a54f82b3b1a2bdffc36654d028 + languageName: node + linkType: hard + "@metamask/safe-event-emitter@npm:^3.0.0, @metamask/safe-event-emitter@npm:^3.1.1": version: 3.1.1 resolution: "@metamask/safe-event-emitter@npm:3.1.1" @@ -3712,9 +3846,9 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-cli@npm:^6.3.1": - version: 6.3.1 - resolution: "@metamask/snaps-cli@npm:6.3.1" +"@metamask/snaps-cli@npm:^6.6.0": + version: 6.6.0 + resolution: "@metamask/snaps-cli@npm:6.6.0" dependencies: "@babel/core": ^7.23.2 "@babel/plugin-transform-class-properties": ^7.22.5 @@ -3724,11 +3858,11 @@ __metadata: "@babel/plugin-transform-runtime": ^7.13.2 "@babel/preset-env": ^7.23.2 "@babel/preset-typescript": ^7.23.2 - "@metamask/snaps-sdk": ^6.3.0 - "@metamask/snaps-utils": ^8.0.1 - "@metamask/snaps-webpack-plugin": ^4.1.0 + "@metamask/snaps-sdk": ^6.14.0 + "@metamask/snaps-utils": ^8.7.0 + "@metamask/snaps-webpack-plugin": ^4.2.0 "@metamask/superstruct": ^3.1.0 - "@metamask/utils": ^9.1.0 + "@metamask/utils": ^10.0.0 "@swc/core": 1.3.78 assert: ^2.0.0 babelify: ^10.0.0 @@ -3741,6 +3875,7 @@ __metadata: crypto-browserify: ^3.12.0 domain-browser: ^4.22.0 events: ^3.3.0 + fork-ts-checker-webpack-plugin: ^9.0.2 https-browserify: ^1.0.0 ora: ^5.4.1 os-browserify: ^0.3.0 @@ -3766,8 +3901,8 @@ __metadata: webpack-merge: ^5.9.0 yargs: ^17.7.1 bin: - mm-snap: ./dist/main.js - checksum: 7114f5078feb9d96c6553c4db322de2f73e2dc7d0ca81833fb7c774e2e60650d6a6a2921c29dfe173dade11c77614cdd60b030bdd00ea2af8651efc87c50c7df + mm-snap: ./dist/main.cjs + checksum: b384deebbe85aeba7bb45f298ec5aff6fff6f459a8191e8e9b616ce240d0927922e3981c4fa11b9d9f787f9ec40c769c9a8cebdc5b55641a6bd16990c23a94dc languageName: node linkType: hard @@ -3871,6 +4006,18 @@ __metadata: languageName: node linkType: hard +"@metamask/snaps-registry@npm:^3.2.2": + version: 3.2.2 + resolution: "@metamask/snaps-registry@npm:3.2.2" + dependencies: + "@metamask/superstruct": ^3.1.0 + "@metamask/utils": ^10.0.0 + "@noble/curves": ^1.2.0 + "@noble/hashes": ^1.3.2 + checksum: 5f92d1e4196f9980c54c616508f10196aafe4734ccb9058654f080b2964549fd916c7ffc57d02ad05ba7d89a110709f9ad716dcbebc28fdd29c1d75f1edc4e66 + languageName: node + linkType: hard + "@metamask/snaps-rpc-methods@npm:^11.0.0": version: 11.0.0 resolution: "@metamask/snaps-rpc-methods@npm:11.0.0" @@ -3900,6 +4047,19 @@ __metadata: languageName: node linkType: hard +"@metamask/snaps-sdk@npm:^6.14.0": + version: 6.14.0 + resolution: "@metamask/snaps-sdk@npm:6.14.0" + dependencies: + "@metamask/key-tree": ^10.0.1 + "@metamask/providers": ^18.1.1 + "@metamask/rpc-errors": ^7.0.1 + "@metamask/superstruct": ^3.1.0 + "@metamask/utils": ^10.0.0 + checksum: b3249976538664f9bf40b5bedc307c42940fb105e2e292f38668853d581ebcedf274978dbe4af331383f743ed87ee587c0e3e5eac834765aefa199920d86b898 + languageName: node + linkType: hard + "@metamask/snaps-utils@npm:^7.8.1": version: 7.8.1 resolution: "@metamask/snaps-utils@npm:7.8.1" @@ -3962,15 +4122,47 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-webpack-plugin@npm:^4.1.0": - version: 4.1.0 - resolution: "@metamask/snaps-webpack-plugin@npm:4.1.0" +"@metamask/snaps-utils@npm:^8.7.0": + version: 8.7.0 + resolution: "@metamask/snaps-utils@npm:8.7.0" dependencies: - "@metamask/snaps-sdk": ^6.2.0 - "@metamask/snaps-utils": ^8.0.0 - "@metamask/utils": ^9.1.0 + "@babel/core": ^7.23.2 + "@babel/types": ^7.23.0 + "@metamask/base-controller": ^7.0.2 + "@metamask/key-tree": ^10.0.1 + "@metamask/permission-controller": ^11.0.3 + "@metamask/rpc-errors": ^7.0.1 + "@metamask/slip44": ^4.0.0 + "@metamask/snaps-registry": ^3.2.2 + "@metamask/snaps-sdk": ^6.14.0 + "@metamask/superstruct": ^3.1.0 + "@metamask/utils": ^10.0.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 + fast-xml-parser: ^4.4.1 + marked: ^12.0.1 + rfdc: ^1.3.0 + semver: ^7.5.4 + ses: ^1.1.0 + validate-npm-package-name: ^5.0.0 + checksum: 3f8a8ffd923a80da0056fd97b4ae60dffeae096ce35f855a1e2dea2cd447027325a763f8350c9110a2eca3c3ebe030be9c1789da5b2a58e14a6f85a298b54bb0 + languageName: node + linkType: hard + +"@metamask/snaps-webpack-plugin@npm:^4.2.0": + version: 4.2.0 + resolution: "@metamask/snaps-webpack-plugin@npm:4.2.0" + dependencies: + "@metamask/snaps-sdk": ^6.14.0 + "@metamask/snaps-utils": ^8.7.0 + "@metamask/utils": ^10.0.0 + prettier: ^2.8.8 webpack-sources: ^3.2.3 - checksum: 0ff9a9ea9599f68db51f01336065a0e3f8e19c437bed14532718068201738e9cc92ce6c122ad3cebfa4d2dad0e090262e8d9b5f03db806efc760f92f42fa4b43 + checksum: 27604ed49b6ba4d642106cd2bc6511d9733e88e83f21eb3f3a181e503630991ba2dc84c607870c82043dcbe66c2c3fedfbc5557f2ad8bbd65becf57f3addac8f languageName: node linkType: hard @@ -3981,6 +4173,40 @@ __metadata: languageName: node linkType: hard +"@metamask/utils@npm:^10.0.0": + version: 10.0.1 + resolution: "@metamask/utils@npm:10.0.1" + dependencies: + "@ethereumjs/tx": ^4.2.0 + "@metamask/superstruct": ^3.1.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 + uuid: ^9.0.1 + checksum: 4c350c7a1c881c6af446319942392e6eb62411bff9c512166d816d39702c7b4926a982ebfd56ada317f9332a5416b3211c09e022674cee8272228658977ba851 + languageName: node + linkType: hard + +"@metamask/utils@npm:^11.0.1": + version: 11.0.1 + resolution: "@metamask/utils@npm:11.0.1" + dependencies: + "@ethereumjs/tx": ^4.2.0 + "@metamask/superstruct": ^3.1.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 + uuid: ^9.0.1 + checksum: a5072f87157f6763328767bf1ddc01deb94e13f32af58d0993e0450e7e211fb29882280a1013cbdc7752b152a662be3d9beef8129a9097dba7d465389c398b3c + languageName: node + linkType: hard + "@metamask/utils@npm:^8.0.0, @metamask/utils@npm:^8.1.0, @metamask/utils@npm:^8.3.0": version: 8.4.0 resolution: "@metamask/utils@npm:8.4.0" @@ -8763,7 +8989,7 @@ __metadata: languageName: node linkType: hard -"cosmiconfig@npm:^8.1.3": +"cosmiconfig@npm:^8.1.3, cosmiconfig@npm:^8.2.0": version: 8.3.6 resolution: "cosmiconfig@npm:8.3.6" dependencies: @@ -11471,6 +11697,29 @@ __metadata: languageName: node linkType: hard +"fork-ts-checker-webpack-plugin@npm:^9.0.2": + version: 9.0.2 + resolution: "fork-ts-checker-webpack-plugin@npm:9.0.2" + dependencies: + "@babel/code-frame": ^7.16.7 + chalk: ^4.1.2 + chokidar: ^3.5.3 + cosmiconfig: ^8.2.0 + deepmerge: ^4.2.2 + fs-extra: ^10.0.0 + memfs: ^3.4.1 + minimatch: ^3.0.4 + node-abort-controller: ^3.0.1 + schema-utils: ^3.1.1 + semver: ^7.3.5 + tapable: ^2.2.1 + peerDependencies: + typescript: ">3.6.0" + webpack: ^5.11.0 + checksum: 136a87bfa36cb6ca27d2ae0feb3c6cabe0de734c1c1ed38f95b71ddb3eb4b6c461829a2dbb04f18f0f717fc6341f544327598255758c269cec9774ccee035afc + languageName: node + linkType: hard + "form-data-encoder@npm:^2.1.2": version: 2.1.4 resolution: "form-data-encoder@npm:2.1.4" @@ -11524,6 +11773,17 @@ __metadata: languageName: node linkType: hard +"fs-extra@npm:^10.0.0": + version: 10.1.0 + resolution: "fs-extra@npm:10.1.0" + dependencies: + graceful-fs: ^4.2.0 + jsonfile: ^6.0.1 + universalify: ^2.0.0 + checksum: dc94ab37096f813cc3ca12f0f1b5ad6744dfed9ed21e953d72530d103cea193c2f81584a39e9dee1bea36de5ee66805678c0dddc048e8af1427ac19c00fffc50 + languageName: node + linkType: hard + "fs-extra@npm:^11.1.1": version: 11.2.0 resolution: "fs-extra@npm:11.2.0" @@ -15074,7 +15334,7 @@ __metadata: languageName: node linkType: hard -"memfs@npm:^3.1.2, memfs@npm:^3.2.2": +"memfs@npm:^3.1.2, memfs@npm:^3.2.2, memfs@npm:^3.4.1": version: 3.5.3 resolution: "memfs@npm:3.5.3" dependencies: @@ -15656,6 +15916,13 @@ __metadata: languageName: node linkType: hard +"node-abort-controller@npm:^3.0.1": + version: 3.1.1 + resolution: "node-abort-controller@npm:3.1.1" + checksum: 2c340916af9710328b11c0828223fc65ba320e0d082214a211311bf64c2891028e42ef276b9799188c4ada9e6e1c54cf7a0b7c05dd9d59fcdc8cd633304c8047 + languageName: node + linkType: hard + "node-addon-api@npm:^4.3.0": version: 4.3.0 resolution: "node-addon-api@npm:4.3.0" @@ -19604,7 +19871,7 @@ __metadata: languageName: node linkType: hard -"tapable@npm:^2.1.1, tapable@npm:^2.2.0": +"tapable@npm:^2.1.1, tapable@npm:^2.2.0, tapable@npm:^2.2.1": version: 2.2.1 resolution: "tapable@npm:2.2.1" checksum: 3b7a1b4d86fa940aad46d9e73d1e8739335efd4c48322cb37d073eb6f80f5281889bf0320c6d8ffcfa1a0dd5bfdbd0f9d037e252ef972aca595330538aac4d51