From 922f46591d1e2311f7d68cd4a99ad3f03ab2ba05 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 06:45:13 +0000 Subject: [PATCH] Bump @metamask/snaps-jest from 5.0.0 to 6.0.1 Bumps @metamask/snaps-jest from 5.0.0 to 6.0.1. --- updated-dependencies: - dependency-name: "@metamask/snaps-jest" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- packages/snap/package.json | 2 +- yarn.lock | 206 +++++++++++++++++++++++++++++-------- 2 files changed, 164 insertions(+), 44 deletions(-) diff --git a/packages/snap/package.json b/packages/snap/package.json index 1794391..c79b982 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -39,7 +39,7 @@ "@metamask/eslint-config-nodejs": "^12.0.0", "@metamask/eslint-config-typescript": "^12.0.0", "@metamask/snaps-cli": "^5.0.0", - "@metamask/snaps-jest": "^5.0.0", + "@metamask/snaps-jest": "^6.0.1", "@typescript-eslint/eslint-plugin": "^5.42.1", "@typescript-eslint/parser": "^5.42.1", "eslint": "^8.45.0", diff --git a/yarn.lock b/yarn.lock index d0a25aa..abba7c8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2608,6 +2608,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,6 +2745,18 @@ __metadata: languageName: node linkType: hard +"@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.1, @metamask/json-rpc-engine@npm:^7.3.2": version: 7.3.2 resolution: "@metamask/json-rpc-engine@npm:7.3.2" @@ -2767,6 +2794,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" @@ -2815,6 +2852,25 @@ __metadata: languageName: node linkType: hard +"@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.3 + "@metamask/json-rpc-engine": ^7.3.2 + "@metamask/rpc-errors": ^6.2.1 + "@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.2 + checksum: a8d0b85c04cf5cbebd32bacaacba85be467796e543b123c6f4caac245e7c78541c93ca4dba2a0516d36607e819f0e8435b5f25fced531aa4debc4ed8fe5f1ba1 + languageName: node + linkType: hard + "@metamask/phishing-controller@npm:^8.0.2": version: 8.0.2 resolution: "@metamask/phishing-controller@npm:8.0.2" @@ -2868,6 +2924,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" @@ -2951,22 +3017,22 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-controllers@npm:^5.0.0": - version: 5.0.0 - resolution: "@metamask/snaps-controllers@npm:5.0.0" +"@metamask/snaps-controllers@npm:^6.0.1": + version: 6.0.1 + resolution: "@metamask/snaps-controllers@npm:6.0.1" dependencies: "@metamask/approval-controller": ^5.1.2 "@metamask/base-controller": ^4.1.0 "@metamask/json-rpc-engine": ^7.3.2 "@metamask/object-multiplex": ^2.0.0 - "@metamask/permission-controller": ^8.0.0 + "@metamask/permission-controller": ^8.0.1 "@metamask/phishing-controller": ^8.0.2 "@metamask/post-message-stream": ^8.0.0 - "@metamask/rpc-errors": ^6.1.0 + "@metamask/rpc-errors": ^6.2.1 "@metamask/snaps-registry": ^3.0.0 - "@metamask/snaps-rpc-methods": ^6.0.0 - "@metamask/snaps-sdk": ^2.0.0 - "@metamask/snaps-utils": ^6.0.0 + "@metamask/snaps-rpc-methods": ^7.0.1 + "@metamask/snaps-sdk": ^3.0.1 + "@metamask/snaps-utils": ^7.0.1 "@metamask/utils": ^8.3.0 "@xstate/fsm": ^2.0.0 browserify-zlib: ^0.2.0 @@ -2979,36 +3045,36 @@ __metadata: readable-web-to-node-stream: ^3.0.2 tar-stream: ^3.1.7 peerDependencies: - "@metamask/snaps-execution-environments": ^4.0.0 + "@metamask/snaps-execution-environments": ^5.0.1 peerDependenciesMeta: "@metamask/snaps-execution-environments": optional: true - checksum: 23274d777e13dd6d2e599320480796b13320889069e13f9c3ad4b73d7ee78464bf830bbdc77f3d217377519a050d822ae935a65317df1279bbd72463883b3b56 + checksum: 93ceaa31fbae6aeb43276e8e41b9aaf528e0d188984de408e00d410c6e2e5db5cd80576a245731d2d5592d3f9e7bd93b29068dc952f49691960f8d1d60082afc languageName: node linkType: hard -"@metamask/snaps-execution-environments@npm:^4.0.0": - version: 4.0.0 - resolution: "@metamask/snaps-execution-environments@npm:4.0.0" +"@metamask/snaps-execution-environments@npm:^5.0.1": + version: 5.0.1 + resolution: "@metamask/snaps-execution-environments@npm:5.0.1" dependencies: "@metamask/json-rpc-engine": ^7.3.2 "@metamask/object-multiplex": ^2.0.0 "@metamask/post-message-stream": ^8.0.0 "@metamask/providers": ^14.0.2 - "@metamask/rpc-errors": ^6.1.0 - "@metamask/snaps-sdk": ^2.0.0 - "@metamask/snaps-utils": ^6.0.0 + "@metamask/rpc-errors": ^6.2.1 + "@metamask/snaps-sdk": ^3.0.1 + "@metamask/snaps-utils": ^7.0.1 "@metamask/utils": ^8.3.0 nanoid: ^3.1.31 readable-stream: ^3.6.2 superstruct: ^1.0.3 - checksum: e6887c6bec5f0e57d57fe66570b73c018c339e071d35f40b2df2a625db85e4d796cd0c5c313491f7dcd40bbd0796b79463988f785045903ccc19f6921b2007eb + checksum: d8968458bb6d53007828a98874b4f2546885d868088ec72b1477dc225f9d5fc5a2d14101bf7f13dfc0ebab9c4481ee89e29e0018c83c2230dda68938f2b89165 languageName: node linkType: hard -"@metamask/snaps-jest@npm:^5.0.0": - version: 5.0.0 - resolution: "@metamask/snaps-jest@npm:5.0.0" +"@metamask/snaps-jest@npm:^6.0.1": + version: 6.0.1 + resolution: "@metamask/snaps-jest@npm:6.0.1" dependencies: "@jest/environment": ^29.5.0 "@jest/expect": ^29.5.0 @@ -3018,12 +3084,12 @@ __metadata: "@metamask/json-rpc-engine": ^7.3.2 "@metamask/json-rpc-middleware-stream": ^6.0.2 "@metamask/key-tree": ^9.0.0 - "@metamask/permission-controller": ^8.0.0 - "@metamask/snaps-controllers": ^5.0.0 - "@metamask/snaps-execution-environments": ^4.0.0 - "@metamask/snaps-rpc-methods": ^6.0.0 - "@metamask/snaps-sdk": ^2.0.0 - "@metamask/snaps-utils": ^6.0.0 + "@metamask/permission-controller": ^8.0.1 + "@metamask/snaps-controllers": ^6.0.1 + "@metamask/snaps-execution-environments": ^5.0.1 + "@metamask/snaps-rpc-methods": ^7.0.1 + "@metamask/snaps-sdk": ^3.0.1 + "@metamask/snaps-utils": ^7.0.1 "@metamask/utils": ^8.3.0 "@reduxjs/toolkit": ^1.9.5 express: ^4.18.2 @@ -3033,7 +3099,7 @@ __metadata: redux: ^4.2.1 redux-saga: ^1.2.3 superstruct: ^1.0.3 - checksum: c488dcffa6686169381a5b614c703cca63cbe7fa99c4ce33c77f030a12b79b8872cf1244caddb33012140c54afc3fbb7f7d05f787265de1d06ea1340b20fc90b + checksum: 8fb53fb5f8d916b5496a254d35a6e26856b06fbce782d58f2af97241c011577d9b75a362daee347c404d4b98d04b7d40efc0f84f8745d63cca9dfa049b73e044 languageName: node linkType: hard @@ -3049,19 +3115,19 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-rpc-methods@npm:^6.0.0": - version: 6.0.0 - resolution: "@metamask/snaps-rpc-methods@npm:6.0.0" +"@metamask/snaps-rpc-methods@npm:^7.0.1": + version: 7.0.1 + resolution: "@metamask/snaps-rpc-methods@npm:7.0.1" dependencies: "@metamask/key-tree": ^9.0.0 - "@metamask/permission-controller": ^8.0.0 - "@metamask/rpc-errors": ^6.1.0 - "@metamask/snaps-sdk": ^2.0.0 - "@metamask/snaps-utils": ^6.0.0 + "@metamask/permission-controller": ^8.0.1 + "@metamask/rpc-errors": ^6.2.1 + "@metamask/snaps-sdk": ^3.0.1 + "@metamask/snaps-utils": ^7.0.1 "@metamask/utils": ^8.3.0 "@noble/hashes": ^1.3.1 superstruct: ^1.0.3 - checksum: 78d331eed9c4b2f85954d00bccf41b599301a91cdf1515671aeaae655259ff6cde934d6d44620174ab1ed5a9b3d255f85bf420472dd2276cdecc6ca4d5f95e6f + checksum: 19309ef234cc5cb47c941b4e3bf03df9fc6335ea9aad0b9931bcd63480f63b6d12a10d8d438df3660fe9c6f9b153b9d109a5dabd4576dc68019640b6336f7357 languageName: node linkType: hard @@ -3093,6 +3159,20 @@ __metadata: languageName: node linkType: hard +"@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.2.1 + "@metamask/utils": ^8.3.0 + fast-xml-parser: ^4.3.4 + superstruct: ^1.0.3 + 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" @@ -3153,6 +3233,35 @@ __metadata: languageName: node linkType: hard +"@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.1 + "@metamask/rpc-errors": ^6.2.1 + "@metamask/slip44": ^3.1.0 + "@metamask/snaps-registry": ^3.0.0 + "@metamask/snaps-sdk": ^3.0.1 + "@metamask/utils": ^8.3.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 + rfdc: ^1.3.0 + semver: ^7.5.4 + ses: ^1.1.0 + superstruct: ^1.0.3 + validate-npm-package-name: ^5.0.0 + 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" @@ -6441,6 +6550,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 +6564,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" @@ -9770,6 +9879,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" @@ -16870,7 +16990,7 @@ __metadata: "@metamask/eslint-config-nodejs": ^12.0.0 "@metamask/eslint-config-typescript": ^12.0.0 "@metamask/snaps-cli": ^5.0.0 - "@metamask/snaps-jest": ^5.0.0 + "@metamask/snaps-jest": ^6.0.1 "@metamask/snaps-sdk": ^2.0.0 "@typescript-eslint/eslint-plugin": ^5.42.1 "@typescript-eslint/parser": ^5.42.1