npm now has the ability to approve/deny scripts per-package just like pnpm 🎉
Post
docs.npmjs.comnpm-approve-scripts | npm DocsApprove install scripts for specific dependencies
I am not at the laptop so I can’t test it right now. Have you tested it ? The documentation of this config is still weird: Dependencies explicitly denied with false in allowScripts are always silently skipped; this setting only affects unreviewed entries. The first sentence is not true with <v12
0 reposts0 likes