pnpm
12.21.0 · 13 Nov 2026MIT358.4M / weekRepositoryHomepagenpmAtom feed
Upgrading pnpm From 9.6.0 to 9.7.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
26 advisories still affect 9.7.0
- pnpm vulnerable to Command Injection via environment variable substitutionhigh · GHSA-2phv-j68v-wwqx
- pnpm: Repository config can expand victim environment secrets into registry requests before scripts runmoderate · GHSA-3qhv-2rgh-x77r
- pnpm: Reserved bin name deletes PNPM_HOME during global removemoderate · GHSA-4gxm-v5v7-fqc4
Upgrading to 10.34.5 clears them.
Release by release
- New
Added pnpm version management. If the
manage-package-manager-versionssetting is set totrue, pnpm will switch to the version specified in thepackageManagerfield ofpackage.json#8363. This is the same field used by Corepack. Example: - New
Added the ability to apply patch to all versions #8337.
- New
Change the default edit dir location when running
pnpm patchfrom a temporary directory tonode_modules/.pnpm_patches/pkg[@version]to allow the code editor to open the edit dir in the same file tree as the main project #8379. - New
Substitute environment variables in config keys #6679.
- Fixed
pnpm installshould runnode-gyp rebuildif the project has abinding.gypfile even if the project doesn't have an install script #8293. - Fixed
Print warnings to stderr #8342.
- Fixed
Peer dependencies of optional peer dependencies should be automatically installed #8323.
- New
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.