Packages

pnpm

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

Your version

9.0.3

18 Apr 2024Where it was published

9.15.9 is the newest release of 9.x.

In short

1 security2 fixed

  • Security

    If the script-shell option is configured to a .bat/.cmd file on Windows, pnpm will now error with ERR_PNPM_INVALID_SCRIPT_SHELL_WINDOWS. Newer versions of Node.js released in April 2024 do not support executing these files directly without behavior differences. If the script-shell option is necessary for your use-case, please set a .exe file instead.

Security

26 advisories affect 9.0.3; 10.34.5 fixes the others

21 more

Release note

Patch Changes

  • Security

    If the script-shell option is configured to a .bat/.cmd file on Windows, pnpm will now error with ERR_PNPM_INVALID_SCRIPT_SHELL_WINDOWS. Newer versions of Node.js released in April 2024 do not support executing these files directly without behavior differences. If the script-shell option is necessary for your use-case, please set a .exe file instead.

  • Print a hint about the package-manager-strict setting, when pnpm doesn't match the version specified in the packageManager field in package.json.

  • pnpm completion command should work in the standalone version of pnpm #7948.

Our Silver Sponsors

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.