Back to Daily Feed 
npm & pnpm Introduce Staged Publishing for Enhanced Package Security
Must Read
Originally published on JavaScript Weekly
View Original Article
Share this article:
Summary & Key Takeaways
- npm 11.15.0 and pnpm 11.3 now support staged publishing.
- This feature introduces a mandatory review period for packages.
- Approval is required before packages are made public on the registry.
- Aims to enhance the security and trustworthiness of the npm ecosystem.
- GitHub also introduced
--allow-*options for package sourcing control.
Our Commentary
Staged publishing for npm and pnpm is a huge deal for supply chain security. We've seen too many incidents with malicious packages. Adding a review and approval step before a package hits the registry feels like a necessary evolution. It's a bit of friction, sure, but the peace of mind it offers is invaluable. This is a welcome change.
View Original Article
Share this article: