Packages

pnpm

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

Your version

10.2.0

3 Feb 2025Where it was published

10.34.9 is the newest release of 10.x.

In short

1 breaking1 new5 fixed

Security

25 advisories affect 10.2.0; 10.34.5 fixes them

20 more

Release note

See breaking changes in v10

Minor Changes

  • Packages executed via pnpm dlx and pnpm create are allowed to be built (run postinstall scripts) by default.

    If the packages executed by dlx or create have dependencies that have to be built, they should be listed via the --allow-build flag. For instance, if you want to run a package called bundle that has esbuild in dependencies and want to allow esbuild to run postinstall scripts, run:

    pnpm --allow-build=esbuild dlx bundle

    Related PR: #9026.

Patch Changes

  • Quote args for scripts with shell-quote to support new lines (on POSIX only) #8980.

  • Fix a bug in which pnpm deploy fails to read the correct projectId when the deploy source is the same as the workspace directory #9001.

  • Proxy settings should be respected, when resolving Git-hosted dependencies #6530.

  • Prevent overrides from adding invalid version ranges to peerDependencies by keeping the peerDependencies and overriding them with prod dependencies #8978.

  • Sort the package names in the "pnpm.onlyBuiltDependencies" list saved by pnpm approve-builds.

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.