pnpm
12.21.0 · 13 Nov 2026MIT358.4M / weekRepositoryHomepagenpmAtom feed
Upgrading pnpm From 11.28.13 to 11.29.0
1 release in betweenevery note read
Security
- 11.29.0
This release carries several security fixes.
- 11.29.0
pnpm installnow rejects local filesystem dependencies (file:,link:, and path-basedworkspace:specifiers) declared by non-local packages withERR_PNPM_LOCAL_SUBDEP_NOT_ALLOWED. Relativefile:dependencies inside a package's own archive and local dependencies configured by the workspace throughoverrides,packageExtensions, or.pnpmfile.cjscontinue to work. Lockfile verification also rejects unauthorized local directory, tarball, and link entries on non-importer snapshots. - 11.29.0
pnpm installandpnpm install --frozen-lockfilenow enforceblockExoticSubdepsagainst entries inpnpm-lock.yaml. Before, pnpm accepted a lockfile with git or tarball URL subdependencies and installed those packages even withblockExoticSubdeps: true. - 11.29.0
Tarball downloads send registry credentials only over HTTPS or loopback HTTP. Tarball and package metadata requests respect registry credential paths on redirects. A failed tarball request can no longer pin its redirect destination in the lockfile.
- 11.29.0
Tarball URL preflight requests use the configured credentials and fetch retry settings.
- 11.29.0
TLS file paths in
.npmrcandauth.iniresolve relative to the file that declares them. Project.npmrcfiles skip TLS file paths containing environment variables. - 11.29.0
Global commands (
--global,-g) no longer load.pnpmfile.cjs,pnpm-workspace.yaml, or.npmrcfrom the current working directory.pnpm why -gnow inspects globally installed packages. - 11.29.0
pnpm approve-buildsnow requires the exact selector shown bypnpm ignored-buildsfor a dependency a bare package name cannot identify (afile:, git, or tarball artifact). A bare package name only approves a plain registry version #18237. - 11.29.0
pnpm packandpnpm publishnow rejectpublishConfig.directoryvalues that use an absolute path or..segments outside the package directory. - 11.29.0
pnpm installwithpnprServernow rejects registry-keyed lockfile entries whose resolution uses a non-registry source withERR_PNPM_RESOLUTION_SHAPE_MISMATCH. Thepnprlockfile verification and resolution endpoints enforce the same check before accepting or caching a lockfile.
Release by release
- Security
This release carries several security fixes.
- Security
pnpm installnow rejects local filesystem dependencies (file:,link:, and path-basedworkspace:specifiers) declared by non-local packages withERR_PNPM_LOCAL_SUBDEP_NOT_ALLOWED. Relativefile:dependencies inside a package's own archive and local dependencies configured by the workspace throughoverrides,packageExtensions, or.pnpmfile.cjscontinue to work. Lockfile verification also rejects unauthorized local directory, tarball, and link entries on non-importer snapshots. - Security
pnpm installandpnpm install --frozen-lockfilenow enforceblockExoticSubdepsagainst entries inpnpm-lock.yaml. Before, pnpm accepted a lockfile with git or tarball URL subdependencies and installed those packages even withblockExoticSubdeps: true. - Security
Tarball downloads send registry credentials only over HTTPS or loopback HTTP. Tarball and package metadata requests respect registry credential paths on redirects. A failed tarball request can no longer pin its redirect destination in the lockfile.
- Security
4 other lines we could not sort, mostly version bumps
- 11.29.0
pnpmignores local.pnpmfile.cjshooks and project.npmrcproxy or TLS settings in the working directory. - 11.29.0
Running with
--ignore-scriptsorignoreScripts: trueuses a separatedlxcache key, keeping cached installs that skipped build scripts separate from normal runs. - 11.29.0
Relative local directory and tarball specifiers such as
./my-cliand./my-cli.tgzresolve against the caller's working directory. - 11.29.0
Explicitly requested tarball URL,
file:, and git URL packages run their build scripts by default unless--ignore-scriptsor a negated--allow-buildselector disables them.
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.