npm now has the ability to approve/deny scripts per-package just like pnpm 🎉
8 reposts68 likes
npm now has the ability to approve/deny scripts per-package just like pnpm 🎉
8 reposts68 likes
It's a phased rollout and It'll be fully usable in the next major release coming soon AFAIK. For now I'd stick to this recommendation lavamoat.github.io/guides/harde...
You are misreading allow-scripts. I was talking about the flags that were introduced in v11.15. github.com/npm/cli/comm...
And as soon as this would make DX worse in some cases, I created a proposal to download external assets (like LLM weights which could take GBs) in a reliable, reproducible and verifiable way. Would be nice to see some support or valuable feedback on this github.com/npm/rfcs/dis...