pnpm
12.21.0 · 13 Nov 2026MIT357.1M / weekRepositoryHomepagenpmAtom feed
Upgrading pnpm From 7.11.0 to 7.12.0
1 release in betweenevery note read
Security
27 advisories still affect 7.12.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
A new setting supported in the pnpm section of the
package.jsonfile:allowNonAppliedPatches. When it is set totrue, non-applied patches will not cause an error, just a warning will be printed. For example: - New
Now it is possible to exclude packages from hoisting by prepending a
!to the pattern. This works with both thehoist-patternandpublic-hoist-patternsettings. For instance: - Fixed
When the same dependency with missing peers is used in multiple workspace projects, install the missing peers in each workspace project #4820.
- Fixed
pnpm patchshould work on files that don't have an end of line #5320. - Fixed
Fix
pnpm patchusing a custom--edit-dir.
- 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.