@pnpm/store.pkg-finder 1100.0.19 → 1100.0.21
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 +221 -0
- package/package.json +6 -6
- package/lib/index.d.ts +0 -35
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
# @pnpm/store.pkg-finder
|
|
2
|
+
|
|
3
|
+
## 1100.0.21
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies:
|
|
8
|
+
- @pnpm/fetching.directory-fetcher@1100.0.21
|
|
9
|
+
|
|
10
|
+
## 1100.0.20
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies:
|
|
15
|
+
- @pnpm/fetching.directory-fetcher@1100.0.20
|
|
16
|
+
- @pnpm/resolving.resolver-base@1100.5.2
|
|
17
|
+
- @pnpm/store.cafs@1100.1.13
|
|
18
|
+
|
|
19
|
+
## 1100.0.19
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [dcabb78]
|
|
24
|
+
- @pnpm/resolving.resolver-base@1100.5.1
|
|
25
|
+
- @pnpm/fetching.directory-fetcher@1100.0.19
|
|
26
|
+
- @pnpm/store.cafs@1100.1.12
|
|
27
|
+
|
|
28
|
+
## 1100.0.18
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Updated dependencies [bae694f]
|
|
33
|
+
- @pnpm/resolving.resolver-base@1100.5.0
|
|
34
|
+
- @pnpm/fetching.directory-fetcher@1100.0.18
|
|
35
|
+
- @pnpm/store.cafs@1100.1.11
|
|
36
|
+
- @pnpm/store.index@1100.2.1
|
|
37
|
+
|
|
38
|
+
## 1100.0.17
|
|
39
|
+
|
|
40
|
+
### Patch Changes
|
|
41
|
+
|
|
42
|
+
- Updated dependencies [61810aa]
|
|
43
|
+
- Updated dependencies [a31faa7]
|
|
44
|
+
- @pnpm/store.index@1100.2.0
|
|
45
|
+
- @pnpm/fetching.directory-fetcher@1100.0.17
|
|
46
|
+
- @pnpm/store.cafs@1100.1.10
|
|
47
|
+
- @pnpm/resolving.resolver-base@1100.4.2
|
|
48
|
+
|
|
49
|
+
## 1100.0.16
|
|
50
|
+
|
|
51
|
+
### Patch Changes
|
|
52
|
+
|
|
53
|
+
- @pnpm/fetching.directory-fetcher@1100.0.16
|
|
54
|
+
|
|
55
|
+
## 1100.0.15
|
|
56
|
+
|
|
57
|
+
### Patch Changes
|
|
58
|
+
|
|
59
|
+
- @pnpm/fetching.directory-fetcher@1100.0.15
|
|
60
|
+
- @pnpm/resolving.resolver-base@1100.4.1
|
|
61
|
+
- @pnpm/store.cafs@1100.1.9
|
|
62
|
+
|
|
63
|
+
## 1100.0.14
|
|
64
|
+
|
|
65
|
+
### Patch Changes
|
|
66
|
+
|
|
67
|
+
- Updated dependencies [6d17b66]
|
|
68
|
+
- @pnpm/resolving.resolver-base@1100.4.0
|
|
69
|
+
- @pnpm/fetching.directory-fetcher@1100.0.14
|
|
70
|
+
- @pnpm/store.cafs@1100.1.8
|
|
71
|
+
|
|
72
|
+
## 1100.0.13
|
|
73
|
+
|
|
74
|
+
### Patch Changes
|
|
75
|
+
|
|
76
|
+
- @pnpm/fetching.directory-fetcher@1100.0.13
|
|
77
|
+
- @pnpm/resolving.resolver-base@1100.3.1
|
|
78
|
+
- @pnpm/store.cafs@1100.1.7
|
|
79
|
+
|
|
80
|
+
## 1100.0.12
|
|
81
|
+
|
|
82
|
+
### Patch Changes
|
|
83
|
+
|
|
84
|
+
- @pnpm/fetching.directory-fetcher@1100.0.12
|
|
85
|
+
|
|
86
|
+
## 1100.0.11
|
|
87
|
+
|
|
88
|
+
### Patch Changes
|
|
89
|
+
|
|
90
|
+
- Updated dependencies [1627943]
|
|
91
|
+
- @pnpm/resolving.resolver-base@1100.3.0
|
|
92
|
+
- @pnpm/fetching.directory-fetcher@1100.0.11
|
|
93
|
+
- @pnpm/store.cafs@1100.1.6
|
|
94
|
+
|
|
95
|
+
## 1100.0.10
|
|
96
|
+
|
|
97
|
+
### Patch Changes
|
|
98
|
+
|
|
99
|
+
- Updated dependencies [4195766]
|
|
100
|
+
- Updated dependencies [31538bf]
|
|
101
|
+
- @pnpm/resolving.resolver-base@1100.2.0
|
|
102
|
+
- @pnpm/fetching.directory-fetcher@1100.0.10
|
|
103
|
+
- @pnpm/store.cafs@1100.1.5
|
|
104
|
+
|
|
105
|
+
## 1100.0.9
|
|
106
|
+
|
|
107
|
+
### Patch Changes
|
|
108
|
+
|
|
109
|
+
- @pnpm/store.cafs@1100.1.4
|
|
110
|
+
- @pnpm/fetching.directory-fetcher@1100.0.9
|
|
111
|
+
|
|
112
|
+
## 1100.0.8
|
|
113
|
+
|
|
114
|
+
### Patch Changes
|
|
115
|
+
|
|
116
|
+
- @pnpm/fetching.directory-fetcher@1100.0.8
|
|
117
|
+
- @pnpm/resolving.resolver-base@1100.1.3
|
|
118
|
+
- @pnpm/store.cafs@1100.1.3
|
|
119
|
+
|
|
120
|
+
## 1100.0.7
|
|
121
|
+
|
|
122
|
+
### Patch Changes
|
|
123
|
+
|
|
124
|
+
- Updated dependencies [0c67cb5]
|
|
125
|
+
- @pnpm/store.index@1100.1.0
|
|
126
|
+
- @pnpm/fetching.directory-fetcher@1100.0.7
|
|
127
|
+
|
|
128
|
+
## 1100.0.6
|
|
129
|
+
|
|
130
|
+
### Patch Changes
|
|
131
|
+
|
|
132
|
+
- 27425d7: Pin the integrity of git-hosted tarballs (codeload.github.com, gitlab.com, bitbucket.org) in the lockfile so that subsequent installs detect a tampered or substituted tarball and refuse to install it. Previously the lockfile only stored the tarball URL for git dependencies, so a compromised git host or a man-in-the-middle could serve arbitrary code on later installs without lockfile changes.
|
|
133
|
+
|
|
134
|
+
A new `gitHosted: true` field is recorded on git-hosted tarball resolutions in the lockfile, letting every reader/writer route them by a single typed check instead of pattern-matching the tarball URL in each call site. Lockfiles written by older pnpm versions are enriched on load (URL fallback) so the field can be relied on uniformly across the codebase.
|
|
135
|
+
|
|
136
|
+
- Updated dependencies [27425d7]
|
|
137
|
+
- @pnpm/resolving.resolver-base@1100.1.2
|
|
138
|
+
- @pnpm/fetching.directory-fetcher@1100.0.6
|
|
139
|
+
- @pnpm/store.cafs@1100.1.2
|
|
140
|
+
|
|
141
|
+
## 1100.0.5
|
|
142
|
+
|
|
143
|
+
### Patch Changes
|
|
144
|
+
|
|
145
|
+
- Updated dependencies [184ce26]
|
|
146
|
+
- @pnpm/fetching.directory-fetcher@1100.0.5
|
|
147
|
+
- @pnpm/resolving.resolver-base@1100.1.1
|
|
148
|
+
- @pnpm/deps.path@1100.0.2
|
|
149
|
+
- @pnpm/store.cafs@1100.1.1
|
|
150
|
+
|
|
151
|
+
## 1100.0.4
|
|
152
|
+
|
|
153
|
+
### Patch Changes
|
|
154
|
+
|
|
155
|
+
- Updated dependencies [421317c]
|
|
156
|
+
- @pnpm/store.cafs@1100.1.0
|
|
157
|
+
- @pnpm/fetching.directory-fetcher@1100.0.4
|
|
158
|
+
|
|
159
|
+
## 1100.0.3
|
|
160
|
+
|
|
161
|
+
### Patch Changes
|
|
162
|
+
|
|
163
|
+
- bcc88a1: Fixed `pnpm sbom` and `pnpm licenses` failing to resolve license information for git-sourced dependencies (`git+https://`, `git+ssh://`, `github:` shorthand). These commands now correctly read the package manifest from the content-addressable store for `type: 'git'` resolutions [#11260](https://github.com/pnpm/pnpm/issues/11260).
|
|
164
|
+
- Updated dependencies [e03e8f4]
|
|
165
|
+
- Updated dependencies [72c1e05]
|
|
166
|
+
- @pnpm/fetching.directory-fetcher@1100.0.3
|
|
167
|
+
- @pnpm/resolving.resolver-base@1100.1.0
|
|
168
|
+
- @pnpm/store.cafs@1100.0.2
|
|
169
|
+
|
|
170
|
+
## 1100.0.2
|
|
171
|
+
|
|
172
|
+
### Patch Changes
|
|
173
|
+
|
|
174
|
+
- @pnpm/fetching.directory-fetcher@1100.0.2
|
|
175
|
+
|
|
176
|
+
## 1100.0.1
|
|
177
|
+
|
|
178
|
+
### Patch Changes
|
|
179
|
+
|
|
180
|
+
- @pnpm/deps.path@1100.0.1
|
|
181
|
+
- @pnpm/fetching.directory-fetcher@1100.0.1
|
|
182
|
+
- @pnpm/resolving.resolver-base@1100.0.1
|
|
183
|
+
- @pnpm/store.cafs@1100.0.1
|
|
184
|
+
|
|
185
|
+
## 1000.0.0
|
|
186
|
+
|
|
187
|
+
### Major Changes
|
|
188
|
+
|
|
189
|
+
- f92ac24: Initial release.
|
|
190
|
+
|
|
191
|
+
### Minor Changes
|
|
192
|
+
|
|
193
|
+
- 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).
|
|
194
|
+
|
|
195
|
+
### Patch Changes
|
|
196
|
+
|
|
197
|
+
- Updated dependencies [5f73b0f]
|
|
198
|
+
- Updated dependencies [facdd71]
|
|
199
|
+
- Updated dependencies [e2e0a32]
|
|
200
|
+
- Updated dependencies [9b0a460]
|
|
201
|
+
- Updated dependencies [3bf5e21]
|
|
202
|
+
- Updated dependencies [491a84f]
|
|
203
|
+
- Updated dependencies [6656baa]
|
|
204
|
+
- Updated dependencies [2ea6463]
|
|
205
|
+
- Updated dependencies [50fbeca]
|
|
206
|
+
- Updated dependencies [caabba4]
|
|
207
|
+
- Updated dependencies [878a773]
|
|
208
|
+
- Updated dependencies [f8e6774]
|
|
209
|
+
- Updated dependencies [7d2fd48]
|
|
210
|
+
- Updated dependencies [56a59df]
|
|
211
|
+
- Updated dependencies [50fbeca]
|
|
212
|
+
- Updated dependencies [10bc391]
|
|
213
|
+
- Updated dependencies [38b8e35]
|
|
214
|
+
- Updated dependencies [b7f0f21]
|
|
215
|
+
- Updated dependencies [1e6de25]
|
|
216
|
+
- Updated dependencies [9d3f00b]
|
|
217
|
+
- @pnpm/deps.path@1002.0.0
|
|
218
|
+
- @pnpm/resolving.resolver-base@1006.0.0
|
|
219
|
+
- @pnpm/store.cafs@1001.0.0
|
|
220
|
+
- @pnpm/fetching.directory-fetcher@1001.0.0
|
|
221
|
+
- @pnpm/store.index@1000.0.0
|
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.21",
|
|
4
4
|
"description": "Read a package's file map from the content-addressable store",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"!*.map"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@pnpm/
|
|
31
|
-
"@pnpm/
|
|
32
|
-
"@pnpm/store.
|
|
33
|
-
"@pnpm/
|
|
30
|
+
"@pnpm/fetching.directory-fetcher": "1100.0.21",
|
|
31
|
+
"@pnpm/resolving.resolver-base": "1100.5.2",
|
|
32
|
+
"@pnpm/store.cafs": "1100.1.13",
|
|
33
|
+
"@pnpm/store.index": "1100.2.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@jest/globals": "30.4.1",
|
|
37
|
-
"@pnpm/store.pkg-finder": "1100.0.
|
|
37
|
+
"@pnpm/store.pkg-finder": "1100.0.21"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=22.13"
|
package/lib/index.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { Resolution } from '@pnpm/resolving.resolver-base';
|
|
2
|
-
import { type StoreIndex } from '@pnpm/store.index';
|
|
3
|
-
export interface ReadPackageFileMapOptions {
|
|
4
|
-
storeDir: string;
|
|
5
|
-
storeIndex: StoreIndex;
|
|
6
|
-
lockfileDir: string;
|
|
7
|
-
virtualStoreDirMaxLength: number;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Reads the file index for a package and returns a `Map<string, string>`
|
|
11
|
-
* mapping filenames to absolute paths on disk.
|
|
12
|
-
*
|
|
13
|
-
* Picks the store key by resolution shape:
|
|
14
|
-
* - Directory packages: fetches the file list from the local directory.
|
|
15
|
-
* - Git-hosted tarballs (codeload.github.com / gitlab.com / bitbucket.org):
|
|
16
|
-
* keyed by `gitHostedStoreIndexKey(packageId, { built: true })`. The
|
|
17
|
-
* lockfile pins their integrity for security, but the cached payload
|
|
18
|
-
* depends on whether build scripts ran during fetch (preparePackage), so
|
|
19
|
-
* the `built` dimension is part of the key. Folding them under the
|
|
20
|
-
* integrity-only key would collapse that distinction.
|
|
21
|
-
* - npm-registry tarballs with integrity: keyed by
|
|
22
|
-
* `storeIndexKey(integrity, packageId)`.
|
|
23
|
-
* - Other tarball / git resolutions without integrity: keyed by
|
|
24
|
-
* `gitHostedStoreIndexKey(packageId, { built: true })`.
|
|
25
|
-
*
|
|
26
|
-
* For CAFS packages, the content-addressed digests are resolved to file
|
|
27
|
-
* paths upfront, so callers get a uniform map regardless of resolution type.
|
|
28
|
-
*
|
|
29
|
-
* Note: this function does not include files from side effects (post-install
|
|
30
|
-
* scripts). Use the raw `PackageFilesIndex` if you need side-effect files.
|
|
31
|
-
*
|
|
32
|
-
* Returns `undefined` if the resolution type is unsupported, letting callers
|
|
33
|
-
* decide how to handle this case. Throws if the index file cannot be read.
|
|
34
|
-
*/
|
|
35
|
-
export declare function readPackageFileMap(packageResolution: Resolution, packageId: string, opts: ReadPackageFileMapOptions): Promise<Map<string, string> | undefined>;
|