@pnpm/fetching.fetcher-base 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.
- package/CHANGELOG.md +10 -0
- package/lib/index.d.ts +4 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @pnpm/fetcher-base
|
|
2
2
|
|
|
3
|
+
## 1100.2.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Enforce `allowBuilds` when a prepared git dependency is reused from the shared store, and use the lockfile's canonical git resolution ID in approval suggestions.
|
|
8
|
+
|
|
9
|
+
- Updated dependencies:
|
|
10
|
+
- @pnpm/resolving.resolver-base@1101.2.0
|
|
11
|
+
- @pnpm/types@1102.1.0
|
|
12
|
+
|
|
3
13
|
## 1100.2.8
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/lib/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export interface FetchOptions {
|
|
|
9
9
|
allowBuild?: AllowBuild;
|
|
10
10
|
filesIndexFile: string;
|
|
11
11
|
lockfileDir: string;
|
|
12
|
+
pkgResolutionId?: string;
|
|
12
13
|
onStart?: (totalSize: number | null, attempt: number) => void;
|
|
13
14
|
onProgress?: (downloaded: number) => void;
|
|
14
15
|
readManifest?: boolean;
|
|
@@ -33,18 +34,21 @@ export interface FetchResult {
|
|
|
33
34
|
manifest?: BundledManifest;
|
|
34
35
|
filesMap: FilesMap;
|
|
35
36
|
requiresBuild: boolean;
|
|
37
|
+
requiresPrepare?: boolean;
|
|
36
38
|
integrity?: string;
|
|
37
39
|
}
|
|
38
40
|
export interface GitFetcherOptions {
|
|
39
41
|
allowBuild?: AllowBuild;
|
|
40
42
|
readManifest?: boolean;
|
|
41
43
|
filesIndexFile: string;
|
|
44
|
+
pkgResolutionId?: string;
|
|
42
45
|
pkg?: PkgNameVersion;
|
|
43
46
|
}
|
|
44
47
|
export interface GitFetcherResult {
|
|
45
48
|
filesMap: FilesMap;
|
|
46
49
|
manifest?: BundledManifest;
|
|
47
50
|
requiresBuild: boolean;
|
|
51
|
+
requiresPrepare?: boolean;
|
|
48
52
|
}
|
|
49
53
|
export type GitFetcher = FetchFunction<GitResolution, GitFetcherOptions, GitFetcherResult>;
|
|
50
54
|
export type BinaryFetcher = FetchFunction<BinaryResolution>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/fetching.fetcher-base",
|
|
3
|
-
"version": "1100.2.
|
|
3
|
+
"version": "1100.2.9",
|
|
4
4
|
"description": "Types for pnpm-compatible fetchers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"!*.map"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@pnpm/resolving.resolver-base": "1101.
|
|
32
|
-
"@pnpm/types": "1102.
|
|
31
|
+
"@pnpm/resolving.resolver-base": "1101.2.0",
|
|
32
|
+
"@pnpm/types": "1102.1.0",
|
|
33
33
|
"@types/ssri": "^7.1.5"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@pnpm/fetching.fetcher-base": "1100.2.
|
|
37
|
-
"@pnpm/store.cafs-types": "1100.0
|
|
36
|
+
"@pnpm/fetching.fetcher-base": "1100.2.9",
|
|
37
|
+
"@pnpm/store.cafs-types": "1100.1.0"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=22.13"
|