@pnpm/exe
12.21.0 · 13 Nov 2026MIT9.4M / weekRepositoryHomepagenpmAtom feed
9.15.9 is the newest release of 9.x.
In short
4 new3 fixed
Release note
Minor Changes
Added pnpm version management. If the
manage-package-manager-versionssetting is set totrue, pnpm will switch to the version specified in thepackageManagerfield ofpackage.json#8363. This is the same field used by Corepack. Example:{ "packageManager": "pnpm@9.3.0" }Added the ability to apply patch to all versions #8337.
If the key of
pnpm.patchedDependenciesis a package name without a version (e.g.pkg), pnpm will attempt to apply the patch to all versions of the package. Failures will be skipped. If there's only one version ofpkginstalled,pnpm patch pkgand subsequentpnpm patch-commit $edit_dirwill create an entry namedpkginpnpm.patchedDependencies. And pnpm will attempt to apply this patch to other versions ofpkgin the future.Change the default edit dir location when running
pnpm patchfrom a temporary directory tonode_modules/.pnpm_patches/pkg[@version]to allow the code editor to open the edit dir in the same file tree as the main project #8379.Substitute environment variables in config keys #6679.
Patch Changes
pnpm installshould runnode-gyp rebuildif the project has abinding.gypfile even if the project doesn't have an install script #8293.Print warnings to stderr #8342.
Peer dependencies of optional peer dependencies should be automatically installed #8323.
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.