pnpm
12.21.0 · 13 Nov 2026MIT358.4M / weekRepositoryHomepagenpmAtom feed
Upgrading pnpm From 11.9.0 to 11.10.0
1 release in betweenevery note read
Security
3 advisories still affect 11.10.0
- pnpm: Virtual store linker path traversal via unvalidated depPath name in lockfileToDepGraphhigh · GHSA-c59q-g84q-2gj5
- pnpm: A tarball dependency's manifest `name` escapes node_modules → arbitrary file write/overwrite on installhigh · GHSA-vq4v-j7r6-jq4m
- pnpm: Environment secrets exfiltrated via env-placeholder expansion in proxy settings read from an untrusted pnpm-workspace.yamlhigh · GHSA-vx52-2968-3vc6
Upgrading to 11.11.0 clears them.
Release by release
- New
Added the
issuescommand as an alias ofbugs, sopnpm issuesopens the package's bug tracker URL in the browser. - New
Added the
prefixcommand which prints the current package prefix directory (or global prefix directory if-g/--globalis used). - New
Added an
_authsetting for configuring registry authentication as a single structured (URL-keyed) value. It can be set in the global pnpm config (config.yaml) or, for CI, via thepnpm_config__authenvironment variable. The env form sidesteps the GitHub Actions / bash / zsh limitation that broke the existingpnpm_config_//host/:_authToken=…form (env var names containing/,:, or.are silently dropped). Closes pnpm/pnpm#12314. - New
pnpm self-updateandpackageManagerversion-switching can now install and link pnpm v12 (the Rust port), published with equal content under both thepnpmand@pnpm/exenames on thenext-12dist-tag. Its native binaries ship as@pnpm/exe.<platform>-<arch>packages, which pnpm's built-in installer links directly — no Node.js launcher, so the command pays no Node startup cost. v12 is initialized exactly like@pnpm/exe, including per-platform global-virtual-store hashing. From v12 onward the install converges on the unscopedpnpmpackage (the Rust exe) — even when updating from the SEA@pnpm/exebuild.
- New
5 other lines we could not sort, mostly version bumps
- 11.10.0
On Windows, removing or updating a global package now also cleans up the
node.exeflavor of a bin, so a stalenode.exeno longer survives onPATHafter uninstall, and a new global install no longer silently overwrites an existingnode.exe. - 11.10.0
pnpm add -g pnpm@<version>(and@pnpm/exe@<version>) is now rejected like the barepnpmform, pointing topnpm self-update. - 11.10.0
Dependency aliases read from a global package's manifest are validated before being joined onto
node_modulespaths, preventing a tampered manifest from escaping the install directory. - 11.10.0
Each global install group is created in its own freshly-made directory (no longer reusing a colliding or pre-existing path).
- 11.10.0
Removing or updating a global package no longer unlinks a bin that belongs to a different globally installed package.
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.