Packages

pnpm

12.21.0 · 13 Nov 2026MIT358.4M / weekRepositoryHomepagenpmAtom feed

Upgrading pnpm From 11.5.0 to 11.5.1

1 release in betweenevery note read

Other targets from 11.5.0Newest 11.x11.29.0Clears its 12 advisories11.11.0Latest12.21.0
  1. 11.5.0yours
  2. 11.5.1target
0
changes to make
0
advisories fixed
0
new
7
fixes

Security

Release by release

  1. 11.5.1

    2 Jun 20267 fixes
    • Fixed

      Improve pnpm audit performance by pruning non-vulnerable lockfile subtrees and stopping path enumeration once vulnerable findings reach the path cap.

    • Fixed

      Avoid crashing when the workspace state cache is partially written or malformed.

    • Fixed

      Set npm_config_user_agent for root lifecycle scripts during headless installs.

    • Fixed

      Preserve the integrity field of a remote (non-registry) tarball dependency when its lockfile entry is rebuilt. Re-resolving such a dependency without re-fetching it (for example via pnpm update, or when another dependency changes) produced a resolution with no integrity — URL/tarball resolvers only learn the integrity after the tarball is downloaded — so the previously recorded integrity was dropped, making later installs fail with ERR_PNPM_MISSING_TARBALL_INTEGRITY #12067.

    • Fixed

      Normalize a string repository field into the { type, url } object form when creating the publish manifest, matching npm's behavior. Some registries (e.g. Gitea/Codeberg) reject a string repository with a 500 Internal Server Error during pnpm publish #12099.

    • Fixed

      Preserve compatible optional peer versions already present in the lockfile when resolving dependencies.

    • Fixed

      Fixed inconsistent resolution of a peer dependency that is shared through a diamond. When a package peer-depends on both another package and one of that package's own peer dependencies (for example @typescript-eslint/eslint-plugin peer-depends on both @typescript-eslint/parser and typescript, and @typescript-eslint/parser peer-depends on typescript), pnpm no longer reuses a hoisted instance of the shared peer that was resolved against a different version #12079.

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.