@pnpm/store.pkg-finder 1100.0.37 → 1100.0.38
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.
- package/CHANGELOG.md +8 -0
- package/lib/index.d.ts +0 -13
- package/lib/index.js +0 -13
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -12,19 +12,6 @@ export interface ReadPackageFileMapOptions {
|
|
|
12
12
|
* Reads the file index for a package and returns a `Map<string, string>`
|
|
13
13
|
* mapping filenames to absolute paths on disk.
|
|
14
14
|
*
|
|
15
|
-
* Picks the store key by resolution shape:
|
|
16
|
-
* - Directory packages: fetches the file list from the local directory.
|
|
17
|
-
* - Git-hosted tarballs (codeload.github.com / gitlab.com / bitbucket.org):
|
|
18
|
-
* keyed by `gitHostedStoreIndexKey(packageId, { built: true })`. The
|
|
19
|
-
* lockfile pins their integrity for security, but the cached payload
|
|
20
|
-
* depends on whether build scripts ran during fetch (preparePackage), so
|
|
21
|
-
* the `built` dimension is part of the key. Folding them under the
|
|
22
|
-
* integrity-only key would collapse that distinction.
|
|
23
|
-
* - npm-registry tarballs and binary archives with integrity: keyed by
|
|
24
|
-
* `storeIndexKey(integrity, packageId)`.
|
|
25
|
-
* - Other tarball / git resolutions without integrity: keyed by
|
|
26
|
-
* `gitHostedStoreIndexKey(packageId, { built: true })`.
|
|
27
|
-
*
|
|
28
15
|
* For CAFS packages, the content-addressed digests are resolved to file
|
|
29
16
|
* paths upfront, so callers get a uniform map regardless of resolution type.
|
|
30
17
|
*
|
package/lib/index.js
CHANGED
|
@@ -8,19 +8,6 @@ import { familySync } from 'detect-libc';
|
|
|
8
8
|
* Reads the file index for a package and returns a `Map<string, string>`
|
|
9
9
|
* mapping filenames to absolute paths on disk.
|
|
10
10
|
*
|
|
11
|
-
* Picks the store key by resolution shape:
|
|
12
|
-
* - Directory packages: fetches the file list from the local directory.
|
|
13
|
-
* - Git-hosted tarballs (codeload.github.com / gitlab.com / bitbucket.org):
|
|
14
|
-
* keyed by `gitHostedStoreIndexKey(packageId, { built: true })`. The
|
|
15
|
-
* lockfile pins their integrity for security, but the cached payload
|
|
16
|
-
* depends on whether build scripts ran during fetch (preparePackage), so
|
|
17
|
-
* the `built` dimension is part of the key. Folding them under the
|
|
18
|
-
* integrity-only key would collapse that distinction.
|
|
19
|
-
* - npm-registry tarballs and binary archives with integrity: keyed by
|
|
20
|
-
* `storeIndexKey(integrity, packageId)`.
|
|
21
|
-
* - Other tarball / git resolutions without integrity: keyed by
|
|
22
|
-
* `gitHostedStoreIndexKey(packageId, { built: true })`.
|
|
23
|
-
*
|
|
24
11
|
* For CAFS packages, the content-addressed digests are resolved to file
|
|
25
12
|
* paths upfront, so callers get a uniform map regardless of resolution type.
|
|
26
13
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/store.pkg-finder",
|
|
3
|
-
"version": "1100.0.
|
|
3
|
+
"version": "1100.0.38",
|
|
4
4
|
"description": "Read a package's file map from the content-addressable store",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"!*.map"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@pnpm/fetching.directory-fetcher": "1100.0.
|
|
30
|
+
"@pnpm/fetching.directory-fetcher": "1100.0.37",
|
|
31
31
|
"@pnpm/resolving.resolver-base": "1101.3.2",
|
|
32
|
-
"@pnpm/store.cafs": "1100.3.
|
|
32
|
+
"@pnpm/store.cafs": "1100.3.6",
|
|
33
33
|
"@pnpm/store.index": "1101.0.0",
|
|
34
34
|
"@pnpm/types": "1102.1.1",
|
|
35
35
|
"detect-libc": "^2.1.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@jest/globals": "30.4.1",
|
|
39
|
-
"@pnpm/store.pkg-finder": "1100.0.
|
|
39
|
+
"@pnpm/store.pkg-finder": "1100.0.38"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=22.13"
|