pnpm
12.21.0 · 13 Nov 2026MIT357.1M / weekRepositoryHomepagenpmAtom feed
Upgrading pnpm From 7.13.4 to 7.33.7
56 releases in betweennotes for 51
- ?
- changes to make
- 1
- advisory fixed
- 38+
- new
- 152+
- fixes
Counted from 51 of 56 release notes. Advisories are counted from the advisory database, in full.
Security
26 advisories still affect 7.33.7
- 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.
Fixes 1 advisory affecting 7.13.4
- pnpm incorrectly parses tar archives relative to specificationhigh · GHSA-5r98-f33j-g8h7
- 7.15.0
A new setting supported for ignoring vulnerabilities by their CVEs. The ignored CVEs may be listed in the
pnpm.auditConfig.ignoreCvesfield ofpackage.json. For instance:
Release by release
- New
Added support for
publishConfig.registryinpackage.jsonfor publishing #6775. - Fixed
When the same file is appended multiple times into a tarball, the last occurrence is selected when unpacking the tarball.
- Fixed
Fixed a bug in which pnpm passed the wrong scheme to
git ls-remote, causing a fallback togit+sshand resulting in a 'host key verification failed' issue #6805
- New
- Fixed
Improve the performance of searching for auth tokens.
- Fixed
Installation of a git-hosted dependency without
package.jsonshould not fail, when the dependency is read from cache #6721. - Fixed
Local workspace bin files that should be compiled first are linked to dependent projects after compilation #1801.
- Fixed
Prefer versions found in parent package dependencies only #6737.
- Fixed
- Fixed
In cases where both aliased and non-aliased dependencies exist to the same package, non-aliased dependencies will be used for resolving peer dependencies, addressing issue #6588.
- Fixed
Don't crash when the APPDATA env variable is not set on Windows #6659.
- Fixed
Don't fail when a package is archived in a tarball with malformed tar headers #5362.
- Fixed
Peer dependencies of subdependencies should be installed, when
node-linkeris set tohoisted#6680. - Fixed
Ignore the port in the URL, while searching for authentication token in the
.npmrcfile #6354. - Fixed
Throw a meaningful error when applying a patch to a dependency fails.
- Fixed
pnpm update --global --latestshould work #3779.
- Fixed
- Fixed
When
dedupe-peer-dependentsis enabled, use the path (not id) to determine compatibility. - Fixed
Change lockfile version back to 6.0 as previous versions of pnpm fail to parse the version correctly.
- Fixed
- New
Some settings influence the structure of the lockfile, so we cannot reuse the lockfile if those settings change. As a result, we need to store such settings in the lockfile. This way we will know with which settings the lockfile has been created.
- Fixed
When updating dependencies, preserve the range prefix in aliased dependencies. So
npm:foo@1.0.0becomesnpm:foo@1.1.0. - Fixed
Print a meaningful error when a project referenced by the
workspace:protocol is not found in the workspace #4477. - Fixed
Should respect ignore patterns in
updateConfig.ignoreDependencies#6548
- New
4 other lines we could not sort, mostly version bumps
- 7.20.0
pnpm config get - 7.20.0
pnpm config set - 7.20.0
pnpm config delete - 7.20.0
pnpm config list
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.