From 9cead27ce4c77e7c397a43697a470180746ebd19 Mon Sep 17 00:00:00 2001 From: Frederik Bolding Date: Thu, 21 Mar 2024 17:08:08 +0100 Subject: [PATCH] chore: bump snaps-utils in RC (#23628) ## **Description** Bumps `snaps-utils` to latest to solve a few bugs related to validation. - Allow `maxRequestTime` on `endowment:rpc` - Update markdown parsing for better link validation --- lavamoat/browserify/beta/policy.json | 86 +++++++++++++++++++- lavamoat/browserify/desktop/policy.json | 86 +++++++++++++++++++- lavamoat/browserify/flask/policy.json | 86 +++++++++++++++++++- lavamoat/browserify/main/policy.json | 86 +++++++++++++++++++- lavamoat/browserify/mmi/policy.json | 86 +++++++++++++++++++- package.json | 2 +- yarn.lock | 103 +++++++++++++++++++----- 7 files changed, 511 insertions(+), 24 deletions(-) diff --git a/lavamoat/browserify/beta/policy.json b/lavamoat/browserify/beta/policy.json index f8eb8a5fc42d..b4ad6a832f49 100644 --- a/lavamoat/browserify/beta/policy.json +++ b/lavamoat/browserify/beta/policy.json @@ -1926,13 +1926,14 @@ "fetch": true }, "packages": { - "@metamask/permission-controller": true, "@metamask/providers>@metamask/rpc-errors": true, "@metamask/snaps-sdk": true, "@metamask/snaps-sdk>@metamask/key-tree": true, + "@metamask/snaps-utils>@metamask/permission-controller": true, "@metamask/snaps-utils>@metamask/slip44": true, "@metamask/snaps-utils>cron-parser": true, "@metamask/snaps-utils>fast-json-stable-stringify": true, + "@metamask/snaps-utils>marked": true, "@metamask/snaps-utils>rfdc": true, "@metamask/snaps-utils>validate-npm-package-name": true, "@metamask/utils": true, @@ -1943,12 +1944,95 @@ "superstruct": true } }, + "@metamask/snaps-utils>@metamask/base-controller": { + "globals": { + "setTimeout": true + }, + "packages": { + "immer": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller": { + "globals": { + "console.error": true + }, + "packages": { + "@metamask/providers>@metamask/rpc-errors": true, + "@metamask/snaps-utils>@metamask/base-controller": true, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/controller-utils": true, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine": true, + "@metamask/snaps-utils>@metamask/permission-controller>nanoid": true, + "@metamask/utils": true, + "deep-freeze-strict": true, + "immer": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/controller-utils": { + "globals": { + "URL": true, + "console.error": true, + "fetch": true, + "setTimeout": true + }, + "packages": { + "@ethereumjs/tx>@ethereumjs/util": true, + "@metamask/controller-utils>@spruceid/siwe-parser": true, + "@metamask/ethjs>@metamask/ethjs-unit": true, + "@metamask/utils": true, + "bn.js": true, + "browserify>buffer": true, + "eslint>fast-deep-equal": true, + "eth-ens-namehash": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine": { + "packages": { + "@metamask/providers>@metamask/rpc-errors": true, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine>@metamask/safe-event-emitter": true, + "@metamask/utils": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine>@metamask/safe-event-emitter": { + "globals": { + "setTimeout": true + }, + "packages": { + "webpack>events": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, "@metamask/snaps-utils>cron-parser": { "packages": { "browserify>browser-resolve": true, "luxon": true } }, + "@metamask/snaps-utils>marked": { + "globals": { + "Hooks": true, + "Lexer": true, + "Parser": true, + "Renderer": true, + "TextRenderer": true, + "Tokenizer": true, + "console.error": true, + "console.warn": true, + "defaults": true, + "define": true, + "inlineQueue": true, + "passThroughHooks": true, + "renderer": true, + "rules": true, + "state": true, + "textRenderer": true, + "tokenizer": true, + "tokens": true + } + }, "@metamask/snaps-utils>rfdc": { "packages": { "browserify>buffer": true diff --git a/lavamoat/browserify/desktop/policy.json b/lavamoat/browserify/desktop/policy.json index accfce7ae2fc..1e42a8291001 100644 --- a/lavamoat/browserify/desktop/policy.json +++ b/lavamoat/browserify/desktop/policy.json @@ -2190,13 +2190,14 @@ "fetch": true }, "packages": { - "@metamask/permission-controller": true, "@metamask/providers>@metamask/rpc-errors": true, "@metamask/snaps-sdk": true, "@metamask/snaps-sdk>@metamask/key-tree": true, + "@metamask/snaps-utils>@metamask/permission-controller": true, "@metamask/snaps-utils>@metamask/slip44": true, "@metamask/snaps-utils>cron-parser": true, "@metamask/snaps-utils>fast-json-stable-stringify": true, + "@metamask/snaps-utils>marked": true, "@metamask/snaps-utils>rfdc": true, "@metamask/snaps-utils>validate-npm-package-name": true, "@metamask/utils": true, @@ -2207,6 +2208,67 @@ "superstruct": true } }, + "@metamask/snaps-utils>@metamask/base-controller": { + "globals": { + "setTimeout": true + }, + "packages": { + "immer": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller": { + "globals": { + "console.error": true + }, + "packages": { + "@metamask/providers>@metamask/rpc-errors": true, + "@metamask/snaps-utils>@metamask/base-controller": true, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/controller-utils": true, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine": true, + "@metamask/snaps-utils>@metamask/permission-controller>nanoid": true, + "@metamask/utils": true, + "deep-freeze-strict": true, + "immer": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/controller-utils": { + "globals": { + "URL": true, + "console.error": true, + "fetch": true, + "setTimeout": true + }, + "packages": { + "@ethereumjs/tx>@ethereumjs/util": true, + "@metamask/controller-utils>@spruceid/siwe-parser": true, + "@metamask/ethjs>@metamask/ethjs-unit": true, + "@metamask/utils": true, + "bn.js": true, + "browserify>buffer": true, + "eslint>fast-deep-equal": true, + "eth-ens-namehash": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine": { + "packages": { + "@metamask/providers>@metamask/rpc-errors": true, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine>@metamask/safe-event-emitter": true, + "@metamask/utils": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine>@metamask/safe-event-emitter": { + "globals": { + "setTimeout": true + }, + "packages": { + "webpack>events": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, "@metamask/snaps-utils>@metamask/snaps-registry": { "packages": { "@metamask/snaps-utils>@metamask/snaps-registry>@noble/curves": true, @@ -2229,6 +2291,28 @@ "luxon": true } }, + "@metamask/snaps-utils>marked": { + "globals": { + "Hooks": true, + "Lexer": true, + "Parser": true, + "Renderer": true, + "TextRenderer": true, + "Tokenizer": true, + "console.error": true, + "console.warn": true, + "defaults": true, + "define": true, + "inlineQueue": true, + "passThroughHooks": true, + "renderer": true, + "rules": true, + "state": true, + "textRenderer": true, + "tokenizer": true, + "tokens": true + } + }, "@metamask/snaps-utils>rfdc": { "packages": { "browserify>buffer": true diff --git a/lavamoat/browserify/flask/policy.json b/lavamoat/browserify/flask/policy.json index 53e04df338ba..8cdbdae7b8d7 100644 --- a/lavamoat/browserify/flask/policy.json +++ b/lavamoat/browserify/flask/policy.json @@ -2224,13 +2224,14 @@ "fetch": true }, "packages": { - "@metamask/permission-controller": true, "@metamask/providers>@metamask/rpc-errors": true, "@metamask/snaps-sdk": true, "@metamask/snaps-sdk>@metamask/key-tree": true, + "@metamask/snaps-utils>@metamask/permission-controller": true, "@metamask/snaps-utils>@metamask/slip44": true, "@metamask/snaps-utils>cron-parser": true, "@metamask/snaps-utils>fast-json-stable-stringify": true, + "@metamask/snaps-utils>marked": true, "@metamask/snaps-utils>rfdc": true, "@metamask/snaps-utils>validate-npm-package-name": true, "@metamask/utils": true, @@ -2241,6 +2242,67 @@ "superstruct": true } }, + "@metamask/snaps-utils>@metamask/base-controller": { + "globals": { + "setTimeout": true + }, + "packages": { + "immer": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller": { + "globals": { + "console.error": true + }, + "packages": { + "@metamask/providers>@metamask/rpc-errors": true, + "@metamask/snaps-utils>@metamask/base-controller": true, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/controller-utils": true, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine": true, + "@metamask/snaps-utils>@metamask/permission-controller>nanoid": true, + "@metamask/utils": true, + "deep-freeze-strict": true, + "immer": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/controller-utils": { + "globals": { + "URL": true, + "console.error": true, + "fetch": true, + "setTimeout": true + }, + "packages": { + "@ethereumjs/tx>@ethereumjs/util": true, + "@metamask/controller-utils>@spruceid/siwe-parser": true, + "@metamask/ethjs>@metamask/ethjs-unit": true, + "@metamask/utils": true, + "bn.js": true, + "browserify>buffer": true, + "eslint>fast-deep-equal": true, + "eth-ens-namehash": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine": { + "packages": { + "@metamask/providers>@metamask/rpc-errors": true, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine>@metamask/safe-event-emitter": true, + "@metamask/utils": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine>@metamask/safe-event-emitter": { + "globals": { + "setTimeout": true + }, + "packages": { + "webpack>events": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, "@metamask/snaps-utils>@metamask/snaps-registry": { "packages": { "@metamask/snaps-utils>@metamask/snaps-registry>@noble/curves": true, @@ -2263,6 +2325,28 @@ "luxon": true } }, + "@metamask/snaps-utils>marked": { + "globals": { + "Hooks": true, + "Lexer": true, + "Parser": true, + "Renderer": true, + "TextRenderer": true, + "Tokenizer": true, + "console.error": true, + "console.warn": true, + "defaults": true, + "define": true, + "inlineQueue": true, + "passThroughHooks": true, + "renderer": true, + "rules": true, + "state": true, + "textRenderer": true, + "tokenizer": true, + "tokens": true + } + }, "@metamask/snaps-utils>rfdc": { "packages": { "browserify>buffer": true diff --git a/lavamoat/browserify/main/policy.json b/lavamoat/browserify/main/policy.json index 2de6ef1e3e5a..f109bd463c64 100644 --- a/lavamoat/browserify/main/policy.json +++ b/lavamoat/browserify/main/policy.json @@ -2147,13 +2147,14 @@ "fetch": true }, "packages": { - "@metamask/permission-controller": true, "@metamask/providers>@metamask/rpc-errors": true, "@metamask/snaps-sdk": true, "@metamask/snaps-sdk>@metamask/key-tree": true, + "@metamask/snaps-utils>@metamask/permission-controller": true, "@metamask/snaps-utils>@metamask/slip44": true, "@metamask/snaps-utils>cron-parser": true, "@metamask/snaps-utils>fast-json-stable-stringify": true, + "@metamask/snaps-utils>marked": true, "@metamask/snaps-utils>rfdc": true, "@metamask/snaps-utils>validate-npm-package-name": true, "@metamask/utils": true, @@ -2164,6 +2165,67 @@ "superstruct": true } }, + "@metamask/snaps-utils>@metamask/base-controller": { + "globals": { + "setTimeout": true + }, + "packages": { + "immer": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller": { + "globals": { + "console.error": true + }, + "packages": { + "@metamask/providers>@metamask/rpc-errors": true, + "@metamask/snaps-utils>@metamask/base-controller": true, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/controller-utils": true, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine": true, + "@metamask/snaps-utils>@metamask/permission-controller>nanoid": true, + "@metamask/utils": true, + "deep-freeze-strict": true, + "immer": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/controller-utils": { + "globals": { + "URL": true, + "console.error": true, + "fetch": true, + "setTimeout": true + }, + "packages": { + "@ethereumjs/tx>@ethereumjs/util": true, + "@metamask/controller-utils>@spruceid/siwe-parser": true, + "@metamask/ethjs>@metamask/ethjs-unit": true, + "@metamask/utils": true, + "bn.js": true, + "browserify>buffer": true, + "eslint>fast-deep-equal": true, + "eth-ens-namehash": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine": { + "packages": { + "@metamask/providers>@metamask/rpc-errors": true, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine>@metamask/safe-event-emitter": true, + "@metamask/utils": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine>@metamask/safe-event-emitter": { + "globals": { + "setTimeout": true + }, + "packages": { + "webpack>events": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, "@metamask/snaps-utils>@metamask/snaps-registry": { "packages": { "@metamask/snaps-utils>@metamask/snaps-registry>@noble/curves": true, @@ -2186,6 +2248,28 @@ "luxon": true } }, + "@metamask/snaps-utils>marked": { + "globals": { + "Hooks": true, + "Lexer": true, + "Parser": true, + "Renderer": true, + "TextRenderer": true, + "Tokenizer": true, + "console.error": true, + "console.warn": true, + "defaults": true, + "define": true, + "inlineQueue": true, + "passThroughHooks": true, + "renderer": true, + "rules": true, + "state": true, + "textRenderer": true, + "tokenizer": true, + "tokens": true + } + }, "@metamask/snaps-utils>rfdc": { "packages": { "browserify>buffer": true diff --git a/lavamoat/browserify/mmi/policy.json b/lavamoat/browserify/mmi/policy.json index 27e3e393e9c0..90cceecc2a8a 100644 --- a/lavamoat/browserify/mmi/policy.json +++ b/lavamoat/browserify/mmi/policy.json @@ -2245,13 +2245,14 @@ "fetch": true }, "packages": { - "@metamask/permission-controller": true, "@metamask/providers>@metamask/rpc-errors": true, "@metamask/snaps-sdk": true, "@metamask/snaps-sdk>@metamask/key-tree": true, + "@metamask/snaps-utils>@metamask/permission-controller": true, "@metamask/snaps-utils>@metamask/slip44": true, "@metamask/snaps-utils>cron-parser": true, "@metamask/snaps-utils>fast-json-stable-stringify": true, + "@metamask/snaps-utils>marked": true, "@metamask/snaps-utils>rfdc": true, "@metamask/snaps-utils>validate-npm-package-name": true, "@metamask/utils": true, @@ -2262,6 +2263,67 @@ "superstruct": true } }, + "@metamask/snaps-utils>@metamask/base-controller": { + "globals": { + "setTimeout": true + }, + "packages": { + "immer": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller": { + "globals": { + "console.error": true + }, + "packages": { + "@metamask/providers>@metamask/rpc-errors": true, + "@metamask/snaps-utils>@metamask/base-controller": true, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/controller-utils": true, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine": true, + "@metamask/snaps-utils>@metamask/permission-controller>nanoid": true, + "@metamask/utils": true, + "deep-freeze-strict": true, + "immer": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/controller-utils": { + "globals": { + "URL": true, + "console.error": true, + "fetch": true, + "setTimeout": true + }, + "packages": { + "@ethereumjs/tx>@ethereumjs/util": true, + "@metamask/controller-utils>@spruceid/siwe-parser": true, + "@metamask/ethjs>@metamask/ethjs-unit": true, + "@metamask/utils": true, + "bn.js": true, + "browserify>buffer": true, + "eslint>fast-deep-equal": true, + "eth-ens-namehash": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine": { + "packages": { + "@metamask/providers>@metamask/rpc-errors": true, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine>@metamask/safe-event-emitter": true, + "@metamask/utils": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>@metamask/json-rpc-engine>@metamask/safe-event-emitter": { + "globals": { + "setTimeout": true + }, + "packages": { + "webpack>events": true + } + }, + "@metamask/snaps-utils>@metamask/permission-controller>nanoid": { + "globals": { + "crypto.getRandomValues": true + } + }, "@metamask/snaps-utils>@metamask/snaps-registry": { "packages": { "@metamask/snaps-utils>@metamask/snaps-registry>@noble/curves": true, @@ -2284,6 +2346,28 @@ "luxon": true } }, + "@metamask/snaps-utils>marked": { + "globals": { + "Hooks": true, + "Lexer": true, + "Parser": true, + "Renderer": true, + "TextRenderer": true, + "Tokenizer": true, + "console.error": true, + "console.warn": true, + "defaults": true, + "define": true, + "inlineQueue": true, + "passThroughHooks": true, + "renderer": true, + "rules": true, + "state": true, + "textRenderer": true, + "tokenizer": true, + "tokens": true + } + }, "@metamask/snaps-utils>rfdc": { "packages": { "browserify>buffer": true diff --git a/package.json b/package.json index 5b8dc54d9fa5..fda167b12cd6 100644 --- a/package.json +++ b/package.json @@ -297,7 +297,7 @@ "@metamask/snaps-execution-environments": "^5.0.2", "@metamask/snaps-rpc-methods": "^7.0.1", "@metamask/snaps-sdk": "^3.1.0", - "@metamask/snaps-utils": "^7.0.2", + "@metamask/snaps-utils": "^7.0.4", "@metamask/transaction-controller": "^23.1.0", "@metamask/user-operation-controller": "^4.0.0", "@metamask/utils": "^8.2.1", diff --git a/yarn.lock b/yarn.lock index 1c6f35ccce21..7503f9a1e3dc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4012,6 +4012,16 @@ __metadata: languageName: node linkType: hard +"@metamask/base-controller@npm:^5.0.1": + version: 5.0.1 + resolution: "@metamask/base-controller@npm:5.0.1" + dependencies: + "@metamask/utils": "npm:^8.3.0" + immer: "npm:^9.0.6" + checksum: 62fe2c0047ea5ae88821ab6bf3e2d72f1b732a9157cd0632a4309721fe84b7e07c21ecdbf24eebfc742d00a53963e9b72bc1bc45540ce1075cf5407cec50d8a2 + languageName: node + linkType: hard + "@metamask/browser-passworder@npm:^4.3.0": version: 4.3.0 resolution: "@metamask/browser-passworder@npm:4.3.0" @@ -4084,6 +4094,23 @@ __metadata: languageName: node linkType: hard +"@metamask/controller-utils@npm:^9.0.1": + version: 9.0.2 + resolution: "@metamask/controller-utils@npm:9.0.2" + dependencies: + "@ethereumjs/util": "npm:^8.1.0" + "@metamask/eth-query": "npm:^4.0.0" + "@metamask/ethjs-unit": "npm:^0.3.0" + "@metamask/utils": "npm:^8.3.0" + "@spruceid/siwe-parser": "npm:1.1.3" + "@types/bn.js": "npm:^5.1.5" + bn.js: "npm:^5.2.1" + eth-ens-namehash: "npm:^2.0.8" + fast-deep-equal: "npm:^3.1.3" + checksum: edf8f23d349da01bb9e9906bc2825612eaa422f5c13d19b820ee84c3366d79900f9cd98e6e89b02b9ffd241510c1d7615b99b4263ce79a43d88ad4dffdb028f7 + languageName: node + linkType: hard + "@metamask/design-tokens@npm:^1.12.0": version: 1.13.0 resolution: "@metamask/design-tokens@npm:1.13.0" @@ -4561,6 +4588,17 @@ __metadata: languageName: node linkType: hard +"@metamask/json-rpc-engine@npm:^8.0.1": + version: 8.0.1 + resolution: "@metamask/json-rpc-engine@npm:8.0.1" + dependencies: + "@metamask/rpc-errors": "npm:^6.2.1" + "@metamask/safe-event-emitter": "npm:^3.0.0" + "@metamask/utils": "npm:^8.3.0" + checksum: 340ea9be62f65b69ae552571f0176af23097e874bae276aa2349f13086dbd018ce58a4b9bbd902eff81ab959b143fb2821930564a5739353312968210308cff7 + languageName: node + linkType: hard + "@metamask/key-tree@npm:^9.0.0": version: 9.0.0 resolution: "@metamask/key-tree@npm:9.0.0" @@ -4851,6 +4889,25 @@ __metadata: languageName: node linkType: hard +"@metamask/permission-controller@npm:^9.0.2": + version: 9.0.2 + resolution: "@metamask/permission-controller@npm:9.0.2" + dependencies: + "@metamask/base-controller": "npm:^5.0.1" + "@metamask/controller-utils": "npm:^9.0.1" + "@metamask/json-rpc-engine": "npm:^8.0.1" + "@metamask/rpc-errors": "npm:^6.2.1" + "@metamask/utils": "npm:^8.3.0" + "@types/deep-freeze-strict": "npm:^1.1.0" + deep-freeze-strict: "npm:^1.1.1" + immer: "npm:^9.0.6" + nanoid: "npm:^3.1.31" + peerDependencies: + "@metamask/approval-controller": ^6.0.0 + checksum: 8af8b2949f19ace5b2c2580b5291a5ee5745fad4d24b333f53477d9c5daddf2d53aeb05d15eb23338f60c78ad96a8033fcebf4e1d6d3e6a26640fd65dfce0660 + languageName: node + linkType: hard + "@metamask/permission-log-controller@npm:^1.0.0": version: 1.0.0 resolution: "@metamask/permission-log-controller@npm:1.0.0" @@ -5245,15 +5302,15 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-registry@npm:^3.0.0": - version: 3.0.0 - resolution: "@metamask/snaps-registry@npm:3.0.0" +"@metamask/snaps-registry@npm:^3.0.0, @metamask/snaps-registry@npm:^3.0.1": + version: 3.1.0 + resolution: "@metamask/snaps-registry@npm:3.1.0" dependencies: - "@metamask/utils": "npm:^8.1.0" + "@metamask/utils": "npm:^8.3.0" "@noble/curves": "npm:^1.2.0" "@noble/hashes": "npm:^1.3.2" superstruct: "npm:^1.0.3" - checksum: 3c6066807f214cf2cad1dc084b928dcd5b2c98cb09e3e38111ef56ed199f643abb2f035d1a57b7452de197643f6d0b4749541d05764723eb0c6a6f27ae314b06 + checksum: 28b5a8685f20801e64265687f3cd3d4bd202e8fe1f0cc044fcc8ad6af94d1a1d354f98a866235a1b827f414c067f6ae4bf0c18f26603804db53f3869722d957e languageName: node linkType: hard @@ -5349,19 +5406,19 @@ __metadata: languageName: node linkType: hard -"@metamask/snaps-utils@npm:^7.0.1, @metamask/snaps-utils@npm:^7.0.2": - version: 7.0.2 - resolution: "@metamask/snaps-utils@npm:7.0.2" +"@metamask/snaps-utils@npm:^7.0.1, @metamask/snaps-utils@npm:^7.0.2, @metamask/snaps-utils@npm:^7.0.4": + version: 7.0.4 + resolution: "@metamask/snaps-utils@npm:7.0.4" dependencies: "@babel/core": "npm:^7.23.2" "@babel/types": "npm:^7.23.0" - "@metamask/base-controller": "npm:^4.1.0" + "@metamask/base-controller": "npm:^5.0.1" "@metamask/key-tree": "npm:^9.0.0" - "@metamask/permission-controller": "npm:^8.0.1" + "@metamask/permission-controller": "npm:^9.0.2" "@metamask/rpc-errors": "npm:^6.2.1" "@metamask/slip44": "npm:^3.1.0" - "@metamask/snaps-registry": "npm:^3.0.0" - "@metamask/snaps-sdk": "npm:^3.1.0" + "@metamask/snaps-registry": "npm:^3.0.1" + "@metamask/snaps-sdk": "npm:^3.2.0" "@metamask/utils": "npm:^8.3.0" "@noble/hashes": "npm:^1.3.1" "@scure/base": "npm:^1.1.1" @@ -5369,12 +5426,13 @@ __metadata: cron-parser: "npm:^4.5.0" fast-deep-equal: "npm:^3.1.3" fast-json-stable-stringify: "npm:^2.1.0" + marked: "npm:^12.0.1" rfdc: "npm:^1.3.0" semver: "npm:^7.5.4" ses: "npm:^1.1.0" superstruct: "npm:^1.0.3" validate-npm-package-name: "npm:^5.0.0" - checksum: f8e98db5f8314aceb23059aac2b697ed512d1a87ba434fac7cdac1a152bff4a38a217e703c680b75b26309189d1f2145e10cc217afd7c2f4578c67f1a8e986dd + checksum: df5ae4979252adc966612c0341af4247eebcfebc5c20c934730dd28af88834b565441e1484d925ecb02d440bde439feab2a15fc1574493a1330ce7edf248b06e languageName: node linkType: hard @@ -8897,12 +8955,12 @@ __metadata: languageName: node linkType: hard -"@types/bn.js@npm:^5.1.0": - version: 5.1.1 - resolution: "@types/bn.js@npm:5.1.1" +"@types/bn.js@npm:^5.1.0, @types/bn.js@npm:^5.1.5": + version: 5.1.5 + resolution: "@types/bn.js@npm:5.1.5" dependencies: "@types/node": "npm:*" - checksum: cf2c45833e67ecfc45e5336151965a47857431640b61708b6e4dc81d88ed53585c9b30be59abbbee609cdf7a63828e5b8a58c1a27eb4306e5cb7ddd9bad46650 + checksum: 9719330c86aeae0a6a447c974cf0f853ba3660ede20de61f435b03d699e30e6d8b35bf71a8dc9fdc8317784438e83177644ba068ed653d0ae0106e1ecbfe289e languageName: node linkType: hard @@ -24358,6 +24416,15 @@ __metadata: languageName: node linkType: hard +"marked@npm:^12.0.1": + version: 12.0.1 + resolution: "marked@npm:12.0.1" + bin: + marked: bin/marked.js + checksum: 34fd0044ebeda28b3f3f94f340e2388666408315557f125d561b59b49baec4c6e6777f54b6fb12aa5c2bf3b75a4aa9f1809679bfb6502da73053d0461c1a232d + languageName: node + linkType: hard + "matchdep@npm:^2.0.0": version: 2.0.0 resolution: "matchdep@npm:2.0.0" @@ -24867,7 +24934,7 @@ __metadata: "@metamask/snaps-execution-environments": "npm:^5.0.2" "@metamask/snaps-rpc-methods": "npm:^7.0.1" "@metamask/snaps-sdk": "npm:^3.1.0" - "@metamask/snaps-utils": "npm:^7.0.2" + "@metamask/snaps-utils": "npm:^7.0.4" "@metamask/test-bundler": "npm:^1.0.0" "@metamask/test-dapp": "npm:^8.2.0" "@metamask/transaction-controller": "npm:^23.1.0"