pnpm
12.21.0 · 13 Nov 2026MIT357.1M / weekRepositoryHomepagenpmAtom feed
Upgrading pnpm From 7.26.3 to 7.27.0
1 release in betweenevery note read
Security
27 advisories still affect 7.27.0
- 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.
Release by release
- New
A new
resolution-modeadded:lowest-direct. With this resolution mode direct dependencies will be resolved to their lowest versions. So if there isfoo@^1.1.0in the dependencies, then1.1.0will be installed, even if the latest version offoois1.2.0. - New
Support script selector with RegExp such as
pnpm run /build:.*/and execute the matched scripts with the RegExp #5871. - Fixed
Fix version number replacing for namespaced workspace packages.
workspace:@foo/bar@*should be replaced withnpm:@foo/bar@<version>on publish #6052. - Fixed
When resolving dependencies, prefer versions that are already used in the root of the project. This is important to minimize the number of packages that will be nested during hoisting #6054.
- Fixed
Deduplicate direct dependencies.
- Fixed
Use Map rather than Object in
createPackageExtenderto prevent read the prototype property to native function
- New
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.