Packages

pnpm

12.21.0 · 13 Nov 2026MIT357.1M / weekRepositoryHomepagenpmAtom feed

Your version

7.12.0

18 Sep 2022Where it was published

7.33.7 is the newest release of 7.x.

npm marks 7.12.0 as deprecated: Contains a regression related to auto-install-peers. Update to 7.12.1 or newer.

In short

2 new3 fixed

Security

27 advisories affect 7.12.0; 10.34.5 fixes the others

22 more

Release note

Minor Changes

  • A new setting supported in the pnpm section of the package.json file: allowNonAppliedPatches. When it is set to true, non-applied patches will not cause an error, just a warning will be printed. For example:

    {
      "name": "foo",
      "version": "1.0.0",
      "pnpm": {
        "patchedDependencies": {
          "express@4.18.1": "patches/express@4.18.1.patch"
        },
        "allowNonAppliedPatches": true
      }
    }
  • Now it is possible to exclude packages from hoisting by prepending a ! to the pattern. This works with both the hoist-pattern and public-hoist-pattern settings. For instance:

    public-hoist-pattern='*types*'  
    public-hoist-pattern='!@types/react'
    
    hoist-pattern='*eslint*'  
    hoist-pattern='!*eslint-plugin*'

    Ref #5272

Patch Changes

  • When the same dependency with missing peers is used in multiple workspace projects, install the missing peers in each workspace project #4820.

  • pnpm patch should work on files that don't have an end of line #5320.

  • Fix pnpm patch using a custom --edit-dir.

Our Gold Sponsors

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.