# @pnpm/reviewing.dependencies-hierarchy

## 1100.0.21

### Patch Changes

- `pnpm list` and `pnpm why` no longer crash with `EMFILE: too many open files` when a project has a large number of unsaved dependencies (packages present in `node_modules` but not in the lockfile). The reads of those packages are now concurrency-limited.

- Updated dependencies:
  - @pnpm/config.normalize-registries@1100.0.9
  - @pnpm/deps.path@1100.0.9
  - @pnpm/installing.modules-yaml@1100.0.10
  - @pnpm/lockfile.detect-dep-types@1100.0.14
  - @pnpm/lockfile.fs@1100.1.11
  - @pnpm/lockfile.utils@1100.1.3
  - @pnpm/pkg-manifest.reader@1100.0.10
  - @pnpm/store.cafs@1100.1.13
  - @pnpm/types@1101.4.0

## 1100.0.20

### Patch Changes

- @pnpm/lockfile.utils@1100.1.2
- @pnpm/lockfile.fs@1100.1.10

## 1100.0.19

### Patch Changes

- Updated dependencies [f8058eb]
  - @pnpm/lockfile.fs@1100.1.9

## 1100.0.18

### Patch Changes

- @pnpm/lockfile.utils@1100.1.1
- @pnpm/store.cafs@1100.1.12
- @pnpm/lockfile.detect-dep-types@1100.0.13
- @pnpm/lockfile.fs@1100.1.8

## 1100.0.17

### Patch Changes

- Updated dependencies [bae694f]
- Updated dependencies [a84d2a1]
  - @pnpm/lockfile.utils@1100.1.0
  - @pnpm/store.cafs@1100.1.11
  - @pnpm/lockfile.fs@1100.1.7
  - @pnpm/pkg-manifest.reader@1100.0.9
  - @pnpm/store.index@1100.2.1
  - @pnpm/lockfile.detect-dep-types@1100.0.12

## 1100.0.16

### Patch Changes

- Updated dependencies [61969fb]
  - @pnpm/lockfile.fs@1100.1.6

## 1100.0.15

### Patch Changes

- a31faa7: Updated dependency ranges. Notably:

  - `@pnpm/logger` peer dependency range moved to `^1100.0.0`.
  - `msgpackr` 1.11.8 → 2.0.4 (store index files remain byte-compatible in both directions).
  - `open` ^7.4.2 → ^11.0.0, `memoize` ^10 → ^11, `cli-truncate` ^5 → ^6, `pidtree` ^0.6 → ^1.
  - `@yarnpkg/core` 4.5.0 → 4.8.0, `@rushstack/worker-pool` 0.7.7 → 0.7.18, `@cyclonedx/cyclonedx-library` 10.0.0 → 10.1.0, `@pnpm/config.nerf-dart` ^1 → ^2, `@pnpm/log.group` 3.0.2 → 4.0.1, `@pnpm/util.lex-comparator` ^3 → ^4.

- Updated dependencies [61810aa]
- Updated dependencies [f20ad8f]
- Updated dependencies [681b593]
- Updated dependencies [d50d691]
- Updated dependencies [a31faa7]
  - @pnpm/store.index@1100.2.0
  - @pnpm/lockfile.utils@1100.0.13
  - @pnpm/types@1101.3.2
  - @pnpm/lockfile.fs@1100.1.5
  - @pnpm/deps.path@1100.0.8
  - @pnpm/store.cafs@1100.1.10
  - @pnpm/config.normalize-registries@1100.0.8
  - @pnpm/installing.modules-yaml@1100.0.9
  - @pnpm/lockfile.detect-dep-types@1100.0.11
  - @pnpm/pkg-manifest.reader@1100.0.8

## 1100.0.14

### Patch Changes

- Updated dependencies [bf1b731]
  - @pnpm/types@1101.3.1
  - @pnpm/config.normalize-registries@1100.0.7
  - @pnpm/deps.path@1100.0.7
  - @pnpm/installing.modules-yaml@1100.0.8
  - @pnpm/lockfile.detect-dep-types@1100.0.10
  - @pnpm/lockfile.fs@1100.1.4
  - @pnpm/lockfile.utils@1100.0.12
  - @pnpm/pkg-manifest.reader@1100.0.7
  - @pnpm/store.cafs@1100.1.9

## 1100.0.13

### Patch Changes

- Updated dependencies [a017bf3]
  - @pnpm/types@1101.3.0
  - @pnpm/config.normalize-registries@1100.0.6
  - @pnpm/deps.path@1100.0.6
  - @pnpm/installing.modules-yaml@1100.0.7
  - @pnpm/lockfile.detect-dep-types@1100.0.9
  - @pnpm/lockfile.fs@1100.1.3
  - @pnpm/lockfile.utils@1100.0.11
  - @pnpm/pkg-manifest.reader@1100.0.6
  - @pnpm/store.cafs@1100.1.8

## 1100.0.12

### Patch Changes

- Updated dependencies [e55f4b5]
- Updated dependencies [35d2355]
  - @pnpm/lockfile.utils@1100.0.10
  - @pnpm/types@1101.2.0
  - @pnpm/lockfile.fs@1100.1.2
  - @pnpm/config.normalize-registries@1100.0.5
  - @pnpm/deps.path@1100.0.5
  - @pnpm/installing.modules-yaml@1100.0.6
  - @pnpm/lockfile.detect-dep-types@1100.0.8
  - @pnpm/pkg-manifest.reader@1100.0.5
  - @pnpm/store.cafs@1100.1.7

