pnpm
12.21.0 · 13 Nov 2026MIT358.4M / weekRepositoryHomepagenpmAtom feed
Upgrading pnpm From 10.34.9 to 11.0.0
1 release in betweenevery note read
- 69
- changes to make
- 0
- advisories fixed
- 64
- new
- 30
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking11.0.0
- Breaking11.0.0
- Breaking11.0.0
- Breaking11.0.0
- Breaking11.0.0
- Breaking11.0.0
- Breaking11.0.0
- Breaking11.0.0
- Breaking11.0.0
- Breaking11.0.0
Security
18 advisories still affect 11.0.0
- 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
- pnpm: Unsafe default behavior breaks integrity checkmoderate · GHSA-54hh-g5mx-jqcp
Upgrading to 11.11.0 clears them.
- 11.0.0
Changed default values:
optimisticRepeatInstallis nowtrue,verifyDepsBeforeRunis nowinstall,minimumReleaseAgeis now1440(1 day), andminimumReleaseAgeStrictisfalse. Newly published packages will not be resolved until they are at least 1 day old. This protects against supply chain attacks by giving the community time to detect and remove compromised versions. To opt out, setminimumReleaseAge: 0inpnpm-workspace.yaml#11158. - 11.0.0
strictDepBuildsistrueby default. - 11.0.0
blockExoticSubdepsistrueby default. - 11.0.0
Removed deprecated build dependency settings:
onlyBuiltDependencies,onlyBuiltDependenciesFile,neverBuiltDependencies,ignoredBuiltDependencies, andignoreDepScripts#11220. - 11.0.0
Removed
allowNonAppliedPatchesin favor ofallowUnusedPatches. - 11.0.0
Removed
ignorePatchFailures; patch application failures now throw an error. - 11.0.0
GHSAs are derived from each advisory's
url(https://github.com/advisories/GHSA-xxxx-xxxx-xxxx)
Release by release
- Security
Changed default values:
optimisticRepeatInstallis nowtrue,verifyDepsBeforeRunis nowinstall,minimumReleaseAgeis now1440(1 day), andminimumReleaseAgeStrictisfalse. Newly published packages will not be resolved until they are at least 1 day old. This protects against supply chain attacks by giving the community time to detect and remove compromised versions. To opt out, setminimumReleaseAge: 0inpnpm-workspace.yaml#11158. - Security
strictDepBuildsistrueby default. - Security
blockExoticSubdepsistrueby default. - Security
Removed deprecated build dependency settings:
onlyBuiltDependencies,onlyBuiltDependenciesFile,neverBuiltDependencies,ignoredBuiltDependencies, andignoreDepScripts#11220.
- Security
1 internal line (docs, tests, tooling) left out.
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.