Packages

pnpm

12.21.0 · 13 Nov 2026MIT358M / weekRepositoryHomepagenpmAtom feed

Your version

8.6.0

28 May 2023Where it was published

8.15.9 is the newest release of 8.x.

npm marks 8.6.0 as deprecated: This version contains a regression. Upgrade to v8.6.2 or newer

In short

2 new6 fixed

Security

27 advisories affect 8.6.0; 10.34.5 fixes the others

22 more

Release note

Minor Changes

  • Some settings influence the structure of the lockfile, so we cannot reuse the lockfile if those settings change. As a result, we need to store such settings in the lockfile. This way we will know with which settings the lockfile has been created.

    A new field will now be present in the lockfile: settings. It will store the values of two settings: autoInstallPeers and excludeLinksFromLockfile. If someone tries to perform a frozen-lockfile installation and their active settings don't match the ones in the lockfile, then an error message will be thrown.

    The lockfile format version is bumped from v6.0 to v6.1.

    Related PR
    Related issue

  • A new setting, exclude-links-from-lockfile, is now supported. When enabled, specifiers of local linked dependencies won't be duplicated in the lockfile.

    This setting was primarily added for use by Bit CLI, which links core aspects to node_modules from external directories. As such, the locations may vary across different machines, resulting in the generation of lockfiles with differing locations.

Patch Changes

  • Don't print "Lockfile is up-to-date" message before finishing all the lockfile checks #6544.

  • When updating dependencies, preserve the range prefix in aliased dependencies. So npm:foo@1.0.0 becomes npm:foo@1.1.0.

  • Print a meaningful error when a project referenced by the workspace: protocol is not found in the workspace #4477.

  • pnpm rebuild should not fail when node-linker is set to hoisted and there are skipped optional dependencies #6553.

  • Peers resolution should not fail when a linked in dependency resolves a peer dependency.

  • Build projects in a workspace in correct order #6568.

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.