## 1100.0.11

### Patch Changes

- Updated dependencies [9cb48bb]
- Updated dependencies [64afc92]
  - @pnpm/lockfile.fs@1100.1.1
  - @pnpm/types@1101.1.1
  - @pnpm/lockfile.utils@1100.0.9
  - @pnpm/config.normalize-registries@1100.0.4
  - @pnpm/deps.path@1100.0.4
  - @pnpm/installing.modules-yaml@1100.0.5
  - @pnpm/lockfile.detect-dep-types@1100.0.7
  - @pnpm/pkg-manifest.reader@1100.0.4
  - @pnpm/store.cafs@1100.1.6

## 1100.0.10

### Patch Changes

- Updated dependencies [6e93f35]
- Updated dependencies [2a9bd89]
  - @pnpm/lockfile.fs@1100.1.0
  - @pnpm/lockfile.utils@1100.0.8
  - @pnpm/store.cafs@1100.1.5
  - @pnpm/lockfile.detect-dep-types@1100.0.6

## 1100.0.9

### Patch Changes

- Updated dependencies [180aee9]
  - @pnpm/lockfile.fs@1100.0.8
  - @pnpm/store.cafs@1100.1.4

## 1100.0.8

### Patch Changes

- Updated dependencies [b61e268]
  - @pnpm/types@1101.1.0
  - @pnpm/config.normalize-registries@1100.0.3
  - @pnpm/deps.path@1100.0.3
  - @pnpm/installing.modules-yaml@1100.0.4
  - @pnpm/lockfile.detect-dep-types@1100.0.5
  - @pnpm/lockfile.fs@1100.0.7
  - @pnpm/lockfile.utils@1100.0.7
  - @pnpm/pkg-manifest.reader@1100.0.3
  - @pnpm/store.cafs@1100.1.3

## 1100.0.7

### Patch Changes

- Updated dependencies [0c67cb5]
  - @pnpm/store.index@1100.1.0

## 1100.0.6

### Patch Changes

- Updated dependencies [cfa271b]
  - @pnpm/lockfile.utils@1100.0.6
  - @pnpm/lockfile.fs@1100.0.6

## 1100.0.5

### Patch Changes

- Updated dependencies [12313f1]
- Updated dependencies [27425d7]
  - @pnpm/installing.modules-yaml@1100.0.3
  - @pnpm/lockfile.fs@1100.0.5
  - @pnpm/lockfile.utils@1100.0.5
  - @pnpm/lockfile.detect-dep-types@1100.0.4
  - @pnpm/store.cafs@1100.1.2

## 1100.0.4

### Patch Changes

- 184ce26: Fix the package name in README.md.
- Updated dependencies [184ce26]
- Updated dependencies [6b891a5]
  - @pnpm/config.normalize-registries@1100.0.2
  - @pnpm/installing.modules-yaml@1100.0.2
  - @pnpm/fs.read-modules-dir@1100.0.1
  - @pnpm/pkg-manifest.reader@1100.0.2
  - @pnpm/config.matcher@1100.0.1
  - @pnpm/deps.path@1100.0.2
  - @pnpm/lockfile.utils@1100.0.4
  - @pnpm/store.cafs@1100.1.1
  - @pnpm/lockfile.fs@1100.0.4
  - @pnpm/lockfile.detect-dep-types@1100.0.3

## 1100.0.3

### Patch Changes

- Updated dependencies [421317c]
  - @pnpm/store.cafs@1100.1.0
  - @pnpm/lockfile.utils@1100.0.3
  - @pnpm/lockfile.fs@1100.0.3

## 1100.0.2

### Patch Changes

- @pnpm/lockfile.utils@1100.0.2
- @pnpm/store.cafs@1100.0.2
- @pnpm/lockfile.detect-dep-types@1100.0.2
- @pnpm/lockfile.fs@1100.0.2

## 1100.0.1

### Patch Changes

- Updated dependencies [ff28085]
  - @pnpm/types@1101.0.0
  - @pnpm/config.normalize-registries@1100.0.1
  - @pnpm/deps.path@1100.0.1
  - @pnpm/installing.modules-yaml@1100.0.1
  - @pnpm/lockfile.detect-dep-types@1100.0.1
  - @pnpm/lockfile.fs@1100.0.1
  - @pnpm/lockfile.utils@1100.0.1
  - @pnpm/pkg-manifest.reader@1100.0.1
  - @pnpm/store.cafs@1100.0.1

## 1002.0.0

### Major Changes

