From 6653e4b0c75471a38906df3986fd2a72c837830c Mon Sep 17 00:00:00 2001 From: Frederik Bolding Date: Fri, 23 Aug 2024 13:37:47 +0200 Subject: [PATCH] Use Webpack for Node.js bundles --- .../node-js/NodeProcessExecutionService.ts | 2 +- .../node-js/NodeThreadExecutionService.ts | 2 +- packages/snaps-controllers/wdio.config.js | 2 +- .../lavamoat/webpack/{ => iframe}/policy.json | 68 ++-- .../lavamoat/webpack/node-process/policy.json | 238 +++++++++++++ .../lavamoat/webpack/node-thread/policy.json | 238 +++++++++++++ .../snaps-execution-environments/package.json | 2 +- .../wdio.config.js | 2 +- .../webpack.config.ts | 69 +++- packages/snaps-utils/wdio.config.js | 2 +- yarn.lock | 321 +++++------------- 11 files changed, 662 insertions(+), 284 deletions(-) rename packages/snaps-execution-environments/lavamoat/webpack/{ => iframe}/policy.json (88%) create mode 100644 packages/snaps-execution-environments/lavamoat/webpack/node-process/policy.json create mode 100644 packages/snaps-execution-environments/lavamoat/webpack/node-thread/policy.json diff --git a/packages/snaps-controllers/src/services/node-js/NodeProcessExecutionService.ts b/packages/snaps-controllers/src/services/node-js/NodeProcessExecutionService.ts index 39777e2920..2a288c6857 100644 --- a/packages/snaps-controllers/src/services/node-js/NodeProcessExecutionService.ts +++ b/packages/snaps-controllers/src/services/node-js/NodeProcessExecutionService.ts @@ -13,7 +13,7 @@ export class NodeProcessExecutionService extends AbstractExecutionService { const worker = fork( require.resolve( - '@metamask/snaps-execution-environments/dist/browserify/node-process/bundle.js', + '@metamask/snaps-execution-environments/dist/webpack/node-process/bundle.js', ), { stdio: 'pipe', diff --git a/packages/snaps-controllers/src/services/node-js/NodeThreadExecutionService.ts b/packages/snaps-controllers/src/services/node-js/NodeThreadExecutionService.ts index a7912a561c..470ba1e49f 100644 --- a/packages/snaps-controllers/src/services/node-js/NodeThreadExecutionService.ts +++ b/packages/snaps-controllers/src/services/node-js/NodeThreadExecutionService.ts @@ -13,7 +13,7 @@ export class NodeThreadExecutionService extends AbstractExecutionService }> { const worker = new Worker( require.resolve( - '@metamask/snaps-execution-environments/dist/browserify/node-thread/bundle.js', + '@metamask/snaps-execution-environments/dist/webpack/node-thread/bundle.js', ), { stdout: true, diff --git a/packages/snaps-controllers/wdio.config.js b/packages/snaps-controllers/wdio.config.js index 3f159c6f0e..90b7ab8031 100644 --- a/packages/snaps-controllers/wdio.config.js +++ b/packages/snaps-controllers/wdio.config.js @@ -82,7 +82,7 @@ const config = { mount: '/', path: resolve( __dirname, - '../snaps-execution-environments/dist/browserify/iframe', + '../snaps-execution-environments/dist/webpack/iframe', ), }, diff --git a/packages/snaps-execution-environments/lavamoat/webpack/policy.json b/packages/snaps-execution-environments/lavamoat/webpack/iframe/policy.json similarity index 88% rename from packages/snaps-execution-environments/lavamoat/webpack/policy.json rename to packages/snaps-execution-environments/lavamoat/webpack/iframe/policy.json index caf0733c0b..8b96fd87b3 100644 --- a/packages/snaps-execution-environments/lavamoat/webpack/policy.json +++ b/packages/snaps-execution-environments/lavamoat/webpack/iframe/policy.json @@ -33,10 +33,25 @@ "removeEventListener": true }, "packages": { - "@metamask/utils": true, + "@metamask/post-message-stream>@metamask/utils": true, "readable-stream": true } }, + "@metamask/post-message-stream>@metamask/utils": { + "globals": { + "Buffer": true, + "TextDecoder": true, + "TextEncoder": true + }, + "packages": { + "@metamask/superstruct": true, + "@metamask/utils>@noble/hashes": true, + "@metamask/utils>@scure/base": true, + "@metamask/utils>pony-cause": true, + "depcheck>semver": true, + "tsup>debug": true + } + }, "@metamask/providers": { "globals": { "console": true @@ -44,14 +59,25 @@ "packages": { "@metamask/json-rpc-engine": true, "@metamask/object-multiplex": true, + "@metamask/providers>@metamask/json-rpc-middleware-stream": true, "@metamask/providers>@metamask/safe-event-emitter": true, "@metamask/providers>is-stream": true, - "@metamask/providers>json-rpc-middleware-stream": true, "@metamask/rpc-errors": true, "eslint>fast-deep-equal": true, "readable-stream": true } }, + "@metamask/providers>@metamask/json-rpc-middleware-stream": { + "globals": { + "console.warn": true, + "setTimeout": true + }, + "packages": { + "@metamask/providers>@metamask/safe-event-emitter": true, + "@metamask/utils": true, + "readable-stream": true + } + }, "@metamask/providers>@metamask/safe-event-emitter": { "globals": { "setTimeout": true @@ -69,16 +95,6 @@ "browserify>buffer>ieee754": true } }, - "@metamask/providers>json-rpc-middleware-stream": { - "globals": { - "console.warn": true, - "setTimeout": true - }, - "packages": { - "@metamask/providers>@metamask/safe-event-emitter": true, - "readable-stream": true - } - }, "@metamask/rpc-errors": { "packages": { "@metamask/rpc-errors>fast-safe-stringify": true, @@ -87,18 +103,8 @@ }, "@metamask/snaps-sdk": { "packages": { - "@metamask/snaps-sdk>fast-xml-parser": true, - "@metamask/utils": true, - "superstruct": true - } - }, - "@metamask/snaps-sdk>fast-xml-parser": { - "globals": { - "entityName": true, - "val": true - }, - "packages": { - "@metamask/snaps-sdk>fast-xml-parser>strnum": true + "@metamask/superstruct": true, + "@metamask/utils": true } }, "@metamask/snaps-utils": { @@ -111,22 +117,19 @@ "packages": { "@metamask/rpc-errors": true, "@metamask/snaps-sdk": true, - "@metamask/utils": true, - "superstruct": true + "@metamask/superstruct": true, + "@metamask/utils": true } }, "@metamask/utils": { "globals": { - "Buffer": true, - "TextDecoder": true, "TextEncoder": true }, "packages": { + "@metamask/superstruct": true, "@metamask/utils>@noble/hashes": true, - "@metamask/utils>@scure/base": true, "@metamask/utils>pony-cause": true, "depcheck>semver": true, - "superstruct": true, "tsup>debug": true } }, @@ -195,11 +198,6 @@ "localStorage": true } }, - "superstruct": { - "globals": { - "console.warn": true - } - }, "tsup>debug": { "globals": { "console": true, diff --git a/packages/snaps-execution-environments/lavamoat/webpack/node-process/policy.json b/packages/snaps-execution-environments/lavamoat/webpack/node-process/policy.json new file mode 100644 index 0000000000..5feed35483 --- /dev/null +++ b/packages/snaps-execution-environments/lavamoat/webpack/node-process/policy.json @@ -0,0 +1,238 @@ +{ + "resources": { + "@metamask/json-rpc-engine": { + "packages": { + "@metamask/providers>@metamask/safe-event-emitter": true, + "@metamask/rpc-errors": true, + "@metamask/utils": true + } + }, + "@metamask/object-multiplex": { + "globals": { + "console.warn": true + }, + "packages": { + "@metamask/object-multiplex>once": true, + "readable-stream": true + } + }, + "@metamask/object-multiplex>once": { + "packages": { + "@metamask/object-multiplex>once>wrappy": true + } + }, + "@metamask/post-message-stream": { + "builtin": { + "worker_threads.parentPort": true + }, + "globals": { + "MessageEvent.prototype": true, + "WorkerGlobalScope": true, + "addEventListener": true, + "browser": true, + "chrome": true, + "location.origin": true, + "postMessage": true, + "process.on": true, + "process.removeListener": true, + "process.send": true, + "removeEventListener": true + }, + "packages": { + "@metamask/post-message-stream>@metamask/utils": true, + "readable-stream": true + } + }, + "@metamask/post-message-stream>@metamask/utils": { + "globals": { + "Buffer": true, + "TextDecoder": true, + "TextEncoder": true + }, + "packages": { + "@metamask/superstruct": true, + "@metamask/utils>@noble/hashes": true, + "@metamask/utils>@scure/base": true, + "@metamask/utils>pony-cause": true, + "depcheck>semver": true, + "tsup>debug": true + } + }, + "@metamask/providers": { + "globals": { + "console": true + }, + "packages": { + "@metamask/json-rpc-engine": true, + "@metamask/object-multiplex": true, + "@metamask/providers>@metamask/json-rpc-middleware-stream": true, + "@metamask/providers>@metamask/safe-event-emitter": true, + "@metamask/providers>is-stream": true, + "@metamask/rpc-errors": true, + "eslint>fast-deep-equal": true, + "readable-stream": true + } + }, + "@metamask/providers>@metamask/json-rpc-middleware-stream": { + "globals": { + "console.warn": true, + "setTimeout": true + }, + "packages": { + "@metamask/providers>@metamask/safe-event-emitter": true, + "@metamask/utils": true, + "readable-stream": true + } + }, + "@metamask/providers>@metamask/safe-event-emitter": { + "builtin": { + "events": true + }, + "globals": { + "setTimeout": true + } + }, + "@metamask/rpc-errors": { + "packages": { + "@metamask/rpc-errors>fast-safe-stringify": true, + "@metamask/utils": true + } + }, + "@metamask/snaps-sdk": { + "packages": { + "@metamask/superstruct": true, + "@metamask/utils": true + } + }, + "@metamask/snaps-utils": { + "globals": { + "URL": true, + "console.error": true, + "console.log": true, + "console.warn": true + }, + "packages": { + "@metamask/rpc-errors": true, + "@metamask/snaps-sdk": true, + "@metamask/superstruct": true, + "@metamask/utils": true + } + }, + "@metamask/utils": { + "globals": { + "TextEncoder": true + }, + "packages": { + "@metamask/superstruct": true, + "@metamask/utils>@noble/hashes": true, + "@metamask/utils>pony-cause": true, + "depcheck>semver": true, + "tsup>debug": true + } + }, + "@metamask/utils>@noble/hashes": { + "builtin": { + "node:crypto": true + }, + "globals": { + "TextEncoder": true + } + }, + "@metamask/utils>@scure/base": { + "globals": { + "TextDecoder": true, + "TextEncoder": true + } + }, + "@wdio/mocha-framework>mocha>supports-color": { + "builtin": { + "os.release": true, + "tty.isatty": true + }, + "globals": { + "process.env": true, + "process.platform": true + }, + "packages": { + "istanbul-lib-report>supports-color>has-flag": true + } + }, + "browserify>browser-pack>safe-buffer": { + "builtin": { + "buffer": true + } + }, + "browserify>inherits": { + "builtin": { + "util.inherits": true + } + }, + "browserify>string_decoder": { + "packages": { + "browserify>browser-pack>safe-buffer": true + } + }, + "depcheck>semver": { + "globals": { + "console.error": true, + "process": true + }, + "packages": { + "depcheck>semver>lru-cache": true + } + }, + "depcheck>semver>lru-cache": { + "packages": { + "depcheck>semver>lru-cache>yallist": true + } + }, + "istanbul-lib-report>supports-color>has-flag": { + "globals": { + "process.argv": true + } + }, + "readable-stream": { + "builtin": { + "buffer.Buffer": true, + "events.EventEmitter": true, + "stream": true, + "util": true + }, + "globals": { + "process.env.READABLE_STREAM": true, + "process.nextTick": true, + "process.stderr": true, + "process.stdout": true + }, + "packages": { + "browserify>inherits": true, + "browserify>string_decoder": true, + "readable-stream>util-deprecate": true + } + }, + "readable-stream>util-deprecate": { + "builtin": { + "util.deprecate": true + } + }, + "tsup>debug": { + "builtin": { + "tty.isatty": true, + "util.deprecate": true, + "util.format": true, + "util.inspect": true + }, + "globals": { + "console": true, + "document": true, + "localStorage": true, + "navigator": true, + "process": true + }, + "packages": { + "@wdio/mocha-framework>mocha>supports-color": true, + "tsup>debug>ms": true + } + } + } +} \ No newline at end of file diff --git a/packages/snaps-execution-environments/lavamoat/webpack/node-thread/policy.json b/packages/snaps-execution-environments/lavamoat/webpack/node-thread/policy.json new file mode 100644 index 0000000000..5feed35483 --- /dev/null +++ b/packages/snaps-execution-environments/lavamoat/webpack/node-thread/policy.json @@ -0,0 +1,238 @@ +{ + "resources": { + "@metamask/json-rpc-engine": { + "packages": { + "@metamask/providers>@metamask/safe-event-emitter": true, + "@metamask/rpc-errors": true, + "@metamask/utils": true + } + }, + "@metamask/object-multiplex": { + "globals": { + "console.warn": true + }, + "packages": { + "@metamask/object-multiplex>once": true, + "readable-stream": true + } + }, + "@metamask/object-multiplex>once": { + "packages": { + "@metamask/object-multiplex>once>wrappy": true + } + }, + "@metamask/post-message-stream": { + "builtin": { + "worker_threads.parentPort": true + }, + "globals": { + "MessageEvent.prototype": true, + "WorkerGlobalScope": true, + "addEventListener": true, + "browser": true, + "chrome": true, + "location.origin": true, + "postMessage": true, + "process.on": true, + "process.removeListener": true, + "process.send": true, + "removeEventListener": true + }, + "packages": { + "@metamask/post-message-stream>@metamask/utils": true, + "readable-stream": true + } + }, + "@metamask/post-message-stream>@metamask/utils": { + "globals": { + "Buffer": true, + "TextDecoder": true, + "TextEncoder": true + }, + "packages": { + "@metamask/superstruct": true, + "@metamask/utils>@noble/hashes": true, + "@metamask/utils>@scure/base": true, + "@metamask/utils>pony-cause": true, + "depcheck>semver": true, + "tsup>debug": true + } + }, + "@metamask/providers": { + "globals": { + "console": true + }, + "packages": { + "@metamask/json-rpc-engine": true, + "@metamask/object-multiplex": true, + "@metamask/providers>@metamask/json-rpc-middleware-stream": true, + "@metamask/providers>@metamask/safe-event-emitter": true, + "@metamask/providers>is-stream": true, + "@metamask/rpc-errors": true, + "eslint>fast-deep-equal": true, + "readable-stream": true + } + }, + "@metamask/providers>@metamask/json-rpc-middleware-stream": { + "globals": { + "console.warn": true, + "setTimeout": true + }, + "packages": { + "@metamask/providers>@metamask/safe-event-emitter": true, + "@metamask/utils": true, + "readable-stream": true + } + }, + "@metamask/providers>@metamask/safe-event-emitter": { + "builtin": { + "events": true + }, + "globals": { + "setTimeout": true + } + }, + "@metamask/rpc-errors": { + "packages": { + "@metamask/rpc-errors>fast-safe-stringify": true, + "@metamask/utils": true + } + }, + "@metamask/snaps-sdk": { + "packages": { + "@metamask/superstruct": true, + "@metamask/utils": true + } + }, + "@metamask/snaps-utils": { + "globals": { + "URL": true, + "console.error": true, + "console.log": true, + "console.warn": true + }, + "packages": { + "@metamask/rpc-errors": true, + "@metamask/snaps-sdk": true, + "@metamask/superstruct": true, + "@metamask/utils": true + } + }, + "@metamask/utils": { + "globals": { + "TextEncoder": true + }, + "packages": { + "@metamask/superstruct": true, + "@metamask/utils>@noble/hashes": true, + "@metamask/utils>pony-cause": true, + "depcheck>semver": true, + "tsup>debug": true + } + }, + "@metamask/utils>@noble/hashes": { + "builtin": { + "node:crypto": true + }, + "globals": { + "TextEncoder": true + } + }, + "@metamask/utils>@scure/base": { + "globals": { + "TextDecoder": true, + "TextEncoder": true + } + }, + "@wdio/mocha-framework>mocha>supports-color": { + "builtin": { + "os.release": true, + "tty.isatty": true + }, + "globals": { + "process.env": true, + "process.platform": true + }, + "packages": { + "istanbul-lib-report>supports-color>has-flag": true + } + }, + "browserify>browser-pack>safe-buffer": { + "builtin": { + "buffer": true + } + }, + "browserify>inherits": { + "builtin": { + "util.inherits": true + } + }, + "browserify>string_decoder": { + "packages": { + "browserify>browser-pack>safe-buffer": true + } + }, + "depcheck>semver": { + "globals": { + "console.error": true, + "process": true + }, + "packages": { + "depcheck>semver>lru-cache": true + } + }, + "depcheck>semver>lru-cache": { + "packages": { + "depcheck>semver>lru-cache>yallist": true + } + }, + "istanbul-lib-report>supports-color>has-flag": { + "globals": { + "process.argv": true + } + }, + "readable-stream": { + "builtin": { + "buffer.Buffer": true, + "events.EventEmitter": true, + "stream": true, + "util": true + }, + "globals": { + "process.env.READABLE_STREAM": true, + "process.nextTick": true, + "process.stderr": true, + "process.stdout": true + }, + "packages": { + "browserify>inherits": true, + "browserify>string_decoder": true, + "readable-stream>util-deprecate": true + } + }, + "readable-stream>util-deprecate": { + "builtin": { + "util.deprecate": true + } + }, + "tsup>debug": { + "builtin": { + "tty.isatty": true, + "util.deprecate": true, + "util.format": true, + "util.inspect": true + }, + "globals": { + "console": true, + "document": true, + "localStorage": true, + "navigator": true, + "process": true + }, + "packages": { + "@wdio/mocha-framework>mocha>supports-color": true, + "tsup>debug>ms": true + } + } + } +} \ No newline at end of file diff --git a/packages/snaps-execution-environments/package.json b/packages/snaps-execution-environments/package.json index f2138ce8d7..ab695c06fb 100644 --- a/packages/snaps-execution-environments/package.json +++ b/packages/snaps-execution-environments/package.json @@ -86,7 +86,7 @@ "@lavamoat/allow-scripts": "^3.0.4", "@lavamoat/lavapack": "^6.1.1", "@lavamoat/lavatube": "^1.0.0", - "@lavamoat/webpack": "0.3.0-beta.0", + "@lavamoat/webpack": "^0.7.0-beta.0", "@metamask/auto-changelog": "^3.4.4", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", diff --git a/packages/snaps-execution-environments/wdio.config.js b/packages/snaps-execution-environments/wdio.config.js index 00ad65ccf7..7cb97b16db 100644 --- a/packages/snaps-execution-environments/wdio.config.js +++ b/packages/snaps-execution-environments/wdio.config.js @@ -100,7 +100,7 @@ const config = { // The iframe execution service bundle. { mount: '/', - path: resolve(__dirname, './dist/browserify/iframe'), + path: resolve(__dirname, './dist/webpack/iframe'), }, // The web worker execution service bundle. diff --git a/packages/snaps-execution-environments/webpack.config.ts b/packages/snaps-execution-environments/webpack.config.ts index 29519e80a0..59ac29ca33 100644 --- a/packages/snaps-execution-environments/webpack.config.ts +++ b/packages/snaps-execution-environments/webpack.config.ts @@ -2,6 +2,7 @@ import LavaMoatPlugin from '@lavamoat/webpack'; import { readFileSync } from 'fs'; import HtmlWebpackPlugin from 'html-webpack-plugin'; +import { isBuiltin } from 'node:module'; import { resolve } from 'path'; import { TsconfigPathsPlugin } from 'tsconfig-paths-webpack-plugin'; import type { Configuration } from 'webpack'; @@ -22,7 +23,7 @@ const baseConfig: Configuration = { module: { rules: [ { - test: /\.ts$/u, + test: /\.tsx?$/u, use: { loader: 'swc-loader', options: { @@ -44,8 +45,13 @@ const baseConfig: Configuration = { ], }, resolve: { - extensions: ['.ts', '.js'], - plugins: [new TsconfigPathsPlugin()], + extensions: ['.ts', '.js', '.tsx'], + plugins: [ + new TsconfigPathsPlugin({ + configFile: resolve(__dirname, 'tsconfig.json'), + baseUrl: __dirname, + }), + ], fallback: { // eslint-disable-next-line @typescript-eslint/naming-convention child_process: false, @@ -55,14 +61,14 @@ const baseConfig: Configuration = { path: false, stream: require.resolve('stream-browserify'), tty: false, + zlib: false, + http: false, + https: false, // eslint-disable-next-line @typescript-eslint/naming-convention worker_threads: false, }, }, plugins: [ - new ProvidePlugin({ - process: 'process/browser', - }), new BundleAnalyzerPlugin({ analyzerMode: 'static', openAnalyzer: false, @@ -76,10 +82,14 @@ const iframeConfig: Configuration = merge(baseConfig, { path: resolve(__dirname, 'dist/webpack/iframe'), }, plugins: [ + new ProvidePlugin({ + process: 'process/browser', + }), // You may randomly need @ts-expect-error here, depending how dependencies resolve. If semver is a smart idea, typescript for webpack config is not new LavaMoatPlugin({ // lockdown: {}, // override lockdown options here if you want generatePolicy: true, + policyLocation: resolve(__dirname, 'lavamoat/webpack/iframe'), diagnosticsVerbosity: 1, readableResourceIds: true, emitPolicySnapshot: true, // puts the result of merging policy with override that was used for the bundle alongside the bundle for human review @@ -93,5 +103,50 @@ const iframeConfig: Configuration = merge(baseConfig, { ], }); -const configs = [iframeConfig]; +const nodeThreadConfig: Configuration = merge(baseConfig, { + target: 'node', + entry: './src/node-thread/index.ts', + output: { + path: resolve(__dirname, 'dist/webpack/node-thread'), + }, + plugins: [ + // You may randomly need @ts-expect-error here, depending how dependencies resolve. If semver is a smart idea, typescript for webpack config is not + new LavaMoatPlugin({ + // lockdown: {}, // override lockdown options here if you want + generatePolicy: true, + policyLocation: resolve(__dirname, 'lavamoat/webpack/node-thread'), + isBuiltin, + inlineLockdown: ['bundle.js'], + diagnosticsVerbosity: 1, + readableResourceIds: true, + emitPolicySnapshot: true, // puts the result of merging policy with override that was used for the bundle alongside the bundle for human review + }), + ], + optimization: { + minimize: false, + }, +}); + +const nodeProcessConfig: Configuration = merge(baseConfig, { + target: 'node', + entry: './src/node-process/index.ts', + output: { + path: resolve(__dirname, 'dist/webpack/node-process'), + }, + plugins: [ + // You may randomly need @ts-expect-error here, depending how dependencies resolve. If semver is a smart idea, typescript for webpack config is not + new LavaMoatPlugin({ + // lockdown: {}, // override lockdown options here if you want + generatePolicy: true, + policyLocation: resolve(__dirname, 'lavamoat/webpack/node-process'), + isBuiltin, + inlineLockdown: ['bundle.js'], + diagnosticsVerbosity: 1, + readableResourceIds: true, + emitPolicySnapshot: true, // puts the result of merging policy with override that was used for the bundle alongside the bundle for human review + }), + ], +}); + +const configs = [iframeConfig, nodeThreadConfig, nodeProcessConfig]; export default configs; diff --git a/packages/snaps-utils/wdio.config.js b/packages/snaps-utils/wdio.config.js index 0d30f0031e..4722de7557 100644 --- a/packages/snaps-utils/wdio.config.js +++ b/packages/snaps-utils/wdio.config.js @@ -80,7 +80,7 @@ const config = { mount: '/', path: resolve( __dirname, - '../snaps-execution-environments/dist/browserify/iframe', + '../snaps-execution-environments/dist/webpack/iframe', ), }, ], diff --git a/yarn.lock b/yarn.lock index 081911f16e..352066ef23 100644 --- a/yarn.lock +++ b/yarn.lock @@ -32,17 +32,7 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.21.4, @babel/code-frame@npm:^7.22.13, @babel/code-frame@npm:^7.23.5": - version: 7.24.7 - resolution: "@babel/code-frame@npm:7.24.7" - dependencies: - "@babel/highlight": "npm:^7.24.7" - picocolors: "npm:^1.0.0" - checksum: 10/4812e94885ba7e3213d49583a155fdffb05292330f0a9b2c41b49288da70cf3c746a3fda0bf1074041a6d741c33f8d7be24be5e96f41ef77395eeddc5c9ff624 - languageName: node - linkType: hard - -"@babel/code-frame@npm:^7.24.6, @babel/code-frame@npm:^7.25.9": +"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.21.4, @babel/code-frame@npm:^7.22.13, @babel/code-frame@npm:^7.23.5, @babel/code-frame@npm:^7.25.7, @babel/code-frame@npm:^7.25.9": version: 7.26.2 resolution: "@babel/code-frame@npm:7.26.2" dependencies: @@ -106,19 +96,7 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:^7.23.0, @babel/generator@npm:^7.23.6, @babel/generator@npm:^7.7.2": - version: 7.23.6 - resolution: "@babel/generator@npm:7.23.6" - dependencies: - "@babel/types": "npm:^7.23.6" - "@jridgewell/gen-mapping": "npm:^0.3.2" - "@jridgewell/trace-mapping": "npm:^0.3.17" - jsesc: "npm:^2.5.1" - checksum: 10/864090d5122c0aa3074471fd7b79d8a880c1468480cbd28925020a3dcc7eb6e98bedcdb38983df299c12b44b166e30915b8085a7bc126e68fa7e2aadc7bd1ac5 - languageName: node - linkType: hard - -"@babel/generator@npm:^7.24.6": +"@babel/generator@npm:^7.23.0, @babel/generator@npm:^7.23.6, @babel/generator@npm:^7.25.7, @babel/generator@npm:^7.7.2": version: 7.26.2 resolution: "@babel/generator@npm:7.26.2" dependencies: @@ -216,15 +194,6 @@ __metadata: languageName: node linkType: hard -"@babel/helper-environment-visitor@npm:^7.24.6": - version: 7.24.7 - resolution: "@babel/helper-environment-visitor@npm:7.24.7" - dependencies: - "@babel/types": "npm:^7.24.7" - checksum: 10/079d86e65701b29ebc10baf6ed548d17c19b808a07aa6885cc141b690a78581b180ee92b580d755361dc3b16adf975b2d2058b8ce6c86675fcaf43cf22f2f7c6 - languageName: node - linkType: hard - "@babel/helper-function-name@npm:^7.22.5, @babel/helper-function-name@npm:^7.23.0": version: 7.23.0 resolution: "@babel/helper-function-name@npm:7.23.0" @@ -235,16 +204,6 @@ __metadata: languageName: node linkType: hard -"@babel/helper-function-name@npm:^7.24.6": - version: 7.24.7 - resolution: "@babel/helper-function-name@npm:7.24.7" - dependencies: - "@babel/template": "npm:^7.24.7" - "@babel/types": "npm:^7.24.7" - checksum: 10/2ceb3d9b2b35a0fc4100fc06ed7be3bc38f03ff0bf128ff0edbc0cc7dd842967b1496fc70b5c616c747d7711c2b87e7d025c8888f48740631d6148a9d3614f85 - languageName: node - linkType: hard - "@babel/helper-hoist-variables@npm:^7.22.5": version: 7.22.5 resolution: "@babel/helper-hoist-variables@npm:7.22.5" @@ -254,15 +213,6 @@ __metadata: languageName: node linkType: hard -"@babel/helper-hoist-variables@npm:^7.24.6": - version: 7.24.7 - resolution: "@babel/helper-hoist-variables@npm:7.24.7" - dependencies: - "@babel/types": "npm:^7.24.7" - checksum: 10/6cfdcf2289cd12185dcdbdf2435fa8d3447b797ac75851166de9fc8503e2fd0021db6baf8dfbecad3753e582c08e6a3f805c8d00cbed756060a877d705bd8d8d - languageName: node - linkType: hard - "@babel/helper-member-expression-to-functions@npm:^7.22.15": version: 7.23.0 resolution: "@babel/helper-member-expression-to-functions@npm:7.23.0" @@ -365,37 +315,14 @@ __metadata: languageName: node linkType: hard -"@babel/helper-split-export-declaration@npm:^7.24.6": - version: 7.24.7 - resolution: "@babel/helper-split-export-declaration@npm:7.24.7" - dependencies: - "@babel/types": "npm:^7.24.7" - checksum: 10/ff04a3071603c87de0d6ee2540b7291ab36305b329bd047cdbb6cbd7db335a12f9a77af1cf708779f75f13c4d9af46093c00b34432e50b2411872c658d1a2e5e - languageName: node - linkType: hard - -"@babel/helper-string-parser@npm:^7.23.4": - version: 7.23.4 - resolution: "@babel/helper-string-parser@npm:7.23.4" - checksum: 10/c352082474a2ee1d2b812bd116a56b2e8b38065df9678a32a535f151ec6f58e54633cc778778374f10544b930703cca6ddf998803888a636afa27e2658068a9c - languageName: node - linkType: hard - -"@babel/helper-string-parser@npm:^7.24.6, @babel/helper-string-parser@npm:^7.25.9": +"@babel/helper-string-parser@npm:^7.23.4, @babel/helper-string-parser@npm:^7.25.7, @babel/helper-string-parser@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-string-parser@npm:7.25.9" checksum: 10/c28656c52bd48e8c1d9f3e8e68ecafd09d949c57755b0d353739eb4eae7ba4f7e67e92e4036f1cd43378cc1397a2c943ed7bcaf5949b04ab48607def0258b775 languageName: node linkType: hard -"@babel/helper-validator-identifier@npm:^7.22.20, @babel/helper-validator-identifier@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/helper-validator-identifier@npm:7.24.7" - checksum: 10/86875063f57361471b531dbc2ea10bbf5406e12b06d249b03827d361db4cad2388c6f00936bcd9dc86479f7e2c69ea21412c2228d4b3672588b754b70a449d4b - languageName: node - linkType: hard - -"@babel/helper-validator-identifier@npm:^7.24.6, @babel/helper-validator-identifier@npm:^7.25.9": +"@babel/helper-validator-identifier@npm:^7.22.20, @babel/helper-validator-identifier@npm:^7.24.7, @babel/helper-validator-identifier@npm:^7.25.7, @babel/helper-validator-identifier@npm:^7.25.9": version: 7.25.9 resolution: "@babel/helper-validator-identifier@npm:7.25.9" checksum: 10/3f9b649be0c2fd457fa1957b694b4e69532a668866b8a0d81eabfa34ba16dbf3107b39e0e7144c55c3c652bf773ec816af8df4a61273a2bb4eb3145ca9cf478e @@ -442,7 +369,7 @@ __metadata: languageName: node linkType: hard -"@babel/highlight@npm:^7.23.4, @babel/highlight@npm:^7.24.7": +"@babel/highlight@npm:^7.23.4": version: 7.24.7 resolution: "@babel/highlight@npm:7.24.7" dependencies: @@ -454,7 +381,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:7.23.9, @babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.15, @babel/parser@npm:^7.21.3, @babel/parser@npm:^7.22.15, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.9": +"@babel/parser@npm:7.23.9": version: 7.23.9 resolution: "@babel/parser@npm:7.23.9" bin: @@ -463,16 +390,18 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:7.24.6": - version: 7.24.6 - resolution: "@babel/parser@npm:7.24.6" +"@babel/parser@npm:7.25.8": + version: 7.25.8 + resolution: "@babel/parser@npm:7.25.8" + dependencies: + "@babel/types": "npm:^7.25.8" bin: parser: ./bin/babel-parser.js - checksum: 10/48af4251d030623a8fbf22979fc718bd9dead6ba6a64cae717270c6c809faaf303d137d82593912291ee761130c4731f0c25feb54629ba3fa4edcc496690cb44 + checksum: 10/0396eb71e379903cedb43862f84ebb1bec809c41e82b4894d2e6e83b8e8bc636ba6eff45382e615baefdb2399ede76ca82247ecc3a9877ac16eb3140074a3276 languageName: node linkType: hard -"@babel/parser@npm:^7.24.6, @babel/parser@npm:^7.25.9, @babel/parser@npm:^7.26.2": +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.15, @babel/parser@npm:^7.21.3, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.25.7, @babel/parser@npm:^7.25.9, @babel/parser@npm:^7.26.2": version: 7.26.2 resolution: "@babel/parser@npm:7.26.2" dependencies: @@ -1504,18 +1433,7 @@ __metadata: languageName: node linkType: hard -"@babel/template@npm:^7.22.15, @babel/template@npm:^7.22.5, @babel/template@npm:^7.3.3": - version: 7.22.15 - resolution: "@babel/template@npm:7.22.15" - dependencies: - "@babel/code-frame": "npm:^7.22.13" - "@babel/parser": "npm:^7.22.15" - "@babel/types": "npm:^7.22.15" - checksum: 10/21e768e4eed4d1da2ce5d30aa51db0f4d6d8700bc1821fec6292587df7bba2fe1a96451230de8c64b989740731888ebf1141138bfffb14cacccf4d05c66ad93f - languageName: node - linkType: hard - -"@babel/template@npm:^7.24.7": +"@babel/template@npm:^7.22.15, @babel/template@npm:^7.22.5, @babel/template@npm:^7.25.7, @babel/template@npm:^7.3.3": version: 7.25.9 resolution: "@babel/template@npm:7.25.9" dependencies: @@ -1526,7 +1444,7 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:7.23.9, @babel/traverse@npm:^7.23.2, @babel/traverse@npm:^7.7.2": +"@babel/traverse@npm:7.23.9": version: 7.23.9 resolution: "@babel/traverse@npm:7.23.9" dependencies: @@ -1544,25 +1462,22 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:7.24.6": - version: 7.24.6 - resolution: "@babel/traverse@npm:7.24.6" +"@babel/traverse@npm:7.25.7, @babel/traverse@npm:^7.23.2, @babel/traverse@npm:^7.7.2": + version: 7.25.7 + resolution: "@babel/traverse@npm:7.25.7" dependencies: - "@babel/code-frame": "npm:^7.24.6" - "@babel/generator": "npm:^7.24.6" - "@babel/helper-environment-visitor": "npm:^7.24.6" - "@babel/helper-function-name": "npm:^7.24.6" - "@babel/helper-hoist-variables": "npm:^7.24.6" - "@babel/helper-split-export-declaration": "npm:^7.24.6" - "@babel/parser": "npm:^7.24.6" - "@babel/types": "npm:^7.24.6" + "@babel/code-frame": "npm:^7.25.7" + "@babel/generator": "npm:^7.25.7" + "@babel/parser": "npm:^7.25.7" + "@babel/template": "npm:^7.25.7" + "@babel/types": "npm:^7.25.7" debug: "npm:^4.3.1" globals: "npm:^11.1.0" - checksum: 10/11e5904f9aa255ac1470c6966e1898a718ea0cc7f41938a30df1a20dc31dfea34f66791a5ee0dd6d8d485230fe2e970d8301fa6908a524b3e7c96e52c0112ab6 + checksum: 10/5b2d332fcd6bc78e6500c997e79f7e2a54dfb357e06f0908cb7f0cdd9bb54e7fd3c5673f45993849d433d01ea6076a6d04b825958f0cfa01288ad55ffa5c286f languageName: node linkType: hard -"@babel/types@npm:7.23.9, @babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.19, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.23.6, @babel/types@npm:^7.23.9, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": +"@babel/types@npm:7.23.9": version: 7.23.9 resolution: "@babel/types@npm:7.23.9" dependencies: @@ -1573,18 +1488,18 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:7.24.6": - version: 7.24.6 - resolution: "@babel/types@npm:7.24.6" +"@babel/types@npm:7.25.8": + version: 7.25.8 + resolution: "@babel/types@npm:7.25.8" dependencies: - "@babel/helper-string-parser": "npm:^7.24.6" - "@babel/helper-validator-identifier": "npm:^7.24.6" + "@babel/helper-string-parser": "npm:^7.25.7" + "@babel/helper-validator-identifier": "npm:^7.25.7" to-fast-properties: "npm:^2.0.0" - checksum: 10/34552539cdc740513650cb3c7754f77a55cc5253dff9d45afd52292d366eb1c099939d5db066e458abcf4c9a7dedfe43467445f9c2208b3cb64866762dee5e9d + checksum: 10/973108dbb189916bb87360f2beff43ae97f1b08f1c071bc6499d363cce48b3c71674bf3b59dfd617f8c5062d1c76dc2a64232bc07b6ccef831fd0c06162d44d9 languageName: node linkType: hard -"@babel/types@npm:^7.24.6, @babel/types@npm:^7.24.7, @babel/types@npm:^7.25.9, @babel/types@npm:^7.26.0": +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.19, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.23.9, @babel/types@npm:^7.25.7, @babel/types@npm:^7.25.8, @babel/types@npm:^7.25.9, @babel/types@npm:^7.26.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": version: 7.26.0 resolution: "@babel/types@npm:7.26.0" dependencies: @@ -2790,20 +2705,13 @@ __metadata: languageName: node linkType: hard -"@discoveryjs/json-ext@npm:0.5.7": +"@discoveryjs/json-ext@npm:0.5.7, @discoveryjs/json-ext@npm:^0.5.0": version: 0.5.7 resolution: "@discoveryjs/json-ext@npm:0.5.7" checksum: 10/b95682a852448e8ef50d6f8e3b7ba288aab3fd98a2bafbe46881a3db0c6e7248a2debe9e1ee0d4137c521e4743ca5bbcb1c0765c9d7b3e0ef53231506fec42b4 languageName: node linkType: hard -"@discoveryjs/json-ext@npm:^0.5.0": - version: 0.5.6 - resolution: "@discoveryjs/json-ext@npm:0.5.6" - checksum: 10/61f84f6098f5ae31128e98ff0e9415d1af4c2b61fcfb01a23800e2863a0a2a08ddc187a2152d68b7f4dcff6982f60f4e684bddda1edbbc55775ba9af58ca160b - languageName: node - linkType: hard - "@emotion/babel-plugin@npm:^11.11.0": version: 11.11.0 resolution: "@emotion/babel-plugin@npm:11.11.0" @@ -2966,14 +2874,7 @@ __metadata: languageName: node linkType: hard -"@endo/env-options@npm:^1.1.0": - version: 1.1.0 - resolution: "@endo/env-options@npm:1.1.0" - checksum: 10/c362b5ccda9407c7049d4f5812023b9f5123116282719a4b296702f93baca7030066359af0b8bf869f8d7736f85d5fe12d21e1375049b10a482eb9bae3715797 - languageName: node - linkType: hard - -"@endo/env-options@npm:^1.1.2": +"@endo/env-options@npm:^1.1.6": version: 1.1.7 resolution: "@endo/env-options@npm:1.1.7" checksum: 10/95693abb5e0c05bcdd8ebf7ba7a9845d2ff17d6d2e1350b5fd9acc9343d008424cb0f221b03035fe5d3f122bfca69f089c07db593b7a14e6697e1abdf9139660 @@ -3838,18 +3739,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/gen-mapping@npm:^0.3.0, @jridgewell/gen-mapping@npm:^0.3.2": - version: 0.3.3 - resolution: "@jridgewell/gen-mapping@npm:0.3.3" - dependencies: - "@jridgewell/set-array": "npm:^1.0.1" - "@jridgewell/sourcemap-codec": "npm:^1.4.10" - "@jridgewell/trace-mapping": "npm:^0.3.9" - checksum: 10/072ace159c39ab85944bdabe017c3de15c5e046a4a4a772045b00ff05e2ebdcfa3840b88ae27e897d473eb4d4845b37be3c78e28910c779f5aeeeae2fb7f0cc2 - languageName: node - linkType: hard - -"@jridgewell/gen-mapping@npm:^0.3.5": +"@jridgewell/gen-mapping@npm:^0.3.0, @jridgewell/gen-mapping@npm:^0.3.5": version: 0.3.5 resolution: "@jridgewell/gen-mapping@npm:0.3.5" dependencies: @@ -3867,14 +3757,7 @@ __metadata: 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" - checksum: 10/69a84d5980385f396ff60a175f7177af0b8da4ddb81824cb7016a9ef914eee9806c72b6b65942003c63f7983d4f39a5c6c27185bbca88eb4690b62075602e28e - languageName: node - linkType: hard - -"@jridgewell/set-array@npm:^1.2.1": +"@jridgewell/set-array@npm:^1.0.0, @jridgewell/set-array@npm:^1.2.1": version: 1.2.1 resolution: "@jridgewell/set-array@npm:1.2.1" checksum: 10/832e513a85a588f8ed4f27d1279420d8547743cc37fcad5a5a76fc74bb895b013dfe614d0eed9cb860048e6546b798f8f2652020b4b2ba0561b05caa8c654b10 @@ -3908,7 +3791,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.20, @jridgewell/trace-mapping@npm:^0.3.24, @jridgewell/trace-mapping@npm:^0.3.25, @jridgewell/trace-mapping@npm:^0.3.9": +"@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.15, @jridgewell/trace-mapping@npm:^0.3.20, @jridgewell/trace-mapping@npm:^0.3.24, @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: @@ -3932,14 +3815,14 @@ __metadata: languageName: node linkType: hard -"@lavamoat/aa@npm:^4.1.0, @lavamoat/aa@npm:^4.2.0": - version: 4.2.0 - resolution: "@lavamoat/aa@npm:4.2.0" +"@lavamoat/aa@npm:^4.1.0, @lavamoat/aa@npm:^4.2.0, @lavamoat/aa@npm:^4.3.0": + version: 4.3.0 + resolution: "@lavamoat/aa@npm:4.3.0" dependencies: resolve: "npm:1.22.8" bin: lavamoat-ls: src/cli.js - checksum: 10/13901bfe71b74fefac707d6f94651a1f26d72825f24391b59cc712d33e671dd492123891071c900104cf806a48b543b8d19c9f04110c532b3acfa6928fd00cc0 + checksum: 10/c6c24ea88194ad06a83cc2a9e0b6918ee41ab40abcc5c889e1a33f214e48eb160dd0c4cea7b0e299f86d472810ef80e7caf0b2600499222b108690516d9f8123 languageName: node linkType: hard @@ -3999,18 +3882,18 @@ __metadata: languageName: node linkType: hard -"@lavamoat/webpack@npm:0.3.0-beta.0": - version: 0.3.0-beta.0 - resolution: "@lavamoat/webpack@npm:0.3.0-beta.0" +"@lavamoat/webpack@npm:^0.7.0-beta.0": + version: 0.7.0-beta.0 + resolution: "@lavamoat/webpack@npm:0.7.0-beta.0" dependencies: - "@lavamoat/aa": "npm:^4.2.0" + "@lavamoat/aa": "npm:^4.3.0" browser-resolve: "npm:2.0.0" json-stable-stringify: "npm:1.1.1" - lavamoat-core: "npm:^15.3.0" - ses: "npm:1.4.0" + lavamoat-core: "npm:^16.1.0" + ses: "npm:1.8.0" peerDependencies: webpack: ^5.80.2 - checksum: 10/267e2f0a3860e551657b2d2682c9358936288a14d4303157c5c34995064fdebae4d536bb7e452da5578edaa44d371f855a6db64547082fd00c5edc6c890c7376 + checksum: 10/867b506b803ebafef1a68e9dd3bc4b1ab088641e6aed7aa16619da64e2471902b12f1dd3902f7067b20e95f275549312d87686b4dda509c3d850878c82f7aca9 languageName: node linkType: hard @@ -5992,7 +5875,7 @@ __metadata: "@lavamoat/allow-scripts": "npm:^3.0.4" "@lavamoat/lavapack": "npm:^6.1.1" "@lavamoat/lavatube": "npm:^1.0.0" - "@lavamoat/webpack": "npm:0.3.0-beta.0" + "@lavamoat/webpack": "npm:^0.7.0-beta.0" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" @@ -7762,21 +7645,21 @@ __metadata: languageName: node linkType: hard -"@types/babel__traverse@npm:*, @types/babel__traverse@npm:7.20.5, @types/babel__traverse@npm:^7.0.6": - version: 7.20.5 - resolution: "@types/babel__traverse@npm:7.20.5" +"@types/babel__traverse@npm:*, @types/babel__traverse@npm:7.20.6, @types/babel__traverse@npm:^7.0.6": + version: 7.20.6 + resolution: "@types/babel__traverse@npm:7.20.6" dependencies: "@babel/types": "npm:^7.20.7" - checksum: 10/f0352d537448e1e37f27e6bb8c962d7893720a92fde9d8601a68a93dbc14e15c088b4c0c8f71021d0966d09fba802ef3de11fdb6766c33993f8cf24f1277c6a9 + checksum: 10/63d13a3789aa1e783b87a8b03d9fb2c2c90078de7782422feff1631b8c2a25db626e63a63ac5a1465d47359201c73069dacb4b52149d17c568187625da3064ae languageName: node linkType: hard -"@types/babel__traverse@npm:7.20.6": - version: 7.20.6 - resolution: "@types/babel__traverse@npm:7.20.6" +"@types/babel__traverse@npm:7.20.5": + version: 7.20.5 + resolution: "@types/babel__traverse@npm:7.20.5" dependencies: "@babel/types": "npm:^7.20.7" - checksum: 10/63d13a3789aa1e783b87a8b03d9fb2c2c90078de7782422feff1631b8c2a25db626e63a63ac5a1465d47359201c73069dacb4b52149d17c568187625da3064ae + checksum: 10/f0352d537448e1e37f27e6bb8c962d7893720a92fde9d8601a68a93dbc14e15c088b4c0c8f71021d0966d09fba802ef3de11fdb6766c33993f8cf24f1277c6a9 languageName: node linkType: hard @@ -9304,7 +9187,7 @@ __metadata: languageName: node linkType: hard -"acorn-walk@npm:^8.0.0": +"acorn-walk@npm:^8.0.0, acorn-walk@npm:^8.0.2, acorn-walk@npm:^8.1.1": version: 8.3.4 resolution: "acorn-walk@npm:8.3.4" dependencies: @@ -9313,13 +9196,6 @@ __metadata: languageName: node linkType: hard -"acorn-walk@npm:^8.0.2, acorn-walk@npm:^8.1.1": - version: 8.2.0 - resolution: "acorn-walk@npm:8.2.0" - checksum: 10/e69f7234f2adfeb16db3671429a7c80894105bd7534cb2032acf01bb26e6a847952d11a062d071420b43f8d82e33d2e57f26fe87d9cce0853e8143d8910ff1de - languageName: node - linkType: hard - "acorn@npm:^7.0.0": version: 7.4.1 resolution: "acorn@npm:7.4.1" @@ -9329,7 +9205,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.0.4, acorn@npm:^8.11.0": +"acorn@npm:^8.0.4, acorn@npm:^8.1.0, acorn@npm:^8.10.0, acorn@npm:^8.11.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.14.0 resolution: "acorn@npm:8.14.0" bin: @@ -9338,15 +9214,6 @@ __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 - "aes-js@npm:4.0.0-beta.5": version: 4.0.0-beta.5 resolution: "aes-js@npm:4.0.0-beta.5" @@ -16752,15 +16619,6 @@ __metadata: languageName: node linkType: hard -"jsesc@npm:^2.5.1": - version: 2.5.2 - resolution: "jsesc@npm:2.5.2" - bin: - jsesc: bin/jsesc - checksum: 10/d2096abdcdec56969764b40ffc91d4a23408aa2f351b4d1c13f736f25476643238c43fdbaf38a191c26b1b78fd856d965f5d4d0dde7b89459cd94025190cdf13 - languageName: node - linkType: hard - "jsesc@npm:^3.0.2": version: 3.0.2 resolution: "jsesc@npm:3.0.2" @@ -17044,16 +16902,16 @@ __metadata: languageName: node linkType: hard -"lavamoat-core@npm:^15.3.0": - version: 15.4.0 - resolution: "lavamoat-core@npm:15.4.0" +"lavamoat-core@npm:^16.1.0": + version: 16.1.0 + resolution: "lavamoat-core@npm:16.1.0" dependencies: - "@babel/types": "npm:7.24.6" + "@babel/types": "npm:7.25.8" json-stable-stringify: "npm:1.1.1" - lavamoat-tofu: "npm:^7.3.0" + lavamoat-tofu: "npm:^8.0.2" merge-deep: "npm:3.0.3" - type-fest: "npm:4.15.0" - checksum: 10/81b97f38e63ec73c6f7c64f31ac22da14ab06cc1bc643431acde5311c71518f742d94fe141aca13fc50406749f2f3f4681d4e753d86cfcd102b4cef42150800d + type-fest: "npm:4.26.1" + checksum: 10/d449d714b685ddbf1807e4bc44e5abadeb9c16a5c3ab6a8f111198601899c16c5175ead81350478ba344b430e08f33468126ad0462408d5aaaa67f3da0bbb621 languageName: node linkType: hard @@ -17072,18 +16930,18 @@ __metadata: languageName: node linkType: hard -"lavamoat-tofu@npm:^7.3.0": - version: 7.3.0 - resolution: "lavamoat-tofu@npm:7.3.0" +"lavamoat-tofu@npm:^8.0.2": + version: 8.0.2 + resolution: "lavamoat-tofu@npm:8.0.2" dependencies: - "@babel/parser": "npm:7.24.6" - "@babel/traverse": "npm:7.24.6" - "@babel/types": "npm:7.24.6" + "@babel/parser": "npm:7.25.8" + "@babel/traverse": "npm:7.25.7" + "@babel/types": "npm:7.25.8" "@types/babel__traverse": "npm:7.20.6" - type-fest: "npm:4.15.0" + type-fest: "npm:4.26.1" peerDependencies: - lavamoat-core: ^15.4.0 - checksum: 10/e34be64ea12447512bb04ccdf722dab9ee656ed3f6f9101d99d286efdf8330a7245bb29a6241866b60cdfc64ef4341cc59bd06ab76d55b8bf54c0329d0ad8ab0 + lavamoat-core: ">15.4.0" + checksum: 10/e6843fe65a5ba3ef69c248cc222c8ff86f88a34ea11d942ee28cd4b183b356692b9a49049b5431b75ba0a11d20fe459f1b0b1312e12ec7c83842164ba417b744 languageName: node linkType: hard @@ -21067,21 +20925,12 @@ __metadata: languageName: node linkType: hard -"ses@npm:1.4.0": - version: 1.4.0 - resolution: "ses@npm:1.4.0" - dependencies: - "@endo/env-options": "npm:^1.1.2" - checksum: 10/f895334538092defa9fbac7b31244bc80a8f738faa083688a50134f865f677d86079cab3a6384ce5e843480ce4546c80eee5f49828af0749d0599064a7a2d8a0 - languageName: node - linkType: hard - -"ses@npm:^1.1.0": - version: 1.1.0 - resolution: "ses@npm:1.1.0" +"ses@npm:1.8.0, ses@npm:^1.1.0": + version: 1.8.0 + resolution: "ses@npm:1.8.0" dependencies: - "@endo/env-options": "npm:^1.1.0" - checksum: 10/b98b360a1d40ebb737cb237ac025b5b6ccf74f21ce000fc9c470241e2db357bd3bd041a400f21fe863acb76543e0b6757cd70ec0f8618df69d5d05be5a222b12 + "@endo/env-options": "npm:^1.1.6" + checksum: 10/ce1cb7f85147ce8c83f63b6d7cfb0a38bc4ca31a85fe9c7d86547595fb2ea0503ab1bacf7c9eb1dd5c7796638d4fbac51608a8f4493d71b56a584262837819ba languageName: node linkType: hard @@ -22542,17 +22391,17 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:4.10.2, type-fest@npm:^4.2.0": +"type-fest@npm:4.10.2": version: 4.10.2 resolution: "type-fest@npm:4.10.2" checksum: 10/2b1ad1270d9fabeeb506ba831d513caeb05bfc852e5e012511d785ce9dc68d773fe0a42bddf857a362c7f3406244809c5b8a698b743bb7617d4a8c470672087f languageName: node linkType: hard -"type-fest@npm:4.15.0": - version: 4.15.0 - resolution: "type-fest@npm:4.15.0" - checksum: 10/8f897551877daa0df7bb17a21b6acd8a21ac5a0bdb14dbfd353b16013fed99f23c6d9c12a2c7685c8dededb4739ec8bfb120a914330f8b11a478a89758a11acc +"type-fest@npm:4.26.1, type-fest@npm:^4.2.0": + version: 4.26.1 + resolution: "type-fest@npm:4.26.1" + checksum: 10/b82676194f80af228cb852e320d2ea8381c89d667d2e4d9f2bdfc8f254bccc039c7741a90c53617a4de0c9fdca8265ed18eb0888cd628f391c5c381c33a9f94b languageName: node linkType: hard