@pnpm/fetching.fetcher-base 1100.0.2 → 1100.1.0
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/lib/index.d.ts +5 -0
- package/package.json +4 -4
package/lib/index.d.ts
CHANGED
|
@@ -14,6 +14,11 @@ export interface FetchOptions {
|
|
|
14
14
|
readManifest?: boolean;
|
|
15
15
|
pkg: PkgNameVersion;
|
|
16
16
|
appendManifest?: DependencyManifest;
|
|
17
|
+
/**
|
|
18
|
+
* Regex source (compatible with `new RegExp(pattern)`) matching file paths inside the
|
|
19
|
+
* downloaded archive that should be skipped during extraction. Honored by tarball fetchers.
|
|
20
|
+
*/
|
|
21
|
+
ignoreFilePattern?: string;
|
|
17
22
|
}
|
|
18
23
|
export type FetchFunction<FetcherResolution = Resolution, Options = FetchOptions, Result = FetchResult> = (cafs: Cafs, resolution: FetcherResolution, opts: Options) => Promise<Result>;
|
|
19
24
|
export interface FetchResult {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnpm/fetching.fetcher-base",
|
|
3
|
-
"version": "1100.0
|
|
3
|
+
"version": "1100.1.0",
|
|
4
4
|
"description": "Types for pnpm-compatible fetchers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pnpm",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@types/ssri": "^7.1.5",
|
|
29
|
-
"@pnpm/
|
|
30
|
-
"@pnpm/
|
|
29
|
+
"@pnpm/types": "1101.0.0",
|
|
30
|
+
"@pnpm/resolving.resolver-base": "1100.1.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@pnpm/fetching.fetcher-base": "1100.0
|
|
33
|
+
"@pnpm/fetching.fetcher-base": "1100.1.0",
|
|
34
34
|
"@pnpm/store.cafs-types": "1100.0.0"
|
|
35
35
|
},
|
|
36
36
|
"engines": {
|