pnpm
12.21.0 · 13 Nov 2026MIT358.4M / weekRepositoryHomepagenpmAtom feed
Upgrading pnpm From 9.14.0 to 9.15.9
14 releases in betweenevery note read
- 0
- changes to make
- 1
- advisory fixed
- 3
- new
- 42
- fixes
Security
25 advisories still affect 9.15.9
- pnpm vulnerable to Command Injection via environment variable substitutionhigh · GHSA-2phv-j68v-wwqx
- pnpm: Repository config can expand victim environment secrets into registry requests before scripts runmoderate · GHSA-3qhv-2rgh-x77r
- pnpm: Reserved bin name deletes PNPM_HOME during global removemoderate · GHSA-4gxm-v5v7-fqc4
Upgrading to 10.34.5 clears them.
Fixes 1 advisory affecting 9.14.0
- pnpm no-script global cache poisoning via overrides / `ignore-scripts` evasionmoderate · GHSA-vm32-9rqf-rh3r
Release by release
- Fixed
pnpm self-updateshould always update the version in thepackageManagerfield ofpackage.json. - Fixed
The pnpm CLI process should not stay hanging, when
--silentreporting is used. - Fixed
When
--loglevelis set toerror, don't show installation summary, execution time, and big tarball download progress. - Fixed
Don't show info output when
--loglevel=erroris used.
- Fixed
- New
Allow scope registry CLI option without
--config.prefix such as--@scope:registry=https://scope.example.com/npm#9089. - Fixed
pnpm self-updateshould not leave a directory with a broken pnpm installation if the installation fails. - Fixed
pnpm self-updateshould not read the pnpm settings from thepackage.jsonfile in the current working directory. - Fixed
pnpm update -ishould list only packages that have newer versions #9206. - Fixed
Fix a bug causing entries in the
catalogssection of thepnpm-lock.yamlfile to be removed whendedupe-peer-dependents=falseon a filtered install. #9112
- New
- Fixed
Fix instruction for updating pnpm with corepack #9101.
- Fixed
Print pnpm's version after the execution time at the end of the console output.
- Fixed
The pnpm version specified by
packageManagercannot start withv. - Fixed
Fix a bug causing catalog snapshots to be removed from the
pnpm-lock.yamlfile when using--fix-lockfileand--filter. #8639 - Fixed
Fix a bug causing catalog protocol dependencies to not re-resolve on a filtered install #8638.
- Fixed
- Fixed
Verify that the package name is valid when executing the publish command.
- Fixed
When running
pnpm install, thepreprepareandpostpreparescripts of the project should be executed #8989. - Fixed
Quote args for scripts with shell-quote to support new lines (on POSIX only) #8980.
- Fixed
Proxy settings should be respected, when resolving Git-hosted dependencies #6530.
- Fixed
Replace
strip-ansiwith the built-inutil.stripVTControlCharacters#9009.
- Fixed
- Fixed
Ensure that recursive
pnpm update --latest <pkg>updates only the specified package, withdedupe-peer-dependents=true.
- Fixed
- Fixed
Fixed the Regex used to find the package manifest during packing #8938.
- Fixed
pnpm update --filter <pattern> --latest <pkg>should only change the specified package for the specified workspace, whendedupe-peer-dependentsis set totrue#8877. - Fixed
Exclude
.DS_Storefile atpatch-commit#8922. - Fixed
Fix a bug in which
pnpm patchis unable to bring back old patch without specifying@versionsuffix #8919.
- Fixed
- Fixed
- Fixed
Use double quotes in the command suggestion by
pnpm patchon Windows #7546. - Fixed
Do not fall back to SSH, when resolving a git-hosted package if
git ls-remoteworks via HTTPS #8906. - Fixed
Improve how packages with blocked lifecycle scripts are reported during installation. Always print the list of ignored scripts at the end of the output. Include a hint about how to allow the execution of those packages.
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.