Packages

pnpm

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

Your version

10.5.0

25 Feb 2025Where it was published

10.34.9 is the newest release of 10.x.

In short

4 new4 fixed

Security

25 advisories affect 10.5.0; 10.34.5 fixes them

20 more

Release note

Minor Changes

  • The pnpm.* settings from package.json can now be specified in the pnpm-workspace.yaml file instead #9121.

    package.json:

    {
      "pnpm": {
        "onlyBuiltDependencies": ["esbuild", "fuse-native"]
      }
    }

    pnpm-workspace.yaml:

    onlyBuiltDependencies:
    - esbuild
    - fuse-native
  • Added support for automatically syncing files of injected workspace packages after pnpm run #9081. Use the sync-injected-deps-after-scripts setting to specify which scripts build the workspace package. This tells pnpm when syncing is needed. The setting should be defined in a .npmrc file at the root of the workspace. Example:

    sync-injected-deps-after-scripts[]=compile
  • The packages field in pnpm-workspace.yaml became optional.

Patch Changes

  • pnpm link with no parameters should work as if --global is specified #9151.

  • Allow scope registry CLI option without --config. prefix such as --@scope:registry=https://scope.example.com/npm #9089.

  • pnpm link <path> should calculate relative path from the root of the workspace directory #9132.

  • Fix a bug causing catalog snapshots to be removed from the pnpm-lock.yaml file when using --fix-lockfile and --filter. #8639

  • Fix a bug causing catalog protocol dependencies to not re-resolve on a filtered install #8638.

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.