From 3994a04ea765f3c038aa316310fa44103095a4e5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 04:06:32 +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.5.4. - [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.5.4) --- 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 | 306 ++++++++++++++++-- 2 files changed, 287 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..9f00f2c5 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.5.4", "@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..36bfb715 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.5.4 "@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.1 + resolution: "@metamask/key-tree@npm:10.0.1" + dependencies: + "@metamask/scure-bip39": ^2.1.1 + "@metamask/utils": ^10.0.1 + "@noble/curves": ^1.2.0 + "@noble/hashes": ^1.3.2 + "@scure/base": ^1.0.0 + checksum: 979e1ce3fe6c626137d4b2e0fccf753eafccdccdef4df98479bb802175767999b142b60735335b0bd6ce582bf180bdde309111684cdf4814e7cd86b2087fddfa + 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.2.0 + resolution: "@metamask/providers@npm:18.2.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: 40e88f2a5ac00b0d9c58b4c13e376c340bcd9078a647ac778ceaeb9f17bc5b7a21cc892affe2950bfbdffe158cbad935c3c32c18a95dedcf13a7e24ab01ab271 + 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.1 + resolution: "@metamask/rpc-errors@npm:7.0.1" + dependencies: + "@metamask/utils": ^10.0.0 + fast-safe-stringify: ^2.0.6 + checksum: 20b300d26550c667a635eb5f97784c80d86c0b765433a32a9bced5b4c2a05a783cf2cd3a2bfe2aca6382181f53458bd2e7dc1bbb02e28005d3b4d0f3a46ca3ac + 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.5.4": + version: 6.5.4 + resolution: "@metamask/snaps-cli@npm:6.5.4" 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.13.0 + "@metamask/snaps-utils": ^8.6.1 + "@metamask/snaps-webpack-plugin": ^4.1.2 "@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: 25ae3c5512492d1e1bf072d76ac37af5837af3981b4835cecab97d8e8ad0fd5cfee792291613602ea4db95a1d215514f66d00c732f4b3c3824568a7c8935e39d 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.13.0, @metamask/snaps-sdk@npm:^6.5.0": + version: 6.13.0 + resolution: "@metamask/snaps-sdk@npm:6.13.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: 1b9022ac2109f3295b758f8a015e4fe19afb274b5404080979ce83f6c8058243bd69423ce4f0d6b3deb05e1437c65ac1a3eda3e37d54cc6332bb6ab27a20fcf8 + 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,46 @@ __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.1.1, @metamask/snaps-utils@npm:^8.6.1": + version: 8.6.1 + resolution: "@metamask/snaps-utils@npm:8.6.1" 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.13.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: 762ccfd5ebf51fa18041dd83cfcc65ed1b7b5ea299accddde86a870ec6b888ee9ff446861590f85331c9e535c2b189aabd95d7ecca6ed48deada1a4b83063b42 + languageName: node + linkType: hard + +"@metamask/snaps-webpack-plugin@npm:^4.1.2": + version: 4.1.2 + resolution: "@metamask/snaps-webpack-plugin@npm:4.1.2" + dependencies: + "@metamask/snaps-sdk": ^6.5.0 + "@metamask/snaps-utils": ^8.1.1 + "@metamask/utils": ^9.2.1 webpack-sources: ^3.2.3 - checksum: 0ff9a9ea9599f68db51f01336065a0e3f8e19c437bed14532718068201738e9cc92ce6c122ad3cebfa4d2dad0e090262e8d9b5f03db806efc760f92f42fa4b43 + checksum: ab3772ed9bce9ad7a3599c01f57b899e9c840fc31528293277985fb08872eb22c2317d30d16555b712920189de4585aeed39fa6eb00580226d9583a4bb7d1797 languageName: node linkType: hard @@ -3981,6 +4172,23 @@ __metadata: languageName: node linkType: hard +"@metamask/utils@npm:^10.0.0, @metamask/utils@npm:^10.0.1": + 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:^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" @@ -4032,6 +4240,23 @@ __metadata: languageName: node linkType: hard +"@metamask/utils@npm:^9.2.1": + version: 9.3.0 + resolution: "@metamask/utils@npm:9.3.0" + 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: f720b0f7bdd46054aa88d15a9702e1de6d7200a1ca1d4f6bc48761b039f1bbffb46ac88bc87fe79e66128c196d424f3b9ef071b3cb4b40139223786d56da35e0 + languageName: node + linkType: hard + "@mischnic/json-sourcemap@npm:^0.1.0": version: 0.1.1 resolution: "@mischnic/json-sourcemap@npm:0.1.1" @@ -8763,7 +8988,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 +11696,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 +11772,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 +15333,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 +15915,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 +19870,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