@pnpm/deps.graph-hasher 1100.2.8 → 1100.2.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +780 -0
  2. package/package.json +9 -9
package/CHANGELOG.md ADDED
@@ -0,0 +1,780 @@
1
+ # @pnpm/calc-dep-state
2
+
3
+ ## 1100.2.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies:
8
+ - @pnpm/deps.path@1100.0.9
9
+ - @pnpm/engine.runtime.system-version@1100.0.4
10
+ - @pnpm/lockfile.types@1100.0.14
11
+ - @pnpm/lockfile.utils@1100.1.3
12
+ - @pnpm/resolving.resolver-base@1100.5.2
13
+ - @pnpm/types@1101.4.0
14
+
15
+ ## 1100.2.9
16
+
17
+ ### Patch Changes
18
+
19
+ - @pnpm/lockfile.utils@1100.1.2
20
+
21
+ ## 1100.2.8
22
+
23
+ ### Patch Changes
24
+
25
+ - 51300fd: Prevent a crafted `pnpm-lock.yaml` from writing package content outside the virtual store. A dependency path key whose name reconstructs to a path-traversal sequence (e.g. `../../../tmp/x@1.0.0`) is now rejected by the isolated (virtual-store) linker and the Plug'n'Play resolver map, matching the containment already applied to the hoisted linker. Under the global virtual store, a traversal in the version-derived path segment (e.g. a snapshot `version: "../../x"`) is now rejected at `formatGlobalVirtualStorePath`, the single point every global-virtual-store slot path funnels through — closing the same escape in the isolated linker, the resolver's dependency-graph builder, and the config-dependency installer.
26
+
27
+ ## 1100.2.7
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [dcabb78]
32
+ - @pnpm/resolving.resolver-base@1100.5.1
33
+ - @pnpm/lockfile.types@1100.0.13
34
+ - @pnpm/lockfile.utils@1100.1.1
35
+
36
+ ## 1100.2.6
37
+
38
+ ### Patch Changes
39
+
40
+ - Updated dependencies [bae694f]
41
+ - Updated dependencies [a84d2a1]
42
+ - @pnpm/resolving.resolver-base@1100.5.0
43
+ - @pnpm/lockfile.utils@1100.1.0
44
+ - @pnpm/lockfile.types@1100.0.12
45
+
46
+ ## 1100.2.5
47
+
48
+ ### Patch Changes
49
+
50
+ - Updated dependencies [f20ad8f]
51
+ - Updated dependencies [681b593]
52
+ - Updated dependencies [a31faa7]
53
+ - @pnpm/lockfile.utils@1100.0.13
54
+ - @pnpm/types@1101.3.2
55
+ - @pnpm/deps.path@1100.0.8
56
+ - @pnpm/engine.runtime.system-version@1100.0.3
57
+ - @pnpm/lockfile.types@1100.0.11
58
+ - @pnpm/resolving.resolver-base@1100.4.2
59
+
60
+ ## 1100.2.4
61
+
62
+ ### Patch Changes
63
+
64
+ - bf1b731: Require trusted package identity before package-name `allowBuilds` entries can approve lifecycle scripts for git, git-hosted tarball, direct tarball, and local directory artifacts. To approve one of those artifacts explicitly, use its peer-suffix-free lockfile depPath as the `allowBuilds` key. Lockfile verification now rejects lockfiles where a registry-style dependency path (`name@semver`) is backed by a git, directory, or git-hosted tarball resolution (`ERR_PNPM_RESOLUTION_SHAPE_MISMATCH`), so the dependency path is a reliable artifact identity by the time scripts can run.
65
+ - Updated dependencies [bf1b731]
66
+ - @pnpm/types@1101.3.1
67
+ - @pnpm/deps.path@1100.0.7
68
+ - @pnpm/engine.runtime.system-version@1100.0.2
69
+ - @pnpm/lockfile.types@1100.0.10
70
+ - @pnpm/lockfile.utils@1100.0.12
71
+ - @pnpm/resolving.resolver-base@1100.4.1
72
+
73
+ ## 1100.2.3
74
+
75
+ ### Patch Changes
76
+
77
+ - Updated dependencies [a017bf3]
78
+ - Updated dependencies [6d17b66]
79
+ - @pnpm/types@1101.3.0
80
+ - @pnpm/resolving.resolver-base@1100.4.0
81
+ - @pnpm/deps.path@1100.0.6
82
+ - @pnpm/engine.runtime.system-version@1100.0.1
83
+ - @pnpm/lockfile.types@1100.0.9
84
+ - @pnpm/lockfile.utils@1100.0.11
85
+
86
+ ## 1100.2.2
87
+
88
+ ### Patch Changes
89
+
90
+ - Updated dependencies [e55f4b5]
91
+ - Updated dependencies [35d2355]
92
+ - @pnpm/lockfile.utils@1100.0.10
93
+ - @pnpm/engine.runtime.system-version@1100.0.0
94
+ - @pnpm/types@1101.2.0
95
+ - @pnpm/deps.path@1100.0.5
96
+ - @pnpm/lockfile.types@1100.0.8
97
+ - @pnpm/resolving.resolver-base@1100.3.1
98
+
99
+ ## 1100.2.1
100
+
101
+ ### Patch Changes
102
+
103
+ - Updated dependencies [1627943]
104
+ - Updated dependencies [64afc92]
105
+ - @pnpm/resolving.resolver-base@1100.3.0
106
+ - @pnpm/types@1101.1.1
107
+ - @pnpm/lockfile.types@1100.0.7
108
+ - @pnpm/lockfile.utils@1100.0.9
109
+ - @pnpm/deps.path@1100.0.4
110
+ - @pnpm/engine.runtime.system-node-version@1100.1.1
111
+
112
+ ## 1100.2.0
113
+
114
+ ### Minor Changes
115
+
116
+ - 5dc8be8: **fix**: resolve the GVS hash's engine portion per-snapshot when a dependency declares its own `engines.runtime`, instead of using an install-wide value.
117
+
118
+ Pnpm's resolver desugars a dep's `engines.runtime` into `dependencies.node: 'runtime:<version>'`, and the bin linker spawns that dep's lifecycle scripts through the pinned Node downloaded into `<pkgDir>/node_modules/node/`. The GVS hash and the side-effects-cache key prefix were still anchored to the install-wide runtime — so a pinning snapshot's slot encoded the wrong Node major, and a reinstall on the same host could read the cached side-effects under a key whose `<platform>;<arch>;node<major>` triple disagreed with the Node the build actually ran on.
119
+
120
+ Per-snapshot resolution now matches what `bins/linker` already does on a per-package basis:
121
+
122
+ - `@pnpm/deps.graph-hasher` adds `readSnapshotRuntimePin(children)` — reads the `node` entry from one snapshot's graph children and extracts the version from a `node@runtime:` value. Pairs with the existing `findRuntimeNodeVersion(snapshotKeys)` install-wide fallback (also now exported from `@pnpm/deps.graph-hasher` rather than `@pnpm/engine.runtime.system-node-version`, where it was a poor fit — `system-node-version` is about probing the host Node, not parsing lockfile-derived strings).
123
+ - `calcDepState` and `calcGraphNodeHash` consult `readSnapshotRuntimePin(graph[depPath].children)` first and only fall back to the install-wide `nodeVersion` parameter when the snapshot doesn't pin its own Node.
124
+
125
+ Pacquet mirrors the same precedence at the `calc_graph_node_hash` call site in `package-manager/src/virtual_store_layout.rs` — a new `find_own_runtime_node_major(snapshot)` helper reads each snapshot's `dependencies` for a `node` entry with `Prefix::Runtime` and overrides the install-wide engine when present.
126
+
127
+ On upgrade, snapshots of dependencies that declare their own `engines.runtime` re-hash under that dep's pinned Node instead of the install-wide value. The old slots become prune-eligible. Closes [#11690](https://github.com/pnpm/pnpm/issues/11690).
128
+
129
+ ### Patch Changes
130
+
131
+ - 3ddde2b: **fix**: anchor the side-effects-cache key and global-virtual-store hash to the project's script-runner Node — `engines.runtime` pin when present, shell `node` otherwise — instead of pnpm's own runtime.
132
+
133
+ `ENGINE_NAME` (the `<platform>;<arch>;node<major>` prefix used as the side-effects-cache key and the engine portion of the GVS hash) was computed from `process.version` — the Node that runs pnpm itself. That was wrong in two situations:
134
+
135
+ 1. **`@pnpm/exe` SEA bundle.** The bundle has its own embedded Node, not the `node` on the user's `PATH` that actually spawns lifecycle scripts. Two pnpm installations on the same machine (one SEA, one npm-package) therefore disagreed on the cache key, partitioning the side-effects cache and the global virtual store across two Node majors even though both installs would run scripts on the same shell `node`.
136
+ 2. **`engines.runtime` / `devEngines.runtime` pin.** When a project pins a Node version via `devEngines.runtime` (pnpm v11+), pnpm downloads that Node into `node_modules/node/` and uses it to run lifecycle scripts. But the hash still anchored to whichever Node ran pnpm itself, not to the pinned Node — so two installs of the same project with two different runner Nodes would still disagree on the GVS slot path even though scripts run on the same pinned Node.
137
+
138
+ Three changes:
139
+
140
+ - `@pnpm/engine.runtime.system-node-version` now exports `engineName(nodeVersion?)`. Resolves the version in this order: explicit override → `getSystemNodeVersion()` (which already prefers `node --version` over `process.version` in SEA contexts) → `process.version`.
141
+ - `@pnpm/deps.graph-hasher` now exports `findRuntimeNodeVersion(snapshotKeys)` — scans an iterable of lockfile snapshot keys for a `node@runtime:<version>` entry and returns its bare version string. `calcDepState` and `calcGraphNodeHash`/`iterateHashedGraphNodes` accept a `nodeVersion?` (in the options bag for the first, as a trailing parameter / ctx field for the others), forwarded to `engineName()`. The default (no override) preserves the pre-change behaviour. The legacy `ENGINE_NAME` constant in `@pnpm/constants` is unchanged so external consumers and existing tests keep working; in non-SEA, non-pinned contexts every value lines up.
142
+ - Every install-side caller of the graph-hasher (`@pnpm/installing.deps-resolver`, `@pnpm/installing.deps-restorer`, `@pnpm/installing.deps-installer`, `@pnpm/building.during-install`, `@pnpm/building.after-install`, `@pnpm/deps.graph-builder`) now derives the project's pinned runtime via `findRuntimeNodeVersion(Object.keys(graph))` once per invocation and threads it through.
143
+
144
+ On upgrade, two one-time GVS slot churns are possible:
145
+
146
+ - **SEA-pnpm users** without a runtime pin: slots that previously hashed under the embedded-Node major (e.g. `node26`) now hash under the shell-Node major (e.g. `node24`), matching what pacquet, the npm-published `pnpm` package, and any other pnpm-compatible tool already produce.
147
+ - **Projects with a `devEngines.runtime` pin**: slots that previously hashed under the runner's Node major now hash under the pinned Node major, matching what the lifecycle scripts will actually run on.
148
+
149
+ In both cases the old slots become prune-eligible.
150
+
151
+ - Updated dependencies [4195766]
152
+ - Updated dependencies [31538bf]
153
+ - Updated dependencies [3ddde2b]
154
+ - @pnpm/resolving.resolver-base@1100.2.0
155
+ - @pnpm/engine.runtime.system-node-version@1100.1.0
156
+ - @pnpm/lockfile.types@1100.0.6
157
+ - @pnpm/lockfile.utils@1100.0.8
158
+
159
+ ## 1100.1.5
160
+
161
+ ### Patch Changes
162
+
163
+ - Updated dependencies [b61e268]
164
+ - @pnpm/types@1101.1.0
165
+ - @pnpm/deps.path@1100.0.3
166
+ - @pnpm/lockfile.types@1100.0.5
167
+ - @pnpm/lockfile.utils@1100.0.7
168
+ - @pnpm/resolving.resolver-base@1100.1.3
169
+
170
+ ## 1100.1.4
171
+
172
+ ### Patch Changes
173
+
174
+ - Updated dependencies [cfa271b]
175
+ - @pnpm/lockfile.utils@1100.0.6
176
+
177
+ ## 1100.1.3
178
+
179
+ ### Patch Changes
180
+
181
+ - Updated dependencies [27425d7]
182
+ - @pnpm/lockfile.types@1100.0.4
183
+ - @pnpm/lockfile.utils@1100.0.5
184
+ - @pnpm/resolving.resolver-base@1100.1.2
185
+
186
+ ## 1100.1.2
187
+
188
+ ### Patch Changes
189
+
190
+ - 184ce26: Fix the package name in README.md.
191
+ - Updated dependencies [184ce26]
192
+ - Updated dependencies [6b891a5]
193
+ - @pnpm/resolving.resolver-base@1100.1.1
194
+ - @pnpm/deps.path@1100.0.2
195
+ - @pnpm/lockfile.utils@1100.0.4
196
+ - @pnpm/lockfile.types@1100.0.3
197
+
198
+ ## 1100.1.1
199
+
200
+ ### Patch Changes
201
+
202
+ - @pnpm/lockfile.utils@1100.0.3
203
+
204
+ ## 1100.1.0
205
+
206
+ ### Minor Changes
207
+
208
+ - 72c1e05: Fix: different platform variants of the same runtime (e.g. `node@runtime:25.9.0` glibc vs. musl) no longer share a single global-virtual-store entry. The virtual store path now incorporates the selected variant's integrity, so installs with different `--os`/`--cpu`/`--libc` end up in separate directories and `pnpm add --libc=musl node@runtime:<v>` reliably fetches the musl binary even when the glibc variant is already cached.
209
+
210
+ ### Patch Changes
211
+
212
+ - Updated dependencies [72c1e05]
213
+ - @pnpm/resolving.resolver-base@1100.1.0
214
+ - @pnpm/lockfile.types@1100.0.2
215
+ - @pnpm/lockfile.utils@1100.0.2
216
+
217
+ ## 1100.0.1
218
+
219
+ ### Patch Changes
220
+
221
+ - Updated dependencies [ff28085]
222
+ - @pnpm/types@1101.0.0
223
+ - @pnpm/deps.path@1100.0.1
224
+ - @pnpm/lockfile.types@1100.0.1
225
+ - @pnpm/lockfile.utils@1100.0.1
226
+
227
+ ## 1003.0.0
228
+
229
+ ### Major Changes
230
+
231
+ - 5f73b0f: Runtime dependencies are always linked from the global virtual store [#10233](https://github.com/pnpm/pnpm/pull/10233).
232
+ - 491a84f: This package is now pure ESM.
233
+ - c4045fc: **Semi-breaking.** Changed the location of unscoped packages in the virtual global store. They will now be stored under a directory named `@` to maintain a uniform 4-level directory depth.
234
+ - 7d2fd48: Node.js v18, 19, 20, and 21 support discontinued.
235
+
236
+ ### Minor Changes
237
+
238
+ - a8f016c: Store config dependency and package manager integrity info in `pnpm-lock.yaml` instead of inlining it in `pnpm-workspace.yaml`. The workspace manifest now contains only clean version specifiers for `configDependencies`, while the resolved versions, integrity hashes, and tarball URLs are recorded in the lockfile as a separate YAML document. The env lockfile section also stores `packageManagerDependencies` resolved during version switching and self-update. Projects using the old inline-hash format are automatically migrated on install.
239
+ - cd743ef: Use `allowBuilds` config to compute engine-agnostic GVS hashes for pure-JS packages [#10837](https://github.com/pnpm/pnpm/issues/10837).
240
+
241
+ When the global virtual store is enabled, packages that are not allowed to build (and don't transitively depend on packages that are) now get hashes that don't include the engine name (platform, architecture, Node.js major version). This means ~95% of packages in the GVS survive Node.js upgrades and architecture changes without re-import.
242
+
243
+ - 38b8e35: Support for custom resolvers and fetchers.
244
+
245
+ ### Patch Changes
246
+
247
+ - 1e6de25: Fix dependency graph hash calculation for runtime dependencies (like Node.js, Deno).
248
+ - Updated dependencies [5f73b0f]
249
+ - Updated dependencies [c55c614]
250
+ - Updated dependencies [76718b3]
251
+ - Updated dependencies [a8f016c]
252
+ - Updated dependencies [cc1b8e3]
253
+ - Updated dependencies [606f53e]
254
+ - Updated dependencies [491a84f]
255
+ - Updated dependencies [075aa99]
256
+ - Updated dependencies [3bf5e21]
257
+ - Updated dependencies [7d2fd48]
258
+ - Updated dependencies [efb48dc]
259
+ - Updated dependencies [50fbeca]
260
+ - Updated dependencies [cb367b9]
261
+ - Updated dependencies [7b1c189]
262
+ - Updated dependencies [8ffb1a7]
263
+ - Updated dependencies [05fb1ae]
264
+ - Updated dependencies [71de2b3]
265
+ - Updated dependencies [10bc391]
266
+ - Updated dependencies [38b8e35]
267
+ - Updated dependencies [394d88c]
268
+ - Updated dependencies [1e6de25]
269
+ - Updated dependencies [2df8b71]
270
+ - Updated dependencies [15549a9]
271
+ - Updated dependencies [cc7c0d2]
272
+ - Updated dependencies [efb48dc]
273
+ - @pnpm/deps.path@1002.0.0
274
+ - @pnpm/constants@1002.0.0
275
+ - @pnpm/types@1001.0.0
276
+ - @pnpm/lockfile.types@1003.0.0
277
+ - @pnpm/lockfile.utils@1004.0.0
278
+ - @pnpm/crypto.object-hasher@1001.0.0
279
+
280
+ ## 1002.0.8
281
+
282
+ ### Patch Changes
283
+
284
+ - Updated dependencies [7c1382f]
285
+ - Updated dependencies [dee39ec]
286
+ - @pnpm/types@1000.9.0
287
+ - @pnpm/lockfile.types@1002.0.2
288
+ - @pnpm/lockfile.utils@1003.0.3
289
+ - @pnpm/dependency-path@1001.1.3
290
+
291
+ ## 1002.0.7
292
+
293
+ ### Patch Changes
294
+
295
+ - @pnpm/dependency-path@1001.1.2
296
+ - @pnpm/lockfile.utils@1003.0.2
297
+
298
+ ## 1002.0.6
299
+
300
+ ### Patch Changes
301
+
302
+ - Updated dependencies [6365bc4]
303
+ - @pnpm/constants@1001.3.1
304
+
305
+ ## 1002.0.5
306
+
307
+ ### Patch Changes
308
+
309
+ - Updated dependencies [e792927]
310
+ - @pnpm/types@1000.8.0
311
+ - @pnpm/lockfile.types@1002.0.1
312
+ - @pnpm/lockfile.utils@1003.0.1
313
+ - @pnpm/dependency-path@1001.1.1
314
+
315
+ ## 1002.0.4
316
+
317
+ ### Patch Changes
318
+
319
+ - Updated dependencies [d1edf73]
320
+ - Updated dependencies [d1edf73]
321
+ - Updated dependencies [86b33e9]
322
+ - Updated dependencies [f91922c]
323
+ - @pnpm/dependency-path@1001.1.0
324
+ - @pnpm/constants@1001.3.0
325
+ - @pnpm/lockfile.types@1002.0.0
326
+ - @pnpm/lockfile.utils@1003.0.0
327
+
328
+ ## 1002.0.3
329
+
330
+ ### Patch Changes
331
+
332
+ - Updated dependencies [1a07b8f]
333
+ - Updated dependencies [2e85f29]
334
+ - Updated dependencies [1a07b8f]
335
+ - Updated dependencies [1a07b8f]
336
+ - @pnpm/types@1000.7.0
337
+ - @pnpm/lockfile.utils@1002.1.0
338
+ - @pnpm/lockfile.types@1001.1.0
339
+ - @pnpm/constants@1001.2.0
340
+ - @pnpm/dependency-path@1001.0.2
341
+
342
+ ## 1002.0.2
343
+
344
+ ### Patch Changes
345
+
346
+ - @pnpm/dependency-path@1001.0.1
347
+ - @pnpm/lockfile.utils@1002.0.1
348
+
349
+ ## 1002.0.1
350
+
351
+ ### Patch Changes
352
+
353
+ - Updated dependencies [540986f]
354
+ - @pnpm/dependency-path@1001.0.0
355
+ - @pnpm/lockfile.utils@1002.0.0
356
+
357
+ ## 1002.0.0
358
+
359
+ ### Major Changes
360
+
361
+ - b0ead51: Renamed `isBuilt` option to `includeDepGraphHash`.
362
+ - b3898db: **Semi-breaking.** The keys used for side-effects caches have changed. If you have a side-effects cache generated by a previous version of pnpm, the new version will not use it and will create a new cache instead [#9605](https://github.com/pnpm/pnpm/pull/9605).
363
+
364
+ ### Minor Changes
365
+
366
+ - b0ead51: Added `iterateHashedGraphNodes`.
367
+
368
+ ### Patch Changes
369
+
370
+ - Updated dependencies [b0ead51]
371
+ - @pnpm/crypto.object-hasher@1000.1.0
372
+ - @pnpm/lockfile.utils@1001.0.12
373
+
374
+ ## 1001.0.13
375
+
376
+ ### Patch Changes
377
+
378
+ - Updated dependencies [c00360b]
379
+ - Updated dependencies [5ec7255]
380
+ - @pnpm/object.key-sorting@1000.0.1
381
+ - @pnpm/types@1000.6.0
382
+ - @pnpm/lockfile.types@1001.0.8
383
+ - @pnpm/lockfile.utils@1001.0.11
384
+ - @pnpm/dependency-path@1000.0.9
385
+
386
+ ## 1001.0.12
387
+
388
+ ### Patch Changes
389
+
390
+ - Updated dependencies [5b73df1]
391
+ - @pnpm/types@1000.5.0
392
+ - @pnpm/lockfile.utils@1001.0.10
393
+ - @pnpm/lockfile.types@1001.0.7
394
+ - @pnpm/dependency-path@1000.0.8
395
+
396
+ ## 1001.0.11
397
+
398
+ ### Patch Changes
399
+
400
+ - @pnpm/lockfile.utils@1001.0.9
401
+
402
+ ## 1001.0.10
403
+
404
+ ### Patch Changes
405
+
406
+ - Updated dependencies [750ae7d]
407
+ - @pnpm/types@1000.4.0
408
+ - @pnpm/lockfile.types@1001.0.6
409
+ - @pnpm/lockfile.utils@1001.0.8
410
+ - @pnpm/dependency-path@1000.0.7
411
+
412
+ ## 1001.0.9
413
+
414
+ ### Patch Changes
415
+
416
+ - Updated dependencies [5f7be64]
417
+ - Updated dependencies [5f7be64]
418
+ - @pnpm/types@1000.3.0
419
+ - @pnpm/lockfile.types@1001.0.5
420
+ - @pnpm/lockfile.utils@1001.0.7
421
+ - @pnpm/dependency-path@1000.0.6
422
+
423
+ ## 1001.0.8
424
+
425
+ ### Patch Changes
426
+
427
+ - @pnpm/lockfile.utils@1001.0.6
428
+
429
+ ## 1001.0.7
430
+
431
+ ### Patch Changes
432
+
433
+ - @pnpm/dependency-path@1000.0.5
434
+ - @pnpm/lockfile.utils@1001.0.5
435
+
436
+ ## 1001.0.6
437
+
438
+ ### Patch Changes
439
+
440
+ - Updated dependencies [a5e4965]
441
+ - @pnpm/types@1000.2.1
442
+ - @pnpm/dependency-path@1000.0.4
443
+ - @pnpm/lockfile.types@1001.0.4
444
+ - @pnpm/lockfile.utils@1001.0.4
445
+
446
+ ## 1001.0.5
447
+
448
+ ### Patch Changes
449
+
450
+ - Updated dependencies [8fcc221]
451
+ - @pnpm/types@1000.2.0
452
+ - @pnpm/lockfile.types@1001.0.3
453
+ - @pnpm/lockfile.utils@1001.0.3
454
+ - @pnpm/dependency-path@1000.0.3
455
+
456
+ ## 1001.0.4
457
+
458
+ ### Patch Changes
459
+
460
+ - Updated dependencies [fee898f]
461
+ - @pnpm/object.key-sorting@1000.0.0
462
+
463
+ ## 1001.0.3
464
+
465
+ ### Patch Changes
466
+
467
+ - Updated dependencies [3717340]
468
+ - @pnpm/crypto.object-hasher@1000.0.1
469
+
470
+ ## 1001.0.2
471
+
472
+ ### Patch Changes
473
+
474
+ - Updated dependencies [9a44e6c]
475
+ - Updated dependencies [b562deb]
476
+ - @pnpm/constants@1001.1.0
477
+ - @pnpm/types@1000.1.1
478
+ - @pnpm/lockfile.types@1001.0.2
479
+ - @pnpm/lockfile.utils@1001.0.2
480
+ - @pnpm/dependency-path@1000.0.2
481
+
482
+ ## 1001.0.1
483
+
484
+ ### Patch Changes
485
+
486
+ - Updated dependencies [9591a18]
487
+ - @pnpm/types@1000.1.0
488
+ - @pnpm/lockfile.types@1001.0.1
489
+ - @pnpm/lockfile.utils@1001.0.1
490
+ - @pnpm/dependency-path@1000.0.1
491
+
492
+ ## 1001.0.0
493
+
494
+ ### Major Changes
495
+
496
+ - a76da0c: Removed lockfile conversion from v6 to v9. If you need to convert lockfile v6 to v9, use pnpm CLI v9.
497
+
498
+ ### Patch Changes
499
+
500
+ - Updated dependencies [d2e83b0]
501
+ - Updated dependencies [6483b64]
502
+ - Updated dependencies [a76da0c]
503
+ - @pnpm/constants@1001.0.0
504
+ - @pnpm/lockfile.types@1001.0.0
505
+ - @pnpm/lockfile.utils@1001.0.0
506
+
507
+ ## 7.0.11
508
+
509
+ ### Patch Changes
510
+
511
+ - Updated dependencies [19d5b51]
512
+ - Updated dependencies [8108680]
513
+ - Updated dependencies [dcd2917]
514
+ - Updated dependencies [501c152]
515
+ - Updated dependencies [d55b259]
516
+ - Updated dependencies [c4f5231]
517
+ - @pnpm/constants@10.0.0
518
+ - @pnpm/dependency-path@6.0.0
519
+ - @pnpm/crypto.object-hasher@3.0.0
520
+ - @pnpm/lockfile.utils@1.0.5
521
+
522
+ ## 7.0.10
523
+
524
+ ### Patch Changes
525
+
526
+ - @pnpm/dependency-path@5.1.7
527
+ - @pnpm/lockfile.utils@1.0.4
528
+
529
+ ## 7.0.9
530
+
531
+ ### Patch Changes
532
+
533
+ - Updated dependencies [83681da]
534
+ - @pnpm/constants@9.0.0
535
+
536
+ ## 7.0.8
537
+
538
+ ### Patch Changes
539
+
540
+ - Updated dependencies [d500d9f]
541
+ - @pnpm/types@12.2.0
542
+ - @pnpm/lockfile.types@1.0.3
543
+ - @pnpm/lockfile.utils@1.0.3
544
+ - @pnpm/dependency-path@5.1.6
545
+
546
+ ## 7.0.7
547
+
548
+ ### Patch Changes
549
+
550
+ - Updated dependencies [7ee59a1]
551
+ - @pnpm/types@12.1.0
552
+ - @pnpm/lockfile.types@1.0.2
553
+ - @pnpm/lockfile.utils@1.0.2
554
+ - @pnpm/dependency-path@5.1.5
555
+
556
+ ## 7.0.6
557
+
558
+ ### Patch Changes
559
+
560
+ - Updated dependencies [cb006df]
561
+ - @pnpm/lockfile.types@1.0.1
562
+ - @pnpm/types@12.0.0
563
+ - @pnpm/lockfile.utils@1.0.1
564
+ - @pnpm/dependency-path@5.1.4
565
+
566
+ ## 7.0.5
567
+
568
+ ### Patch Changes
569
+
570
+ - Updated dependencies [c5ef9b0]
571
+ - Updated dependencies [797ef0f]
572
+ - @pnpm/lockfile.utils@1.0.0
573
+ - @pnpm/lockfile.types@1.0.0
574
+
575
+ ## 7.0.4
576
+
577
+ ### Patch Changes
578
+
579
+ - Updated dependencies [0ef168b]
580
+ - @pnpm/types@11.1.0
581
+ - @pnpm/lockfile-types@7.1.3
582
+ - @pnpm/lockfile-utils@11.0.4
583
+ - @pnpm/dependency-path@5.1.3
584
+
585
+ ## 7.0.3
586
+
587
+ ### Patch Changes
588
+
589
+ - Updated dependencies [dd00eeb]
590
+ - Updated dependencies
591
+ - @pnpm/types@11.0.0
592
+ - @pnpm/lockfile-utils@11.0.3
593
+ - @pnpm/lockfile-types@7.1.2
594
+ - @pnpm/dependency-path@5.1.2
595
+
596
+ ## 7.0.2
597
+
598
+ ### Patch Changes
599
+
600
+ - Updated dependencies [13e55b2]
601
+ - @pnpm/types@10.1.1
602
+ - @pnpm/lockfile-types@7.1.1
603
+ - @pnpm/lockfile-utils@11.0.2
604
+ - @pnpm/dependency-path@5.1.1
605
+
606
+ ## 7.0.1
607
+
608
+ ### Patch Changes
609
+
610
+ - Updated dependencies [47341e5]
611
+ - @pnpm/dependency-path@5.1.0
612
+ - @pnpm/lockfile-types@7.1.0
613
+ - @pnpm/lockfile-utils@11.0.1
614
+
615
+ ## 7.0.0
616
+
617
+ ### Major Changes
618
+
619
+ - Breaking changes to the API.
620
+
621
+ ### Patch Changes
622
+
623
+ - Updated dependencies [45f4262]
624
+ - Updated dependencies
625
+ - @pnpm/types@10.1.0
626
+ - @pnpm/lockfile-types@7.0.0
627
+ - @pnpm/lockfile-utils@11.0.0
628
+ - @pnpm/dependency-path@5.0.0
629
+
630
+ ## 6.0.1
631
+
632
+ ### Patch Changes
633
+
634
+ - Updated dependencies [9719a42]
635
+ - @pnpm/dependency-path@4.0.0
636
+
637
+ ## 6.0.0
638
+
639
+ ### Major Changes
640
+
641
+ - 43cdd87: Node.js v16 support dropped. Use at least Node.js v18.12.
642
+
643
+ ### Patch Changes
644
+
645
+ - Updated dependencies [cdd8365]
646
+ - Updated dependencies [c692f80]
647
+ - Updated dependencies [89b396b]
648
+ - Updated dependencies [43cdd87]
649
+ - Updated dependencies [086b69c]
650
+ - Updated dependencies [d381a60]
651
+ - Updated dependencies [d636eed]
652
+ - Updated dependencies [27a96a8]
653
+ - Updated dependencies [730929e]
654
+ - Updated dependencies [98a1266]
655
+ - @pnpm/dependency-path@3.0.0
656
+ - @pnpm/constants@8.0.0
657
+ - @pnpm/lockfile-types@6.0.0
658
+ - @pnpm/crypto.object-hasher@2.0.0
659
+
660
+ ## 5.0.0
661
+
662
+ ### Major Changes
663
+
664
+ - 0c383327e: Reduce the length of the side-effects cache key. Instead of saving a stringified object composed from the dependency versions of the package, use the hash calculated from the said object [#7563](https://github.com/pnpm/pnpm/pull/7563).
665
+
666
+ ### Patch Changes
667
+
668
+ - Updated dependencies [0c383327e]
669
+ - @pnpm/crypto.object-hasher@1.0.0
670
+
671
+ ## 4.1.5
672
+
673
+ ### Patch Changes
674
+
675
+ - Updated dependencies [4d34684f1]
676
+ - @pnpm/lockfile-types@5.1.5
677
+ - @pnpm/dependency-path@2.1.7
678
+
679
+ ## 4.1.4
680
+
681
+ ### Patch Changes
682
+
683
+ - Updated dependencies
684
+ - @pnpm/lockfile-types@5.1.4
685
+ - @pnpm/dependency-path@2.1.6
686
+
687
+ ## 4.1.3
688
+
689
+ ### Patch Changes
690
+
691
+ - @pnpm/lockfile-types@5.1.3
692
+ - @pnpm/dependency-path@2.1.5
693
+
694
+ ## 4.1.2
695
+
696
+ ### Patch Changes
697
+
698
+ - @pnpm/lockfile-types@5.1.2
699
+ - @pnpm/dependency-path@2.1.4
700
+
701
+ ## 4.1.1
702
+
703
+ ### Patch Changes
704
+
705
+ - @pnpm/lockfile-types@5.1.1
706
+ - @pnpm/dependency-path@2.1.3
707
+
708
+ ## 4.1.0
709
+
710
+ ### Minor Changes
711
+
712
+ - 16bbac8d5: Add `lockfileToDepGraph` function.
713
+
714
+ ## 4.0.2
715
+
716
+ ### Patch Changes
717
+
718
+ - Updated dependencies [302ebffc5]
719
+ - @pnpm/constants@7.1.1
720
+
721
+ ## 4.0.1
722
+
723
+ ### Patch Changes
724
+
725
+ - Updated dependencies [9c4ae87bd]
726
+ - @pnpm/constants@7.1.0
727
+
728
+ ## 4.0.0
729
+
730
+ ### Major Changes
731
+
732
+ - eceaa8b8b: Node.js 14 support dropped.
733
+
734
+ ### Patch Changes
735
+
736
+ - Updated dependencies [eceaa8b8b]
737
+ - @pnpm/constants@7.0.0
738
+
739
+ ## 3.0.2
740
+
741
+ ### Patch Changes
742
+
743
+ - Updated dependencies [3ebce5db7]
744
+ - @pnpm/constants@6.2.0
745
+
746
+ ## 3.0.1
747
+
748
+ ### Patch Changes
749
+
750
+ - 285ff09ba: Calculate the cache key differently when scripts are ignored.
751
+
752
+ ## 3.0.0
753
+
754
+ ### Major Changes
755
+
756
+ - 2a34b21ce: Changed the order of arguments in calcDepState and added an optional last argument for patchFileHash.
757
+
758
+ ## 2.0.1
759
+
760
+ ### Patch Changes
761
+
762
+ - Updated dependencies [1267e4eff]
763
+ - @pnpm/constants@6.1.0
764
+
765
+ ## 2.0.0
766
+
767
+ ### Major Changes
768
+
769
+ - 542014839: Node.js 12 is not supported.
770
+
771
+ ### Patch Changes
772
+
773
+ - Updated dependencies [542014839]
774
+ - @pnpm/constants@6.0.0
775
+
776
+ ## 1.0.0
777
+
778
+ ### Major Changes
779
+
780
+ - 1cadc231a: Initial release.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/deps.graph-hasher",
3
- "version": "1100.2.8",
3
+ "version": "1100.2.10",
4
4
  "description": "Calculates the state of a dependency",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -27,18 +27,18 @@
27
27
  "!*.map"
28
28
  ],
29
29
  "dependencies": {
30
- "detect-libc": "^2.1.2",
31
30
  "@pnpm/crypto.object-hasher": "1100.0.0",
32
- "@pnpm/deps.path": "1100.0.8",
33
- "@pnpm/lockfile.utils": "1100.1.1",
34
- "@pnpm/lockfile.types": "1100.0.13",
35
- "@pnpm/resolving.resolver-base": "1100.5.1",
36
- "@pnpm/engine.runtime.system-version": "1100.0.3",
37
- "@pnpm/types": "1101.3.2"
31
+ "@pnpm/deps.path": "1100.0.9",
32
+ "@pnpm/engine.runtime.system-version": "1100.0.4",
33
+ "@pnpm/lockfile.types": "1100.0.14",
34
+ "@pnpm/lockfile.utils": "1100.1.3",
35
+ "@pnpm/resolving.resolver-base": "1100.5.2",
36
+ "@pnpm/types": "1101.4.0",
37
+ "detect-libc": "^2.1.2"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@jest/globals": "30.4.1",
41
- "@pnpm/deps.graph-hasher": "1100.2.8"
41
+ "@pnpm/deps.graph-hasher": "1100.2.10"
42
42
  },
43
43
  "engines": {
44
44
  "node": ">=22.13"