pnpm
12.21.0 · 13 Nov 2026MIT358.4M / weekRepositoryHomepagenpmAtom feed
Upgrading pnpm From 9.0.6 to 9.1.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
26 advisories still affect 9.1.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
New setting called
virtual-store-dir-max-lengthadded to modify the maximum allowed length of the directories insidenode_modules/.pnpm. The default length is set to 120 characters. This setting is particularly useful on Windows, where there is a limit to the maximum length of a file path #7355. - Fixed
A dependency is hoisted to resolve an optional peer dependency only if it satisfies the range provided for the optional peer dependency #8028.
- Fixed
Details in the
pnpm outdatedoutput are wrapped correctly #8037. - Fixed
Fix
Cannot read properties of undefined (reading 'missingPeersOfChildren')exception that happens on install #8041. - Fixed
Explicitly throw an error when user attempts to run
publishorpackwhenbundledDependenciesis set butnode-linkerisn'thoisted. - Fixed
pnpm updateshould not fail when there's an aliased local workspace dependency #7975.
- 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.