From 1307fee2a6a13e7c521d2d47a115b35dd771b545 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 16:17:06 +0000 Subject: [PATCH 01/10] chore(deps): bump the npm_and_yarn group across 1 directory with 5 updates Bumps the npm_and_yarn group with 5 updates in the / directory: | Package | From | To | | --- | --- | --- | | [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `4.5.5` | `5.1.8` | | [webpack](https://github.com/webpack/webpack) | `5.88.0` | `5.94.0` | | [nanoid](https://github.com/ai/nanoid) | `3.3.8` | `5.0.9` | | [elliptic](https://github.com/indutny/elliptic) | `6.5.7` | `6.6.1` | | [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) | `2.0.6` | `2.0.7` | Updates `vite` from 4.5.5 to 5.1.8 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v5.1.8/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v5.1.8/packages/vite) Updates `webpack` from 5.88.0 to 5.94.0 - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v5.88.0...v5.94.0) Updates `nanoid` from 3.3.8 to 5.0.9 - [Release notes](https://github.com/ai/nanoid/releases) - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md) - [Commits](https://github.com/ai/nanoid/compare/3.3.8...5.0.9) Updates `elliptic` from 6.5.7 to 6.6.1 - [Commits](https://github.com/indutny/elliptic/compare/v6.5.7...v6.6.1) Updates `http-proxy-middleware` from 2.0.6 to 2.0.7 - [Release notes](https://github.com/chimurai/http-proxy-middleware/releases) - [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md) - [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.6...v2.0.7) --- updated-dependencies: - dependency-name: vite dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: webpack dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: nanoid dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: elliptic dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: http-proxy-middleware dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] --- package.json | 2 +- packages/snaps-cli/package.json | 2 +- packages/snaps-controllers/package.json | 4 +- .../snaps-execution-environments/package.json | 4 +- packages/snaps-simulator/package.json | 2 +- packages/snaps-utils/package.json | 2 +- packages/snaps-webpack-plugin/package.json | 2 +- packages/test-snaps/package.json | 2 +- yarn.lock | 907 +++++++++++++++++- 9 files changed, 890 insertions(+), 37 deletions(-) diff --git a/package.json b/package.json index fecc3eb35d..5459f3e474 100644 --- a/package.json +++ b/package.json @@ -118,7 +118,7 @@ "ts-node": "^10.9.1", "tsx": "^4.19.1", "typescript": "~5.3.3", - "vite": "^4.3.9" + "vite": "^5.1.8" }, "packageManager": "yarn@4.4.1", "engines": { diff --git a/packages/snaps-cli/package.json b/packages/snaps-cli/package.json index c1cb245f7d..a15f922288 100644 --- a/packages/snaps-cli/package.json +++ b/packages/snaps-cli/package.json @@ -111,7 +111,7 @@ "url": "^0.11.1", "util": "^0.12.5", "vm-browserify": "^1.1.2", - "webpack": "^5.88.0", + "webpack": "^5.94.0", "webpack-merge": "^5.9.0", "yargs": "^17.7.1" }, diff --git a/packages/snaps-controllers/package.json b/packages/snaps-controllers/package.json index 9d95c45715..9c861bb320 100644 --- a/packages/snaps-controllers/package.json +++ b/packages/snaps-controllers/package.json @@ -102,7 +102,7 @@ "get-npm-tarball-url": "^2.0.3", "immer": "^9.0.6", "luxon": "^3.5.0", - "nanoid": "^3.1.31", + "nanoid": "^5.0.9", "readable-stream": "^3.6.2", "readable-web-to-node-stream": "^3.0.2", "semver": "^7.5.4", @@ -164,7 +164,7 @@ "rimraf": "^4.1.2", "ts-node": "^10.9.1", "typescript": "~5.3.3", - "vite": "^4.3.9", + "vite": "^5.1.8", "vite-tsconfig-paths": "^4.0.5", "wdio-chromedriver-service": "^8.1.1", "wdio-geckodriver-service": "^5.0.2", diff --git a/packages/snaps-execution-environments/package.json b/packages/snaps-execution-environments/package.json index 949696530e..0a2d692e52 100644 --- a/packages/snaps-execution-environments/package.json +++ b/packages/snaps-execution-environments/package.json @@ -73,7 +73,7 @@ "@metamask/snaps-utils": "workspace:^", "@metamask/superstruct": "^3.1.0", "@metamask/utils": "^11.0.1", - "nanoid": "^3.1.31", + "nanoid": "^5.0.9", "readable-stream": "^3.6.2" }, "devDependencies": { @@ -136,7 +136,7 @@ "terser": "^5.17.7", "ts-node": "^10.9.1", "typescript": "~5.3.3", - "vite": "^4.3.9", + "vite": "^5.1.8", "vite-tsconfig-paths": "^4.0.5", "wdio-chromedriver-service": "^8.1.1", "wdio-geckodriver-service": "^5.0.2", diff --git a/packages/snaps-simulator/package.json b/packages/snaps-simulator/package.json index b949d49203..d831c49c9b 100644 --- a/packages/snaps-simulator/package.json +++ b/packages/snaps-simulator/package.json @@ -142,7 +142,7 @@ "ts-node": "^10.9.1", "tsconfig-paths-webpack-plugin": "^4.0.1", "typescript": "~5.3.3", - "webpack": "^5.88.0", + "webpack": "^5.94.0", "webpack-cli": "^5.1.4", "webpack-dev-server": "^4.15.1", "webpack-merge": "^5.9.0" diff --git a/packages/snaps-utils/package.json b/packages/snaps-utils/package.json index 7f95853587..631736fbe7 100644 --- a/packages/snaps-utils/package.json +++ b/packages/snaps-utils/package.json @@ -151,7 +151,7 @@ "rimraf": "^4.1.2", "ts-node": "^10.9.1", "typescript": "~5.3.3", - "vite": "^4.3.9", + "vite": "^5.1.8", "vite-tsconfig-paths": "^4.0.5", "wdio-chromedriver-service": "^8.1.1", "wdio-geckodriver-service": "^5.0.2", diff --git a/packages/snaps-webpack-plugin/package.json b/packages/snaps-webpack-plugin/package.json index 3b375b6833..933468277d 100644 --- a/packages/snaps-webpack-plugin/package.json +++ b/packages/snaps-webpack-plugin/package.json @@ -93,7 +93,7 @@ "memfs": "^3.4.13", "prettier-plugin-packagejson": "^2.5.2", "typescript": "~5.3.3", - "webpack": "^5.88.0" + "webpack": "^5.94.0" }, "engines": { "node": "^18.16 || >=20" diff --git a/packages/test-snaps/package.json b/packages/test-snaps/package.json index 8f9d6b9dde..5c1e41f291 100644 --- a/packages/test-snaps/package.json +++ b/packages/test-snaps/package.json @@ -119,7 +119,7 @@ "ts-node": "^10.9.1", "tsconfig-paths-webpack-plugin": "^4.0.1", "typescript": "~5.3.3", - "webpack": "^5.88.0", + "webpack": "^5.94.0", "webpack-cli": "^5.1.4", "webpack-dev-server": "^4.15.1" }, diff --git a/yarn.lock b/yarn.lock index 9207cf36cb..5533de7646 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2865,6 +2865,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/aix-ppc64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/aix-ppc64@npm:0.21.5" + conditions: os=aix & cpu=ppc64 + languageName: node + linkType: hard + "@esbuild/aix-ppc64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/aix-ppc64@npm:0.23.1" @@ -2879,6 +2886,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-arm64@npm:0.21.5" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/android-arm64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/android-arm64@npm:0.23.1" @@ -2893,6 +2907,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-arm@npm:0.21.5" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + "@esbuild/android-arm@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/android-arm@npm:0.23.1" @@ -2907,6 +2928,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-x64@npm:0.21.5" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + "@esbuild/android-x64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/android-x64@npm:0.23.1" @@ -2921,6 +2949,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/darwin-arm64@npm:0.21.5" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/darwin-arm64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/darwin-arm64@npm:0.23.1" @@ -2935,6 +2970,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/darwin-x64@npm:0.21.5" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@esbuild/darwin-x64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/darwin-x64@npm:0.23.1" @@ -2949,6 +2991,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/freebsd-arm64@npm:0.21.5" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/freebsd-arm64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/freebsd-arm64@npm:0.23.1" @@ -2963,6 +3012,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/freebsd-x64@npm:0.21.5" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/freebsd-x64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/freebsd-x64@npm:0.23.1" @@ -2977,6 +3033,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-arm64@npm:0.21.5" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/linux-arm64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-arm64@npm:0.23.1" @@ -2991,6 +3054,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-arm@npm:0.21.5" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "@esbuild/linux-arm@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-arm@npm:0.23.1" @@ -3005,6 +3075,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ia32@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-ia32@npm:0.21.5" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/linux-ia32@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-ia32@npm:0.23.1" @@ -3026,6 +3103,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-loong64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-loong64@npm:0.21.5" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + "@esbuild/linux-loong64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-loong64@npm:0.23.1" @@ -3040,6 +3124,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-mips64el@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-mips64el@npm:0.21.5" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + "@esbuild/linux-mips64el@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-mips64el@npm:0.23.1" @@ -3054,6 +3145,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ppc64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-ppc64@npm:0.21.5" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + "@esbuild/linux-ppc64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-ppc64@npm:0.23.1" @@ -3068,6 +3166,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-riscv64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-riscv64@npm:0.21.5" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + "@esbuild/linux-riscv64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-riscv64@npm:0.23.1" @@ -3082,6 +3187,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-s390x@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-s390x@npm:0.21.5" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + "@esbuild/linux-s390x@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-s390x@npm:0.23.1" @@ -3096,6 +3208,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-x64@npm:0.21.5" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + "@esbuild/linux-x64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/linux-x64@npm:0.23.1" @@ -3110,6 +3229,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/netbsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/netbsd-x64@npm:0.21.5" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/netbsd-x64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/netbsd-x64@npm:0.23.1" @@ -3131,6 +3257,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/openbsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/openbsd-x64@npm:0.21.5" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/openbsd-x64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/openbsd-x64@npm:0.23.1" @@ -3145,6 +3278,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/sunos-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/sunos-x64@npm:0.21.5" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + "@esbuild/sunos-x64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/sunos-x64@npm:0.23.1" @@ -3159,6 +3299,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-arm64@npm:0.21.5" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/win32-arm64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/win32-arm64@npm:0.23.1" @@ -3173,6 +3320,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-ia32@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-ia32@npm:0.21.5" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/win32-ia32@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/win32-ia32@npm:0.23.1" @@ -3187,6 +3341,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-x64@npm:0.21.5" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@esbuild/win32-x64@npm:0.23.1": version: 0.23.1 resolution: "@esbuild/win32-x64@npm:0.23.1" @@ -3697,6 +3858,13 @@ __metadata: languageName: node linkType: hard +"@jridgewell/resolve-uri@npm:^3.1.0": + version: 3.1.2 + resolution: "@jridgewell/resolve-uri@npm:3.1.2" + checksum: 10/97106439d750a409c22c8bff822d648f6a71f3aa9bc8e5129efdc36343cd3096ddc4eeb1c62d2fe48e9bdd4db37b05d4646a17114ecebd3bbcacfa2de51c3c1d + languageName: node + linkType: hard + "@jridgewell/set-array@npm:^1.0.0, @jridgewell/set-array@npm:^1.0.1": version: 1.1.2 resolution: "@jridgewell/set-array@npm:1.1.2" @@ -3728,6 +3896,13 @@ __metadata: languageName: node linkType: hard +"@jridgewell/sourcemap-codec@npm:^1.4.14": + version: 1.5.0 + resolution: "@jridgewell/sourcemap-codec@npm:1.5.0" + checksum: 10/4ed6123217569a1484419ac53f6ea0d9f3b57e5b57ab30d7c267bdb27792a27eb0e4b08e84a2680aa55cc2f2b411ffd6ec3db01c44fdc6dc43aca4b55f8374fd + languageName: node + linkType: hard + "@jridgewell/trace-mapping@npm:0.3.9": version: 0.3.9 resolution: "@jridgewell/trace-mapping@npm:0.3.9" @@ -3748,6 +3923,16 @@ __metadata: languageName: node linkType: hard +"@jridgewell/trace-mapping@npm:^0.3.25": + version: 0.3.25 + resolution: "@jridgewell/trace-mapping@npm:0.3.25" + dependencies: + "@jridgewell/resolve-uri": "npm:^3.1.0" + "@jridgewell/sourcemap-codec": "npm:^1.4.14" + checksum: 10/dced32160a44b49d531b80a4a2159dceab6b3ddf0c8e95a0deae4b0e894b172defa63d5ac52a19c2068e1fe7d31ea4ba931fbeec103233ecb4208953967120fc + languageName: node + linkType: hard + "@jspm/core@npm:^2.0.1": version: 2.0.1 resolution: "@jspm/core@npm:2.0.1" @@ -5693,7 +5878,7 @@ __metadata: url: "npm:^0.11.1" util: "npm:^0.12.5" vm-browserify: "npm:^1.1.2" - webpack: "npm:^5.88.0" + webpack: "npm:^5.94.0" webpack-merge: "npm:^5.9.0" yargs: "npm:^17.7.1" bin: @@ -5778,7 +5963,7 @@ __metadata: jest-silent-reporter: "npm:^0.6.0" luxon: "npm:^3.5.0" mkdirp: "npm:^1.0.4" - nanoid: "npm:^3.1.31" + nanoid: "npm:^5.0.9" prettier: "npm:^2.8.8" prettier-plugin-packagejson: "npm:^2.5.2" readable-stream: "npm:^3.6.2" @@ -5788,7 +5973,7 @@ __metadata: tar-stream: "npm:^3.1.7" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" - vite: "npm:^4.3.9" + vite: "npm:^5.1.8" vite-tsconfig-paths: "npm:^4.0.5" wdio-chromedriver-service: "npm:^8.1.1" wdio-geckodriver-service: "npm:^5.0.2" @@ -5865,7 +6050,7 @@ __metadata: jest-silent-reporter: "npm:^0.6.0" lavamoat: "npm:^8.0.4" lavamoat-browserify: "npm:^17.0.5" - nanoid: "npm:^3.1.31" + nanoid: "npm:^5.0.9" prettier: "npm:^2.8.8" prettier-plugin-packagejson: "npm:^2.5.2" readable-stream: "npm:^3.6.2" @@ -5875,7 +6060,7 @@ __metadata: terser: "npm:^5.17.7" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" - vite: "npm:^4.3.9" + vite: "npm:^5.1.8" vite-tsconfig-paths: "npm:^4.0.5" wdio-chromedriver-service: "npm:^8.1.1" wdio-geckodriver-service: "npm:^5.0.2" @@ -6232,7 +6417,7 @@ __metadata: ts-node: "npm:^10.9.1" tsconfig-paths-webpack-plugin: "npm:^4.0.1" typescript: "npm:~5.3.3" - webpack: "npm:^5.88.0" + webpack: "npm:^5.94.0" webpack-cli: "npm:^5.1.4" webpack-dev-server: "npm:^4.15.1" webpack-merge: "npm:^5.9.0" @@ -6315,7 +6500,7 @@ __metadata: ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" validate-npm-package-name: "npm:^5.0.0" - vite: "npm:^4.3.9" + vite: "npm:^5.1.8" vite-tsconfig-paths: "npm:^4.0.5" wdio-chromedriver-service: "npm:^8.1.1" wdio-geckodriver-service: "npm:^5.0.2" @@ -6360,7 +6545,7 @@ __metadata: prettier: "npm:^2.8.8" prettier-plugin-packagejson: "npm:^2.5.2" typescript: "npm:~5.3.3" - webpack: "npm:^5.88.0" + webpack: "npm:^5.94.0" webpack-sources: "npm:^3.2.3" languageName: unknown linkType: soft @@ -6459,7 +6644,7 @@ __metadata: ts-node: "npm:^10.9.1" tsconfig-paths-webpack-plugin: "npm:^4.0.1" typescript: "npm:~5.3.3" - webpack: "npm:^5.88.0" + webpack: "npm:^5.94.0" webpack-cli: "npm:^5.1.4" webpack-dev-server: "npm:^4.15.1" languageName: unknown @@ -7210,6 +7395,139 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-android-arm-eabi@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.30.1" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + +"@rollup/rollup-android-arm64@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-android-arm64@npm:4.30.1" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-arm64@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-darwin-arm64@npm:4.30.1" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-x64@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-darwin-x64@npm:4.30.1" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-freebsd-arm64@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-freebsd-arm64@npm:4.30.1" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-freebsd-x64@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-freebsd-x64@npm:4.30.1" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm-gnueabihf@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.30.1" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm-musleabihf@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.30.1" + conditions: os=linux & cpu=arm & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-gnu@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.30.1" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-musl@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.30.1" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-linux-loongarch64-gnu@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-linux-loongarch64-gnu@npm:4.30.1" + conditions: os=linux & cpu=loong64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.30.1" + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-riscv64-gnu@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.30.1" + conditions: os=linux & cpu=riscv64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-s390x-gnu@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.30.1" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-gnu@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.30.1" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-musl@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.30.1" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@rollup/rollup-win32-arm64-msvc@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.30.1" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@rollup/rollup-win32-ia32-msvc@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.30.1" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@rollup/rollup-win32-x64-msvc@npm:4.30.1": + version: 4.30.1 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.30.1" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@scure/base@npm:^1.0.0, @scure/base@npm:^1.1.1, @scure/base@npm:^1.1.3, @scure/base@npm:~1.1.0, @scure/base@npm:~1.1.3": version: 1.1.3 resolution: "@scure/base@npm:1.1.3" @@ -7686,6 +8004,16 @@ __metadata: languageName: node linkType: hard +"@types/eslint-scope@npm:^3.7.7": + version: 3.7.7 + resolution: "@types/eslint-scope@npm:3.7.7" + dependencies: + "@types/eslint": "npm:*" + "@types/estree": "npm:*" + checksum: 10/e2889a124aaab0b89af1bab5959847c5bec09809209255de0e63b9f54c629a94781daa04adb66bffcdd742f5e25a17614fb933965093c0eea64aacda4309380e + languageName: node + linkType: hard + "@types/eslint@npm:*": version: 8.4.1 resolution: "@types/eslint@npm:8.4.1" @@ -7703,6 +8031,13 @@ __metadata: languageName: node linkType: hard +"@types/estree@npm:1.0.6, @types/estree@npm:^1.0.6": + version: 1.0.6 + resolution: "@types/estree@npm:1.0.6" + checksum: 10/9d35d475095199c23e05b431bcdd1f6fec7380612aed068b14b2a08aa70494de8a9026765a5a91b1073f636fb0368f6d8973f518a31391d519e20c59388ed88d + languageName: node + linkType: hard + "@types/express-serve-static-core@npm:*, @types/express-serve-static-core@npm:^4.17.33": version: 4.17.35 resolution: "@types/express-serve-static-core@npm:4.17.35" @@ -8801,6 +9136,16 @@ __metadata: languageName: node linkType: hard +"@webassemblyjs/ast@npm:1.14.1, @webassemblyjs/ast@npm:^1.14.1": + version: 1.14.1 + resolution: "@webassemblyjs/ast@npm:1.14.1" + dependencies: + "@webassemblyjs/helper-numbers": "npm:1.13.2" + "@webassemblyjs/helper-wasm-bytecode": "npm:1.13.2" + checksum: 10/f83e6abe38057f5d87c1fb356513a371a8b43c9b87657f2790741a66b1ef8ecf958d1391bc42f27c5fb33f58ab8286a38ea849fdd21f433cd4df1307424bab45 + languageName: node + linkType: hard + "@webassemblyjs/floating-point-hex-parser@npm:1.11.6": version: 1.11.6 resolution: "@webassemblyjs/floating-point-hex-parser@npm:1.11.6" @@ -8808,6 +9153,13 @@ __metadata: languageName: node linkType: hard +"@webassemblyjs/floating-point-hex-parser@npm:1.13.2": + version: 1.13.2 + resolution: "@webassemblyjs/floating-point-hex-parser@npm:1.13.2" + checksum: 10/e866ec8433f4a70baa511df5e8f2ebcd6c24f4e2cc6274c7c5aabe2bcce3459ea4680e0f35d450e1f3602acf3913b6b8e4f15069c8cfd34ae8609fb9a7d01795 + languageName: node + linkType: hard + "@webassemblyjs/helper-api-error@npm:1.11.6": version: 1.11.6 resolution: "@webassemblyjs/helper-api-error@npm:1.11.6" @@ -8815,6 +9167,13 @@ __metadata: languageName: node linkType: hard +"@webassemblyjs/helper-api-error@npm:1.13.2": + version: 1.13.2 + resolution: "@webassemblyjs/helper-api-error@npm:1.13.2" + checksum: 10/48b5df7fd3095bb252f59a139fe2cbd999a62ac9b488123e9a0da3906ad8a2f2da7b2eb21d328c01a90da987380928706395c2897d1f3ed9e2125b6d75a920d0 + languageName: node + linkType: hard + "@webassemblyjs/helper-buffer@npm:1.11.6": version: 1.11.6 resolution: "@webassemblyjs/helper-buffer@npm:1.11.6" @@ -8822,6 +9181,13 @@ __metadata: languageName: node linkType: hard +"@webassemblyjs/helper-buffer@npm:1.14.1": + version: 1.14.1 + resolution: "@webassemblyjs/helper-buffer@npm:1.14.1" + checksum: 10/9690afeafa5e765a34620aa6216e9d40f9126d4e37e9726a2594bf60cab6b211ef20ab6670fd3c4449dd4a3497e69e49b2b725c8da0fb213208c7f45f15f5d5b + languageName: node + linkType: hard + "@webassemblyjs/helper-numbers@npm:1.11.6": version: 1.11.6 resolution: "@webassemblyjs/helper-numbers@npm:1.11.6" @@ -8833,6 +9199,17 @@ __metadata: languageName: node linkType: hard +"@webassemblyjs/helper-numbers@npm:1.13.2": + version: 1.13.2 + resolution: "@webassemblyjs/helper-numbers@npm:1.13.2" + dependencies: + "@webassemblyjs/floating-point-hex-parser": "npm:1.13.2" + "@webassemblyjs/helper-api-error": "npm:1.13.2" + "@xtuc/long": "npm:4.2.2" + checksum: 10/e4c7d0b09811e1cda8eec644a022b560b28f4e974f50195375ccd007df5ee48a922a6dcff5ac40b6a8ec850d56d0ea6419318eee49fec7819ede14e90417a6a4 + languageName: node + linkType: hard + "@webassemblyjs/helper-wasm-bytecode@npm:1.11.6": version: 1.11.6 resolution: "@webassemblyjs/helper-wasm-bytecode@npm:1.11.6" @@ -8840,6 +9217,13 @@ __metadata: languageName: node linkType: hard +"@webassemblyjs/helper-wasm-bytecode@npm:1.13.2": + version: 1.13.2 + resolution: "@webassemblyjs/helper-wasm-bytecode@npm:1.13.2" + checksum: 10/3edd191fff7296df1ef3b023bdbe6cb5ea668f6386fd197ccfce46015c6f2a8cc9763cfb86503a0b94973ad27996645afff2252ee39a236513833259a47af6ed + languageName: node + linkType: hard + "@webassemblyjs/helper-wasm-section@npm:1.11.6": version: 1.11.6 resolution: "@webassemblyjs/helper-wasm-section@npm:1.11.6" @@ -8852,6 +9236,18 @@ __metadata: languageName: node linkType: hard +"@webassemblyjs/helper-wasm-section@npm:1.14.1": + version: 1.14.1 + resolution: "@webassemblyjs/helper-wasm-section@npm:1.14.1" + dependencies: + "@webassemblyjs/ast": "npm:1.14.1" + "@webassemblyjs/helper-buffer": "npm:1.14.1" + "@webassemblyjs/helper-wasm-bytecode": "npm:1.13.2" + "@webassemblyjs/wasm-gen": "npm:1.14.1" + checksum: 10/6b73874f906532512371181d7088460f767966f26309e836060c5a8e4e4bfe6d523fb5f4c034b34aa22ebb1192815f95f0e264298769485c1f0980fdd63ae0ce + languageName: node + linkType: hard + "@webassemblyjs/ieee754@npm:1.11.6": version: 1.11.6 resolution: "@webassemblyjs/ieee754@npm:1.11.6" @@ -8861,6 +9257,15 @@ __metadata: languageName: node linkType: hard +"@webassemblyjs/ieee754@npm:1.13.2": + version: 1.13.2 + resolution: "@webassemblyjs/ieee754@npm:1.13.2" + dependencies: + "@xtuc/ieee754": "npm:^1.2.0" + checksum: 10/d7e3520baa37a7309fa7db4d73d69fb869878853b1ebd4b168821bd03fcc4c0e1669c06231315b0039035d9a7a462e53de3ad982da4a426a4b0743b5888e8673 + languageName: node + linkType: hard + "@webassemblyjs/leb128@npm:1.11.6": version: 1.11.6 resolution: "@webassemblyjs/leb128@npm:1.11.6" @@ -8870,6 +9275,15 @@ __metadata: languageName: node linkType: hard +"@webassemblyjs/leb128@npm:1.13.2": + version: 1.13.2 + resolution: "@webassemblyjs/leb128@npm:1.13.2" + dependencies: + "@xtuc/long": "npm:4.2.2" + checksum: 10/3a10542c86807061ec3230bac8ee732289c852b6bceb4b88ebd521a12fbcecec7c432848284b298154f28619e2746efbed19d6904aef06c49ef20a0b85f650cf + languageName: node + linkType: hard + "@webassemblyjs/utf8@npm:1.11.6": version: 1.11.6 resolution: "@webassemblyjs/utf8@npm:1.11.6" @@ -8877,6 +9291,13 @@ __metadata: languageName: node linkType: hard +"@webassemblyjs/utf8@npm:1.13.2": + version: 1.13.2 + resolution: "@webassemblyjs/utf8@npm:1.13.2" + checksum: 10/27885e5d19f339501feb210867d69613f281eda695ac508f04d69fa3398133d05b6870969c0242b054dc05420ed1cc49a64dea4fe0588c18d211cddb0117cc54 + languageName: node + linkType: hard + "@webassemblyjs/wasm-edit@npm:^1.11.5": version: 1.11.6 resolution: "@webassemblyjs/wasm-edit@npm:1.11.6" @@ -8893,6 +9314,22 @@ __metadata: languageName: node linkType: hard +"@webassemblyjs/wasm-edit@npm:^1.14.1": + version: 1.14.1 + resolution: "@webassemblyjs/wasm-edit@npm:1.14.1" + dependencies: + "@webassemblyjs/ast": "npm:1.14.1" + "@webassemblyjs/helper-buffer": "npm:1.14.1" + "@webassemblyjs/helper-wasm-bytecode": "npm:1.13.2" + "@webassemblyjs/helper-wasm-section": "npm:1.14.1" + "@webassemblyjs/wasm-gen": "npm:1.14.1" + "@webassemblyjs/wasm-opt": "npm:1.14.1" + "@webassemblyjs/wasm-parser": "npm:1.14.1" + "@webassemblyjs/wast-printer": "npm:1.14.1" + checksum: 10/c62c50eadcf80876713f8c9f24106b18cf208160ab842fcb92060fd78c37bf37e7fcf0b7cbf1afc05d230277c2ce0f3f728432082c472dd1293e184a95f9dbdd + languageName: node + linkType: hard + "@webassemblyjs/wasm-gen@npm:1.11.6": version: 1.11.6 resolution: "@webassemblyjs/wasm-gen@npm:1.11.6" @@ -8906,6 +9343,19 @@ __metadata: languageName: node linkType: hard +"@webassemblyjs/wasm-gen@npm:1.14.1": + version: 1.14.1 + resolution: "@webassemblyjs/wasm-gen@npm:1.14.1" + dependencies: + "@webassemblyjs/ast": "npm:1.14.1" + "@webassemblyjs/helper-wasm-bytecode": "npm:1.13.2" + "@webassemblyjs/ieee754": "npm:1.13.2" + "@webassemblyjs/leb128": "npm:1.13.2" + "@webassemblyjs/utf8": "npm:1.13.2" + checksum: 10/6085166b0987d3031355fe17a4f9ef0f412e08098d95454059aced2bd72a4c3df2bc099fa4d32d640551fc3eca1ac1a997b44432e46dc9d84642688e42c17ed4 + languageName: node + linkType: hard + "@webassemblyjs/wasm-opt@npm:1.11.6": version: 1.11.6 resolution: "@webassemblyjs/wasm-opt@npm:1.11.6" @@ -8918,6 +9368,18 @@ __metadata: languageName: node linkType: hard +"@webassemblyjs/wasm-opt@npm:1.14.1": + version: 1.14.1 + resolution: "@webassemblyjs/wasm-opt@npm:1.14.1" + dependencies: + "@webassemblyjs/ast": "npm:1.14.1" + "@webassemblyjs/helper-buffer": "npm:1.14.1" + "@webassemblyjs/wasm-gen": "npm:1.14.1" + "@webassemblyjs/wasm-parser": "npm:1.14.1" + checksum: 10/fa5d1ef8d2156e7390927f938f513b7fb4440dd6804b3d6c8622b7b1cf25a3abf1a5809f615896d4918e04b27b52bc3cbcf18faf2d563cb563ae0a9204a492db + languageName: node + linkType: hard + "@webassemblyjs/wasm-parser@npm:1.11.6, @webassemblyjs/wasm-parser@npm:^1.11.5": version: 1.11.6 resolution: "@webassemblyjs/wasm-parser@npm:1.11.6" @@ -8932,6 +9394,20 @@ __metadata: languageName: node linkType: hard +"@webassemblyjs/wasm-parser@npm:1.14.1, @webassemblyjs/wasm-parser@npm:^1.14.1": + version: 1.14.1 + resolution: "@webassemblyjs/wasm-parser@npm:1.14.1" + dependencies: + "@webassemblyjs/ast": "npm:1.14.1" + "@webassemblyjs/helper-api-error": "npm:1.13.2" + "@webassemblyjs/helper-wasm-bytecode": "npm:1.13.2" + "@webassemblyjs/ieee754": "npm:1.13.2" + "@webassemblyjs/leb128": "npm:1.13.2" + "@webassemblyjs/utf8": "npm:1.13.2" + checksum: 10/07d9805fda88a893c984ed93d5a772d20d671e9731358ab61c6c1af8e0e58d1c42fc230c18974dfddebc9d2dd7775d514ba4d445e70080b16478b4b16c39c7d9 + languageName: node + linkType: hard + "@webassemblyjs/wast-printer@npm:1.11.6": version: 1.11.6 resolution: "@webassemblyjs/wast-printer@npm:1.11.6" @@ -8942,6 +9418,16 @@ __metadata: languageName: node linkType: hard +"@webassemblyjs/wast-printer@npm:1.14.1": + version: 1.14.1 + resolution: "@webassemblyjs/wast-printer@npm:1.14.1" + dependencies: + "@webassemblyjs/ast": "npm:1.14.1" + "@xtuc/long": "npm:4.2.2" + checksum: 10/cef09aad2fcd291bfcf9efdae2ea1e961a1ba0f925d1d9dcdd8c746d32fbaf431b6d26a0241699c0e39f82139018aa720b4ceb84ac6f4c78f13072747480db69 + languageName: node + linkType: hard + "@webpack-cli/configtest@npm:^2.1.1": version: 2.1.1 resolution: "@webpack-cli/configtest@npm:2.1.1" @@ -9142,6 +9628,15 @@ __metadata: languageName: node linkType: hard +"acorn@npm:^8.14.0": + version: 8.14.0 + resolution: "acorn@npm:8.14.0" + bin: + acorn: bin/acorn + checksum: 10/6df29c35556782ca9e632db461a7f97947772c6c1d5438a81f0c873a3da3a792487e83e404d1c6c25f70513e91aa18745f6eafb1fcc3a43ecd1920b21dd173d2 + languageName: node + linkType: hard + "aes-js@npm:4.0.0-beta.5": version: 4.0.0-beta.5 resolution: "aes-js@npm:4.0.0-beta.5" @@ -10237,6 +10732,20 @@ __metadata: languageName: node linkType: hard +"browserslist@npm:^4.24.0": + version: 4.24.4 + resolution: "browserslist@npm:4.24.4" + dependencies: + caniuse-lite: "npm:^1.0.30001688" + electron-to-chromium: "npm:^1.5.73" + node-releases: "npm:^2.0.19" + update-browserslist-db: "npm:^1.1.1" + bin: + browserslist: cli.js + checksum: 10/11fda105e803d891311a21a1f962d83599319165faf471c2d70e045dff82a12128f5b50b1fcba665a2352ad66147aaa248a9d2355a80aadc3f53375eb3de2e48 + languageName: node + linkType: hard + "bs-logger@npm:0.x": version: 0.2.6 resolution: "bs-logger@npm:0.2.6" @@ -10522,6 +11031,13 @@ __metadata: languageName: node linkType: hard +"caniuse-lite@npm:^1.0.30001688": + version: 1.0.30001692 + resolution: "caniuse-lite@npm:1.0.30001692" + checksum: 10/92449ec9e9ac6cd8ce7ecc18a8759ae34e4b3ef412acd998714ee9d70dc286bc8d0d6e4917fa454798da9b37667eb5b3b41386bc9d25e4274d0b9c7af8339b0e + languageName: node + linkType: hard + "chainsaw@npm:~0.1.0": version: 0.1.0 resolution: "chainsaw@npm:0.1.0" @@ -12226,9 +12742,16 @@ __metadata: languageName: node linkType: hard +"electron-to-chromium@npm:^1.5.73": + version: 1.5.80 + resolution: "electron-to-chromium@npm:1.5.80" + checksum: 10/fa77236f05d1544d29ed71e3a787ad7d6da250fe0b5fc40aac0fcf46de9cb074d8a90a2b176f2245d2c4f2823b7ec2e95aafb0e29f612895b891d7ccfe43889a + languageName: node + linkType: hard + "elliptic@npm:^6.5.3, elliptic@npm:^6.5.4": - version: 6.5.7 - resolution: "elliptic@npm:6.5.7" + version: 6.6.1 + resolution: "elliptic@npm:6.6.1" dependencies: bn.js: "npm:^4.11.9" brorand: "npm:^1.1.0" @@ -12237,7 +12760,7 @@ __metadata: inherits: "npm:^2.0.4" minimalistic-assert: "npm:^1.0.1" minimalistic-crypto-utils: "npm:^1.0.1" - checksum: 10/fbad1fad0a5cc07df83f80cc1f7a784247ef59075194d3e340eaeb2f4dd594825ee24c7e9b0cf279c9f1982efe610503bb3139737926428c4821d4fca1bcf348 + checksum: 10/dc678c9febd89a219c4008ba3a9abb82237be853d9fd171cd602c8fb5ec39927e65c6b5e7a1b2a4ea82ee8e0ded72275e7932bb2da04a5790c2638b818e4e1c5 languageName: node linkType: hard @@ -12311,6 +12834,16 @@ __metadata: languageName: node linkType: hard +"enhanced-resolve@npm:^5.17.1": + version: 5.18.0 + resolution: "enhanced-resolve@npm:5.18.0" + dependencies: + graceful-fs: "npm:^4.2.4" + tapable: "npm:^2.2.0" + checksum: 10/e88463ef97b68d40d0da0cd0c572e23f43dba0be622d6d44eae5cafed05f0c5dac43e463a83a86c4f70186d029357f82b56d9e1e47e8fc91dce3d6602f8bd6ce + languageName: node + linkType: hard + "entities@npm:^2.0.0": version: 2.2.0 resolution: "entities@npm:2.2.0" @@ -12756,6 +13289,86 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:^0.21.3": + version: 0.21.5 + resolution: "esbuild@npm:0.21.5" + dependencies: + "@esbuild/aix-ppc64": "npm:0.21.5" + "@esbuild/android-arm": "npm:0.21.5" + "@esbuild/android-arm64": "npm:0.21.5" + "@esbuild/android-x64": "npm:0.21.5" + "@esbuild/darwin-arm64": "npm:0.21.5" + "@esbuild/darwin-x64": "npm:0.21.5" + "@esbuild/freebsd-arm64": "npm:0.21.5" + "@esbuild/freebsd-x64": "npm:0.21.5" + "@esbuild/linux-arm": "npm:0.21.5" + "@esbuild/linux-arm64": "npm:0.21.5" + "@esbuild/linux-ia32": "npm:0.21.5" + "@esbuild/linux-loong64": "npm:0.21.5" + "@esbuild/linux-mips64el": "npm:0.21.5" + "@esbuild/linux-ppc64": "npm:0.21.5" + "@esbuild/linux-riscv64": "npm:0.21.5" + "@esbuild/linux-s390x": "npm:0.21.5" + "@esbuild/linux-x64": "npm:0.21.5" + "@esbuild/netbsd-x64": "npm:0.21.5" + "@esbuild/openbsd-x64": "npm:0.21.5" + "@esbuild/sunos-x64": "npm:0.21.5" + "@esbuild/win32-arm64": "npm:0.21.5" + "@esbuild/win32-ia32": "npm:0.21.5" + "@esbuild/win32-x64": "npm:0.21.5" + dependenciesMeta: + "@esbuild/aix-ppc64": + optional: true + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: 10/d2ff2ca84d30cce8e871517374d6c2290835380dc7cd413b2d49189ed170d45e407be14de2cb4794cf76f75cf89955c4714726ebd3de7444b3046f5cab23ab6b + languageName: node + linkType: hard + "esbuild@npm:~0.23.0": version: 0.23.1 resolution: "esbuild@npm:0.23.1" @@ -12846,6 +13459,13 @@ __metadata: languageName: node linkType: hard +"escalade@npm:^3.2.0": + version: 3.2.0 + resolution: "escalade@npm:3.2.0" + checksum: 10/9d7169e3965b2f9ae46971afa392f6e5a25545ea30f2e2dd99c9b0a95a3f52b5653681a84f5b2911a413ddad2d7a93d3514165072f349b5ffc59c75a899970d6 + languageName: node + linkType: hard + "escape-html@npm:^1.0.3, escape-html@npm:~1.0.3": version: 1.0.3 resolution: "escape-html@npm:1.0.3" @@ -14567,7 +15187,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.2, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": +"graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.2, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: 10/bf152d0ed1dc159239db1ba1f74fdbc40cb02f626770dcd5815c427ce0688c2635a06ed69af364396da4636d0408fcf7d4afdf7881724c3307e46aff30ca49e2 @@ -14911,8 +15531,8 @@ __metadata: linkType: hard "http-proxy-middleware@npm:^2.0.3": - version: 2.0.6 - resolution: "http-proxy-middleware@npm:2.0.6" + version: 2.0.7 + resolution: "http-proxy-middleware@npm:2.0.7" dependencies: "@types/http-proxy": "npm:^1.17.8" http-proxy: "npm:^1.18.1" @@ -14924,7 +15544,7 @@ __metadata: peerDependenciesMeta: "@types/express": optional: true - checksum: 10/768e7ae5a422bbf4b866b64105b4c2d1f468916b7b0e9c96750551c7732383069b411aa7753eb7b34eab113e4f77fb770122cb7fb9c8ec87d138d5ddaafda891 + checksum: 10/4a51bf612b752ad945701995c1c029e9501c97e7224c0cf3f8bf6d48d172d6a8f2b57c20fec469534fdcac3aa8a6f332224a33c6b0d7f387aa2cfff9b67216fd languageName: node linkType: hard @@ -17974,7 +18594,7 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.1.31, nanoid@npm:^3.3.6, nanoid@npm:^3.3.8": +"nanoid@npm:^3.3.6, nanoid@npm:^3.3.7, nanoid@npm:^3.3.8": version: 3.3.8 resolution: "nanoid@npm:3.3.8" bin: @@ -17983,6 +18603,15 @@ __metadata: languageName: node linkType: hard +"nanoid@npm:^5.0.9": + version: 5.0.9 + resolution: "nanoid@npm:5.0.9" + bin: + nanoid: bin/nanoid.js + checksum: 10/8a3f9104f81095e3e4785f58caae47a05755599824b8611b9730cbf73db706b664f100e6189f8303f08764f144d499613d8e4a39e83125c53f4b4986d6576621 + languageName: node + linkType: hard + "napi-build-utils@npm:^1.0.1": version: 1.0.2 resolution: "napi-build-utils@npm:1.0.2" @@ -18171,6 +18800,13 @@ __metadata: languageName: node linkType: hard +"node-releases@npm:^2.0.19": + version: 2.0.19 + resolution: "node-releases@npm:2.0.19" + checksum: 10/c2b33b4f0c40445aee56141f13ca692fa6805db88510e5bbb3baadb2da13e1293b738e638e15e4a8eb668bb9e97debb08e7a35409b477b5cc18f171d35a83045 + languageName: node + linkType: hard + "nopt@npm:^5.0.0": version: 5.0.0 resolution: "nopt@npm:5.0.0" @@ -18935,6 +19571,13 @@ __metadata: languageName: node linkType: hard +"picocolors@npm:^1.1.1": + version: 1.1.1 + resolution: "picocolors@npm:1.1.1" + checksum: 10/e1cf46bf84886c79055fdfa9dcb3e4711ad259949e3565154b004b260cd356c5d54b31a1437ce9782624bf766272fe6b0154f5f0c744fb7af5d454d2b60db045 + languageName: node + linkType: hard + "picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.3, picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" @@ -19117,6 +19760,17 @@ __metadata: languageName: node linkType: hard +"postcss@npm:^8.4.43": + version: 8.4.49 + resolution: "postcss@npm:8.4.49" + dependencies: + nanoid: "npm:^3.3.7" + picocolors: "npm:^1.1.1" + source-map-js: "npm:^1.2.1" + checksum: 10/28fe1005b1339870e0a5006375ba5ac1213fd69800f79e7db09c398e074421ba6e162898e94f64942fed554037fd292db3811d87835d25ab5ef7f3c9daacb6ca + languageName: node + linkType: hard + "prebuild-install@npm:^7.1.1": version: 7.1.1 resolution: "prebuild-install@npm:7.1.1" @@ -20471,6 +21125,78 @@ __metadata: languageName: node linkType: hard +"rollup@npm:^4.20.0": + version: 4.30.1 + resolution: "rollup@npm:4.30.1" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.30.1" + "@rollup/rollup-android-arm64": "npm:4.30.1" + "@rollup/rollup-darwin-arm64": "npm:4.30.1" + "@rollup/rollup-darwin-x64": "npm:4.30.1" + "@rollup/rollup-freebsd-arm64": "npm:4.30.1" + "@rollup/rollup-freebsd-x64": "npm:4.30.1" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.30.1" + "@rollup/rollup-linux-arm-musleabihf": "npm:4.30.1" + "@rollup/rollup-linux-arm64-gnu": "npm:4.30.1" + "@rollup/rollup-linux-arm64-musl": "npm:4.30.1" + "@rollup/rollup-linux-loongarch64-gnu": "npm:4.30.1" + "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.30.1" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.30.1" + "@rollup/rollup-linux-s390x-gnu": "npm:4.30.1" + "@rollup/rollup-linux-x64-gnu": "npm:4.30.1" + "@rollup/rollup-linux-x64-musl": "npm:4.30.1" + "@rollup/rollup-win32-arm64-msvc": "npm:4.30.1" + "@rollup/rollup-win32-ia32-msvc": "npm:4.30.1" + "@rollup/rollup-win32-x64-msvc": "npm:4.30.1" + "@types/estree": "npm:1.0.6" + fsevents: "npm:~2.3.2" + dependenciesMeta: + "@rollup/rollup-android-arm-eabi": + optional: true + "@rollup/rollup-android-arm64": + optional: true + "@rollup/rollup-darwin-arm64": + optional: true + "@rollup/rollup-darwin-x64": + optional: true + "@rollup/rollup-freebsd-arm64": + optional: true + "@rollup/rollup-freebsd-x64": + optional: true + "@rollup/rollup-linux-arm-gnueabihf": + optional: true + "@rollup/rollup-linux-arm-musleabihf": + optional: true + "@rollup/rollup-linux-arm64-gnu": + optional: true + "@rollup/rollup-linux-arm64-musl": + optional: true + "@rollup/rollup-linux-loongarch64-gnu": + optional: true + "@rollup/rollup-linux-powerpc64le-gnu": + optional: true + "@rollup/rollup-linux-riscv64-gnu": + optional: true + "@rollup/rollup-linux-s390x-gnu": + optional: true + "@rollup/rollup-linux-x64-gnu": + optional: true + "@rollup/rollup-linux-x64-musl": + optional: true + "@rollup/rollup-win32-arm64-msvc": + optional: true + "@rollup/rollup-win32-ia32-msvc": + optional: true + "@rollup/rollup-win32-x64-msvc": + optional: true + fsevents: + optional: true + bin: + rollup: dist/bin/rollup + checksum: 10/f5d240a76a8c3cd7918f7dc97b7eaec5d97d27b3901e3843f74e18b4e9195c77abe8aa61575cd64ad7897f6a6dea6c68a7ad1a8073e3cf3139529e9fa7d06c2b + languageName: node + linkType: hard + "root@workspace:.": version: 0.0.0-use.local resolution: "root@workspace:." @@ -20517,7 +21243,7 @@ __metadata: ts-node: "npm:^10.9.1" tsx: "npm:^4.19.1" typescript: "npm:~5.3.3" - vite: "npm:^4.3.9" + vite: "npm:^5.1.8" languageName: unknown linkType: soft @@ -20645,6 +21371,18 @@ __metadata: languageName: node linkType: hard +"schema-utils@npm:^4.3.0": + version: 4.3.0 + resolution: "schema-utils@npm:4.3.0" + dependencies: + "@types/json-schema": "npm:^7.0.9" + ajv: "npm:^8.9.0" + ajv-formats: "npm:^2.1.1" + ajv-keywords: "npm:^5.1.0" + checksum: 10/86c5a7c72a275c56f140bc3cdd832d56efb11428c88ad588127db12cb9b2c83ccaa9540e115d7baa9c6175b5e360094457e29c44e6fb76787c9498c2eb6df5d6 + languageName: node + linkType: hard + "select-hose@npm:^2.0.0": version: 2.0.0 resolution: "select-hose@npm:2.0.0" @@ -20743,6 +21481,15 @@ __metadata: languageName: node linkType: hard +"serialize-javascript@npm:^6.0.2": + version: 6.0.2 + resolution: "serialize-javascript@npm:6.0.2" + dependencies: + randombytes: "npm:^2.1.0" + checksum: 10/445a420a6fa2eaee4b70cbd884d538e259ab278200a2ededd73253ada17d5d48e91fb1f4cd224a236ab62ea7ba0a70c6af29fc93b4f3d3078bf7da1c031fde58 + languageName: node + linkType: hard + "serve-handler@npm:^6.1.5": version: 6.1.6 resolution: "serve-handler@npm:6.1.6" @@ -21122,6 +21869,13 @@ __metadata: languageName: node linkType: hard +"source-map-js@npm:^1.2.1": + version: 1.2.1 + resolution: "source-map-js@npm:1.2.1" + checksum: 10/ff9d8c8bf096d534a5b7707e0382ef827b4dd360a577d3f34d2b9f48e12c9d230b5747974ee7c607f0df65113732711bb701fe9ece3c7edbd43cb2294d707df3 + languageName: node + linkType: hard + "source-map-support@npm:0.5.13": version: 0.5.13 resolution: "source-map-support@npm:0.5.13" @@ -21793,6 +22547,28 @@ __metadata: languageName: node linkType: hard +"terser-webpack-plugin@npm:^5.3.10": + version: 5.3.11 + resolution: "terser-webpack-plugin@npm:5.3.11" + dependencies: + "@jridgewell/trace-mapping": "npm:^0.3.25" + jest-worker: "npm:^27.4.5" + schema-utils: "npm:^4.3.0" + serialize-javascript: "npm:^6.0.2" + terser: "npm:^5.31.1" + peerDependencies: + webpack: ^5.1.0 + peerDependenciesMeta: + "@swc/core": + optional: true + esbuild: + optional: true + uglify-js: + optional: true + checksum: 10/a8f7c92c75aa42628adfa4d171d4695c366c1852ecb4a24e72dd6fec86e383e12ac24b627e798fedff4e213c21fe851cebc61be3ab5a2537e6e42bea46690aa3 + languageName: node + linkType: hard + "terser-webpack-plugin@npm:^5.3.7, terser-webpack-plugin@npm:^5.3.9": version: 5.3.9 resolution: "terser-webpack-plugin@npm:5.3.9" @@ -21829,6 +22605,20 @@ __metadata: languageName: node linkType: hard +"terser@npm:^5.31.1": + version: 5.37.0 + resolution: "terser@npm:5.37.0" + dependencies: + "@jridgewell/source-map": "npm:^0.3.3" + acorn: "npm:^8.8.2" + commander: "npm:^2.20.0" + source-map-support: "npm:~0.5.20" + bin: + terser: bin/terser + checksum: 10/3afacf7c38c47a5a25dbe1ba2e7aafd61166474d4377ec0af490bd41ab3686ab12679818d5fe4a3e7f76efee26f639c92ac334940c378bbc31176520a38379c3 + languageName: node + linkType: hard + "test-exclude@npm:^6.0.0": version: 6.0.0 resolution: "test-exclude@npm:6.0.0" @@ -22540,6 +23330,20 @@ __metadata: languageName: node linkType: hard +"update-browserslist-db@npm:^1.1.1": + version: 1.1.2 + resolution: "update-browserslist-db@npm:1.1.2" + dependencies: + escalade: "npm:^3.2.0" + picocolors: "npm:^1.1.1" + peerDependencies: + browserslist: ">= 4.21.0" + bin: + update-browserslist-db: cli.js + checksum: 10/e7bf8221dfb21eba4a770cd803df94625bb04f65a706aa94c567de9600fe4eb6133fda016ec471dad43b9e7959c1bffb6580b5e20a87808d2e8a13e3892699a9 + languageName: node + linkType: hard + "uqr@npm:^0.1.2": version: 0.1.2 resolution: "uqr@npm:0.1.2" @@ -22774,19 +23578,20 @@ __metadata: languageName: node linkType: hard -"vite@npm:^4.3.9": - version: 4.5.5 - resolution: "vite@npm:4.5.5" +"vite@npm:^5.1.8": + version: 5.4.11 + resolution: "vite@npm:5.4.11" dependencies: - esbuild: "npm:^0.18.10" - fsevents: "npm:~2.3.2" - postcss: "npm:^8.4.27" - rollup: "npm:^3.27.1" + esbuild: "npm:^0.21.3" + fsevents: "npm:~2.3.3" + postcss: "npm:^8.4.43" + rollup: "npm:^4.20.0" peerDependencies: - "@types/node": ">= 14" + "@types/node": ^18.0.0 || >=20.0.0 less: "*" lightningcss: ^1.21.0 sass: "*" + sass-embedded: "*" stylus: "*" sugarss: "*" terser: ^5.4.0 @@ -22802,6 +23607,8 @@ __metadata: optional: true sass: optional: true + sass-embedded: + optional: true stylus: optional: true sugarss: @@ -22810,7 +23617,7 @@ __metadata: optional: true bin: vite: bin/vite.js - checksum: 10/2e8b39e004f2b2e72506b816700b3aafaf3f85bdcb9dd9392075bb234ce7333f859a0d2078a85ce5d0039f0f659ca564a7366af587848e5166f14b136cb0ad37 + checksum: 10/719c4dea896e9547958643354003c8c9ea98e5367196d98f5f46cffb3ec963fead3ea5853f5af941c79bbfb73583dec19bbb0d28d2f644b95d7f59c55e22919d languageName: node linkType: hard @@ -22911,6 +23718,16 @@ __metadata: languageName: node linkType: hard +"watchpack@npm:^2.4.1": + version: 2.4.2 + resolution: "watchpack@npm:2.4.2" + dependencies: + glob-to-regexp: "npm:^0.4.1" + graceful-fs: "npm:^4.1.2" + checksum: 10/6bd4c051d9af189a6c781c3158dcb3069f432a0c144159eeb0a44117412105c61b2b683a5c9eebc4324625e0e9b76536387d0ba354594fa6cbbdf1ef60bee4c3 + languageName: node + linkType: hard + "wbuf@npm:^1.1.0, wbuf@npm:^1.7.3": version: 1.7.3 resolution: "wbuf@npm:1.7.3" @@ -23198,6 +24015,42 @@ __metadata: languageName: node linkType: hard +"webpack@npm:^5.94.0": + version: 5.97.1 + resolution: "webpack@npm:5.97.1" + dependencies: + "@types/eslint-scope": "npm:^3.7.7" + "@types/estree": "npm:^1.0.6" + "@webassemblyjs/ast": "npm:^1.14.1" + "@webassemblyjs/wasm-edit": "npm:^1.14.1" + "@webassemblyjs/wasm-parser": "npm:^1.14.1" + acorn: "npm:^8.14.0" + browserslist: "npm:^4.24.0" + chrome-trace-event: "npm:^1.0.2" + enhanced-resolve: "npm:^5.17.1" + es-module-lexer: "npm:^1.2.1" + eslint-scope: "npm:5.1.1" + events: "npm:^3.2.0" + glob-to-regexp: "npm:^0.4.1" + graceful-fs: "npm:^4.2.11" + json-parse-even-better-errors: "npm:^2.3.1" + loader-runner: "npm:^4.2.0" + mime-types: "npm:^2.1.27" + neo-async: "npm:^2.6.2" + schema-utils: "npm:^3.2.0" + tapable: "npm:^2.1.1" + terser-webpack-plugin: "npm:^5.3.10" + watchpack: "npm:^2.4.1" + webpack-sources: "npm:^3.2.3" + peerDependenciesMeta: + webpack-cli: + optional: true + bin: + webpack: bin/webpack.js + checksum: 10/665bd3b8c84b20f0b1f250159865e4d3e9b76c682030313d49124d5f8e96357ccdcc799dd9fe0ebf010fdb33dbc59d9863d79676a308e868e360ac98f7c09987 + languageName: node + linkType: hard + "websocket-driver@npm:>=0.5.1, websocket-driver@npm:^0.7.4": version: 0.7.4 resolution: "websocket-driver@npm:0.7.4" From b02d45f975576f715838b348ef3d9217834bd226 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Mon, 13 Jan 2025 17:27:14 +0100 Subject: [PATCH 02/10] Update Webpack plugin --- .../src/__snapshots__/plugin.test.ts.snap | 2 -- packages/snaps-webpack-plugin/src/plugin.test.ts | 4 ++-- packages/snaps-webpack-plugin/src/plugin.ts | 11 +++++------ 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/packages/snaps-webpack-plugin/src/__snapshots__/plugin.test.ts.snap b/packages/snaps-webpack-plugin/src/__snapshots__/plugin.test.ts.snap index 5f34f4b5a1..b5b3ac1423 100644 --- a/packages/snaps-webpack-plugin/src/__snapshots__/plugin.test.ts.snap +++ b/packages/snaps-webpack-plugin/src/__snapshots__/plugin.test.ts.snap @@ -2,7 +2,6 @@ exports[`SnapsWebpackPlugin applies a transform 1`] = ` "(() => { - var __webpack_exports__ = {}; const foo = 'bar'; })();" `; @@ -10,7 +9,6 @@ exports[`SnapsWebpackPlugin applies a transform 1`] = ` exports[`SnapsWebpackPlugin forwards the options 1`] = ` "/******/(() => { // webpackBootstrap - var __webpack_exports__ = {}; // foo bar /* baz qux */ diff --git a/packages/snaps-webpack-plugin/src/plugin.test.ts b/packages/snaps-webpack-plugin/src/plugin.test.ts index 0b80589a97..2814f3bdbe 100644 --- a/packages/snaps-webpack-plugin/src/plugin.test.ts +++ b/packages/snaps-webpack-plugin/src/plugin.test.ts @@ -61,8 +61,8 @@ const bundle = async ({ ...webpackOptions, }); - bundler.inputFileSystem = fileSystem; - bundler.outputFileSystem = fileSystem; + bundler.inputFileSystem = fileSystem as unknown as webpack.InputFileSystem; + bundler.outputFileSystem = fileSystem as unknown as webpack.OutputFileSystem; await fs.mkdir('/lib', { recursive: true }); await fs.writeFile('/foo.js', code); diff --git a/packages/snaps-webpack-plugin/src/plugin.ts b/packages/snaps-webpack-plugin/src/plugin.ts index 89cf240b12..c397d9b579 100644 --- a/packages/snaps-webpack-plugin/src/plugin.ts +++ b/packages/snaps-webpack-plugin/src/plugin.ts @@ -128,8 +128,11 @@ export default class SnapsWebpackPlugin { const filePath = pathUtils.join(outputPath, file.name); + const fs = compiler.outputFileSystem; + assert(fs, 'Expected compiler to have an output file system.'); + const bundleFile = await promisify( - compiler.outputFileSystem.readFile.bind(compiler.outputFileSystem), + fs.readFile.bind(compiler.outputFileSystem), )(filePath); assert(bundleFile); @@ -148,11 +151,7 @@ export default class SnapsWebpackPlugin { updateAndWriteManifest: this.options.writeManifest, sourceCode: bundleContent, writeFileFn: async (path, data) => { - return writeManifest( - path, - data, - promisify(compiler.outputFileSystem.writeFile), - ); + return writeManifest(path, data, promisify(fs.writeFile)); }, }, ); From cbfb12887cb9fb5c6c4fcb6c3c47a3ca77bb4906 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Mon, 13 Jan 2025 17:32:52 +0100 Subject: [PATCH 03/10] Revert nanoid bump --- packages/snaps-controllers/package.json | 2 +- .../snaps-execution-environments/package.json | 2 +- yarn.lock | 459 +----------------- 3 files changed, 21 insertions(+), 442 deletions(-) diff --git a/packages/snaps-controllers/package.json b/packages/snaps-controllers/package.json index 9c861bb320..641b9fb1e1 100644 --- a/packages/snaps-controllers/package.json +++ b/packages/snaps-controllers/package.json @@ -102,7 +102,7 @@ "get-npm-tarball-url": "^2.0.3", "immer": "^9.0.6", "luxon": "^3.5.0", - "nanoid": "^5.0.9", + "nanoid": "^3.3.8", "readable-stream": "^3.6.2", "readable-web-to-node-stream": "^3.0.2", "semver": "^7.5.4", diff --git a/packages/snaps-execution-environments/package.json b/packages/snaps-execution-environments/package.json index 0a2d692e52..9a7beebbed 100644 --- a/packages/snaps-execution-environments/package.json +++ b/packages/snaps-execution-environments/package.json @@ -73,7 +73,7 @@ "@metamask/snaps-utils": "workspace:^", "@metamask/superstruct": "^3.1.0", "@metamask/utils": "^11.0.1", - "nanoid": "^5.0.9", + "nanoid": "^3.3.8", "readable-stream": "^3.6.2" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 5533de7646..9395344355 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3851,14 +3851,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/resolve-uri@npm:3.1.0, @jridgewell/resolve-uri@npm:^3.0.3": - version: 3.1.0 - resolution: "@jridgewell/resolve-uri@npm:3.1.0" - checksum: 10/320ceb37af56953757b28e5b90c34556157676d41e3d0a3ff88769274d62373582bb0f0276a4f2d29c3f4fdd55b82b8be5731f52d391ad2ecae9b321ee1c742d - languageName: node - linkType: hard - -"@jridgewell/resolve-uri@npm:^3.1.0": +"@jridgewell/resolve-uri@npm:^3.0.3, @jridgewell/resolve-uri@npm:^3.1.0": version: 3.1.2 resolution: "@jridgewell/resolve-uri@npm:3.1.2" checksum: 10/97106439d750a409c22c8bff822d648f6a71f3aa9bc8e5129efdc36343cd3096ddc4eeb1c62d2fe48e9bdd4db37b05d4646a17114ecebd3bbcacfa2de51c3c1d @@ -3882,21 +3875,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/sourcemap-codec@npm:1.4.14": - version: 1.4.14 - resolution: "@jridgewell/sourcemap-codec@npm:1.4.14" - checksum: 10/26e768fae6045481a983e48aa23d8fcd23af5da70ebd74b0649000e815e7fbb01ea2bc088c9176b3fffeb9bec02184e58f46125ef3320b30eaa1f4094cfefa38 - languageName: node - linkType: hard - -"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.13, @jridgewell/sourcemap-codec@npm:^1.4.15": - version: 1.4.15 - resolution: "@jridgewell/sourcemap-codec@npm:1.4.15" - checksum: 10/89960ac087781b961ad918978975bcdf2051cd1741880469783c42de64239703eab9db5230d776d8e6a09d73bb5e4cb964e07d93ee6e2e7aea5a7d726e865c09 - languageName: node - linkType: hard - -"@jridgewell/sourcemap-codec@npm:^1.4.14": +"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.13, @jridgewell/sourcemap-codec@npm:^1.4.14, @jridgewell/sourcemap-codec@npm:^1.4.15": version: 1.5.0 resolution: "@jridgewell/sourcemap-codec@npm:1.5.0" checksum: 10/4ed6123217569a1484419ac53f6ea0d9f3b57e5b57ab30d7c267bdb27792a27eb0e4b08e84a2680aa55cc2f2b411ffd6ec3db01c44fdc6dc43aca4b55f8374fd @@ -3913,17 +3892,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.15, @jridgewell/trace-mapping@npm:^0.3.17, @jridgewell/trace-mapping@npm:^0.3.9": - version: 0.3.17 - resolution: "@jridgewell/trace-mapping@npm:0.3.17" - dependencies: - "@jridgewell/resolve-uri": "npm:3.1.0" - "@jridgewell/sourcemap-codec": "npm:1.4.14" - checksum: 10/790d439c9b271d9fc381dc4a837393ab942920245efedd5db20f65a665c0f778637fa623573337d3241ff784ffdb6724bbadf7fa2b61666bcd4884064b02f113 - languageName: node - linkType: hard - -"@jridgewell/trace-mapping@npm:^0.3.25": +"@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.15, @jridgewell/trace-mapping@npm:^0.3.17, @jridgewell/trace-mapping@npm:^0.3.25, @jridgewell/trace-mapping@npm:^0.3.9": version: 0.3.25 resolution: "@jridgewell/trace-mapping@npm:0.3.25" dependencies: @@ -5963,7 +5932,7 @@ __metadata: jest-silent-reporter: "npm:^0.6.0" luxon: "npm:^3.5.0" mkdirp: "npm:^1.0.4" - nanoid: "npm:^5.0.9" + nanoid: "npm:^3.3.8" prettier: "npm:^2.8.8" prettier-plugin-packagejson: "npm:^2.5.2" readable-stream: "npm:^3.6.2" @@ -6050,7 +6019,7 @@ __metadata: jest-silent-reporter: "npm:^0.6.0" lavamoat: "npm:^8.0.4" lavamoat-browserify: "npm:^17.0.5" - nanoid: "npm:^5.0.9" + nanoid: "npm:^3.3.8" prettier: "npm:^2.8.8" prettier-plugin-packagejson: "npm:^2.5.2" readable-stream: "npm:^3.6.2" @@ -7994,16 +7963,6 @@ __metadata: languageName: node linkType: hard -"@types/eslint-scope@npm:^3.7.3": - version: 3.7.3 - resolution: "@types/eslint-scope@npm:3.7.3" - dependencies: - "@types/eslint": "npm:*" - "@types/estree": "npm:*" - checksum: 10/6772b05e1b92003d1f295e81bc847a61f4fbe8ddab77ffa49e84ed3f9552513bdde677eb53ef167753901282857dd1d604d9f82eddb34a233495932b2dc3dc17 - languageName: node - linkType: hard - "@types/eslint-scope@npm:^3.7.7": version: 3.7.7 resolution: "@types/eslint-scope@npm:3.7.7" @@ -8024,14 +7983,7 @@ __metadata: languageName: node linkType: hard -"@types/estree@npm:*, @types/estree@npm:^1.0.0": - version: 1.0.5 - resolution: "@types/estree@npm:1.0.5" - checksum: 10/7de6d928dd4010b0e20c6919e1a6c27b61f8d4567befa89252055fad503d587ecb9a1e3eab1b1901f923964d7019796db810b7fd6430acb26c32866d126fd408 - languageName: node - linkType: hard - -"@types/estree@npm:1.0.6, @types/estree@npm:^1.0.6": +"@types/estree@npm:*, @types/estree@npm:1.0.6, @types/estree@npm:^1.0.0, @types/estree@npm:^1.0.6": version: 1.0.6 resolution: "@types/estree@npm:1.0.6" checksum: 10/9d35d475095199c23e05b431bcdd1f6fec7380612aed068b14b2a08aa70494de8a9026765a5a91b1073f636fb0368f6d8973f518a31391d519e20c59388ed88d @@ -9126,16 +9078,6 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/ast@npm:1.11.6, @webassemblyjs/ast@npm:^1.11.5": - version: 1.11.6 - resolution: "@webassemblyjs/ast@npm:1.11.6" - dependencies: - "@webassemblyjs/helper-numbers": "npm:1.11.6" - "@webassemblyjs/helper-wasm-bytecode": "npm:1.11.6" - checksum: 10/4c1303971ccd5188731c9b01073d9738333f37b946a48c4e049f7b788706cdc66f473cd6f3e791423a94c52a3b2230d070007930d29bccbce238b23835839f3c - languageName: node - linkType: hard - "@webassemblyjs/ast@npm:1.14.1, @webassemblyjs/ast@npm:^1.14.1": version: 1.14.1 resolution: "@webassemblyjs/ast@npm:1.14.1" @@ -9146,13 +9088,6 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/floating-point-hex-parser@npm:1.11.6": - version: 1.11.6 - resolution: "@webassemblyjs/floating-point-hex-parser@npm:1.11.6" - checksum: 10/29b08758841fd8b299c7152eda36b9eb4921e9c584eb4594437b5cd90ed6b920523606eae7316175f89c20628da14326801090167cc7fbffc77af448ac84b7e2 - languageName: node - linkType: hard - "@webassemblyjs/floating-point-hex-parser@npm:1.13.2": version: 1.13.2 resolution: "@webassemblyjs/floating-point-hex-parser@npm:1.13.2" @@ -9160,13 +9095,6 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/helper-api-error@npm:1.11.6": - version: 1.11.6 - resolution: "@webassemblyjs/helper-api-error@npm:1.11.6" - checksum: 10/e8563df85161096343008f9161adb138a6e8f3c2cc338d6a36011aa55eabb32f2fd138ffe63bc278d009ada001cc41d263dadd1c0be01be6c2ed99076103689f - languageName: node - linkType: hard - "@webassemblyjs/helper-api-error@npm:1.13.2": version: 1.13.2 resolution: "@webassemblyjs/helper-api-error@npm:1.13.2" @@ -9174,13 +9102,6 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/helper-buffer@npm:1.11.6": - version: 1.11.6 - resolution: "@webassemblyjs/helper-buffer@npm:1.11.6" - checksum: 10/b14d0573bf680d22b2522e8a341ec451fddd645d1f9c6bd9012ccb7e587a2973b86ab7b89fe91e1c79939ba96095f503af04369a3b356c8023c13a5893221644 - languageName: node - linkType: hard - "@webassemblyjs/helper-buffer@npm:1.14.1": version: 1.14.1 resolution: "@webassemblyjs/helper-buffer@npm:1.14.1" @@ -9188,17 +9109,6 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/helper-numbers@npm:1.11.6": - version: 1.11.6 - resolution: "@webassemblyjs/helper-numbers@npm:1.11.6" - dependencies: - "@webassemblyjs/floating-point-hex-parser": "npm:1.11.6" - "@webassemblyjs/helper-api-error": "npm:1.11.6" - "@xtuc/long": "npm:4.2.2" - checksum: 10/9ffd258ad809402688a490fdef1fd02222f20cdfe191c895ac215a331343292164e5033dbc0347f0f76f2447865c0b5c2d2e3304ee948d44f7aa27857028fd08 - languageName: node - linkType: hard - "@webassemblyjs/helper-numbers@npm:1.13.2": version: 1.13.2 resolution: "@webassemblyjs/helper-numbers@npm:1.13.2" @@ -9210,13 +9120,6 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/helper-wasm-bytecode@npm:1.11.6": - version: 1.11.6 - resolution: "@webassemblyjs/helper-wasm-bytecode@npm:1.11.6" - checksum: 10/4ebf03e9c1941288c10e94e0f813f413f972bfaa1f09be2cc2e5577f300430906b61aa24d52f5ef2f894e8e24e61c6f7c39871d7e3d98bc69460e1b8e00bb20b - languageName: node - linkType: hard - "@webassemblyjs/helper-wasm-bytecode@npm:1.13.2": version: 1.13.2 resolution: "@webassemblyjs/helper-wasm-bytecode@npm:1.13.2" @@ -9224,18 +9127,6 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/helper-wasm-section@npm:1.11.6": - version: 1.11.6 - resolution: "@webassemblyjs/helper-wasm-section@npm:1.11.6" - dependencies: - "@webassemblyjs/ast": "npm:1.11.6" - "@webassemblyjs/helper-buffer": "npm:1.11.6" - "@webassemblyjs/helper-wasm-bytecode": "npm:1.11.6" - "@webassemblyjs/wasm-gen": "npm:1.11.6" - checksum: 10/38a615ab3d55f953daaf78b69f145e2cc1ff5288ab71715d1a164408b735c643a87acd7e7ba3e9633c5dd965439a45bb580266b05a06b22ff678d6c013514108 - languageName: node - linkType: hard - "@webassemblyjs/helper-wasm-section@npm:1.14.1": version: 1.14.1 resolution: "@webassemblyjs/helper-wasm-section@npm:1.14.1" @@ -9248,15 +9139,6 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/ieee754@npm:1.11.6": - version: 1.11.6 - resolution: "@webassemblyjs/ieee754@npm:1.11.6" - dependencies: - "@xtuc/ieee754": "npm:^1.2.0" - checksum: 10/13574b8e41f6ca39b700e292d7edf102577db5650fe8add7066a320aa4b7a7c09a5056feccac7a74eb68c10dea9546d4461412af351f13f6b24b5f32379b49de - languageName: node - linkType: hard - "@webassemblyjs/ieee754@npm:1.13.2": version: 1.13.2 resolution: "@webassemblyjs/ieee754@npm:1.13.2" @@ -9266,15 +9148,6 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/leb128@npm:1.11.6": - version: 1.11.6 - resolution: "@webassemblyjs/leb128@npm:1.11.6" - dependencies: - "@xtuc/long": "npm:4.2.2" - checksum: 10/ec3b72db0e7ce7908fe08ec24395bfc97db486063824c0edc580f0973a4cfbadf30529569d9c7db663a56513e45b94299cca03be9e1992ea3308bb0744164f3d - languageName: node - linkType: hard - "@webassemblyjs/leb128@npm:1.13.2": version: 1.13.2 resolution: "@webassemblyjs/leb128@npm:1.13.2" @@ -9284,13 +9157,6 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/utf8@npm:1.11.6": - version: 1.11.6 - resolution: "@webassemblyjs/utf8@npm:1.11.6" - checksum: 10/361a537bd604101b320a5604c3c96d1038d83166f1b9fb86cedadc7e81bae54c3785ae5d90bf5b1842f7da08194ccaf0f44a64fcca0cbbd6afe1a166196986d6 - languageName: node - linkType: hard - "@webassemblyjs/utf8@npm:1.13.2": version: 1.13.2 resolution: "@webassemblyjs/utf8@npm:1.13.2" @@ -9298,22 +9164,6 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/wasm-edit@npm:^1.11.5": - version: 1.11.6 - resolution: "@webassemblyjs/wasm-edit@npm:1.11.6" - dependencies: - "@webassemblyjs/ast": "npm:1.11.6" - "@webassemblyjs/helper-buffer": "npm:1.11.6" - "@webassemblyjs/helper-wasm-bytecode": "npm:1.11.6" - "@webassemblyjs/helper-wasm-section": "npm:1.11.6" - "@webassemblyjs/wasm-gen": "npm:1.11.6" - "@webassemblyjs/wasm-opt": "npm:1.11.6" - "@webassemblyjs/wasm-parser": "npm:1.11.6" - "@webassemblyjs/wast-printer": "npm:1.11.6" - checksum: 10/c168bfc6d0cdd371345f36f95a4766d098a96ccc1257e6a6e3a74d987a5c4f2ddd2244a6aecfa5d032a47d74ed2c3b579e00a314d31e4a0b76ad35b31cdfa162 - languageName: node - linkType: hard - "@webassemblyjs/wasm-edit@npm:^1.14.1": version: 1.14.1 resolution: "@webassemblyjs/wasm-edit@npm:1.14.1" @@ -9330,19 +9180,6 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/wasm-gen@npm:1.11.6": - version: 1.11.6 - resolution: "@webassemblyjs/wasm-gen@npm:1.11.6" - dependencies: - "@webassemblyjs/ast": "npm:1.11.6" - "@webassemblyjs/helper-wasm-bytecode": "npm:1.11.6" - "@webassemblyjs/ieee754": "npm:1.11.6" - "@webassemblyjs/leb128": "npm:1.11.6" - "@webassemblyjs/utf8": "npm:1.11.6" - checksum: 10/f91903506ce50763592863df5d80ffee80f71a1994a882a64cdb83b5e44002c715f1ef1727d8ccb0692d066af34d3d4f5e59e8f7a4e2eeb2b7c32692ac44e363 - languageName: node - linkType: hard - "@webassemblyjs/wasm-gen@npm:1.14.1": version: 1.14.1 resolution: "@webassemblyjs/wasm-gen@npm:1.14.1" @@ -9356,18 +9193,6 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/wasm-opt@npm:1.11.6": - version: 1.11.6 - resolution: "@webassemblyjs/wasm-opt@npm:1.11.6" - dependencies: - "@webassemblyjs/ast": "npm:1.11.6" - "@webassemblyjs/helper-buffer": "npm:1.11.6" - "@webassemblyjs/wasm-gen": "npm:1.11.6" - "@webassemblyjs/wasm-parser": "npm:1.11.6" - checksum: 10/e0cfeea381ecbbd0ca1616e9a08974acfe7fc81f8a16f9f2d39f565dc51784dd7043710b6e972f9968692d273e32486b9a8a82ca178d4bd520b2d5e2cf28234d - languageName: node - linkType: hard - "@webassemblyjs/wasm-opt@npm:1.14.1": version: 1.14.1 resolution: "@webassemblyjs/wasm-opt@npm:1.14.1" @@ -9380,20 +9205,6 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/wasm-parser@npm:1.11.6, @webassemblyjs/wasm-parser@npm:^1.11.5": - version: 1.11.6 - resolution: "@webassemblyjs/wasm-parser@npm:1.11.6" - dependencies: - "@webassemblyjs/ast": "npm:1.11.6" - "@webassemblyjs/helper-api-error": "npm:1.11.6" - "@webassemblyjs/helper-wasm-bytecode": "npm:1.11.6" - "@webassemblyjs/ieee754": "npm:1.11.6" - "@webassemblyjs/leb128": "npm:1.11.6" - "@webassemblyjs/utf8": "npm:1.11.6" - checksum: 10/6995e0b7b8ebc52b381459c6a555f87763dcd3975c4a112407682551e1c73308db7af23385972a253dceb5af94e76f9c97cb861e8239b5ed1c3e79b95d8e2097 - languageName: node - linkType: hard - "@webassemblyjs/wasm-parser@npm:1.14.1, @webassemblyjs/wasm-parser@npm:^1.14.1": version: 1.14.1 resolution: "@webassemblyjs/wasm-parser@npm:1.14.1" @@ -9408,16 +9219,6 @@ __metadata: languageName: node linkType: hard -"@webassemblyjs/wast-printer@npm:1.11.6": - version: 1.11.6 - resolution: "@webassemblyjs/wast-printer@npm:1.11.6" - dependencies: - "@webassemblyjs/ast": "npm:1.11.6" - "@xtuc/long": "npm:4.2.2" - checksum: 10/fd45fd0d693141d678cc2f6ff2d3a0d7a8884acb1c92fb0c63cf43b7978e9560be04118b12792638a39dd185640453510229e736f3049037d0c361f6435f2d5f - languageName: node - linkType: hard - "@webassemblyjs/wast-printer@npm:1.14.1": version: 1.14.1 resolution: "@webassemblyjs/wast-printer@npm:1.14.1" @@ -9567,15 +9368,6 @@ __metadata: languageName: node linkType: hard -"acorn-import-assertions@npm:^1.9.0": - version: 1.9.0 - resolution: "acorn-import-assertions@npm:1.9.0" - peerDependencies: - acorn: ^8 - checksum: 10/af8dd58f6b0c6a43e85849744534b99f2133835c6fcdabda9eea27d0a0da625a0d323c4793ba7cb25cf4507609d0f747c210ccc2fc9b5866de04b0e59c9c5617 - languageName: node - linkType: hard - "acorn-jsx@npm:^5.3.2": version: 5.3.2 resolution: "acorn-jsx@npm:5.3.2" @@ -9619,16 +9411,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.1.0, acorn@npm:^8.10.0, acorn@npm:^8.4.1, acorn@npm:^8.7.1, acorn@npm:^8.8.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0": - version: 8.12.1 - resolution: "acorn@npm:8.12.1" - bin: - acorn: bin/acorn - checksum: 10/d08c2d122bba32d0861e0aa840b2ee25946c286d5dc5990abca991baf8cdbfbe199b05aacb221b979411a2fea36f83e26b5ac4f6b4e0ce49038c62316c1848f0 - languageName: node - linkType: hard - -"acorn@npm:^8.14.0": +"acorn@npm:^8.1.0, acorn@npm:^8.10.0, acorn@npm:^8.14.0, acorn@npm:^8.4.1, acorn@npm:^8.8.1, acorn@npm:^8.8.2, acorn@npm:^8.9.0": version: 8.14.0 resolution: "acorn@npm:8.14.0" bin: @@ -10718,21 +10501,7 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.14.5, browserslist@npm:^4.21.9, browserslist@npm:^4.22.1": - version: 4.22.1 - resolution: "browserslist@npm:4.22.1" - dependencies: - caniuse-lite: "npm:^1.0.30001541" - electron-to-chromium: "npm:^1.4.535" - node-releases: "npm:^2.0.13" - update-browserslist-db: "npm:^1.0.13" - bin: - browserslist: cli.js - checksum: 10/4a515168e0589c7b1ccbf13a93116ce0418cc5e65d228ec036022cf0e08773fdfb732e2abbf1e1188b96d19ecd4dd707504e75b6d393cba2782fc7d6a7fdefe8 - languageName: node - linkType: hard - -"browserslist@npm:^4.24.0": +"browserslist@npm:^4.21.9, browserslist@npm:^4.22.1, browserslist@npm:^4.24.0": version: 4.24.4 resolution: "browserslist@npm:4.24.4" dependencies: @@ -11024,13 +10793,6 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001541": - version: 1.0.30001550 - resolution: "caniuse-lite@npm:1.0.30001550" - checksum: 10/a5a475bff94109d326760deabb214f9234e908697d12c5d96b4a6fe6f2e960a0d16451df1188fa4d69bff5b5bd6d3de5eb792fd7dfdffb613685223ce9a43567 - languageName: node - linkType: hard - "caniuse-lite@npm:^1.0.30001688": version: 1.0.30001692 resolution: "caniuse-lite@npm:1.0.30001692" @@ -12735,13 +12497,6 @@ __metadata: languageName: node linkType: hard -"electron-to-chromium@npm:^1.4.535": - version: 1.4.557 - resolution: "electron-to-chromium@npm:1.4.557" - checksum: 10/e0e391c1149b006545555d484f4cc33072bdecb14dd68b95ef3ae449601edad7671d0cd6988bd5f1889c6c29b30e20c999b987bdd7116f8efbacab3cf6d42891 - languageName: node - linkType: hard - "electron-to-chromium@npm:^1.5.73": version: 1.5.80 resolution: "electron-to-chromium@npm:1.5.80" @@ -12824,17 +12579,7 @@ __metadata: languageName: node linkType: hard -"enhanced-resolve@npm:^5.15.0, enhanced-resolve@npm:^5.7.0": - version: 5.15.0 - resolution: "enhanced-resolve@npm:5.15.0" - dependencies: - graceful-fs: "npm:^4.2.4" - tapable: "npm:^2.2.0" - checksum: 10/180c3f2706f9117bf4dc7982e1df811dad83a8db075723f299245ef4488e0cad7e96859c5f0e410682d28a4ecd4da021ec7d06265f7e4eb6eed30c69ca5f7d3e - languageName: node - linkType: hard - -"enhanced-resolve@npm:^5.17.1": +"enhanced-resolve@npm:^5.17.1, enhanced-resolve@npm:^5.7.0": version: 5.18.0 resolution: "enhanced-resolve@npm:5.18.0" dependencies: @@ -13452,14 +13197,7 @@ __metadata: languageName: node linkType: hard -"escalade@npm:^3.1.1": - version: 3.1.1 - resolution: "escalade@npm:3.1.1" - checksum: 10/afa618e73362576b63f6ca83c975456621095a1ed42ff068174e3f5cea48afc422814dda548c96e6ebb5333e7265140c7292abcc81bbd6ccb1757d50d3a4e182 - languageName: node - linkType: hard - -"escalade@npm:^3.2.0": +"escalade@npm:^3.1.1, escalade@npm:^3.2.0": version: 3.2.0 resolution: "escalade@npm:3.2.0" checksum: 10/9d7169e3965b2f9ae46971afa392f6e5a25545ea30f2e2dd99c9b0a95a3f52b5653681a84f5b2911a413ddad2d7a93d3514165072f349b5ffc59c75a899970d6 @@ -18594,7 +18332,7 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^3.3.6, nanoid@npm:^3.3.7, nanoid@npm:^3.3.8": +"nanoid@npm:^3.3.7, nanoid@npm:^3.3.8": version: 3.3.8 resolution: "nanoid@npm:3.3.8" bin: @@ -18603,15 +18341,6 @@ __metadata: languageName: node linkType: hard -"nanoid@npm:^5.0.9": - version: 5.0.9 - resolution: "nanoid@npm:5.0.9" - bin: - nanoid: bin/nanoid.js - checksum: 10/8a3f9104f81095e3e4785f58caae47a05755599824b8611b9730cbf73db706b664f100e6189f8303f08764f144d499613d8e4a39e83125c53f4b4986d6576621 - languageName: node - linkType: hard - "napi-build-utils@npm:^1.0.1": version: 1.0.2 resolution: "napi-build-utils@npm:1.0.2" @@ -18793,13 +18522,6 @@ __metadata: languageName: node linkType: hard -"node-releases@npm:^2.0.13": - version: 2.0.13 - resolution: "node-releases@npm:2.0.13" - checksum: 10/c9bb813aab2717ff8b3015ecd4c7c5670a5546e9577699a7c84e8d69230cd3b1ce8f863f8e9b50f18b19a5ffa4b9c1a706bbbfe4c378de955fedbab04488a338 - languageName: node - linkType: hard - "node-releases@npm:^2.0.19": version: 2.0.19 resolution: "node-releases@npm:2.0.19" @@ -19564,14 +19286,7 @@ __metadata: languageName: node linkType: hard -"picocolors@npm:^1.0.0": - version: 1.0.0 - resolution: "picocolors@npm:1.0.0" - checksum: 10/a2e8092dd86c8396bdba9f2b5481032848525b3dc295ce9b57896f931e63fc16f79805144321f72976383fc249584672a75cc18d6777c6b757603f372f745981 - languageName: node - linkType: hard - -"picocolors@npm:^1.1.1": +"picocolors@npm:^1.0.0, picocolors@npm:^1.1.1": version: 1.1.1 resolution: "picocolors@npm:1.1.1" checksum: 10/e1cf46bf84886c79055fdfa9dcb3e4711ad259949e3565154b004b260cd356c5d54b31a1437ce9782624bf766272fe6b0154f5f0c744fb7af5d454d2b60db045 @@ -19749,18 +19464,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.1.10, postcss@npm:^8.4.21, postcss@npm:^8.4.27": - version: 8.4.31 - resolution: "postcss@npm:8.4.31" - dependencies: - nanoid: "npm:^3.3.6" - picocolors: "npm:^1.0.0" - source-map-js: "npm:^1.0.2" - checksum: 10/1a6653e72105907377f9d4f2cd341d8d90e3fde823a5ddea1e2237aaa56933ea07853f0f2758c28892a1d70c53bbaca200eb8b80f8ed55f13093003dbec5afa0 - languageName: node - linkType: hard - -"postcss@npm:^8.4.43": +"postcss@npm:^8.1.10, postcss@npm:^8.4.21, postcss@npm:^8.4.27, postcss@npm:^8.4.43": version: 8.4.49 resolution: "postcss@npm:8.4.49" dependencies: @@ -21359,19 +21063,7 @@ __metadata: languageName: node linkType: hard -"schema-utils@npm:^4.0.0": - version: 4.0.1 - resolution: "schema-utils@npm:4.0.1" - dependencies: - "@types/json-schema": "npm:^7.0.9" - ajv: "npm:^8.9.0" - ajv-formats: "npm:^2.1.1" - ajv-keywords: "npm:^5.1.0" - checksum: 10/f439ffa1eb8fc0893526181202b1e1869a1474a10dfc7fb634d160056510763efa29f1cad480abc1d4659b7725ac9b65438d87c3304c6cb42e54aee4cbe3049e - languageName: node - linkType: hard - -"schema-utils@npm:^4.3.0": +"schema-utils@npm:^4.0.0, schema-utils@npm:^4.3.0": version: 4.3.0 resolution: "schema-utils@npm:4.3.0" dependencies: @@ -21472,16 +21164,7 @@ __metadata: languageName: node linkType: hard -"serialize-javascript@npm:^6.0.0, serialize-javascript@npm:^6.0.1": - version: 6.0.1 - resolution: "serialize-javascript@npm:6.0.1" - dependencies: - randombytes: "npm:^2.1.0" - checksum: 10/f756b1ff34b655b2183c64dd6683d28d4d9b9a80284b264cac9fd421c73890491eafd6c5c2bbe93f1f21bf78b572037c5a18d24b044c317ee1c9dc44d22db94c - languageName: node - linkType: hard - -"serialize-javascript@npm:^6.0.2": +"serialize-javascript@npm:^6.0.0, serialize-javascript@npm:^6.0.1, serialize-javascript@npm:^6.0.2": version: 6.0.2 resolution: "serialize-javascript@npm:6.0.2" dependencies: @@ -21862,14 +21545,7 @@ __metadata: languageName: node linkType: hard -"source-map-js@npm:^1.0.2": - version: 1.0.2 - resolution: "source-map-js@npm:1.0.2" - checksum: 10/38e2d2dd18d2e331522001fc51b54127ef4a5d473f53b1349c5cca2123562400e0986648b52e9407e348eaaed53bce49248b6e2641e6d793ca57cb2c360d6d51 - languageName: node - linkType: hard - -"source-map-js@npm:^1.2.1": +"source-map-js@npm:^1.0.2, source-map-js@npm:^1.2.1": version: 1.2.1 resolution: "source-map-js@npm:1.2.1" checksum: 10/ff9d8c8bf096d534a5b7707e0382ef827b4dd360a577d3f34d2b9f48e12c9d230b5747974ee7c607f0df65113732711bb701fe9ece3c7edbd43cb2294d707df3 @@ -22547,7 +22223,7 @@ __metadata: languageName: node linkType: hard -"terser-webpack-plugin@npm:^5.3.10": +"terser-webpack-plugin@npm:^5.3.10, terser-webpack-plugin@npm:^5.3.9": version: 5.3.11 resolution: "terser-webpack-plugin@npm:5.3.11" dependencies: @@ -22569,43 +22245,7 @@ __metadata: languageName: node linkType: hard -"terser-webpack-plugin@npm:^5.3.7, terser-webpack-plugin@npm:^5.3.9": - version: 5.3.9 - resolution: "terser-webpack-plugin@npm:5.3.9" - dependencies: - "@jridgewell/trace-mapping": "npm:^0.3.17" - jest-worker: "npm:^27.4.5" - schema-utils: "npm:^3.1.1" - serialize-javascript: "npm:^6.0.1" - terser: "npm:^5.16.8" - peerDependencies: - webpack: ^5.1.0 - peerDependenciesMeta: - "@swc/core": - optional: true - esbuild: - optional: true - uglify-js: - optional: true - checksum: 10/339737a407e034b7a9d4a66e31d84d81c10433e41b8eae2ca776f0e47c2048879be482a9aa08e8c27565a2a949bc68f6e07f451bf4d9aa347dd61b3d000f5353 - languageName: node - linkType: hard - -"terser@npm:^5.10.0, terser@npm:^5.16.8, terser@npm:^5.17.4, terser@npm:^5.17.7": - version: 5.18.0 - resolution: "terser@npm:5.18.0" - dependencies: - "@jridgewell/source-map": "npm:^0.3.3" - acorn: "npm:^8.8.2" - commander: "npm:^2.20.0" - source-map-support: "npm:~0.5.20" - bin: - terser: bin/terser - checksum: 10/26f30bdddbd17f1e379081c8e1081f97ed1f919d591a6f6806aaced19c306c739ef0d8a7e748f5dbe8e0e44a6f2f8234bf2f9a0b78b14ed9d0ab004b3ce87236 - languageName: node - linkType: hard - -"terser@npm:^5.31.1": +"terser@npm:^5.10.0, terser@npm:^5.17.4, terser@npm:^5.17.7, terser@npm:^5.31.1": version: 5.37.0 resolution: "terser@npm:5.37.0" dependencies: @@ -23316,20 +22956,6 @@ __metadata: languageName: node linkType: hard -"update-browserslist-db@npm:^1.0.13": - version: 1.0.13 - resolution: "update-browserslist-db@npm:1.0.13" - dependencies: - escalade: "npm:^3.1.1" - picocolors: "npm:^1.0.0" - peerDependencies: - browserslist: ">= 4.21.0" - bin: - update-browserslist-db: cli.js - checksum: 10/9074b4ef34d2ed931f27d390aafdd391ee7c45ad83c508e8fed6aaae1eb68f81999a768ed8525c6f88d4001a4fbf1b8c0268f099d0e8e72088ec5945ac796acf - languageName: node - linkType: hard - "update-browserslist-db@npm:^1.1.1": version: 1.1.2 resolution: "update-browserslist-db@npm:1.1.2" @@ -23708,16 +23334,6 @@ __metadata: languageName: node linkType: hard -"watchpack@npm:^2.4.0": - version: 2.4.0 - resolution: "watchpack@npm:2.4.0" - dependencies: - glob-to-regexp: "npm:^0.4.1" - graceful-fs: "npm:^4.1.2" - checksum: 10/4280b45bc4b5d45d5579113f2a4af93b67ae1b9607cc3d86ae41cdd53ead10db5d9dc3237f24256d05ef88b28c69a02712f78e434cb7ecc8edaca134a56e8cab - languageName: node - linkType: hard - "watchpack@npm:^2.4.1": version: 2.4.2 resolution: "watchpack@npm:2.4.2" @@ -23978,44 +23594,7 @@ __metadata: languageName: node linkType: hard -"webpack@npm:^5.88.0": - version: 5.88.0 - resolution: "webpack@npm:5.88.0" - dependencies: - "@types/eslint-scope": "npm:^3.7.3" - "@types/estree": "npm:^1.0.0" - "@webassemblyjs/ast": "npm:^1.11.5" - "@webassemblyjs/wasm-edit": "npm:^1.11.5" - "@webassemblyjs/wasm-parser": "npm:^1.11.5" - acorn: "npm:^8.7.1" - acorn-import-assertions: "npm:^1.9.0" - browserslist: "npm:^4.14.5" - chrome-trace-event: "npm:^1.0.2" - enhanced-resolve: "npm:^5.15.0" - es-module-lexer: "npm:^1.2.1" - eslint-scope: "npm:5.1.1" - events: "npm:^3.2.0" - glob-to-regexp: "npm:^0.4.1" - graceful-fs: "npm:^4.2.9" - json-parse-even-better-errors: "npm:^2.3.1" - loader-runner: "npm:^4.2.0" - mime-types: "npm:^2.1.27" - neo-async: "npm:^2.6.2" - schema-utils: "npm:^3.2.0" - tapable: "npm:^2.1.1" - terser-webpack-plugin: "npm:^5.3.7" - watchpack: "npm:^2.4.0" - webpack-sources: "npm:^3.2.3" - peerDependenciesMeta: - webpack-cli: - optional: true - bin: - webpack: bin/webpack.js - checksum: 10/2d54e7e3863a34eb4233c9bafaefd417a06c3aef95cd61d5054d0cd7f774be77105ff57b1e2ee2c422ec1e5fb731295d63331b6a45c41807bba4c080e559cb8b - languageName: node - linkType: hard - -"webpack@npm:^5.94.0": +"webpack@npm:^5.88.0, webpack@npm:^5.94.0": version: 5.97.1 resolution: "webpack@npm:5.97.1" dependencies: From 43205b0574dec336bccc5a5d997b9aa1c3fb4671 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Tue, 14 Jan 2025 11:41:34 +0100 Subject: [PATCH 04/10] Fix another type error --- .../snaps-cli/src/commands/watch/implementation.ts | 6 ++++++ packages/snaps-cli/src/webpack/plugins.ts | 10 ++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/packages/snaps-cli/src/commands/watch/implementation.ts b/packages/snaps-cli/src/commands/watch/implementation.ts index e7e540ed62..d9b8660854 100644 --- a/packages/snaps-cli/src/commands/watch/implementation.ts +++ b/packages/snaps-cli/src/commands/watch/implementation.ts @@ -1,3 +1,4 @@ +import { assert } from '@metamask/utils'; import { basename } from 'path'; import type { Watching } from 'webpack'; @@ -39,6 +40,11 @@ export async function watch( return; } + assert( + compiler.watching, + 'Expected `compiler.watching` to be defined.', + ); + resolve(compiler.watching); }, ); diff --git a/packages/snaps-cli/src/webpack/plugins.ts b/packages/snaps-cli/src/webpack/plugins.ts index ca90580c7e..307fa2b953 100644 --- a/packages/snaps-cli/src/webpack/plugins.ts +++ b/packages/snaps-cli/src/webpack/plugins.ts @@ -5,7 +5,6 @@ import type { Ora } from 'ora'; import type { Compiler, ProvidePlugin, - ResolvePluginInstance, Resolver, StatsError, WebpackPluginInstance, @@ -231,6 +230,13 @@ export class SnapsWatchPlugin implements WebpackPluginInstance { } } +/** + * Webpack's resolver plugin interface, which is not exported by Webpack. + */ +type ResolverPlugin = { + apply: (resolver: Resolver) => void; +}; + /** * The options for the {@link SnapsBuiltInResolver}. */ @@ -247,7 +253,7 @@ export type SnapsBuiltInResolverOptions = { * plugin is used to warn the user when they try to import a built-in module, * when no fallback is configured. */ -export class SnapsBuiltInResolver implements ResolvePluginInstance { +export class SnapsBuiltInResolver implements ResolverPlugin { /** * The built-in modules that have been imported, but not resolved. */ From ae2a96816c4dcd73fef17f2496e8936ddcfb9788 Mon Sep 17 00:00:00 2001 From: MetaMask Bot Date: Tue, 14 Jan 2025 10:47:56 +0000 Subject: [PATCH 05/10] Update LavaMoat policies --- .../lavamoat/build-system/policy.json | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) diff --git a/packages/snaps-execution-environments/lavamoat/build-system/policy.json b/packages/snaps-execution-environments/lavamoat/build-system/policy.json index f9ca500bbc..85261f2013 100644 --- a/packages/snaps-execution-environments/lavamoat/build-system/policy.json +++ b/packages/snaps-execution-environments/lavamoat/build-system/policy.json @@ -157,6 +157,7 @@ "path.basename": true, "path.dirname": true, "path.join": true, + "path.relative": true, "path.resolve": true }, "globals": { @@ -2369,8 +2370,8 @@ "define": true }, "packages": { - "terser>@jridgewell/source-map>@jridgewell/trace-mapping>@jridgewell/resolve-uri": true, - "terser>@jridgewell/source-map>@jridgewell/trace-mapping>@jridgewell/sourcemap-codec": true + "terser>@jridgewell/source-map>@jridgewell/gen-mapping>@jridgewell/sourcemap-codec": true, + "terser>@jridgewell/source-map>@jridgewell/trace-mapping>@jridgewell/resolve-uri": true } }, "terser>@jridgewell/source-map>@jridgewell/trace-mapping>@jridgewell/resolve-uri": { @@ -2378,13 +2379,6 @@ "define": true } }, - "terser>@jridgewell/source-map>@jridgewell/trace-mapping>@jridgewell/sourcemap-codec": { - "globals": { - "Buffer": true, - "TextDecoder": true, - "define": true - } - }, "terser>acorn": { "globals": { "console": true, @@ -2397,13 +2391,8 @@ } }, "vite>postcss>picocolors": { - "builtin": { - "tty.isatty": true - }, "globals": { - "process.argv.includes": true, - "process.env": true, - "process.platform": true + "process": true } }, "yargs": { From cfed4a1543ba410a2f6e0281c8d04981ba81ebdb Mon Sep 17 00:00:00 2001 From: MetaMask Bot Date: Tue, 14 Jan 2025 10:47:57 +0000 Subject: [PATCH 06/10] Update example snaps --- packages/examples/packages/bip32/snap.manifest.json | 4 ++-- packages/examples/packages/bip44/snap.manifest.json | 4 ++-- .../examples/packages/browserify-plugin/snap.manifest.json | 4 ++-- packages/examples/packages/browserify/snap.manifest.json | 4 ++-- packages/examples/packages/client-status/snap.manifest.json | 4 ++-- packages/examples/packages/cronjobs/snap.manifest.json | 6 +++--- packages/examples/packages/dialogs/snap.manifest.json | 4 ++-- packages/examples/packages/errors/snap.manifest.json | 4 ++-- .../examples/packages/ethereum-provider/snap.manifest.json | 6 +++--- packages/examples/packages/ethers-js/snap.manifest.json | 4 ++-- packages/examples/packages/file-upload/snap.manifest.json | 4 ++-- packages/examples/packages/get-entropy/snap.manifest.json | 4 ++-- packages/examples/packages/get-file/snap.manifest.json | 4 ++-- packages/examples/packages/home-page/snap.manifest.json | 4 ++-- packages/examples/packages/images/snap.manifest.json | 4 ++-- .../examples/packages/interactive-ui/snap.manifest.json | 4 ++-- .../invoke-snap/packages/consumer-signer/snap.manifest.json | 4 ++-- .../invoke-snap/packages/core-signer/snap.manifest.json | 4 ++-- packages/examples/packages/json-rpc/snap.manifest.json | 4 ++-- packages/examples/packages/jsx/snap.manifest.json | 4 ++-- .../examples/packages/lifecycle-hooks/snap.manifest.json | 4 ++-- packages/examples/packages/localization/snap.manifest.json | 4 ++-- packages/examples/packages/manage-state/snap.manifest.json | 6 +++--- packages/examples/packages/name-lookup/snap.manifest.json | 4 ++-- .../examples/packages/network-access/snap.manifest.json | 4 ++-- packages/examples/packages/notifications/snap.manifest.json | 6 +++--- packages/examples/packages/preinstalled/snap.manifest.json | 4 ++-- packages/examples/packages/rollup-plugin/snap.manifest.json | 4 ++-- packages/examples/packages/send-flow/snap.manifest.json | 4 ++-- .../examples/packages/signature-insights/snap.manifest.json | 4 ++-- .../packages/transaction-insights/snap.manifest.json | 4 ++-- packages/examples/packages/wasm/snap.manifest.json | 4 ++-- .../examples/packages/webpack-plugin/snap.manifest.json | 4 ++-- 33 files changed, 70 insertions(+), 70 deletions(-) diff --git a/packages/examples/packages/bip32/snap.manifest.json b/packages/examples/packages/bip32/snap.manifest.json index 8e4cb79a31..c9f69b3402 100644 --- a/packages/examples/packages/bip32/snap.manifest.json +++ b/packages/examples/packages/bip32/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "ojW3Hm/UhUzUs35jVfoI9+xEsy0zoVLFzfZGZ3dgZeQ=", + "shasum": "pTu8li1yS1Yi8BVEQqCAzI/TUQVHi4HpMTSL2weKo9U=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -43,6 +43,6 @@ } ] }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/bip44/snap.manifest.json b/packages/examples/packages/bip44/snap.manifest.json index f044129c0e..9d2bce6a53 100644 --- a/packages/examples/packages/bip44/snap.manifest.json +++ b/packages/examples/packages/bip44/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "kYRZmgdWbCe5U9mK1DBn4r1eh2VFI6TBolStHsYnwqQ=", + "shasum": "Nnsq/Hx0gjE6gpMl6cVxzv2/fbiFehX8IXwPboOr0Z4=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -31,6 +31,6 @@ } ] }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/browserify-plugin/snap.manifest.json b/packages/examples/packages/browserify-plugin/snap.manifest.json index 9f578fd779..85264e4c59 100644 --- a/packages/examples/packages/browserify-plugin/snap.manifest.json +++ b/packages/examples/packages/browserify-plugin/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "jyM2N8Y8sIxLacv1mwtPh41wGSt9lWsBNbFo9CSx7mM=", + "shasum": "VLL7J8JE/MX0j3B7FCAGtrJ/LYXYSnq88hKUr8mMfFQ=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -21,6 +21,6 @@ "dapps": true } }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/browserify/snap.manifest.json b/packages/examples/packages/browserify/snap.manifest.json index 0cc9ff36db..b84b8557e9 100644 --- a/packages/examples/packages/browserify/snap.manifest.json +++ b/packages/examples/packages/browserify/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "qHCkTRpYoHUFtt9Dd0nxQyw7Eblv0e5znQ39NszlJOo=", + "shasum": "mAFLwxqRmE5DHBRs1/nOM91YpcmeEHkyqksRrXTgjJY=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -21,6 +21,6 @@ "dapps": true } }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/client-status/snap.manifest.json b/packages/examples/packages/client-status/snap.manifest.json index e8b471c470..dc5645d488 100644 --- a/packages/examples/packages/client-status/snap.manifest.json +++ b/packages/examples/packages/client-status/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "arWIxnocunv/5esPgYG068vzZzyBxg/FcbiDILeyLCs=", + "shasum": "iOOC/e30UG8TYvTx0Alg6FBQpDkOrijo9u/MHs5BwVc=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -22,6 +22,6 @@ "snaps": false } }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/cronjobs/snap.manifest.json b/packages/examples/packages/cronjobs/snap.manifest.json index bc19026b22..d900779bad 100644 --- a/packages/examples/packages/cronjobs/snap.manifest.json +++ b/packages/examples/packages/cronjobs/snap.manifest.json @@ -1,5 +1,5 @@ { - "version": "2.2.0", + "version": "2.1.4", "description": "MetaMask example snap demonstrating the use of cronjobs in snaps.", "proposedName": "Cronjob Example Snap", "repository": { @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "B0eoXOpzU2Cts5d42w11AdvgClmS/une3zXQ9vHnJgU=", + "shasum": "9jPe6O2yqiVdqBTTgX08/73DRFJcbm073dBtgTnwZdw=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -34,6 +34,6 @@ "snap_dialog": {}, "snap_notify": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/dialogs/snap.manifest.json b/packages/examples/packages/dialogs/snap.manifest.json index 9ba7d3c293..00b0290c2c 100644 --- a/packages/examples/packages/dialogs/snap.manifest.json +++ b/packages/examples/packages/dialogs/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "6IGgmJV+Gc1jdmr4M+Gc0SHBfu2Ieuq3QFCIa5t7vYY=", + "shasum": "W1XM2M1ruUOdhH1MrzKybLJEpddTLK+tPtdZkNkI7eg=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -22,6 +22,6 @@ }, "snap_dialog": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/errors/snap.manifest.json b/packages/examples/packages/errors/snap.manifest.json index bce9fa38ec..fecb230486 100644 --- a/packages/examples/packages/errors/snap.manifest.json +++ b/packages/examples/packages/errors/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "UOVWInK9Rcy0j2EcPkwtgutBE7GqPAtIOhMWXaIFBJs=", + "shasum": "lyj5zGWzg8mL6sHvpnfWWsy/pFj3B1IHWsFkymFrPwY=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -21,6 +21,6 @@ "dapps": true } }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/ethereum-provider/snap.manifest.json b/packages/examples/packages/ethereum-provider/snap.manifest.json index 0efca68758..b8a6ea8eec 100644 --- a/packages/examples/packages/ethereum-provider/snap.manifest.json +++ b/packages/examples/packages/ethereum-provider/snap.manifest.json @@ -1,5 +1,5 @@ { - "version": "2.2.0", + "version": "2.1.3", "description": "MetaMask example snap demonstrating the use of the Ethereum Provider API and `endowment:ethereum-provider` permission.", "proposedName": "Ethereum Provider Example Snap", "repository": { @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "T/7hin+Vhg0SdK8RxXvonPhkTRe/luTzGwqfWrH/8MQ=", + "shasum": "FsPqLx3GiiJ0r6WhdSSlBWXzdzB2v7fCQhL5g3VcU+4=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -22,6 +22,6 @@ }, "endowment:ethereum-provider": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/ethers-js/snap.manifest.json b/packages/examples/packages/ethers-js/snap.manifest.json index ad366d1e4e..6c9f675f53 100644 --- a/packages/examples/packages/ethers-js/snap.manifest.json +++ b/packages/examples/packages/ethers-js/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "U4iQEpD4FcKBClMoFgESj8aVZy/io4bR3T3xC8D1J/c=", + "shasum": "Z7r7HBbiLe4JWtTY7hpRlwHoudyUUBOuSRLJeAgsoQg=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -23,6 +23,6 @@ "snap_dialog": {}, "snap_getEntropy": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/file-upload/snap.manifest.json b/packages/examples/packages/file-upload/snap.manifest.json index d9960ea0d7..df7e9ea40a 100644 --- a/packages/examples/packages/file-upload/snap.manifest.json +++ b/packages/examples/packages/file-upload/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "U5/rIXgTqaoXVudqfJyK1cglKFXyLKKal+hj4mk+i0g=", + "shasum": "e7ARKNwla04EPqqULqYXH3/2dd9NXeWN3cVQgeewQgY=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -24,6 +24,6 @@ "snap_dialog": {}, "snap_manageState": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/get-entropy/snap.manifest.json b/packages/examples/packages/get-entropy/snap.manifest.json index 177ef7b231..b8c90c4aad 100644 --- a/packages/examples/packages/get-entropy/snap.manifest.json +++ b/packages/examples/packages/get-entropy/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "vFbFG/f0wOk+xcAypUssW9LJST38Ul9Oq4fZRaHq50E=", + "shasum": "JP69ZAhJwQOye5DfDZ7G99eBcBsXP8y/3+uOGMPLccM=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -23,6 +23,6 @@ "snap_dialog": {}, "snap_getEntropy": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/get-file/snap.manifest.json b/packages/examples/packages/get-file/snap.manifest.json index 57183b0dcd..801c1fdde7 100644 --- a/packages/examples/packages/get-file/snap.manifest.json +++ b/packages/examples/packages/get-file/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "IkhZaFe3JhsDGcjO+/2CettMLck0yQUby8I13U2BUpU=", + "shasum": "DWKQO3L9q5zlc3QXNAv13j3PAjZus5UoOTDxo/aLMt0=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -22,6 +22,6 @@ "dapps": true } }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/home-page/snap.manifest.json b/packages/examples/packages/home-page/snap.manifest.json index 7ff8322a15..5c5732e1b3 100644 --- a/packages/examples/packages/home-page/snap.manifest.json +++ b/packages/examples/packages/home-page/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "Z0ZFlsmVKHo2lrZKpCfrdLUjUe7kuXHUxqd4vm277nI=", + "shasum": "CFGW+27A/rdqLpqq4wGQ1nPhbRgle8Ojvu5rhVcYwq4=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -19,6 +19,6 @@ "initialPermissions": { "endowment:page-home": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/images/snap.manifest.json b/packages/examples/packages/images/snap.manifest.json index 0ac660a010..3036c183ae 100644 --- a/packages/examples/packages/images/snap.manifest.json +++ b/packages/examples/packages/images/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "qDnkVe1UEihxCX8jKtc5kU6Xsz2mszjC9abLo9gxyqQ=", + "shasum": "u1Jb/ukWn+WrtF6xmm8xr+UeasJRmJq4Pcvf6TVocbg=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -23,6 +23,6 @@ }, "snap_dialog": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/interactive-ui/snap.manifest.json b/packages/examples/packages/interactive-ui/snap.manifest.json index 96a8738c8a..0de53caea5 100644 --- a/packages/examples/packages/interactive-ui/snap.manifest.json +++ b/packages/examples/packages/interactive-ui/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "7hLctw66Qa64WB7Y1kdJnqQFIkPt5hYvdNj9l/00E78=", + "shasum": "PdafTqIrnxZ5hQ8E818sCq29qNR9lGIfpSBFADCBXQ4=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -25,6 +25,6 @@ "endowment:transaction-insight": {}, "endowment:page-home": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/invoke-snap/packages/consumer-signer/snap.manifest.json b/packages/examples/packages/invoke-snap/packages/consumer-signer/snap.manifest.json index 5b9b23bf40..3da192fbed 100644 --- a/packages/examples/packages/invoke-snap/packages/consumer-signer/snap.manifest.json +++ b/packages/examples/packages/invoke-snap/packages/consumer-signer/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "G6qDbbY6gfcNXbwavYeLOcX5dZRXGrzR4OVtIMWizwg=", + "shasum": "8OztmgSa+mir5ILh9oIiQqfGVt84ilBjVus58aURezY=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -21,6 +21,6 @@ "dapps": true } }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/invoke-snap/packages/core-signer/snap.manifest.json b/packages/examples/packages/invoke-snap/packages/core-signer/snap.manifest.json index 66e2bc1f8f..1e901ffa31 100644 --- a/packages/examples/packages/invoke-snap/packages/core-signer/snap.manifest.json +++ b/packages/examples/packages/invoke-snap/packages/core-signer/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "UMY4+tvOkzhxFhBE7v1hIpSANISaTCM6BcjwniuxKUc=", + "shasum": "5YpYX3b3wdRQEjPd2lUeNsNK7FwiflxMLCCPYtDeLnQ=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -23,6 +23,6 @@ "snap_dialog": {}, "snap_manageState": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/json-rpc/snap.manifest.json b/packages/examples/packages/json-rpc/snap.manifest.json index 8b326402b7..cdfe7100ad 100644 --- a/packages/examples/packages/json-rpc/snap.manifest.json +++ b/packages/examples/packages/json-rpc/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "4i/96yKvEMlwjGd6BvcuYwwGtol1YZEZTZ2dOcGOtxs=", + "shasum": "oo2p+8mKi9+oFQRSWkxrTP2ywmLLlKniRZH3fo4QerA=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -26,6 +26,6 @@ } } }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/jsx/snap.manifest.json b/packages/examples/packages/jsx/snap.manifest.json index 46329ffb93..6ee8552a83 100644 --- a/packages/examples/packages/jsx/snap.manifest.json +++ b/packages/examples/packages/jsx/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "TN8Dci3rNymh4EFBhXvzqbfzTGIDjemAF1WrqTXbkGQ=", + "shasum": "rKFGdqwl8CFzuKD74v7t9dy5LdtghbGhWvLJypb9q6Y=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -23,6 +23,6 @@ "snap_dialog": {}, "snap_manageState": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/lifecycle-hooks/snap.manifest.json b/packages/examples/packages/lifecycle-hooks/snap.manifest.json index b3cb1e5a42..542ac07fc6 100644 --- a/packages/examples/packages/lifecycle-hooks/snap.manifest.json +++ b/packages/examples/packages/lifecycle-hooks/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "p52kcbuuauq3MOOOV4ktx7DowKimNx95d1q4aR5gAJQ=", + "shasum": "McEJrD53+nBoIBkWhIildkVeao7ip2Ld5V2tsEopkXw=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -20,6 +20,6 @@ "snap_dialog": {}, "endowment:lifecycle-hooks": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/localization/snap.manifest.json b/packages/examples/packages/localization/snap.manifest.json index a1a192a81e..9755ff3b36 100644 --- a/packages/examples/packages/localization/snap.manifest.json +++ b/packages/examples/packages/localization/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "hE4IbH9CWs7QS8JnUWsReyG3TuZG9Z00/K2kCRsfID4=", + "shasum": "A0xIwrgOfM4T7yJOByu+druczGcD+9rQot4fDEwiDNs=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -23,6 +23,6 @@ }, "snap_getPreferences": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/manage-state/snap.manifest.json b/packages/examples/packages/manage-state/snap.manifest.json index 3bbbef315c..1b0041115a 100644 --- a/packages/examples/packages/manage-state/snap.manifest.json +++ b/packages/examples/packages/manage-state/snap.manifest.json @@ -1,5 +1,5 @@ { - "version": "3.0.0", + "version": "2.2.3", "description": "MetaMask example snap demonstrating the use of `snap_manageState`.", "proposedName": "Manage State Example Snap", "repository": { @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "9n3dGpYT/s9CwkwfGTkOgMA8jvrkLg9KVP2Y/KsrWkg=", + "shasum": "CF0IoPiYmgKNDjd7m04xVDO39rPI8O0QesAfZ4KJ0gA=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -22,6 +22,6 @@ }, "snap_manageState": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/name-lookup/snap.manifest.json b/packages/examples/packages/name-lookup/snap.manifest.json index 6f0b373724..7160bb0915 100644 --- a/packages/examples/packages/name-lookup/snap.manifest.json +++ b/packages/examples/packages/name-lookup/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "+hSYtYA/3RFNyYURc1luWrNPrnQ3sqVAi0HDenCJsAE=", + "shasum": "AN945iZwXls+vi1x58UXKZ8qXXpj8SaP+kVMKCzdIYI=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -21,6 +21,6 @@ "chains": ["eip155:1"] } }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/network-access/snap.manifest.json b/packages/examples/packages/network-access/snap.manifest.json index 603e3373ca..7856c1d64b 100644 --- a/packages/examples/packages/network-access/snap.manifest.json +++ b/packages/examples/packages/network-access/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "FLqA/O/vfM7Cbv07OMjLbf5wnJ6xiDVOicRc62DN6Dw=", + "shasum": "9kWzfBhzqVN98IbktMmiCNnMPsr3ETmjKGLxgNmLz68=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -23,6 +23,6 @@ }, "endowment:network-access": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/notifications/snap.manifest.json b/packages/examples/packages/notifications/snap.manifest.json index 6af0136d2a..aa01ccd9f8 100644 --- a/packages/examples/packages/notifications/snap.manifest.json +++ b/packages/examples/packages/notifications/snap.manifest.json @@ -1,5 +1,5 @@ { - "version": "2.3.0", + "version": "2.2.0", "description": "MetaMask example snap demonstrating the use of `snap_notify`.", "proposedName": "Notifications Example Snap", "repository": { @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "vgZf2fdTM9fTAFroi78267SHtaEeTJLTNa/hobO22s0=", + "shasum": "DV0AnwJKM1iKxKscfZOjr/y8qAKP0tdp8wU+2PBMxk8=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -22,6 +22,6 @@ }, "snap_notify": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/preinstalled/snap.manifest.json b/packages/examples/packages/preinstalled/snap.manifest.json index 49760fc93a..7aa901d03c 100644 --- a/packages/examples/packages/preinstalled/snap.manifest.json +++ b/packages/examples/packages/preinstalled/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "i8jxIqiwe7OvwEP32oFIFKUu3EfnHnbFbyRXeqIKPiY=", + "shasum": "eo9pjzq8NWMJQkT1rpTVQuQ+zh+sxN6mZdUiAvwkk0g=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -24,6 +24,6 @@ "endowment:page-settings": {}, "snap_manageState": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/rollup-plugin/snap.manifest.json b/packages/examples/packages/rollup-plugin/snap.manifest.json index b12a46527a..822bc586fe 100644 --- a/packages/examples/packages/rollup-plugin/snap.manifest.json +++ b/packages/examples/packages/rollup-plugin/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "9kEcCvm7AAgm49TqYDjUdiqLlnNqjfXipUgtI2ndBwQ=", + "shasum": "IT5ktaTAg+9YNA294rwoFX6GE4J3FEOq/IZpRvzTgQQ=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -21,6 +21,6 @@ "dapps": true } }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/send-flow/snap.manifest.json b/packages/examples/packages/send-flow/snap.manifest.json index 75c380aeac..bb39cb610b 100644 --- a/packages/examples/packages/send-flow/snap.manifest.json +++ b/packages/examples/packages/send-flow/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "ycKXLBkX4carLSIYGnuc+oHDin/2qSUNNQ/cfW0wt4o=", + "shasum": "pdrgG5A6hdQFvESq43Um1NoJJCpuEhNj65Nlnlrwro4=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -23,6 +23,6 @@ "snap_dialog": {}, "endowment:page-home": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/signature-insights/snap.manifest.json b/packages/examples/packages/signature-insights/snap.manifest.json index 890a67108e..d4404b10cc 100644 --- a/packages/examples/packages/signature-insights/snap.manifest.json +++ b/packages/examples/packages/signature-insights/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "AlY+qEYeU/GmMR7tvBEpuFXk6YWdWx+hhszOsnGyQcU=", + "shasum": "JsNJvg1YAZBEeqQcUXgzJDfRHmoa88i7o8ziWzO6fns=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -19,6 +19,6 @@ "initialPermissions": { "endowment:signature-insight": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/transaction-insights/snap.manifest.json b/packages/examples/packages/transaction-insights/snap.manifest.json index f0afce841e..7e923d2a29 100644 --- a/packages/examples/packages/transaction-insights/snap.manifest.json +++ b/packages/examples/packages/transaction-insights/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "lxnpksH+gsCRKZfgDBv66VXlSjbS25gSS/r+hOiO9RQ=", + "shasum": "ExklZRcb7xekucpFO4ZDJpPzrAzIoKowLtXV9kvZ/0I=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -19,6 +19,6 @@ "initialPermissions": { "endowment:transaction-insight": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/wasm/snap.manifest.json b/packages/examples/packages/wasm/snap.manifest.json index 54f20a4082..238736868f 100644 --- a/packages/examples/packages/wasm/snap.manifest.json +++ b/packages/examples/packages/wasm/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "ZLNLyIw7vPg+geDBqmngSU6+92UjZPhG6on34Ij3+Nc=", + "shasum": "UuOAKvFKsDldxeMD5i7p1AuFFgdMUqjqAaFsJ3U0uxQ=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -22,6 +22,6 @@ }, "endowment:webassembly": {} }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/webpack-plugin/snap.manifest.json b/packages/examples/packages/webpack-plugin/snap.manifest.json index d990776378..3442101379 100644 --- a/packages/examples/packages/webpack-plugin/snap.manifest.json +++ b/packages/examples/packages/webpack-plugin/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "l5ZrPChhTClz9FfuqCVCk95v7zwDzchZpWmHs/4Iji0=", + "shasum": "tg0/FreUOsTDyNwI1mOnPpGpfz3cIDXrattdMPK6hzY=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -21,6 +21,6 @@ "dapps": true } }, - "platformVersion": "6.15.0", + "platformVersion": "6.14.0", "manifestVersion": "0.1" } From 8b3e9f6d95048df0a3eef78dd8146e091624b35a Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Tue, 14 Jan 2025 11:55:00 +0100 Subject: [PATCH 07/10] Update snapshots --- packages/examples/packages/webpack-plugin/package.json | 2 +- .../snaps-cli/src/commands/build/implementation.test.ts | 6 +++--- yarn.lock | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/examples/packages/webpack-plugin/package.json b/packages/examples/packages/webpack-plugin/package.json index 9a98b4d02f..9aa5759ea2 100644 --- a/packages/examples/packages/webpack-plugin/package.json +++ b/packages/examples/packages/webpack-plugin/package.json @@ -78,7 +78,7 @@ "terser-webpack-plugin": "^5.3.9", "ts-node": "^10.9.1", "typescript": "~5.3.3", - "webpack": "^5.88.0", + "webpack": "^5.94.0", "webpack-cli": "^5.1.4" }, "engines": { diff --git a/packages/snaps-cli/src/commands/build/implementation.test.ts b/packages/snaps-cli/src/commands/build/implementation.test.ts index c6b488c952..5aea7df409 100644 --- a/packages/snaps-cli/src/commands/build/implementation.test.ts +++ b/packages/snaps-cli/src/commands/build/implementation.test.ts @@ -129,7 +129,7 @@ describe('build', () => { const output = await fs.readFile('/snap/output.js', 'utf8'); expect(output).toMatchInlineSnapshot( - `"(()=>{var r={67:r=>{r.exports.onRpcRequest=({request:r})=>{console.log("Hello, world!");const{method:e,id:o}=r;return e+o}}},e={};var o=function o(t){var s=e[t];if(void 0!==s)return s.exports;var n=e[t]={exports:{}};return r[t](n,n.exports,o),n.exports}(67);module.exports=o})();"`, + `"(()=>{var r={157:r=>{r.exports.onRpcRequest=({request:r})=>{console.log("Hello, world!");const{method:e,id:o}=r;return e+o}}},e={};var o=function o(t){var s=e[t];if(void 0!==s)return s.exports;var n=e[t]={exports:{}};return r[t](n,n.exports,o),n.exports}(157);module.exports=o})();"`, ); }); @@ -165,7 +165,7 @@ describe('build', () => { expect(output).toMatchInlineSnapshot(` "(() => { var __webpack_modules__ = { - 67: module => { + 157: module => { module.exports.onRpcRequest = ({ request }) => { @@ -190,7 +190,7 @@ describe('build', () => { __webpack_modules__[moduleId](module, module.exports, __webpack_require__); return module.exports; } - var __webpack_exports__ = __webpack_require__(67); + var __webpack_exports__ = __webpack_require__(157); module.exports = __webpack_exports__; })();" `); diff --git a/yarn.lock b/yarn.lock index 9395344355..222e061752 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6728,7 +6728,7 @@ __metadata: terser-webpack-plugin: "npm:^5.3.9" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" - webpack: "npm:^5.88.0" + webpack: "npm:^5.94.0" webpack-cli: "npm:^5.1.4" languageName: unknown linkType: soft From 195373c336bb0ecfcd1b4673d463278cdb55aec6 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Tue, 14 Jan 2025 12:41:38 +0100 Subject: [PATCH 08/10] Update test and fix type errors --- .../src/commands/build/implementation.test.ts | 14 ++++++++++---- .../src/commands/watch/implementation.test.ts | 8 ++++++-- packages/snaps-utils/src/platform-version.ts | 5 +++-- 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/packages/snaps-cli/src/commands/build/implementation.test.ts b/packages/snaps-cli/src/commands/build/implementation.test.ts index 5aea7df409..bb619cec71 100644 --- a/packages/snaps-cli/src/commands/build/implementation.test.ts +++ b/packages/snaps-cli/src/commands/build/implementation.test.ts @@ -9,6 +9,7 @@ import { import normalFs from 'fs'; import { dirname, resolve } from 'path'; import type { Configuration } from 'webpack'; +import type webpackModule from 'webpack'; import { getMockConfig } from '../../test-utils'; import { getCompiler } from '../../webpack'; @@ -36,8 +37,10 @@ jest.mock('../../webpack', () => ({ .requireActual('../../webpack') .getCompiler(...args); - compiler.inputFileSystem = normalFs; - compiler.outputFileSystem = normalFs; + compiler.inputFileSystem = + normalFs as unknown as webpackModule.InputFileSystem; + compiler.outputFileSystem = + normalFs as unknown as webpackModule.OutputFileSystem; return compiler; }), @@ -48,11 +51,14 @@ jest.mock('../../webpack/utils', () => ({ getDefaultLoader: jest.fn< ReturnType, Parameters - >(async (config) => { + >(async (config): ReturnType => { if (config.legacy) { return { loader: BROWSERIFY_LOADER_PATH, - options: config.legacy, + options: { + ...config.legacy, + fn: jest.fn(), + }, }; } diff --git a/packages/snaps-cli/src/commands/watch/implementation.test.ts b/packages/snaps-cli/src/commands/watch/implementation.test.ts index 0a879aa786..db4aac4567 100644 --- a/packages/snaps-cli/src/commands/watch/implementation.test.ts +++ b/packages/snaps-cli/src/commands/watch/implementation.test.ts @@ -4,6 +4,7 @@ import { getSnapManifest, } from '@metamask/snaps-utils/test-utils'; import normalFs from 'fs'; +import type webpackModule from 'webpack'; import { getMockConfig } from '../../test-utils'; import { getCompiler } from '../../webpack'; @@ -24,8 +25,10 @@ jest.mock('../../webpack', () => ({ .requireActual('../../webpack') .getCompiler(...args); - compiler.inputFileSystem = normalFs; - compiler.outputFileSystem = normalFs; + compiler.inputFileSystem = + normalFs as unknown as webpackModule.InputFileSystem; + compiler.outputFileSystem = + normalFs as unknown as webpackModule.OutputFileSystem; return compiler; }), @@ -57,6 +60,7 @@ describe('watch', () => { // @ts-expect-error - Partial mock. mock.mockImplementationOnce(() => ({ watch: watchMock, + watching: {}, })); await watch( diff --git a/packages/snaps-utils/src/platform-version.ts b/packages/snaps-utils/src/platform-version.ts index 140c18bea3..680cda9127 100644 --- a/packages/snaps-utils/src/platform-version.ts +++ b/packages/snaps-utils/src/platform-version.ts @@ -1,4 +1,5 @@ import packageJson from '@metamask/snaps-sdk/package.json'; +import type { SemVerVersion } from '@metamask/utils'; /** * Get the current supported platform version. @@ -9,6 +10,6 @@ import packageJson from '@metamask/snaps-sdk/package.json'; * * @returns The platform version. */ -export function getPlatformVersion() { - return packageJson.version; +export function getPlatformVersion(): SemVerVersion { + return packageJson.version as SemVerVersion; } From cba3a1e81aa635d64b11975170f8fa518282e409 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Tue, 14 Jan 2025 13:15:11 +0100 Subject: [PATCH 09/10] Update example shasums --- packages/examples/packages/bip32/snap.manifest.json | 4 ++-- packages/examples/packages/bip44/snap.manifest.json | 4 ++-- .../examples/packages/browserify-plugin/snap.manifest.json | 4 ++-- packages/examples/packages/browserify/snap.manifest.json | 4 ++-- packages/examples/packages/client-status/snap.manifest.json | 4 ++-- packages/examples/packages/cronjobs/snap.manifest.json | 6 +++--- packages/examples/packages/dialogs/snap.manifest.json | 4 ++-- packages/examples/packages/errors/snap.manifest.json | 4 ++-- .../examples/packages/ethereum-provider/snap.manifest.json | 6 +++--- packages/examples/packages/ethers-js/snap.manifest.json | 4 ++-- packages/examples/packages/file-upload/snap.manifest.json | 4 ++-- packages/examples/packages/get-entropy/snap.manifest.json | 4 ++-- packages/examples/packages/get-file/snap.manifest.json | 4 ++-- packages/examples/packages/home-page/snap.manifest.json | 4 ++-- packages/examples/packages/images/snap.manifest.json | 4 ++-- .../examples/packages/interactive-ui/snap.manifest.json | 4 ++-- .../invoke-snap/packages/consumer-signer/snap.manifest.json | 4 ++-- .../invoke-snap/packages/core-signer/snap.manifest.json | 4 ++-- packages/examples/packages/json-rpc/snap.manifest.json | 4 ++-- packages/examples/packages/jsx/snap.manifest.json | 4 ++-- .../examples/packages/lifecycle-hooks/snap.manifest.json | 4 ++-- packages/examples/packages/localization/snap.manifest.json | 4 ++-- packages/examples/packages/manage-state/snap.manifest.json | 6 +++--- packages/examples/packages/name-lookup/snap.manifest.json | 4 ++-- .../examples/packages/network-access/snap.manifest.json | 4 ++-- packages/examples/packages/notifications/snap.manifest.json | 6 +++--- packages/examples/packages/preinstalled/snap.manifest.json | 4 ++-- packages/examples/packages/rollup-plugin/snap.manifest.json | 4 ++-- packages/examples/packages/send-flow/snap.manifest.json | 4 ++-- .../examples/packages/signature-insights/snap.manifest.json | 4 ++-- .../packages/transaction-insights/snap.manifest.json | 4 ++-- packages/examples/packages/wasm/snap.manifest.json | 4 ++-- .../examples/packages/webpack-plugin/snap.manifest.json | 4 ++-- 33 files changed, 70 insertions(+), 70 deletions(-) diff --git a/packages/examples/packages/bip32/snap.manifest.json b/packages/examples/packages/bip32/snap.manifest.json index c9f69b3402..12a220be73 100644 --- a/packages/examples/packages/bip32/snap.manifest.json +++ b/packages/examples/packages/bip32/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "pTu8li1yS1Yi8BVEQqCAzI/TUQVHi4HpMTSL2weKo9U=", + "shasum": "avXYAFNUoZDWNqt3rKZk9Riar2A4CgivhMZ0f9IiJ1o=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -43,6 +43,6 @@ } ] }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/bip44/snap.manifest.json b/packages/examples/packages/bip44/snap.manifest.json index 9d2bce6a53..b7f3659c58 100644 --- a/packages/examples/packages/bip44/snap.manifest.json +++ b/packages/examples/packages/bip44/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "Nnsq/Hx0gjE6gpMl6cVxzv2/fbiFehX8IXwPboOr0Z4=", + "shasum": "fUSSEUMScCnu/fdxmTababNPi+biQ8GE3wSDGm0K5Rs=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -31,6 +31,6 @@ } ] }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/browserify-plugin/snap.manifest.json b/packages/examples/packages/browserify-plugin/snap.manifest.json index 85264e4c59..9f578fd779 100644 --- a/packages/examples/packages/browserify-plugin/snap.manifest.json +++ b/packages/examples/packages/browserify-plugin/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "VLL7J8JE/MX0j3B7FCAGtrJ/LYXYSnq88hKUr8mMfFQ=", + "shasum": "jyM2N8Y8sIxLacv1mwtPh41wGSt9lWsBNbFo9CSx7mM=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -21,6 +21,6 @@ "dapps": true } }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/browserify/snap.manifest.json b/packages/examples/packages/browserify/snap.manifest.json index b84b8557e9..a975a37d1c 100644 --- a/packages/examples/packages/browserify/snap.manifest.json +++ b/packages/examples/packages/browserify/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "mAFLwxqRmE5DHBRs1/nOM91YpcmeEHkyqksRrXTgjJY=", + "shasum": "FvXAB5gp1fAoAMIBcYwLOwXmvTv9nvcx1TTgulBwzck=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -21,6 +21,6 @@ "dapps": true } }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/client-status/snap.manifest.json b/packages/examples/packages/client-status/snap.manifest.json index dc5645d488..7d0d66dfeb 100644 --- a/packages/examples/packages/client-status/snap.manifest.json +++ b/packages/examples/packages/client-status/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "iOOC/e30UG8TYvTx0Alg6FBQpDkOrijo9u/MHs5BwVc=", + "shasum": "zJkV5uvFKn769KntHD2tyY4PQUWO5mabwm6ShOZHX24=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -22,6 +22,6 @@ "snaps": false } }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/cronjobs/snap.manifest.json b/packages/examples/packages/cronjobs/snap.manifest.json index d900779bad..051952f40c 100644 --- a/packages/examples/packages/cronjobs/snap.manifest.json +++ b/packages/examples/packages/cronjobs/snap.manifest.json @@ -1,5 +1,5 @@ { - "version": "2.1.4", + "version": "2.2.0", "description": "MetaMask example snap demonstrating the use of cronjobs in snaps.", "proposedName": "Cronjob Example Snap", "repository": { @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "9jPe6O2yqiVdqBTTgX08/73DRFJcbm073dBtgTnwZdw=", + "shasum": "PKjvYA9WssjMiwXeWg8k/Lrk1IHi/xbsQBSb7K7RZP4=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -34,6 +34,6 @@ "snap_dialog": {}, "snap_notify": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/dialogs/snap.manifest.json b/packages/examples/packages/dialogs/snap.manifest.json index 00b0290c2c..d216aa174a 100644 --- a/packages/examples/packages/dialogs/snap.manifest.json +++ b/packages/examples/packages/dialogs/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "W1XM2M1ruUOdhH1MrzKybLJEpddTLK+tPtdZkNkI7eg=", + "shasum": "xs/PkETITma3DfIQxwjW9A4eS9DB0JBGZIlhn6ov9s0=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -22,6 +22,6 @@ }, "snap_dialog": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/errors/snap.manifest.json b/packages/examples/packages/errors/snap.manifest.json index fecb230486..bce9fa38ec 100644 --- a/packages/examples/packages/errors/snap.manifest.json +++ b/packages/examples/packages/errors/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "lyj5zGWzg8mL6sHvpnfWWsy/pFj3B1IHWsFkymFrPwY=", + "shasum": "UOVWInK9Rcy0j2EcPkwtgutBE7GqPAtIOhMWXaIFBJs=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -21,6 +21,6 @@ "dapps": true } }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/ethereum-provider/snap.manifest.json b/packages/examples/packages/ethereum-provider/snap.manifest.json index b8a6ea8eec..f3264acb79 100644 --- a/packages/examples/packages/ethereum-provider/snap.manifest.json +++ b/packages/examples/packages/ethereum-provider/snap.manifest.json @@ -1,5 +1,5 @@ { - "version": "2.1.3", + "version": "2.2.0", "description": "MetaMask example snap demonstrating the use of the Ethereum Provider API and `endowment:ethereum-provider` permission.", "proposedName": "Ethereum Provider Example Snap", "repository": { @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "FsPqLx3GiiJ0r6WhdSSlBWXzdzB2v7fCQhL5g3VcU+4=", + "shasum": "3PCb10VNOR84Mqu3Z1Bkkrgg6nklzND+xIVdlEJe6XE=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -22,6 +22,6 @@ }, "endowment:ethereum-provider": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/ethers-js/snap.manifest.json b/packages/examples/packages/ethers-js/snap.manifest.json index 6c9f675f53..e296ee4194 100644 --- a/packages/examples/packages/ethers-js/snap.manifest.json +++ b/packages/examples/packages/ethers-js/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "Z7r7HBbiLe4JWtTY7hpRlwHoudyUUBOuSRLJeAgsoQg=", + "shasum": "ZjIxKqXhfxALpgEBAhNICpCxwAQet7keipSQ+/TzatI=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -23,6 +23,6 @@ "snap_dialog": {}, "snap_getEntropy": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/file-upload/snap.manifest.json b/packages/examples/packages/file-upload/snap.manifest.json index df7e9ea40a..cfd2b6d3f5 100644 --- a/packages/examples/packages/file-upload/snap.manifest.json +++ b/packages/examples/packages/file-upload/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "e7ARKNwla04EPqqULqYXH3/2dd9NXeWN3cVQgeewQgY=", + "shasum": "61FewSqYVt0K2S9B3iob5V8hX+QXpy8/ooiMrOAE+fE=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -24,6 +24,6 @@ "snap_dialog": {}, "snap_manageState": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/get-entropy/snap.manifest.json b/packages/examples/packages/get-entropy/snap.manifest.json index b8c90c4aad..04b5a2990f 100644 --- a/packages/examples/packages/get-entropy/snap.manifest.json +++ b/packages/examples/packages/get-entropy/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "JP69ZAhJwQOye5DfDZ7G99eBcBsXP8y/3+uOGMPLccM=", + "shasum": "BiysyCmH47rBg16bKg8opbe/H3ik9r8aqkqsssBHb04=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -23,6 +23,6 @@ "snap_dialog": {}, "snap_getEntropy": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/get-file/snap.manifest.json b/packages/examples/packages/get-file/snap.manifest.json index 801c1fdde7..e164ebc434 100644 --- a/packages/examples/packages/get-file/snap.manifest.json +++ b/packages/examples/packages/get-file/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "DWKQO3L9q5zlc3QXNAv13j3PAjZus5UoOTDxo/aLMt0=", + "shasum": "pppvJ7TRiZpE70okGRkQaze5/NQm2dFozVYpomw12yM=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -22,6 +22,6 @@ "dapps": true } }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/home-page/snap.manifest.json b/packages/examples/packages/home-page/snap.manifest.json index 5c5732e1b3..32bca302e4 100644 --- a/packages/examples/packages/home-page/snap.manifest.json +++ b/packages/examples/packages/home-page/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "CFGW+27A/rdqLpqq4wGQ1nPhbRgle8Ojvu5rhVcYwq4=", + "shasum": "gPLRzm2ZegYyjQi0HiGerPUCpu5FnLHnuRNNcz32DKE=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -19,6 +19,6 @@ "initialPermissions": { "endowment:page-home": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/images/snap.manifest.json b/packages/examples/packages/images/snap.manifest.json index 3036c183ae..97bea910d7 100644 --- a/packages/examples/packages/images/snap.manifest.json +++ b/packages/examples/packages/images/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "u1Jb/ukWn+WrtF6xmm8xr+UeasJRmJq4Pcvf6TVocbg=", + "shasum": "rf5e4EY7ilLe8k8aOFJEnx0B8iI+7VXd9e3TNfPGLzg=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -23,6 +23,6 @@ }, "snap_dialog": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/interactive-ui/snap.manifest.json b/packages/examples/packages/interactive-ui/snap.manifest.json index 0de53caea5..034d983a19 100644 --- a/packages/examples/packages/interactive-ui/snap.manifest.json +++ b/packages/examples/packages/interactive-ui/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "PdafTqIrnxZ5hQ8E818sCq29qNR9lGIfpSBFADCBXQ4=", + "shasum": "mC5Jz/a0jlfFTx70E887n/QWiP1wPwiuyEalNlX092w=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -25,6 +25,6 @@ "endowment:transaction-insight": {}, "endowment:page-home": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/invoke-snap/packages/consumer-signer/snap.manifest.json b/packages/examples/packages/invoke-snap/packages/consumer-signer/snap.manifest.json index 3da192fbed..27593108b5 100644 --- a/packages/examples/packages/invoke-snap/packages/consumer-signer/snap.manifest.json +++ b/packages/examples/packages/invoke-snap/packages/consumer-signer/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "8OztmgSa+mir5ILh9oIiQqfGVt84ilBjVus58aURezY=", + "shasum": "h2iZXMs/X6gx+e5CROEoHEBJsvBtZtDNq4wqqRc/QIE=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -21,6 +21,6 @@ "dapps": true } }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/invoke-snap/packages/core-signer/snap.manifest.json b/packages/examples/packages/invoke-snap/packages/core-signer/snap.manifest.json index 1e901ffa31..6d6e2b488f 100644 --- a/packages/examples/packages/invoke-snap/packages/core-signer/snap.manifest.json +++ b/packages/examples/packages/invoke-snap/packages/core-signer/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "5YpYX3b3wdRQEjPd2lUeNsNK7FwiflxMLCCPYtDeLnQ=", + "shasum": "fnelgv9DW2nwzGRmbTU/Qnkxj9qZnGD4/4FTiNHY6DA=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -23,6 +23,6 @@ "snap_dialog": {}, "snap_manageState": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/json-rpc/snap.manifest.json b/packages/examples/packages/json-rpc/snap.manifest.json index cdfe7100ad..64534186cb 100644 --- a/packages/examples/packages/json-rpc/snap.manifest.json +++ b/packages/examples/packages/json-rpc/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "oo2p+8mKi9+oFQRSWkxrTP2ywmLLlKniRZH3fo4QerA=", + "shasum": "KsuzsP4WTmn3Xk6x33I5l7Hft9SQzp2tn7yXTceS8VE=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -26,6 +26,6 @@ } } }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/jsx/snap.manifest.json b/packages/examples/packages/jsx/snap.manifest.json index 6ee8552a83..285802bf55 100644 --- a/packages/examples/packages/jsx/snap.manifest.json +++ b/packages/examples/packages/jsx/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "rKFGdqwl8CFzuKD74v7t9dy5LdtghbGhWvLJypb9q6Y=", + "shasum": "slar8QQ5YzNRhmdI00ZOdZuZcBI65Hsz6gpDjGz/vv4=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -23,6 +23,6 @@ "snap_dialog": {}, "snap_manageState": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/lifecycle-hooks/snap.manifest.json b/packages/examples/packages/lifecycle-hooks/snap.manifest.json index 542ac07fc6..b3cb1e5a42 100644 --- a/packages/examples/packages/lifecycle-hooks/snap.manifest.json +++ b/packages/examples/packages/lifecycle-hooks/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "McEJrD53+nBoIBkWhIildkVeao7ip2Ld5V2tsEopkXw=", + "shasum": "p52kcbuuauq3MOOOV4ktx7DowKimNx95d1q4aR5gAJQ=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -20,6 +20,6 @@ "snap_dialog": {}, "endowment:lifecycle-hooks": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/localization/snap.manifest.json b/packages/examples/packages/localization/snap.manifest.json index 9755ff3b36..3a8ec900a8 100644 --- a/packages/examples/packages/localization/snap.manifest.json +++ b/packages/examples/packages/localization/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "A0xIwrgOfM4T7yJOByu+druczGcD+9rQot4fDEwiDNs=", + "shasum": "qEWdkquU5pMpr+E+ZBdmIu54/qWQovaMmEadOmU8ifg=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -23,6 +23,6 @@ }, "snap_getPreferences": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/manage-state/snap.manifest.json b/packages/examples/packages/manage-state/snap.manifest.json index 1b0041115a..18d83a9401 100644 --- a/packages/examples/packages/manage-state/snap.manifest.json +++ b/packages/examples/packages/manage-state/snap.manifest.json @@ -1,5 +1,5 @@ { - "version": "2.2.3", + "version": "3.0.0", "description": "MetaMask example snap demonstrating the use of `snap_manageState`.", "proposedName": "Manage State Example Snap", "repository": { @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "CF0IoPiYmgKNDjd7m04xVDO39rPI8O0QesAfZ4KJ0gA=", + "shasum": "fgibIC0dhDC1oQs54ddOGN9PqRk8n6btqM6th0YdJ3c=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -22,6 +22,6 @@ }, "snap_manageState": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/name-lookup/snap.manifest.json b/packages/examples/packages/name-lookup/snap.manifest.json index 7160bb0915..6f0b373724 100644 --- a/packages/examples/packages/name-lookup/snap.manifest.json +++ b/packages/examples/packages/name-lookup/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "AN945iZwXls+vi1x58UXKZ8qXXpj8SaP+kVMKCzdIYI=", + "shasum": "+hSYtYA/3RFNyYURc1luWrNPrnQ3sqVAi0HDenCJsAE=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -21,6 +21,6 @@ "chains": ["eip155:1"] } }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/network-access/snap.manifest.json b/packages/examples/packages/network-access/snap.manifest.json index 7856c1d64b..f660bb80d4 100644 --- a/packages/examples/packages/network-access/snap.manifest.json +++ b/packages/examples/packages/network-access/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "9kWzfBhzqVN98IbktMmiCNnMPsr3ETmjKGLxgNmLz68=", + "shasum": "6ucWBMOUDTSCV/tMaiK2SWJURzhi9mE2SQ+4NxWr/h4=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -23,6 +23,6 @@ }, "endowment:network-access": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/notifications/snap.manifest.json b/packages/examples/packages/notifications/snap.manifest.json index aa01ccd9f8..8f4ef3aba4 100644 --- a/packages/examples/packages/notifications/snap.manifest.json +++ b/packages/examples/packages/notifications/snap.manifest.json @@ -1,5 +1,5 @@ { - "version": "2.2.0", + "version": "2.3.0", "description": "MetaMask example snap demonstrating the use of `snap_notify`.", "proposedName": "Notifications Example Snap", "repository": { @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "DV0AnwJKM1iKxKscfZOjr/y8qAKP0tdp8wU+2PBMxk8=", + "shasum": "R76lfc9SmLclkeHo+FtsX6XMBx6ZE/PMEZErkRDI3P4=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -22,6 +22,6 @@ }, "snap_notify": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/preinstalled/snap.manifest.json b/packages/examples/packages/preinstalled/snap.manifest.json index 7aa901d03c..8572c682ad 100644 --- a/packages/examples/packages/preinstalled/snap.manifest.json +++ b/packages/examples/packages/preinstalled/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "eo9pjzq8NWMJQkT1rpTVQuQ+zh+sxN6mZdUiAvwkk0g=", + "shasum": "bwCMwGzzYQBIvOYdHlnASxBQcHdpjPvx9ivZ3nrBTbw=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -24,6 +24,6 @@ "endowment:page-settings": {}, "snap_manageState": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/rollup-plugin/snap.manifest.json b/packages/examples/packages/rollup-plugin/snap.manifest.json index 822bc586fe..04b00602a0 100644 --- a/packages/examples/packages/rollup-plugin/snap.manifest.json +++ b/packages/examples/packages/rollup-plugin/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "IT5ktaTAg+9YNA294rwoFX6GE4J3FEOq/IZpRvzTgQQ=", + "shasum": "qbsPqAwsSVu1zv5gJicETzNESOiq0XPF6esXl4Akyeo=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -21,6 +21,6 @@ "dapps": true } }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/send-flow/snap.manifest.json b/packages/examples/packages/send-flow/snap.manifest.json index bb39cb610b..f5a5595df1 100644 --- a/packages/examples/packages/send-flow/snap.manifest.json +++ b/packages/examples/packages/send-flow/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "pdrgG5A6hdQFvESq43Um1NoJJCpuEhNj65Nlnlrwro4=", + "shasum": "WALCsYdlHYYttDSkh+QgN8l0PFUBt8FQ0d40FzHdwu4=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -23,6 +23,6 @@ "snap_dialog": {}, "endowment:page-home": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/signature-insights/snap.manifest.json b/packages/examples/packages/signature-insights/snap.manifest.json index d4404b10cc..14b6225fd4 100644 --- a/packages/examples/packages/signature-insights/snap.manifest.json +++ b/packages/examples/packages/signature-insights/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "JsNJvg1YAZBEeqQcUXgzJDfRHmoa88i7o8ziWzO6fns=", + "shasum": "rinG6wZIBq2te8bid8lBOfU/BP2k8GIx5aAFJ328w4c=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -19,6 +19,6 @@ "initialPermissions": { "endowment:signature-insight": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/transaction-insights/snap.manifest.json b/packages/examples/packages/transaction-insights/snap.manifest.json index 7e923d2a29..4cedc31279 100644 --- a/packages/examples/packages/transaction-insights/snap.manifest.json +++ b/packages/examples/packages/transaction-insights/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "ExklZRcb7xekucpFO4ZDJpPzrAzIoKowLtXV9kvZ/0I=", + "shasum": "2o/l002SXe34tA7XscwothuybtqB90fhbYszdVJZBOo=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -19,6 +19,6 @@ "initialPermissions": { "endowment:transaction-insight": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/wasm/snap.manifest.json b/packages/examples/packages/wasm/snap.manifest.json index 238736868f..55aebf6dbf 100644 --- a/packages/examples/packages/wasm/snap.manifest.json +++ b/packages/examples/packages/wasm/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "UuOAKvFKsDldxeMD5i7p1AuFFgdMUqjqAaFsJ3U0uxQ=", + "shasum": "PYmb1pGNecXkrzR9YkK956Dp1AKaxu0abeJXcCdR9AU=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -22,6 +22,6 @@ }, "endowment:webassembly": {} }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } diff --git a/packages/examples/packages/webpack-plugin/snap.manifest.json b/packages/examples/packages/webpack-plugin/snap.manifest.json index 3442101379..f8506d8b1b 100644 --- a/packages/examples/packages/webpack-plugin/snap.manifest.json +++ b/packages/examples/packages/webpack-plugin/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/MetaMask/snaps.git" }, "source": { - "shasum": "tg0/FreUOsTDyNwI1mOnPpGpfz3cIDXrattdMPK6hzY=", + "shasum": "FW2vWNnyxwjJaXmuAqTf3T5fqKobUwSSPWCDQ7AUggk=", "location": { "npm": { "filePath": "dist/bundle.js", @@ -21,6 +21,6 @@ "dapps": true } }, - "platformVersion": "6.14.0", + "platformVersion": "6.15.0", "manifestVersion": "0.1" } From 3e6ca7cb2c13175705403ccd4076753a9dfbf876 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Tue, 14 Jan 2025 13:30:04 +0100 Subject: [PATCH 10/10] Update Webpack in another example --- packages/examples/packages/ethers-js/package.json | 2 +- yarn.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/examples/packages/ethers-js/package.json b/packages/examples/packages/ethers-js/package.json index 6d8b527a8c..efa96ad79e 100644 --- a/packages/examples/packages/ethers-js/package.json +++ b/packages/examples/packages/ethers-js/package.json @@ -76,7 +76,7 @@ "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3", - "webpack": "^5.88.0" + "webpack": "^5.94.0" }, "engines": { "node": "^18.16 || >=20" diff --git a/yarn.lock b/yarn.lock index 222e061752..e51bbbb957 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4759,7 +4759,7 @@ __metadata: prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" - webpack: "npm:^5.88.0" + webpack: "npm:^5.94.0" languageName: unknown linkType: soft @@ -23594,7 +23594,7 @@ __metadata: languageName: node linkType: hard -"webpack@npm:^5.88.0, webpack@npm:^5.94.0": +"webpack@npm:^5.94.0": version: 5.97.1 resolution: "webpack@npm:5.97.1" dependencies: