Skip to content

Commit

Permalink
Update lavamoat policy
Browse files Browse the repository at this point in the history
  • Loading branch information
ritave committed Oct 3, 2024
1 parent 828c149 commit 7f1740e
Showing 1 changed file with 78 additions and 105 deletions.
183 changes: 78 additions & 105 deletions packages/snaps-execution-environments/lavamoat/build-system/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
},
"packages": {
"@babel/core>@ampproject/remapping": true,
"@babel/core>@babel/code-frame": true,
"@babel/core>@babel/generator": true,
"@babel/core>@babel/helper-compilation-targets": true,
"@babel/core>@babel/helper-module-transforms": true,
Expand All @@ -35,8 +36,7 @@
"depcheck>@babel/parser": true,
"depcheck>@babel/traverse": true,
"depcheck>json5": true,
"eslint>debug": true,
"lavamoat>@babel/code-frame": true
"eslint>debug": true
}
},
"@babel/core>@ampproject/remapping": {
Expand All @@ -57,6 +57,68 @@
"terser>@jridgewell/source-map>@jridgewell/gen-mapping>@jridgewell/sourcemap-codec": true
}
},
"@babel/core>@babel/code-frame": {
"globals": {
"console.warn": true,
"process": true
},
"packages": {
"@babel/core>@babel/code-frame>@babel/highlight": true,
"vite>postcss>picocolors": true
}
},
"@babel/core>@babel/code-frame>@babel/highlight": {
"globals": {
"process": true
},
"packages": {
"@babel/core>@babel/code-frame>@babel/highlight>chalk": true,
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true,
"lavamoat>@babel/highlight>js-tokens": true,
"vite>postcss>picocolors": true
}
},
"@babel/core>@babel/code-frame>@babel/highlight>chalk": {
"globals": {
"process.env.TERM": true,
"process.platform": true
},
"packages": {
"@babel/core>@babel/code-frame>@babel/highlight>chalk>ansi-styles": true,
"@babel/core>@babel/code-frame>@babel/highlight>chalk>escape-string-regexp": true,
"@babel/core>@babel/code-frame>@babel/highlight>chalk>supports-color": true
}
},
"@babel/core>@babel/code-frame>@babel/highlight>chalk>ansi-styles": {
"packages": {
"@babel/core>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert": true
}
},
"@babel/core>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert": {
"packages": {
"@babel/core>@babel/code-frame>@babel/highlight>chalk>ansi-styles>color-convert>color-name": true
}
},
"@babel/core>@babel/code-frame>@babel/highlight>chalk>supports-color": {
"builtin": {
"os.release": true
},
"globals": {
"process.env": true,
"process.platform": true,
"process.stderr": true,
"process.stdout": true,
"process.versions.node.split": true
},
"packages": {
"@babel/core>@babel/code-frame>@babel/highlight>chalk>supports-color>has-flag": true
}
},
"@babel/core>@babel/code-frame>@babel/highlight>chalk>supports-color>has-flag": {
"globals": {
"process.argv": true
}
},
"@babel/core>@babel/generator": {
"globals": {
"console.error": true,
Expand Down Expand Up @@ -156,9 +218,9 @@
},
"@babel/core>@babel/template": {
"packages": {
"@babel/core>@babel/code-frame": true,
"@babel/core>@babel/types": true,
"depcheck>@babel/parser": true,
"lavamoat>@babel/code-frame": true
"depcheck>@babel/parser": true
}
},
"@babel/core>@babel/types": {
Expand Down Expand Up @@ -1815,6 +1877,7 @@
"console.log": true
},
"packages": {
"@babel/core>@babel/code-frame": true,
"@babel/core>@babel/generator": true,
"@babel/core>@babel/types": true,
"depcheck>@babel/parser": true,
Expand All @@ -1823,8 +1886,7 @@
"depcheck>@babel/traverse>@babel/helper-hoist-variables": true,
"depcheck>@babel/traverse>@babel/helper-split-export-declaration": true,
"depcheck>@babel/traverse>globals": true,
"eslint>debug": true,
"lavamoat>@babel/code-frame": true
"eslint>debug": true
}
},
"depcheck>@babel/traverse>@babel/helper-function-name": {
Expand Down Expand Up @@ -2081,105 +2143,6 @@
"readable-stream": true
}
},
"lavamoat>@babel/code-frame": {
"globals": {
"console.warn": true,
"process.emitWarning": true
},
"packages": {
"lavamoat>@babel/code-frame>chalk": true,
"lavamoat>@babel/highlight": true
}
},
"lavamoat>@babel/code-frame>chalk": {
"globals": {
"process.env.TERM": true,
"process.platform": true
},
"packages": {
"lavamoat>@babel/code-frame>chalk>ansi-styles": true,
"lavamoat>@babel/code-frame>chalk>escape-string-regexp": true,
"lavamoat>@babel/code-frame>chalk>supports-color": true
}
},
"lavamoat>@babel/code-frame>chalk>ansi-styles": {
"packages": {
"lavamoat>@babel/code-frame>chalk>ansi-styles>color-convert": true
}
},
"lavamoat>@babel/code-frame>chalk>ansi-styles>color-convert": {
"packages": {
"lavamoat>@babel/code-frame>chalk>ansi-styles>color-convert>color-name": true
}
},
"lavamoat>@babel/code-frame>chalk>supports-color": {
"builtin": {
"os.release": true
},
"globals": {
"process.env": true,
"process.platform": true,
"process.stderr": true,
"process.stdout": true,
"process.versions.node.split": true
},
"packages": {
"lavamoat>@babel/code-frame>chalk>supports-color>has-flag": true
}
},
"lavamoat>@babel/code-frame>chalk>supports-color>has-flag": {
"globals": {
"process.argv": true
}
},
"lavamoat>@babel/highlight": {
"packages": {
"lavamoat>@babel/highlight>@babel/helper-validator-identifier": true,
"lavamoat>@babel/highlight>chalk": true,
"lavamoat>@babel/highlight>js-tokens": true
}
},
"lavamoat>@babel/highlight>chalk": {
"globals": {
"process.env.TERM": true,
"process.platform": true
},
"packages": {
"lavamoat>@babel/highlight>chalk>ansi-styles": true,
"lavamoat>@babel/highlight>chalk>escape-string-regexp": true,
"lavamoat>@babel/highlight>chalk>supports-color": true
}
},
"lavamoat>@babel/highlight>chalk>ansi-styles": {
"packages": {
"lavamoat>@babel/highlight>chalk>ansi-styles>color-convert": true
}
},
"lavamoat>@babel/highlight>chalk>ansi-styles>color-convert": {
"packages": {
"lavamoat>@babel/highlight>chalk>ansi-styles>color-convert>color-name": true
}
},
"lavamoat>@babel/highlight>chalk>supports-color": {
"builtin": {
"os.release": true
},
"globals": {
"process.env": true,
"process.platform": true,
"process.stderr": true,
"process.stdout": true,
"process.versions.node.split": true
},
"packages": {
"lavamoat>@babel/highlight>chalk>supports-color>has-flag": true
}
},
"lavamoat>@babel/highlight>chalk>supports-color>has-flag": {
"globals": {
"process.argv": true
}
},
"lavamoat>@lavamoat/aa": {
"builtin": {
"node:fs.lstatSync": true,
Expand Down Expand Up @@ -2428,6 +2391,16 @@
"Buffer": true
}
},
"vite>postcss>picocolors": {
"builtin": {
"tty.isatty": true
},
"globals": {
"process.argv.includes": true,
"process.env": true,
"process.platform": true
}
},
"yargs": {
"builtin": {
"assert.notStrictEqual": true,
Expand Down

0 comments on commit 7f1740e

Please sign in to comment.