@pnpm/deps.graph-hasher 1100.2.8 → 1100.2.9

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 +768 -0
  2. package/package.json +6 -6
package/CHANGELOG.md ADDED
@@ -0,0 +1,768 @@
1
+ # @pnpm/calc-dep-state
2
+
3
+ ## 1100.2.9
4
+
5
+ ### Patch Changes
6
+
7
+ - @pnpm/lockfile.utils@1100.1.2
8
+
9
+ ## 1100.2.8
10
+
11
+ ### Patch Changes
12
+
13
+ - 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.
14
+
15
+ ## 1100.2.7
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [dcabb78]
20
+ - @pnpm/resolving.resolver-base@1100.5.1
21
+ - @pnpm/lockfile.types@1100.0.13
22
+ - @pnpm/lockfile.utils@1100.1.1
23
+
24
+ ## 1100.2.6
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [bae694f]
29
+ - Updated dependencies [a84d2a1]
30
+ - @pnpm/resolving.resolver-base@1100.5.0
31
+ - @pnpm/lockfile.utils@1100.1.0
32
+ - @pnpm/lockfile.types@1100.0.12
33
+
34
+ ## 1100.2.5
35
+
36
+ ### Patch Changes
37
+
38
+ - Updated dependencies [f20ad8f]
39
+ - Updated dependencies [681b593]
40
+ - Updated dependencies [a31faa7]
41
+ - @pnpm/lockfile.utils@1100.0.13
42
+ - @pnpm/types@1101.3.2
43
+ - @pnpm/deps.path@1100.0.8
44
+ - @pnpm/engine.runtime.system-version@1100.0.3
45
+ - @pnpm/lockfile.types@1100.0.11
46
+ - @pnpm/resolving.resolver-base@1100.4.2
47
+
48
+ ## 1100.2.4
49
+
50
+ ### Patch Changes
51
+
52
+ - 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.
53
+ - Updated dependencies [bf1b731]
54
+ - @pnpm/types@1101.3.1
55
+ - @pnpm/deps.path@1100.0.7
56
+ - @pnpm/engine.runtime.system-version@1100.0.2
57
+ - @pnpm/lockfile.types@1100.0.10
58
+ - @pnpm/lockfile.utils@1100.0.12
59
+ - @pnpm/resolving.resolver-base@1100.4.1
60
+
61
+ ## 1100.2.3
62
+
63
+ ### Patch Changes
64
+
65
+ - Updated dependencies [a017bf3]
66
+ - Updated dependencies [6d17b66]
67
+ - @pnpm/types@1101.3.0
68
+ - @pnpm/resolving.resolver-base@1100.4.0
69
+ - @pnpm/deps.path@1100.0.6
70
+ - @pnpm/engine.runtime.system-version@1100.0.1
71
+ - @pnpm/lockfile.types@1100.0.9
72
+ - @pnpm/lockfile.utils@1100.0.11
73
+
74
+ ## 1100.2.2
75
+
76
+ ### Patch Changes
77
+
78
+ - Updated dependencies [e55f4b5]
79
+ - Updated dependencies [35d2355]
80
+ - @pnpm/lockfile.utils@1100.0.10
81
+ - @pnpm/engine.runtime.system-version@1100.0.0
82
+ - @pnpm/types@1101.2.0
83
+ - @pnpm/deps.path@1100.0.5
84
+ - @pnpm/lockfile.types@1100.0.8
85
+ - @pnpm/resolving.resolver-base@1100.3.1
86
+
87
+ ## 1100.2.1
88
+
89
+ ### Patch Changes
90
+
91
+ - Updated dependencies [1627943]
92
+ - Updated dependencies [64afc92]
93
+ - @pnpm/resolving.resolver-base@1100.3.0
94
+ - @pnpm/types@1101.1.1
95
+ - @pnpm/lockfile.types@1100.0.7
96
+ - @pnpm/lockfile.utils@1100.0.9
97
+ - @pnpm/deps.path@1100.0.4
98
+ - @pnpm/engine.runtime.system-node-version@1100.1.1
99
+
100
+ ## 1100.2.0
101
+
102
+ ### Minor Changes
103
+
104
+ - 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.
105
+
106
+ 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.
107
+
108
+ Per-snapshot resolution now matches what `bins/linker` already does on a per-package basis:
109
+
110
+ - `@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).
111
+ - `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.
112
+
113
+ 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.
114
+
115
+ 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).
116
+
117
+ ### Patch Changes
118
+
119
+ - 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.
120
+
121
+ `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:
122
+
123
+ 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`.
124
+ 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.
125
+
126
+ Three changes:
127
+
128
+ - `@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`.
129
+ - `@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.
130
+ - 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.
131
+
132
+ On upgrade, two one-time GVS slot churns are possible:
133
+
134
+ - **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.
135
+ - **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.
136
+
137
+ In both cases the old slots become prune-eligible.
138
+
139
+ - Updated dependencies [4195766]
140
+ - Updated dependencies [31538bf]
141
+ - Updated dependencies [3ddde2b]
142
+ - @pnpm/resolving.resolver-base@1100.2.0
143
+ - @pnpm/engine.runtime.system-node-version@1100.1.0
144
+ - @pnpm/lockfile.types@1100.0.6
145
+ - @pnpm/lockfile.utils@1100.0.8
146
+
147
+ ## 1100.1.5
148
+
149
+ ### Patch Changes
150
+
151
+ - Updated dependencies [b61e268]
152
+ - @pnpm/types@1101.1.0
153
+ - @pnpm/deps.path@1100.0.3
154
+ - @pnpm/lockfile.types@1100.0.5
155
+ - @pnpm/lockfile.utils@1100.0.7
156
+ - @pnpm/resolving.resolver-base@1100.1.3
157
+
158
+ ## 1100.1.4
159
+
160
+ ### Patch Changes
161
+
162
+ - Updated dependencies [cfa271b]
163
+ - @pnpm/lockfile.utils@1100.0.6
164
+
165
+ ## 1100.1.3
166
+
167
+ ### Patch Changes
168
+
169
+ - Updated dependencies [27425d7]
170
+ - @pnpm/lockfile.types@1100.0.4
171
+ - @pnpm/lockfile.utils@1100.0.5
172
+ - @pnpm/resolving.resolver-base@1100.1.2
173
+
174
+ ## 1100.1.2
175
+
176
+ ### Patch Changes
177
+
178
+ - 184ce26: Fix the package name in README.md.
179
+ - Updated dependencies [184ce26]
180
+ - Updated dependencies [6b891a5]
181
+ - @pnpm/resolving.resolver-base@1100.1.1
182
+ - @pnpm/deps.path@1100.0.2
183
+ - @pnpm/lockfile.utils@1100.0.4
184
+ - @pnpm/lockfile.types@1100.0.3
185
+
186
+ ## 1100.1.1
187
+
188
+ ### Patch Changes
189
+
190
+ - @pnpm/lockfile.utils@1100.0.3
191
+
192
+ ## 1100.1.0
193
+
194
+ ### Minor Changes
195
+
196
+ - 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.
197
+
198
+ ### Patch Changes
199
+
200
+ - Updated dependencies [72c1e05]
201
+ - @pnpm/resolving.resolver-base@1100.1.0
202
+ - @pnpm/lockfile.types@1100.0.2
203
+ - @pnpm/lockfile.utils@1100.0.2
204
+
205
+ ## 1100.0.1
206
+
207
+ ### Patch Changes
208
+
209
+ - Updated dependencies [ff28085]
210
+ - @pnpm/types@1101.0.0
211
+ - @pnpm/deps.path@1100.0.1
212
+ - @pnpm/lockfile.types@1100.0.1
213
+ - @pnpm/lockfile.utils@1100.0.1
214
+
215
+ ## 1003.0.0
216
+
217
+ ### Major Changes
218
+
219
+ - 5f73b0f: Runtime dependencies are always linked from the global virtual store [#10233](https://github.com/pnpm/pnpm/pull/10233).
220
+ - 491a84f: This package is now pure ESM.
221
+ - 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.
222
+ - 7d2fd48: Node.js v18, 19, 20, and 21 support discontinued.
223
+
224
+ ### Minor Changes
225
+
226
+ - 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.
227
+ - cd743ef: Use `allowBuilds` config to compute engine-agnostic GVS hashes for pure-JS packages [#10837](https://github.com/pnpm/pnpm/issues/10837).
228
+
229
+ 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.
230
+
231
+ - 38b8e35: Support for custom resolvers and fetchers.
232
+
233
+ ### Patch Changes
234
+
235
+ - 1e6de25: Fix dependency graph hash calculation for runtime dependencies (like Node.js, Deno).
236
+ - Updated dependencies [5f73b0f]
237
+ - Updated dependencies [c55c614]
238
+ - Updated dependencies [76718b3]
239
+ - Updated dependencies [a8f016c]
240
+ - Updated dependencies [cc1b8e3]
241
+ - Updated dependencies [606f53e]
242
+ - Updated dependencies [491a84f]
243
+ - Updated dependencies [075aa99]
244
+ - Updated dependencies [3bf5e21]
245
+ - Updated dependencies [7d2fd48]
246
+ - Updated dependencies [efb48dc]
247
+ - Updated dependencies [50fbeca]
248
+ - Updated dependencies [cb367b9]
249
+ - Updated dependencies [7b1c189]
250
+ - Updated dependencies [8ffb1a7]
251
+ - Updated dependencies [05fb1ae]
252
+ - Updated dependencies [71de2b3]
253
+ - Updated dependencies [10bc391]
254
+ - Updated dependencies [38b8e35]
255
+ - Updated dependencies [394d88c]
256
+ - Updated dependencies [1e6de25]
257
+ - Updated dependencies [2df8b71]
258
+ - Updated dependencies [15549a9]
259
+ - Updated dependencies [cc7c0d2]
260
+ - Updated dependencies [efb48dc]
261
+ - @pnpm/deps.path@1002.0.0
262
+ - @pnpm/constants@1002.0.0
263
+ - @pnpm/types@1001.0.0
264
+ - @pnpm/lockfile.types@1003.0.0
265
+ - @pnpm/lockfile.utils@1004.0.0
266
+ - @pnpm/crypto.object-hasher@1001.0.0
267
+
268
+ ## 1002.0.8
269
+
270
+ ### Patch Changes
271
+
272
+ - Updated dependencies [7c1382f]
273
+ - Updated dependencies [dee39ec]
274
+ - @pnpm/types@1000.9.0
275
+ - @pnpm/lockfile.types@1002.0.2
276
+ - @pnpm/lockfile.utils@1003.0.3
277
+ - @pnpm/dependency-path@1001.1.3
278
+
279
+ ## 1002.0.7
280
+
281
+ ### Patch Changes
282
+
283
+ - @pnpm/dependency-path@1001.1.2
284
+ - @pnpm/lockfile.utils@1003.0.2
285
+
286
+ ## 1002.0.6
287
+
288
+ ### Patch Changes
289
+
290
+ - Updated dependencies [6365bc4]
291
+ - @pnpm/constants@1001.3.1
292
+
293
+ ## 1002.0.5
294
+
295
+ ### Patch Changes
296
+
297
+ - Updated dependencies [e792927]
298
+ - @pnpm/types@1000.8.0
299
+ - @pnpm/lockfile.types@1002.0.1
300
+ - @pnpm/lockfile.utils@1003.0.1
301
+ - @pnpm/dependency-path@1001.1.1
302
+
303
+ ## 1002.0.4
304
+
305
+ ### Patch Changes
306
+
307
+ - Updated dependencies [d1edf73]
308
+ - Updated dependencies [d1edf73]
309
+ - Updated dependencies [86b33e9]
310
+ - Updated dependencies [f91922c]
311
+ - @pnpm/dependency-path@1001.1.0
312
+ - @pnpm/constants@1001.3.0
313
+ - @pnpm/lockfile.types@1002.0.0
314
+ - @pnpm/lockfile.utils@1003.0.0
315
+
316
+ ## 1002.0.3
317
+
318
+ ### Patch Changes
319
+
320
+ - Updated dependencies [1a07b8f]
321
+ - Updated dependencies [2e85f29]
322
+ - Updated dependencies [1a07b8f]
323
+ - Updated dependencies [1a07b8f]
324
+ - @pnpm/types@1000.7.0
325
+ - @pnpm/lockfile.utils@1002.1.0
326
+ - @pnpm/lockfile.types@1001.1.0
327
+ - @pnpm/constants@1001.2.0
328
+ - @pnpm/dependency-path@1001.0.2
329
+
330
+ ## 1002.0.2
331
+
332
+ ### Patch Changes
333
+
334
+ - @pnpm/dependency-path@1001.0.1
335
+ - @pnpm/lockfile.utils@1002.0.1
336
+
337
+ ## 1002.0.1
338
+
339
+ ### Patch Changes
340
+
341
+ - Updated dependencies [540986f]
342
+ - @pnpm/dependency-path@1001.0.0
343
+ - @pnpm/lockfile.utils@1002.0.0
344
+
345
+ ## 1002.0.0
346
+
347
+ ### Major Changes
348
+
349
+ - b0ead51: Renamed `isBuilt` option to `includeDepGraphHash`.
350
+ - 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).
351
+
352
+ ### Minor Changes
353
+
354
+ - b0ead51: Added `iterateHashedGraphNodes`.
355
+
356
+ ### Patch Changes
357
+
358
+ - Updated dependencies [b0ead51]
359
+ - @pnpm/crypto.object-hasher@1000.1.0
360
+ - @pnpm/lockfile.utils@1001.0.12
361
+
362
+ ## 1001.0.13
363
+
364
+ ### Patch Changes
365
+
366
+ - Updated dependencies [c00360b]
367
+ - Updated dependencies [5ec7255]
368
+ - @pnpm/object.key-sorting@1000.0.1
369
+ - @pnpm/types@1000.6.0
370
+ - @pnpm/lockfile.types@1001.0.8
371
+ - @pnpm/lockfile.utils@1001.0.11
372
+ - @pnpm/dependency-path@1000.0.9
373
+
374
+ ## 1001.0.12
375
+
376
+ ### Patch Changes
377
+
378
+ - Updated dependencies [5b73df1]
379
+ - @pnpm/types@1000.5.0
380
+ - @pnpm/lockfile.utils@1001.0.10
381
+ - @pnpm/lockfile.types@1001.0.7
382
+ - @pnpm/dependency-path@1000.0.8
383
+
384
+ ## 1001.0.11
385
+
386
+ ### Patch Changes
387
+
388
+ - @pnpm/lockfile.utils@1001.0.9
389
+
390
+ ## 1001.0.10
391
+
392
+ ### Patch Changes
393
+
394
+ - Updated dependencies [750ae7d]
395
+ - @pnpm/types@1000.4.0
396
+ - @pnpm/lockfile.types@1001.0.6
397
+ - @pnpm/lockfile.utils@1001.0.8
398
+ - @pnpm/dependency-path@1000.0.7
399
+
400
+ ## 1001.0.9
401
+
402
+ ### Patch Changes
403
+
404
+ - Updated dependencies [5f7be64]
405
+ - Updated dependencies [5f7be64]
406
+ - @pnpm/types@1000.3.0
407
+ - @pnpm/lockfile.types@1001.0.5
408
+ - @pnpm/lockfile.utils@1001.0.7
409
+ - @pnpm/dependency-path@1000.0.6
410
+
411
+ ## 1001.0.8
412
+
413
+ ### Patch Changes
414
+
415
+ - @pnpm/lockfile.utils@1001.0.6
416
+
417
+ ## 1001.0.7
418
+
419
+ ### Patch Changes
420
+
421
+ - @pnpm/dependency-path@1000.0.5
422
+ - @pnpm/lockfile.utils@1001.0.5
423
+
424
+ ## 1001.0.6
425
+
426
+ ### Patch Changes
427
+
428
+ - Updated dependencies [a5e4965]
429
+ - @pnpm/types@1000.2.1
430
+ - @pnpm/dependency-path@1000.0.4
431
+ - @pnpm/lockfile.types@1001.0.4
432
+ - @pnpm/lockfile.utils@1001.0.4
433
+
434
+ ## 1001.0.5
435
+
436
+ ### Patch Changes
437
+
438
+ - Updated dependencies [8fcc221]
439
+ - @pnpm/types@1000.2.0
440
+ - @pnpm/lockfile.types@1001.0.3
441
+ - @pnpm/lockfile.utils@1001.0.3
442
+ - @pnpm/dependency-path@1000.0.3
443
+
444
+ ## 1001.0.4
445
+
446
+ ### Patch Changes
447
+
448
+ - Updated dependencies [fee898f]
449
+ - @pnpm/object.key-sorting@1000.0.0
450
+
451
+ ## 1001.0.3
452
+
453
+ ### Patch Changes
454
+
455
+ - Updated dependencies [3717340]
456
+ - @pnpm/crypto.object-hasher@1000.0.1
457
+
458
+ ## 1001.0.2
459
+
460
+ ### Patch Changes
461
+
462
+ - Updated dependencies [9a44e6c]
463
+ - Updated dependencies [b562deb]
464
+ - @pnpm/constants@1001.1.0
465
+ - @pnpm/types@1000.1.1
466
+ - @pnpm/lockfile.types@1001.0.2
467
+ - @pnpm/lockfile.utils@1001.0.2
468
+ - @pnpm/dependency-path@1000.0.2
469
+
470
+ ## 1001.0.1
471
+
472
+ ### Patch Changes
473
+
474
+ - Updated dependencies [9591a18]
475
+ - @pnpm/types@1000.1.0
476
+ - @pnpm/lockfile.types@1001.0.1
477
+ - @pnpm/lockfile.utils@1001.0.1
478
+ - @pnpm/dependency-path@1000.0.1
479
+
480
+ ## 1001.0.0
481
+
482
+ ### Major Changes
483
+
484
+ - a76da0c: Removed lockfile conversion from v6 to v9. If you need to convert lockfile v6 to v9, use pnpm CLI v9.
485
+
486
+ ### Patch Changes
487
+
488
+ - Updated dependencies [d2e83b0]
489
+ - Updated dependencies [6483b64]
490
+ - Updated dependencies [a76da0c]
491
+ - @pnpm/constants@1001.0.0
492
+ - @pnpm/lockfile.types@1001.0.0
493
+ - @pnpm/lockfile.utils@1001.0.0
494
+
495
+ ## 7.0.11
496
+
497
+ ### Patch Changes
498
+
499
+ - Updated dependencies [19d5b51]
500
+ - Updated dependencies [8108680]
501
+ - Updated dependencies [dcd2917]
502
+ - Updated dependencies [501c152]
503
+ - Updated dependencies [d55b259]
504
+ - Updated dependencies [c4f5231]
505
+ - @pnpm/constants@10.0.0
506
+ - @pnpm/dependency-path@6.0.0
507
+ - @pnpm/crypto.object-hasher@3.0.0
508
+ - @pnpm/lockfile.utils@1.0.5
509
+
510
+ ## 7.0.10
511
+
512
+ ### Patch Changes
513
+
514
+ - @pnpm/dependency-path@5.1.7
515
+ - @pnpm/lockfile.utils@1.0.4
516
+
517
+ ## 7.0.9
518
+
519
+ ### Patch Changes
520
+
521
+ - Updated dependencies [83681da]
522
+ - @pnpm/constants@9.0.0
523
+
524
+ ## 7.0.8
525
+
526
+ ### Patch Changes
527
+
528
+ - Updated dependencies [d500d9f]
529
+ - @pnpm/types@12.2.0
530
+ - @pnpm/lockfile.types@1.0.3
531
+ - @pnpm/lockfile.utils@1.0.3
532
+ - @pnpm/dependency-path@5.1.6
533
+
534
+ ## 7.0.7
535
+
536
+ ### Patch Changes
537
+
538
+ - Updated dependencies [7ee59a1]
539
+ - @pnpm/types@12.1.0
540
+ - @pnpm/lockfile.types@1.0.2
541
+ - @pnpm/lockfile.utils@1.0.2
542
+ - @pnpm/dependency-path@5.1.5
543
+
544
+ ## 7.0.6
545
+
546
+ ### Patch Changes
547
+
548
+ - Updated dependencies [cb006df]
549
+ - @pnpm/lockfile.types@1.0.1
550
+ - @pnpm/types@12.0.0
551
+ - @pnpm/lockfile.utils@1.0.1
552
+ - @pnpm/dependency-path@5.1.4
553
+
554
+ ## 7.0.5
555
+
556
+ ### Patch Changes
557
+
558
+ - Updated dependencies [c5ef9b0]
559
+ - Updated dependencies [797ef0f]
560
+ - @pnpm/lockfile.utils@1.0.0
561
+ - @pnpm/lockfile.types@1.0.0
562
+
563
+ ## 7.0.4
564
+
565
+ ### Patch Changes
566
+
567
+ - Updated dependencies [0ef168b]
568
+ - @pnpm/types@11.1.0
569
+ - @pnpm/lockfile-types@7.1.3
570
+ - @pnpm/lockfile-utils@11.0.4
571
+ - @pnpm/dependency-path@5.1.3
572
+
573
+ ## 7.0.3
574
+
575
+ ### Patch Changes
576
+
577
+ - Updated dependencies [dd00eeb]
578
+ - Updated dependencies
579
+ - @pnpm/types@11.0.0
580
+ - @pnpm/lockfile-utils@11.0.3
581
+ - @pnpm/lockfile-types@7.1.2
582
+ - @pnpm/dependency-path@5.1.2
583
+
584
+ ## 7.0.2
585
+
586
+ ### Patch Changes
587
+
588
+ - Updated dependencies [13e55b2]
589
+ - @pnpm/types@10.1.1
590
+ - @pnpm/lockfile-types@7.1.1
591
+ - @pnpm/lockfile-utils@11.0.2
592
+ - @pnpm/dependency-path@5.1.1
593
+
594
+ ## 7.0.1
595
+
596
+ ### Patch Changes
597
+
598
+ - Updated dependencies [47341e5]
599
+ - @pnpm/dependency-path@5.1.0
600
+ - @pnpm/lockfile-types@7.1.0
601
+ - @pnpm/lockfile-utils@11.0.1
602
+
603
+ ## 7.0.0
604
+
605
+ ### Major Changes
606
+
607
+ - Breaking changes to the API.
608
+
609
+ ### Patch Changes
610
+
611
+ - Updated dependencies [45f4262]
612
+ - Updated dependencies
613
+ - @pnpm/types@10.1.0
614
+ - @pnpm/lockfile-types@7.0.0
615
+ - @pnpm/lockfile-utils@11.0.0
616
+ - @pnpm/dependency-path@5.0.0
617
+
618
+ ## 6.0.1
619
+
620
+ ### Patch Changes
621
+
622
+ - Updated dependencies [9719a42]
623
+ - @pnpm/dependency-path@4.0.0
624
+
625
+ ## 6.0.0
626
+
627
+ ### Major Changes
628
+
629
+ - 43cdd87: Node.js v16 support dropped. Use at least Node.js v18.12.
630
+
631
+ ### Patch Changes
632
+
633
+ - Updated dependencies [cdd8365]
634
+ - Updated dependencies [c692f80]
635
+ - Updated dependencies [89b396b]
636
+ - Updated dependencies [43cdd87]
637
+ - Updated dependencies [086b69c]
638
+ - Updated dependencies [d381a60]
639
+ - Updated dependencies [d636eed]
640
+ - Updated dependencies [27a96a8]
641
+ - Updated dependencies [730929e]
642
+ - Updated dependencies [98a1266]
643
+ - @pnpm/dependency-path@3.0.0
644
+ - @pnpm/constants@8.0.0
645
+ - @pnpm/lockfile-types@6.0.0
646
+ - @pnpm/crypto.object-hasher@2.0.0
647
+
648
+ ## 5.0.0
649
+
650
+ ### Major Changes
651
+
652
+ - 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).
653
+
654
+ ### Patch Changes
655
+
656
+ - Updated dependencies [0c383327e]
657
+ - @pnpm/crypto.object-hasher@1.0.0
658
+
659
+ ## 4.1.5
660
+
661
+ ### Patch Changes
662
+
663
+ - Updated dependencies [4d34684f1]
664
+ - @pnpm/lockfile-types@5.1.5
665
+ - @pnpm/dependency-path@2.1.7
666
+
667
+ ## 4.1.4
668
+
669
+ ### Patch Changes
670
+
671
+ - Updated dependencies
672
+ - @pnpm/lockfile-types@5.1.4
673
+ - @pnpm/dependency-path@2.1.6
674
+
675
+ ## 4.1.3
676
+
677
+ ### Patch Changes
678
+
679
+ - @pnpm/lockfile-types@5.1.3
680
+ - @pnpm/dependency-path@2.1.5
681
+
682
+ ## 4.1.2
683
+
684
+ ### Patch Changes
685
+
686
+ - @pnpm/lockfile-types@5.1.2
687
+ - @pnpm/dependency-path@2.1.4
688
+
689
+ ## 4.1.1
690
+
691
+ ### Patch Changes
692
+
693
+ - @pnpm/lockfile-types@5.1.1
694
+ - @pnpm/dependency-path@2.1.3
695
+
696
+ ## 4.1.0
697
+
698
+ ### Minor Changes
699
+
700
+ - 16bbac8d5: Add `lockfileToDepGraph` function.
701
+
702
+ ## 4.0.2
703
+
704
+ ### Patch Changes
705
+
706
+ - Updated dependencies [302ebffc5]
707
+ - @pnpm/constants@7.1.1
708
+
709
+ ## 4.0.1
710
+
711
+ ### Patch Changes
712
+
713
+ - Updated dependencies [9c4ae87bd]
714
+ - @pnpm/constants@7.1.0
715
+
716
+ ## 4.0.0
717
+
718
+ ### Major Changes
719
+
720
+ - eceaa8b8b: Node.js 14 support dropped.
721
+
722
+ ### Patch Changes
723
+
724
+ - Updated dependencies [eceaa8b8b]
725
+ - @pnpm/constants@7.0.0
726
+
727
+ ## 3.0.2
728
+
729
+ ### Patch Changes
730
+
731
+ - Updated dependencies [3ebce5db7]
732
+ - @pnpm/constants@6.2.0
733
+
734
+ ## 3.0.1
735
+
736
+ ### Patch Changes
737
+
738
+ - 285ff09ba: Calculate the cache key differently when scripts are ignored.
739
+
740
+ ## 3.0.0
741
+
742
+ ### Major Changes
743
+
744
+ - 2a34b21ce: Changed the order of arguments in calcDepState and added an optional last argument for patchFileHash.
745
+
746
+ ## 2.0.1
747
+
748
+ ### Patch Changes
749
+
750
+ - Updated dependencies [1267e4eff]
751
+ - @pnpm/constants@6.1.0
752
+
753
+ ## 2.0.0
754
+
755
+ ### Major Changes
756
+
757
+ - 542014839: Node.js 12 is not supported.
758
+
759
+ ### Patch Changes
760
+
761
+ - Updated dependencies [542014839]
762
+ - @pnpm/constants@6.0.0
763
+
764
+ ## 1.0.0
765
+
766
+ ### Major Changes
767
+
768
+ - 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.9",
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
31
  "@pnpm/deps.path": "1100.0.8",
33
- "@pnpm/lockfile.utils": "1100.1.1",
32
+ "@pnpm/engine.runtime.system-version": "1100.0.3",
34
33
  "@pnpm/lockfile.types": "1100.0.13",
34
+ "@pnpm/lockfile.utils": "1100.1.2",
35
35
  "@pnpm/resolving.resolver-base": "1100.5.1",
36
- "@pnpm/engine.runtime.system-version": "1100.0.3",
37
- "@pnpm/types": "1101.3.2"
36
+ "@pnpm/types": "1101.3.2",
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.9"
42
42
  },
43
43
  "engines": {
44
44
  "node": ">=22.13"