pnpm
12.21.0 · 13 Nov 2026MIT358.4M / weekRepositoryHomepagenpmAtom feed
Upgrading pnpm From 10.1.0 to 10.2.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 1
- new
- 5
- fixes
Before you upgrade
Tick each one off as you go- Breaking10.2.0
Security
25 advisories still affect 10.2.0
- pnpm vulnerable to Command Injection via environment variable substitutionhigh · GHSA-2phv-j68v-wwqx
- pnpm v10+ Bypass "Dependency lifecycle scripts execution disabled by default"high · GHSA-379q-355j-w6rj
- pnpm: Repository config can expand victim environment secrets into registry requests before scripts runmoderate · GHSA-3qhv-2rgh-x77r
Upgrading to 10.34.5 clears them.
Release by release
- Breaking
- New
Packages executed via
pnpm dlxandpnpm createare allowed to be built (run postinstall scripts) by default. - Fixed
Quote args for scripts with shell-quote to support new lines (on POSIX only) #8980.
- Fixed
Fix a bug in which
pnpm deployfails to read the correctprojectIdwhen the deploy source is the same as the workspace directory #9001. - Fixed
Proxy settings should be respected, when resolving Git-hosted dependencies #6530.
- Fixed
Prevent
overridesfrom adding invalid version ranges topeerDependenciesby keeping thepeerDependenciesand overriding them with proddependencies#8978. - Fixed
Sort the package names in the "pnpm.onlyBuiltDependencies" list saved by
pnpm approve-builds.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.