Packages

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

Other targets from 11.28.13Latest12.21.0
  1. 11.28.13yours
  2. 11.29.0target
0
changes to make
0
advisories fixed
2
new
70
fixes

Security

  • This release carries several security fixes.

    11.29.0
  • pnpm install now rejects local filesystem dependencies (file:, link:, and path-based workspace: specifiers) declared by non-local packages with ERR_PNPM_LOCAL_SUBDEP_NOT_ALLOWED. Relative file: dependencies inside a package's own archive and local dependencies configured by the workspace through overrides, packageExtensions, or .pnpmfile.cjs continue to work. Lockfile verification also rejects unauthorized local directory, tarball, and link entries on non-importer snapshots.

    11.29.0
  • pnpm install and pnpm install --frozen-lockfile now enforce blockExoticSubdeps against entries in pnpm-lock.yaml. Before, pnpm accepted a lockfile with git or tarball URL subdependencies and installed those packages even with blockExoticSubdeps: 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 .npmrc and auth.ini resolve relative to the file that declares them. Project .npmrc files skip TLS file paths containing environment variables.

    11.29.0
  • Global commands (--global, -g) no longer load .pnpmfile.cjs, pnpm-workspace.yaml, or .npmrc from the current working directory. pnpm why -g now inspects globally installed packages.

    11.29.0
  • pnpm approve-builds now requires the exact selector shown by pnpm ignored-builds for a dependency a bare package name cannot identify (a file:, git, or tarball artifact). A bare package name only approves a plain registry version #18237.

    11.29.0
  • pnpm pack and pnpm publish now reject publishConfig.directory values that use an absolute path or .. segments outside the package directory.

    11.29.0
  • pnpm install with pnprServer now rejects registry-keyed lockfile entries whose resolution uses a non-registry source with ERR_PNPM_RESOLUTION_SHAPE_MISMATCH. The pnpr lockfile verification and resolution endpoints enforce the same check before accepting or caching a lockfile.

    11.29.0

Release by release

  1. 11.29.0

    Security fix22 Nov 20262 new · 70 fixes
    • Security

      This release carries several security fixes.

    • Security

      pnpm install now rejects local filesystem dependencies (file:, link:, and path-based workspace: specifiers) declared by non-local packages with ERR_PNPM_LOCAL_SUBDEP_NOT_ALLOWED. Relative file: dependencies inside a package's own archive and local dependencies configured by the workspace through overrides, packageExtensions, or .pnpmfile.cjs continue to work. Lockfile verification also rejects unauthorized local directory, tarball, and link entries on non-importer snapshots.

    • Security

      pnpm install and pnpm install --frozen-lockfile now enforce blockExoticSubdeps against entries in pnpm-lock.yaml. Before, pnpm accepted a lockfile with git or tarball URL subdependencies and installed those packages even with blockExoticSubdeps: 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.

4 other lines we could not sort, mostly version bumps
  • pnpm ignores local .pnpmfile.cjs hooks and project .npmrc proxy or TLS settings in the working directory.

    11.29.0
  • Running with --ignore-scripts or ignoreScripts: true uses a separate dlx cache key, keeping cached installs that skipped build scripts separate from normal runs.

    11.29.0
  • Relative local directory and tarball specifiers such as ./my-cli and ./my-cli.tgz resolve 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-scripts or a negated --allow-build selector disables them.

    11.29.0

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.