From a98fed1dbfc9316d3cbf80f6f247365b5b5f40ba Mon Sep 17 00:00:00 2001 From: MetaMask Bot Date: Tue, 14 Jan 2025 10:47:56 +0000 Subject: [PATCH] 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": {