pnpm
12.21.0 · 13 Nov 2026MIT358.4M / weekRepositoryHomepagenpmAtom feed
Upgrading pnpm From 9.7.1 to 9.8.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
26 advisories still affect 9.8.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 a new command for upgrading pnpm itself when it isn't managed by Corepack:
pnpm self-update. This command will work, when pnpm was installed via the standalone script from the pnpm installation page #8424. - Fixed
CLI tools installed in the root of the workspace should be added to the PATH, when running scripts and
use-node-versionis set. - Fixed
pnpm setupshould never switch to another version of pnpm. - Fixed
Ignore non-string value in the os, cpu, libc fields, which checking optional dependencies #8431.
- Fixed
Remember the state of edit dir, allow running
pnpm patch-committhe second time without having to re-runpnpm patch.
- 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.