- 491a84f: This package is now pure ESM.
- 7d2fd48: Node.js v18, 19, 20, and 21 support discontinued.
- 56a59df: Store the bundled manifest (name, version, bin, engines, scripts, etc.) directly in the package index file, eliminating the need to read `package.json` from the content-addressable store during resolution and installation. This reduces I/O and speeds up repeat installs [#10473](https://github.com/pnpm/pnpm/pull/10473).

### Minor Changes

- 7116f35: Added `nameFormatter` option to `buildDependentsTree` and `displayName` field to `DependentsTree`/`DependentNode`, allowing consumers to customize the displayed package name (e.g. showing component names instead of registry names).
- 2464485: Added `--lockfile-only` option to `pnpm list` [#10020](https://github.com/pnpm/pnpm/issues/10020).
- 7d5ada0: `pnpm why` now shows a reverse dependency tree. The searched package appears at the root with its dependents as branches, walking back to workspace roots. This replaces the previous forward-tree output which was noisy and hard to read for deeply nested dependencies.
- b7f0f21: Use SQLite for storing package index in the content-addressable store. Instead of individual `.mpk` files under `$STORE/index/`, package metadata is now stored in a single SQLite database at `$STORE/index.db`. This reduces filesystem syscall overhead, improves space efficiency for small metadata entries, and enables concurrent access via SQLite's WAL mode. Packages missing from the new index are re-fetched on demand [#10826](https://github.com/pnpm/pnpm/issues/10826).

### Patch Changes

- f8b4895: Fixed `pnpm list --json` returning incorrect paths when using global virtual store [#10187](https://github.com/pnpm/pnpm/issues/10187).
- d3a0765: Handle undefined pkgSnapshot in `pnpm why -r` [#10700](https://github.com/pnpm/pnpm/issues/10700).
- 353bc16: Fix `pnpm list --only-projects` regression (fixes #10651). When `node_modules` is absent, fall back to the wanted lockfile so workspace projects are still listed. Ensure `--only-projects` is read from CLI options and restrict the dependency graph to workspace importers when the flag is set.
- a49b243: Fixed an out-of-memory error in `pnpm list` (and `pnpm why`) on large dependency graphs by replacing the recursive tree builder with a two-phase approach: a BFS dependency graph followed by cached tree materialization. Duplicate subtrees are now deduplicated in the output, shown as "deduped (N deps hidden)" [#10586](https://github.com/pnpm/pnpm/pull/10586).
- 472d3af: Optimize `pnpm why` and `pnpm list` performance in workspaces with many importers by sharing the dependency graph and materialization cache across all importers instead of rebuilding them independently for each one [#10596](https://github.com/pnpm/pnpm/pull/10596/changes).
- 6f806be: Removed TypeScript specific syntax (such as enums and visibility modifiers in constructors) to enable `erasableSyntaxOnly`.
- 8ffb1a7: `pnpm list` and `pnpm why` now display npm: protocol for aliased packages (e.g., `foo npm:is-odd@3.0.1`) [#8660](https://github.com/pnpm/pnpm/issues/8660).
- Updated dependencies [5f73b0f]
- Updated dependencies [e2e0a32]
- Updated dependencies [76718b3]
- Updated dependencies [a8f016c]
- Updated dependencies [cc1b8e3]
- Updated dependencies [3cfffaa]
- Updated dependencies [05fb1ae]
- Updated dependencies [3bf5e21]
- Updated dependencies [491a84f]
- Updated dependencies [6656baa]
- Updated dependencies [2ea6463]
- Updated dependencies [50fbeca]
- Updated dependencies [caabba4]
- Updated dependencies [878a773]
- Updated dependencies [f8e6774]
- Updated dependencies [d458ab3]
- Updated dependencies [7d2fd48]
- Updated dependencies [efb48dc]
- Updated dependencies [56a59df]
- Updated dependencies [cb367b9]
- Updated dependencies [7b1c189]
- Updated dependencies [6f806be]
- Updated dependencies [8ffb1a7]
- Updated dependencies [05fb1ae]
- Updated dependencies [71de2b3]
- Updated dependencies [10bc391]
- Updated dependencies [38b8e35]
- Updated dependencies [394d88c]
- Updated dependencies [b7f0f21]
- Updated dependencies [1e6de25]
- Updated dependencies [2df8b71]
- Updated dependencies [15549a9]
- Updated dependencies [cc7c0d2]
- Updated dependencies [3cfffaa]
- Updated dependencies [efb48dc]
  - @pnpm/deps.path@1002.0.0
  - @pnpm/store.cafs@1001.0.0
  - @pnpm/types@1001.0.0
  - @pnpm/lockfile.fs@1002.0.0
  - @pnpm/lockfile.utils@1004.0.0
  - @pnpm/installing.modules-yaml@1001.0.0
  - @pnpm/pkg-manifest.reader@1001.0.0
  - @pnpm/config.normalize-registries@1001.0.0
  - @pnpm/lockfile.detect-dep-types@1002.0.0
  - @pnpm/fs.read-modules-dir@1001.0.0
  - @pnpm/config.matcher@1001.0.0
  - @pnpm/store.index@1000.0.0

## 1001.1.3

### Patch Changes

- Updated dependencies [7c1382f]
- Updated dependencies [dee39ec]
- Updated dependencies [7c1382f]
  - @pnpm/types@1000.9.0
  - @pnpm/matcher@1000.1.0
  - @pnpm/normalize-registries@1000.1.4
  - @pnpm/lockfile.detect-dep-types@1001.0.16
  - @pnpm/lockfile.fs@1001.1.21
  - @pnpm/lockfile.utils@1003.0.3
  - @pnpm/dependency-path@1001.1.3
  - @pnpm/modules-yaml@1000.3.6
  - @pnpm/read-package-json@1000.1.2

## 1001.1.2

### Patch Changes

- @pnpm/dependency-path@1001.1.2
- @pnpm/lockfile.detect-dep-types@1001.0.15
- @pnpm/lockfile.fs@1001.1.20
- @pnpm/lockfile.utils@1003.0.2

## 1001.1.1

### Patch Changes

- @pnpm/lockfile.fs@1001.1.19
- @pnpm/read-package-json@1000.1.1

## 1001.1.0

### Minor Changes

- e792927: Added support for `finders` [#9946](https://github.com/pnpm/pnpm/pull/9946).

### Patch Changes

- Updated dependencies [e792927]
- Updated dependencies [e792927]
  - @pnpm/read-package-json@1000.1.0
  - @pnpm/types@1000.8.0
  - @pnpm/normalize-registries@1000.1.3
  - @pnpm/lockfile.detect-dep-types@1001.0.14
  - @pnpm/lockfile.fs@1001.1.18
  - @pnpm/lockfile.utils@1003.0.1
  - @pnpm/dependency-path@1001.1.1
  - @pnpm/modules-yaml@1000.3.5

## 1001.0.19

### Patch Changes

- 0b6264e: Update @pnpm/npm-package-arg.
- Updated dependencies [d1edf73]
- Updated dependencies [d1edf73]
- Updated dependencies [adb097c]
  - @pnpm/dependency-path@1001.1.0
  - @pnpm/lockfile.utils@1003.0.0
  - @pnpm/read-package-json@1000.0.11
  - @pnpm/lockfile.detect-dep-types@1001.0.13
  - @pnpm/lockfile.fs@1001.1.17

## 1001.0.18

### Patch Changes

- Updated dependencies [1a07b8f]
- Updated dependencies [2e85f29]
- Updated dependencies [1a07b8f]
  - @pnpm/types@1000.7.0
  - @pnpm/lockfile.utils@1002.1.0
  - @pnpm/normalize-registries@1000.1.2
  - @pnpm/lockfile.detect-dep-types@1001.0.12
  - @pnpm/lockfile.fs@1001.1.16
  - @pnpm/dependency-path@1001.0.2
  - @pnpm/modules-yaml@1000.3.4
  - @pnpm/read-package-json@1000.0.10

## 1001.0.17

### Patch Changes

- @pnpm/dependency-path@1001.0.1
- @pnpm/lockfile.detect-dep-types@1001.0.11
- @pnpm/lockfile.fs@1001.1.15
- @pnpm/lockfile.utils@1002.0.1

## 1001.0.16

### Patch Changes

- Updated dependencies [540986f]
  - @pnpm/dependency-path@1001.0.0
  - @pnpm/lockfile.utils@1002.0.0
  - @pnpm/lockfile.detect-dep-types@1001.0.10
  - @pnpm/lockfile.fs@1001.1.14

## 1001.0.15

### Patch Changes

- b0ead51: Read the current lockfile from `node_modules/.pnpm/lock.yaml`, when the project uses a global virtual store.
  - @pnpm/lockfile.utils@1001.0.12
  - @pnpm/lockfile.fs@1001.1.13

## 1001.0.14

### Patch Changes

- Updated dependencies [09cf46f]
- Updated dependencies [5ec7255]
  - @pnpm/lockfile.fs@1001.1.12
  - @pnpm/types@1000.6.0
  - @pnpm/normalize-registries@1000.1.1
  - @pnpm/lockfile.detect-dep-types@1001.0.9
  - @pnpm/lockfile.utils@1001.0.11
  - @pnpm/dependency-path@1000.0.9
  - @pnpm/modules-yaml@1000.3.3
  - @pnpm/read-package-json@1000.0.9

## 1001.0.13

### Patch Changes

- Updated dependencies [9c3dd03]
- Updated dependencies [5b73df1]
  - @pnpm/normalize-registries@1000.1.0
  - @pnpm/types@1000.5.0
  - @pnpm/lockfile.utils@1001.0.10
  - @pnpm/lockfile.detect-dep-types@1001.0.8
  - @pnpm/lockfile.fs@1001.1.11
  - @pnpm/dependency-path@1000.0.8
  - @pnpm/modules-yaml@1000.3.2
  - @pnpm/read-package-json@1000.0.8

## 1001.0.12

### Patch Changes

- @pnpm/lockfile.utils@1001.0.9
- @pnpm/lockfile.fs@1001.1.10

## 1001.0.11

### Patch Changes

- Updated dependencies [750ae7d]
  - @pnpm/types@1000.4.0
  - @pnpm/normalize-registries@1000.0.6
  - @pnpm/lockfile.detect-dep-types@1001.0.7
  - @pnpm/lockfile.fs@1001.1.9
  - @pnpm/lockfile.utils@1001.0.8
  - @pnpm/dependency-path@1000.0.7
  - @pnpm/modules-yaml@1000.3.1
  - @pnpm/read-package-json@1000.0.7

## 1001.0.10

### Patch Changes

- Updated dependencies [5f7be64]
- Updated dependencies [64f6b4f]
- Updated dependencies [5f7be64]
  - @pnpm/types@1000.3.0
  - @pnpm/modules-yaml@1000.3.0
  - @pnpm/normalize-registries@1000.0.5
  - @pnpm/lockfile.detect-dep-types@1001.0.6
  - @pnpm/lockfile.fs@1001.1.8
  - @pnpm/lockfile.utils@1001.0.7
  - @pnpm/dependency-path@1000.0.6
  - @pnpm/read-package-json@1000.0.6

## 1001.0.9

### Patch Changes

- Updated dependencies [d612dcf]
- Updated dependencies [d612dcf]
  - @pnpm/modules-yaml@1000.2.0
  - @pnpm/lockfile.utils@1001.0.6
  - @pnpm/lockfile.fs@1001.1.7

## 1001.0.8

### Patch Changes

- @pnpm/dependency-path@1000.0.5
- @pnpm/lockfile.detect-dep-types@1001.0.5
- @pnpm/lockfile.fs@1001.1.6
- @pnpm/lockfile.utils@1001.0.5

## 1001.0.7

### Patch Changes

- Updated dependencies [a5e4965]
  - @pnpm/types@1000.2.1
  - @pnpm/dependency-path@1000.0.4
  - @pnpm/normalize-registries@1000.0.4
  - @pnpm/lockfile.detect-dep-types@1001.0.4
  - @pnpm/lockfile.fs@1001.1.5
  - @pnpm/lockfile.utils@1001.0.4
  - @pnpm/modules-yaml@1000.1.4
  - @pnpm/read-package-json@1000.0.5

## 1001.0.6

### Patch Changes

- Updated dependencies [8fcc221]
  - @pnpm/types@1000.2.0
  - @pnpm/normalize-registries@1000.0.3
  - @pnpm/lockfile.detect-dep-types@1001.0.3
  - @pnpm/lockfile.fs@1001.1.4
  - @pnpm/lockfile.utils@1001.0.3
  - @pnpm/dependency-path@1000.0.3
  - @pnpm/modules-yaml@1000.1.3
  - @pnpm/read-package-json@1000.0.4

## 1001.0.5

### Patch Changes

- @pnpm/lockfile.fs@1001.1.3

## 1001.0.4

### Patch Changes

- Updated dependencies [b562deb]
  - @pnpm/types@1000.1.1
  - @pnpm/lockfile.fs@1001.1.2
  - @pnpm/normalize-registries@1000.0.2
  - @pnpm/lockfile.detect-dep-types@1001.0.2
  - @pnpm/lockfile.utils@1001.0.2
  - @pnpm/dependency-path@1000.0.2
  - @pnpm/modules-yaml@1000.1.2
  - @pnpm/read-package-json@1000.0.3

## 1001.0.3

### Patch Changes

- Updated dependencies [9591a18]
  - @pnpm/types@1000.1.0
  - @pnpm/normalize-registries@1000.0.1
  - @pnpm/lockfile.detect-dep-types@1001.0.1
  - @pnpm/lockfile.fs@1001.1.1
  - @pnpm/lockfile.utils@1001.0.1
  - @pnpm/dependency-path@1000.0.1
  - @pnpm/modules-yaml@1000.1.1
  - @pnpm/read-package-json@1000.0.2

## 1001.0.2

### Patch Changes

- Updated dependencies [4771813]
  - @pnpm/modules-yaml@1000.1.0

## 1001.0.1

### Patch Changes

- Updated dependencies [3f0e4f0]
  - @pnpm/lockfile.fs@1001.1.0

## 1001.0.0

### Major Changes

- a76da0c: Removed lockfile conversion from v6 to v9. If you need to convert lockfile v6 to v9, use pnpm CLI v9.

### Patch Changes

- Updated dependencies [a76da0c]
  - @pnpm/lockfile.detect-dep-types@1001.0.0
  - @pnpm/lockfile.utils@1001.0.0
  - @pnpm/lockfile.fs@1001.0.0
  - @pnpm/read-package-json@1000.0.1

## 3.2.3

### Patch Changes

- Updated dependencies [dcd2917]
- Updated dependencies [d55b259]
  - @pnpm/dependency-path@6.0.0
  - @pnpm/lockfile.fs@1.0.6
  - @pnpm/lockfile.detect-dep-types@2.0.10
  - @pnpm/lockfile.utils@1.0.5
  - @pnpm/read-package-json@9.0.10

## 3.2.2

### Patch Changes

- @pnpm/dependency-path@5.1.7
- @pnpm/lockfile.detect-dep-types@2.0.9
- @pnpm/lockfile.fs@1.0.5
- @pnpm/lockfile.utils@1.0.4

## 3.2.1

### Patch Changes

- @pnpm/lockfile.fs@1.0.4
- @pnpm/read-package-json@9.0.9

## 3.2.0

### Minor Changes

- 3af07cb: Support for a new CLI flag, `--exclude-peers`, added to the `list` and `why` commands. When `--exclude-peers` is used, peer dependencies are not printed in the results, but dependencies of peer dependencies are still scanned [#8506](https://github.com/pnpm/pnpm/pull/8506).

### Patch Changes

- Updated dependencies [d500d9f]
  - @pnpm/types@12.2.0
  - @pnpm/normalize-registries@6.0.7
  - @pnpm/lockfile.detect-dep-types@2.0.8
  - @pnpm/lockfile.fs@1.0.3
  - @pnpm/lockfile.utils@1.0.3
  - @pnpm/dependency-path@5.1.6
  - @pnpm/modules-yaml@13.1.7
  - @pnpm/read-package-json@9.0.8

## 3.1.10

### Patch Changes

- Updated dependencies [7ee59a1]
  - @pnpm/types@12.1.0
  - @pnpm/normalize-registries@6.0.6
  - @pnpm/lockfile.detect-dep-types@2.0.7
  - @pnpm/lockfile.fs@1.0.2
  - @pnpm/lockfile.utils@1.0.2
  - @pnpm/dependency-path@5.1.5
  - @pnpm/modules-yaml@13.1.6
  - @pnpm/read-package-json@9.0.7

## 3.1.9

### Patch Changes

- Updated dependencies [cb006df]
  - @pnpm/types@12.0.0
  - @pnpm/lockfile.detect-dep-types@2.0.6
  - @pnpm/lockfile.fs@1.0.1
  - @pnpm/lockfile.utils@1.0.1
  - @pnpm/normalize-registries@6.0.5
  - @pnpm/dependency-path@5.1.4
  - @pnpm/modules-yaml@13.1.5
  - @pnpm/read-package-json@9.0.6

## 3.1.8

### Patch Changes

- Updated dependencies [c5ef9b0]
- Updated dependencies [8055a30]
  - @pnpm/lockfile.utils@1.0.0
  - @pnpm/lockfile.fs@1.0.0
  - @pnpm/lockfile.detect-dep-types@2.0.5

## 3.1.7

### Patch Changes

- Updated dependencies [0ef168b]
  - @pnpm/types@11.1.0
  - @pnpm/normalize-registries@6.0.4
  - @pnpm/lockfile.detect-dep-types@2.0.4
  - @pnpm/lockfile-file@9.1.3
  - @pnpm/lockfile-utils@11.0.4
  - @pnpm/dependency-path@5.1.3
  - @pnpm/modules-yaml@13.1.4
  - @pnpm/read-package-json@9.0.5

## 3.1.6

### Patch Changes

- Updated dependencies [dd00eeb]
- Updated dependencies
  - @pnpm/types@11.0.0
  - @pnpm/lockfile-utils@11.0.3
  - @pnpm/normalize-registries@6.0.3
  - @pnpm/lockfile.detect-dep-types@2.0.3
  - @pnpm/lockfile-file@9.1.2
  - @pnpm/dependency-path@5.1.2
  - @pnpm/modules-yaml@13.1.3
  - @pnpm/read-package-json@9.0.4

## 3.1.5

### Patch Changes

- Updated dependencies [13e55b2]
  - @pnpm/types@10.1.1
  - @pnpm/normalize-registries@6.0.2
  - @pnpm/lockfile.detect-dep-types@2.0.2
  - @pnpm/lockfile-file@9.1.1
  - @pnpm/lockfile-utils@11.0.2
  - @pnpm/dependency-path@5.1.1
  - @pnpm/modules-yaml@13.1.2
  - @pnpm/read-package-json@9.0.3

## 3.1.4

### Patch Changes

- Updated dependencies [47341e5]
  - @pnpm/dependency-path@5.1.0
  - @pnpm/lockfile-file@9.1.0
  - @pnpm/lockfile.detect-dep-types@2.0.1
  - @pnpm/lockfile-utils@11.0.1

## 3.1.3

### Patch Changes

- Updated dependencies [45f4262]
- Updated dependencies
  - @pnpm/types@10.1.0
  - @pnpm/lockfile.detect-dep-types@2.0.0
  - @pnpm/lockfile-utils@11.0.0
  - @pnpm/dependency-path@5.0.0
  - @pnpm/normalize-registries@6.0.1
  - @pnpm/lockfile-file@9.0.6
  - @pnpm/modules-yaml@13.1.1
  - @pnpm/read-package-json@9.0.2

## 3.1.2

### Patch Changes

- @pnpm/lockfile-file@9.0.5
- @pnpm/read-package-json@9.0.1

## 3.1.1

### Patch Changes

- Updated dependencies [7a0536e]
  - @pnpm/lockfile-utils@10.1.1
  - @pnpm/lockfile-file@9.0.4

## 3.1.0

### Minor Changes

- 9719a42: New setting called `virtual-store-dir-max-length` added to modify the maximum allowed length of the directories inside `node_modules/.pnpm`. The default length is set to 120 characters. This setting is particularly useful on Windows, where there is a limit to the maximum length of a file path [#7355](https://github.com/pnpm/pnpm/issues/7355).

### Patch Changes

- Updated dependencies [9719a42]
  - @pnpm/dependency-path@4.0.0
  - @pnpm/modules-yaml@13.1.0
  - @pnpm/lockfile-utils@10.1.0
  - @pnpm/lockfile.detect-dep-types@1.0.1
  - @pnpm/lockfile-file@9.0.3

## 3.0.2

### Patch Changes

- Updated dependencies [c969f37]
  - @pnpm/lockfile-file@9.0.2

## 3.0.1

### Patch Changes

- Updated dependencies [2cbf7b7]
- Updated dependencies [6b6ca69]
  - @pnpm/lockfile-file@9.0.1

## 3.0.0

### Major Changes

- 43cdd87: Node.js v16 support dropped. Use at least Node.js v18.12.
- d381a60: Support for lockfile v5 is dropped. Use pnpm v8 to convert lockfile v5 to lockfile v6 [#7470](https://github.com/pnpm/pnpm/pull/7470).

### Patch Changes

- Updated dependencies [7733f3a]
- Updated dependencies [cdd8365]
- Updated dependencies [89b396b]
- Updated dependencies [43cdd87]
- Updated dependencies [086b69c]
- Updated dependencies [d381a60]
- Updated dependencies [f67ad31]
- Updated dependencies [730929e]
- Updated dependencies [98a1266]
- Updated dependencies [a22bdf0]
  - @pnpm/types@10.0.0
  - @pnpm/dependency-path@3.0.0
  - @pnpm/lockfile-utils@10.0.0
  - @pnpm/read-package-json@9.0.0
  - @pnpm/normalize-registries@6.0.0
  - @pnpm/modules-yaml@13.0.0
  - @pnpm/lockfile-file@9.0.0
  - @pnpm/read-modules-dir@7.0.0
  - @pnpm/matcher@6.0.0
  - @pnpm/lockfile.detect-dep-types@1.0.0

## 2.1.9

### Patch Changes

- @pnpm/lockfile-utils@9.0.5

## 2.1.8

### Patch Changes

- Updated dependencies [d349bc3a2]
  - @pnpm/modules-yaml@12.1.7

## 2.1.7

### Patch Changes

- Updated dependencies [4d34684f1]
  - @pnpm/types@9.4.2
  - @pnpm/lockfile-file@8.1.6
  - @pnpm/lockfile-utils@9.0.4
  - @pnpm/normalize-registries@5.0.6
  - @pnpm/dependency-path@2.1.7
  - @pnpm/modules-yaml@12.1.6
  - @pnpm/read-package-json@8.0.7

## 2.1.6

### Patch Changes

- Updated dependencies
  - @pnpm/types@9.4.1
  - @pnpm/lockfile-file@8.1.5
  - @pnpm/lockfile-utils@9.0.3
  - @pnpm/normalize-registries@5.0.5
  - @pnpm/dependency-path@2.1.6
  - @pnpm/modules-yaml@12.1.5
  - @pnpm/read-package-json@8.0.6

## 2.1.5

### Patch Changes

- Updated dependencies [d5a176af7]
  - @pnpm/lockfile-utils@9.0.2

## 2.1.4

### Patch Changes

- Updated dependencies [b4194fe52]
  - @pnpm/lockfile-utils@9.0.1

## 2.1.3

### Patch Changes

- Updated dependencies [4c2450208]
  - @pnpm/lockfile-utils@9.0.0

## 2.1.2

### Patch Changes

- Updated dependencies [43ce9e4a6]
  - @pnpm/types@9.4.0
  - @pnpm/normalize-registries@5.0.4
  - @pnpm/lockfile-file@8.1.4
  - @pnpm/lockfile-utils@8.0.7
  - @pnpm/dependency-path@2.1.5
  - @pnpm/modules-yaml@12.1.4
  - @pnpm/read-package-json@8.0.5

## 2.1.1

### Patch Changes

- Updated dependencies [d774a3196]
  - @pnpm/types@9.3.0
  - @pnpm/normalize-registries@5.0.3
  - @pnpm/lockfile-file@8.1.3
  - @pnpm/lockfile-utils@8.0.6
  - @pnpm/dependency-path@2.1.4
  - @pnpm/modules-yaml@12.1.3
  - @pnpm/read-package-json@8.0.4

## 2.1.0

### Minor Changes

- 101c97ecb: Export `createPackagesSearcher()`.

### Patch Changes

- Updated dependencies [f394cfccd]
  - @pnpm/lockfile-utils@8.0.5

## 2.0.11

### Patch Changes

- Updated dependencies [e9aa6f682]
  - @pnpm/lockfile-utils@8.0.4

## 2.0.10

### Patch Changes

- Updated dependencies [aa2ae8fe2]
  - @pnpm/types@9.2.0
  - @pnpm/normalize-registries@5.0.2
  - @pnpm/lockfile-file@8.1.2
  - @pnpm/lockfile-utils@8.0.3
  - @pnpm/dependency-path@2.1.3
  - @pnpm/modules-yaml@12.1.2
  - @pnpm/read-package-json@8.0.3

## 2.0.9

### Patch Changes

- e334e5670: Move loading `wantedLockfile` outside `dependenciesHierarchyForPackage`, preventing OOM crash when loading the same lock file too many times

## 2.0.8

### Patch Changes

- Updated dependencies [d9da627cd]
  - @pnpm/lockfile-utils@8.0.2
  - @pnpm/lockfile-file@8.1.1
  - @pnpm/read-package-json@8.0.2

## 2.0.7

### Patch Changes

- Updated dependencies [4b97f1f07]
  - @pnpm/read-modules-dir@6.0.1

## 2.0.6

### Patch Changes

- Updated dependencies [9c4ae87bd]
- Updated dependencies [a9e0b7cbf]
- Updated dependencies [9c4ae87bd]
  - @pnpm/lockfile-file@8.1.0
  - @pnpm/types@9.1.0
  - @pnpm/lockfile-utils@8.0.1
  - @pnpm/normalize-registries@5.0.1
  - @pnpm/dependency-path@2.1.2
  - @pnpm/modules-yaml@12.1.1
  - @pnpm/read-package-json@8.0.1

## 2.0.5

### Patch Changes

- Updated dependencies [d58cdb962]
  - @pnpm/lockfile-utils@8.0.0

## 2.0.4

### Patch Changes

- Updated dependencies [e6b83c84e]
  - @pnpm/modules-yaml@12.1.0

## 2.0.3

### Patch Changes

- Updated dependencies [c0760128d]
  - @pnpm/dependency-path@2.1.1
  - @pnpm/lockfile-file@8.0.2
  - @pnpm/lockfile-utils@7.0.1

## 2.0.2

### Patch Changes

- Updated dependencies [72ba638e3]
  - @pnpm/lockfile-utils@7.0.0

## 2.0.1

### Patch Changes

- Updated dependencies [5087636b6]
- Updated dependencies [94f94eed6]
- Updated dependencies [94f94eed6]
  - @pnpm/dependency-path@2.1.0
  - @pnpm/lockfile-file@8.0.1
  - @pnpm/lockfile-utils@6.0.1

## 2.0.0

### Major Changes

- eceaa8b8b: Node.js 14 support dropped.

### Patch Changes

- Updated dependencies [c92936158]
- Updated dependencies [158d8cf22]
- Updated dependencies [ca8f51e60]
- Updated dependencies [eceaa8b8b]
- Updated dependencies [0e26acb0f]
- Updated dependencies [417c8ac59]
  - @pnpm/lockfile-utils@6.0.0
  - @pnpm/lockfile-file@8.0.0
  - @pnpm/dependency-path@2.0.0
  - @pnpm/read-package-json@8.0.0
  - @pnpm/normalize-registries@5.0.0
  - @pnpm/modules-yaml@12.0.0
  - @pnpm/read-modules-dir@6.0.0
  - @pnpm/types@9.0.0

## 1.2.5

### Patch Changes

- Updated dependencies [787c43dcc]
  - @pnpm/lockfile-file@7.0.6

## 1.2.4

### Patch Changes

- Updated dependencies [ed946c73e]
  - @pnpm/lockfile-file@7.0.5

## 1.2.3

### Patch Changes

- @pnpm/lockfile-utils@5.0.7

## 1.2.2

### Patch Changes

- 19e823bea: Show correct path info for dependenciesHierarchy tree
- Updated dependencies [d89d7a078]
  - @pnpm/dependency-path@1.1.3
  - @pnpm/lockfile-file@7.0.4
  - @pnpm/lockfile-utils@5.0.6

## 1.2.1

### Patch Changes

- Updated dependencies [9247f6781]
  - @pnpm/dependency-path@1.1.2
  - @pnpm/lockfile-file@7.0.3
  - @pnpm/lockfile-utils@5.0.5

## 1.2.0

### Minor Changes

- 94ef3299e: Show dependency paths info in `pnpm audit` output [#3073](https://github.com/pnpm/pnpm/issues/3073)

## 1.1.3

### Patch Changes

- Updated dependencies [9a68ebbae]
  - @pnpm/lockfile-file@7.0.2

## 1.1.2

### Patch Changes

- Updated dependencies [0f6e95872]
  - @pnpm/dependency-path@1.1.1
  - @pnpm/lockfile-file@7.0.1
  - @pnpm/lockfile-utils@5.0.4

## 1.1.1

### Patch Changes

- Updated dependencies [3ebce5db7]
- Updated dependencies [3ebce5db7]
  - @pnpm/lockfile-file@7.0.0
  - @pnpm/dependency-path@1.1.0
  - @pnpm/lockfile-utils@5.0.3
  - @pnpm/read-package-json@7.0.5

## 1.1.0

### Minor Changes

- 395a33a50: The `path` field for direct dependencies returned from `buildDependenciesHierarchy` was incorrect if the dependency used the `workspace:` or `link:` protocols.
- 395a33a50: The `pnpm list` and `pnpm why` commands will now look through transitive dependencies of `workspace:` packages. A new `--only-projects` flag is available to only print `workspace:` packages.

### Patch Changes

- 7853a26e1: Fix a situation where `pnpm list` and `pnpm why` may not respect the `--depth` argument.

## 1.0.1

### Patch Changes

- Updated dependencies [b77651d14]
- Updated dependencies [2458741fa]
  - @pnpm/types@8.10.0
  - @pnpm/modules-yaml@11.1.0
  - @pnpm/normalize-registries@4.0.3
  - @pnpm/lockfile-file@6.0.5
  - @pnpm/lockfile-utils@5.0.2
  - @pnpm/dependency-path@1.0.1
  - @pnpm/read-package-json@7.0.4

## 1.0.0

### Major Changes

- 313702d76: Project renamed from `dependencies-hierarchy` to `@pnpm/reviewing.dependencies-hierarchy`.

### Patch Changes

- Updated dependencies [313702d76]
  - @pnpm/dependency-path@1.0.0
  - @pnpm/lockfile-file@6.0.4
  - @pnpm/lockfile-utils@5.0.1
