3 ms·
I believe the Deno permission system[0] does what you're asking, and more. (Deno is a JavaScript runtime co-created by Ryan Dahl, who created Node.js - see his
by jrmann100 2y ago
I believe the Deno permission system[0] does what you're asking, and more.
(Deno is a JavaScript runtime co-created by Ryan Dahl, who created Node.js - see his talk "10 Things I Regret About Node.js"[1] for more of his motivations in designing it.)
[0] https://docs.deno.com/runtime/fundamentals/security/ https://docs.deno.com/runtime/fundamentals/security/
[1] https://www.youtube.com/watch?v=M3BM9TB-8yA https://www.youtube.com/watch?v=M3BM9TB-8yA
- DimmieMan 2y agoYes, explicitly asking you if you want to run the install script is the first warning (which pnpm can do too) Then would halt due to file access or network permissions. Could still get you if you lazily allow all everywhere though and this is why you shouldn’t do that.
- simlevesque 2y agoYes and you can run almost every npm packages: deno run npm:@angular/cli --help