@serwist/build 9.0.13 → 9.0.15
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/dist/get-manifest.d.ts.map +1 -1
- package/dist/inject-manifest.d.ts.map +1 -1
- package/dist/lib/additional-precache-entries-transform.d.ts.map +1 -1
- package/dist/lib/escape-regexp.d.ts.map +1 -1
- package/dist/lib/get-composite-details.d.ts.map +1 -1
- package/dist/lib/get-file-details.d.ts.map +1 -1
- package/dist/lib/get-file-hash.d.ts.map +1 -1
- package/dist/lib/get-file-manifest-entries.d.ts.map +1 -1
- package/dist/lib/get-file-size.d.ts.map +1 -1
- package/dist/lib/get-string-details.d.ts.map +1 -1
- package/dist/lib/validate-options.d.ts.map +1 -1
- package/dist/schema/base.d.ts +9 -9
- package/dist/schema/getManifest.d.ts +13 -13
- package/dist/schema/injectManifest.d.ts +15 -15
- package/dist/schema/manifestTransform.d.ts +12 -12
- package/package.json +8 -8
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-manifest.d.ts","sourceRoot":"","sources":["../src/get-manifest.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAExE;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"get-manifest.d.ts","sourceRoot":"","sources":["../src/get-manifest.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAExE;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,WAAW,GAAU,QAAQ,kBAAkB,KAAG,OAAO,CAAC,iBAAiB,CAIvF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inject-manifest.d.ts","sourceRoot":"","sources":["../src/inject-manifest.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"inject-manifest.d.ts","sourceRoot":"","sources":["../src/inject-manifest.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,cAAc,GAAU,QAAQ,qBAAqB,KAAG,OAAO,CAAC,WAAW,CAwFvF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"additional-precache-entries-transform.d.ts","sourceRoot":"","sources":["../../src/lib/additional-precache-entries-transform.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,KAAK,kCAAkC,GAAG,CAAC,QAAQ,EAAE,CAAC,aAAa,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,EAAE,KAAK;IAC5F,QAAQ,EAAE,CAAC,aAAa,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IAC/C,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,kCAAkC,
|
|
1
|
+
{"version":3,"file":"additional-precache-entries-transform.d.ts","sourceRoot":"","sources":["../../src/lib/additional-precache-entries-transform.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAGjD,KAAK,kCAAkC,GAAG,CAAC,QAAQ,EAAE,CAAC,aAAa,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,EAAE,KAAK;IAC5F,QAAQ,EAAE,CAAC,aAAa,GAAG;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IAC/C,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,kCAAkC,GAAI,2BAA2B,CAAC,aAAa,GAAG,MAAM,CAAC,EAAE,KAAG,kCAqC1G,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"escape-regexp.d.ts","sourceRoot":"","sources":["../../src/lib/escape-regexp.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"escape-regexp.d.ts","sourceRoot":"","sources":["../../src/lib/escape-regexp.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,YAAY,GAAI,KAAK,MAAM,KAAG,MAE1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-composite-details.d.ts","sourceRoot":"","sources":["../../src/lib/get-composite-details.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"get-composite-details.d.ts","sourceRoot":"","sources":["../../src/lib/get-composite-details.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,eAAO,MAAM,mBAAmB,GAAI,cAAc,MAAM,EAAE,mBAAmB,WAAW,EAAE,KAAG,WAkB5F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-file-details.d.ts","sourceRoot":"","sources":["../../src/lib/get-file-details.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAK5D,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"get-file-details.d.ts","sourceRoot":"","sources":["../../src/lib/get-file-details.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAK5D,eAAO,MAAM,cAAc,GAAI,0DAK5B,IAAI,CAAC,WAAW,EAAE,eAAe,GAAG,cAAc,GAAG,eAAe,CAAC,GAAG;IAEzE,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACrB,KAAG;IACF,kBAAkB,EAAE,WAAW,EAAE,CAAC;IAClC,OAAO,EAAE,MAAM,CAAC;CAkCjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-file-hash.d.ts","sourceRoot":"","sources":["../../src/lib/get-file-hash.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"get-file-hash.d.ts","sourceRoot":"","sources":["../../src/lib/get-file-hash.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,KAAG,MAO1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-file-manifest-entries.d.ts","sourceRoot":"","sources":["../../src/lib/get-file-manifest-entries.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAe,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAO9F,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"get-file-manifest-entries.d.ts","sourceRoot":"","sources":["../../src/lib/get-file-manifest-entries.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAe,0BAA0B,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAO9F,eAAO,MAAM,sBAAsB,GAAU,yOAa1C,0BAA0B,KAAG,OAAO,CAAC,iBAAiB,CA+FxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-file-size.d.ts","sourceRoot":"","sources":["../../src/lib/get-file-size.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"get-file-size.d.ts","sourceRoot":"","sources":["../../src/lib/get-file-size.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,KAAG,MAAM,GAAG,IAUnD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-string-details.d.ts","sourceRoot":"","sources":["../../src/lib/get-string-details.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"get-string-details.d.ts","sourceRoot":"","sources":["../../src/lib/get-string-details.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG/C,eAAO,MAAM,gBAAgB,GAAI,KAAK,MAAM,EAAE,KAAK,MAAM,KAAG,WAI1D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-options.d.ts","sourceRoot":"","sources":["../../src/lib/validate-options.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,0BAA0B,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAC;AAE7F,eAAO,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"validate-options.d.ts","sourceRoot":"","sources":["../../src/lib/validate-options.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,0BAA0B,EAAE,6BAA6B,EAAE,MAAM,aAAa,CAAC;AAE7F,eAAO,MAAM,0BAA0B,GAAU,OAAO,OAAO,KAAG,OAAO,CAAC,0BAA0B,CAMnG,CAAC;AAEF,eAAO,MAAM,6BAA6B,GAAU,OAAO,OAAO,KAAG,OAAO,CAAC,6BAA6B,CAMzG,CAAC"}
|
package/dist/schema/base.d.ts
CHANGED
|
@@ -15,13 +15,13 @@ export declare const basePartial: z.ZodObject<{
|
|
|
15
15
|
}>]>, "many">>;
|
|
16
16
|
disablePrecacheManifest: z.ZodDefault<z.ZodBoolean>;
|
|
17
17
|
dontCacheBustURLsMatching: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;
|
|
18
|
-
manifestTransforms: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodObject<
|
|
18
|
+
manifestTransforms: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
19
19
|
integrity: z.ZodOptional<z.ZodString>;
|
|
20
20
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
url: z.ZodString;
|
|
22
|
-
}
|
|
22
|
+
} & {
|
|
23
23
|
size: z.ZodNumber;
|
|
24
|
-
}
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
url: string;
|
|
26
26
|
size: number;
|
|
27
27
|
integrity?: string | undefined;
|
|
@@ -32,13 +32,13 @@ export declare const basePartial: z.ZodObject<{
|
|
|
32
32
|
integrity?: string | undefined;
|
|
33
33
|
revision?: string | null | undefined;
|
|
34
34
|
}>, "many">, z.ZodOptional<z.ZodUnknown>], null>, z.ZodUnion<[z.ZodPromise<z.ZodObject<{
|
|
35
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
35
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
36
36
|
integrity: z.ZodOptional<z.ZodString>;
|
|
37
37
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
url: z.ZodString;
|
|
39
|
-
}
|
|
39
|
+
} & {
|
|
40
40
|
size: z.ZodNumber;
|
|
41
|
-
}
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
url: string;
|
|
43
43
|
size: number;
|
|
44
44
|
integrity?: string | undefined;
|
|
@@ -67,13 +67,13 @@ export declare const basePartial: z.ZodObject<{
|
|
|
67
67
|
}[];
|
|
68
68
|
warnings?: string[] | undefined;
|
|
69
69
|
}>>, z.ZodObject<{
|
|
70
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
70
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
71
71
|
integrity: z.ZodOptional<z.ZodString>;
|
|
72
72
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
73
|
url: z.ZodString;
|
|
74
|
-
}
|
|
74
|
+
} & {
|
|
75
75
|
size: z.ZodNumber;
|
|
76
|
-
}
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
77
77
|
url: string;
|
|
78
78
|
size: number;
|
|
79
79
|
integrity?: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { z } from "zod";
|
|
2
|
-
export declare const getManifestOptions: z.ZodObject<
|
|
2
|
+
export declare const getManifestOptions: z.ZodObject<{
|
|
3
3
|
additionalPrecacheEntries: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
4
4
|
integrity: z.ZodOptional<z.ZodString>;
|
|
5
5
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -15,13 +15,13 @@ export declare const getManifestOptions: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
15
15
|
}>]>, "many">>;
|
|
16
16
|
disablePrecacheManifest: z.ZodDefault<z.ZodBoolean>;
|
|
17
17
|
dontCacheBustURLsMatching: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;
|
|
18
|
-
manifestTransforms: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodObject<
|
|
18
|
+
manifestTransforms: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
19
19
|
integrity: z.ZodOptional<z.ZodString>;
|
|
20
20
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
url: z.ZodString;
|
|
22
|
-
}
|
|
22
|
+
} & {
|
|
23
23
|
size: z.ZodNumber;
|
|
24
|
-
}
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
url: string;
|
|
26
26
|
size: number;
|
|
27
27
|
integrity?: string | undefined;
|
|
@@ -32,13 +32,13 @@ export declare const getManifestOptions: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
32
32
|
integrity?: string | undefined;
|
|
33
33
|
revision?: string | null | undefined;
|
|
34
34
|
}>, "many">, z.ZodOptional<z.ZodUnknown>], null>, z.ZodUnion<[z.ZodPromise<z.ZodObject<{
|
|
35
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
35
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
36
36
|
integrity: z.ZodOptional<z.ZodString>;
|
|
37
37
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
url: z.ZodString;
|
|
39
|
-
}
|
|
39
|
+
} & {
|
|
40
40
|
size: z.ZodNumber;
|
|
41
|
-
}
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
url: string;
|
|
43
43
|
size: number;
|
|
44
44
|
integrity?: string | undefined;
|
|
@@ -67,13 +67,13 @@ export declare const getManifestOptions: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
67
67
|
}[];
|
|
68
68
|
warnings?: string[] | undefined;
|
|
69
69
|
}>>, z.ZodObject<{
|
|
70
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
70
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
71
71
|
integrity: z.ZodOptional<z.ZodString>;
|
|
72
72
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
73
73
|
url: z.ZodString;
|
|
74
|
-
}
|
|
74
|
+
} & {
|
|
75
75
|
size: z.ZodNumber;
|
|
76
|
-
}
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
77
77
|
url: string;
|
|
78
78
|
size: number;
|
|
79
79
|
integrity?: string | undefined;
|
|
@@ -104,15 +104,15 @@ export declare const getManifestOptions: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
104
104
|
}>]>>, "many">>;
|
|
105
105
|
maximumFileSizeToCacheInBytes: z.ZodDefault<z.ZodNumber>;
|
|
106
106
|
modifyURLPrefix: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
107
|
-
}
|
|
107
|
+
} & {
|
|
108
108
|
globFollow: z.ZodDefault<z.ZodBoolean>;
|
|
109
109
|
globIgnores: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
110
110
|
globPatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
111
111
|
globStrict: z.ZodDefault<z.ZodBoolean>;
|
|
112
112
|
templatedURLs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
|
|
113
|
-
}
|
|
113
|
+
} & {
|
|
114
114
|
globDirectory: z.ZodString;
|
|
115
|
-
}
|
|
115
|
+
}, "strict", z.ZodTypeAny, {
|
|
116
116
|
disablePrecacheManifest: boolean;
|
|
117
117
|
maximumFileSizeToCacheInBytes: number;
|
|
118
118
|
globFollow: boolean;
|
|
@@ -9,7 +9,7 @@ export declare const baseInjectPartial: z.ZodObject<{
|
|
|
9
9
|
swSrc: string;
|
|
10
10
|
injectionPoint?: string | undefined;
|
|
11
11
|
}>;
|
|
12
|
-
export declare const injectManifestOptions: z.ZodObject<
|
|
12
|
+
export declare const injectManifestOptions: z.ZodObject<{
|
|
13
13
|
additionalPrecacheEntries: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
14
14
|
integrity: z.ZodOptional<z.ZodString>;
|
|
15
15
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -25,13 +25,13 @@ export declare const injectManifestOptions: z.ZodObject<z.objectUtil.extendShape
|
|
|
25
25
|
}>]>, "many">>;
|
|
26
26
|
disablePrecacheManifest: z.ZodDefault<z.ZodBoolean>;
|
|
27
27
|
dontCacheBustURLsMatching: z.ZodOptional<z.ZodType<RegExp, z.ZodTypeDef, RegExp>>;
|
|
28
|
-
manifestTransforms: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodObject<
|
|
28
|
+
manifestTransforms: z.ZodOptional<z.ZodArray<z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
29
29
|
integrity: z.ZodOptional<z.ZodString>;
|
|
30
30
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
url: z.ZodString;
|
|
32
|
-
}
|
|
32
|
+
} & {
|
|
33
33
|
size: z.ZodNumber;
|
|
34
|
-
}
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
35
|
url: string;
|
|
36
36
|
size: number;
|
|
37
37
|
integrity?: string | undefined;
|
|
@@ -42,13 +42,13 @@ export declare const injectManifestOptions: z.ZodObject<z.objectUtil.extendShape
|
|
|
42
42
|
integrity?: string | undefined;
|
|
43
43
|
revision?: string | null | undefined;
|
|
44
44
|
}>, "many">, z.ZodOptional<z.ZodUnknown>], null>, z.ZodUnion<[z.ZodPromise<z.ZodObject<{
|
|
45
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
45
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
46
46
|
integrity: z.ZodOptional<z.ZodString>;
|
|
47
47
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
url: z.ZodString;
|
|
49
|
-
}
|
|
49
|
+
} & {
|
|
50
50
|
size: z.ZodNumber;
|
|
51
|
-
}
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
52
|
url: string;
|
|
53
53
|
size: number;
|
|
54
54
|
integrity?: string | undefined;
|
|
@@ -77,13 +77,13 @@ export declare const injectManifestOptions: z.ZodObject<z.objectUtil.extendShape
|
|
|
77
77
|
}[];
|
|
78
78
|
warnings?: string[] | undefined;
|
|
79
79
|
}>>, z.ZodObject<{
|
|
80
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
80
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
81
81
|
integrity: z.ZodOptional<z.ZodString>;
|
|
82
82
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
83
|
url: z.ZodString;
|
|
84
|
-
}
|
|
84
|
+
} & {
|
|
85
85
|
size: z.ZodNumber;
|
|
86
|
-
}
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
87
|
url: string;
|
|
88
88
|
size: number;
|
|
89
89
|
integrity?: string | undefined;
|
|
@@ -114,20 +114,20 @@ export declare const injectManifestOptions: z.ZodObject<z.objectUtil.extendShape
|
|
|
114
114
|
}>]>>, "many">>;
|
|
115
115
|
maximumFileSizeToCacheInBytes: z.ZodDefault<z.ZodNumber>;
|
|
116
116
|
modifyURLPrefix: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
117
|
-
}
|
|
117
|
+
} & {
|
|
118
118
|
globFollow: z.ZodDefault<z.ZodBoolean>;
|
|
119
119
|
globIgnores: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
120
120
|
globPatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
121
121
|
globStrict: z.ZodDefault<z.ZodBoolean>;
|
|
122
122
|
templatedURLs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>>;
|
|
123
|
-
}
|
|
123
|
+
} & {
|
|
124
124
|
injectionPoint: z.ZodDefault<z.ZodString>;
|
|
125
125
|
swSrc: z.ZodString;
|
|
126
|
-
}
|
|
126
|
+
} & {
|
|
127
127
|
swDest: z.ZodString;
|
|
128
|
-
}
|
|
128
|
+
} & {
|
|
129
129
|
globDirectory: z.ZodString;
|
|
130
|
-
}
|
|
130
|
+
}, "strict", z.ZodTypeAny, {
|
|
131
131
|
disablePrecacheManifest: boolean;
|
|
132
132
|
maximumFileSizeToCacheInBytes: number;
|
|
133
133
|
globFollow: boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const manifestTransformResult: z.ZodObject<{
|
|
3
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
3
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
4
4
|
integrity: z.ZodOptional<z.ZodString>;
|
|
5
5
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
url: z.ZodString;
|
|
7
|
-
}
|
|
7
|
+
} & {
|
|
8
8
|
size: z.ZodNumber;
|
|
9
|
-
}
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
url: string;
|
|
11
11
|
size: number;
|
|
12
12
|
integrity?: string | undefined;
|
|
@@ -35,13 +35,13 @@ export declare const manifestTransformResult: z.ZodObject<{
|
|
|
35
35
|
}[];
|
|
36
36
|
warnings?: string[] | undefined;
|
|
37
37
|
}>;
|
|
38
|
-
export declare const manifestTransform: z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodObject<
|
|
38
|
+
export declare const manifestTransform: z.ZodFunction<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
39
39
|
integrity: z.ZodOptional<z.ZodString>;
|
|
40
40
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
url: z.ZodString;
|
|
42
|
-
}
|
|
42
|
+
} & {
|
|
43
43
|
size: z.ZodNumber;
|
|
44
|
-
}
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
45
|
url: string;
|
|
46
46
|
size: number;
|
|
47
47
|
integrity?: string | undefined;
|
|
@@ -52,13 +52,13 @@ export declare const manifestTransform: z.ZodFunction<z.ZodTuple<[z.ZodArray<z.Z
|
|
|
52
52
|
integrity?: string | undefined;
|
|
53
53
|
revision?: string | null | undefined;
|
|
54
54
|
}>, "many">, z.ZodOptional<z.ZodUnknown>], null>, z.ZodUnion<[z.ZodPromise<z.ZodObject<{
|
|
55
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
55
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
56
56
|
integrity: z.ZodOptional<z.ZodString>;
|
|
57
57
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
58
|
url: z.ZodString;
|
|
59
|
-
}
|
|
59
|
+
} & {
|
|
60
60
|
size: z.ZodNumber;
|
|
61
|
-
}
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
url: string;
|
|
63
63
|
size: number;
|
|
64
64
|
integrity?: string | undefined;
|
|
@@ -87,13 +87,13 @@ export declare const manifestTransform: z.ZodFunction<z.ZodTuple<[z.ZodArray<z.Z
|
|
|
87
87
|
}[];
|
|
88
88
|
warnings?: string[] | undefined;
|
|
89
89
|
}>>, z.ZodObject<{
|
|
90
|
-
manifest: z.ZodArray<z.ZodObject<
|
|
90
|
+
manifest: z.ZodArray<z.ZodObject<{
|
|
91
91
|
integrity: z.ZodOptional<z.ZodString>;
|
|
92
92
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
93
|
url: z.ZodString;
|
|
94
|
-
}
|
|
94
|
+
} & {
|
|
95
95
|
size: z.ZodNumber;
|
|
96
|
-
}
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
97
|
url: string;
|
|
98
98
|
size: number;
|
|
99
99
|
integrity?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serwist/build",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A module that integrates into your build process, helping you generate a manifest of local files that should be precached.",
|
|
6
6
|
"files": [
|
|
@@ -52,16 +52,16 @@
|
|
|
52
52
|
"glob": "10.4.5",
|
|
53
53
|
"pretty-bytes": "6.1.1",
|
|
54
54
|
"source-map": "0.8.0-beta.0",
|
|
55
|
-
"zod": "3.
|
|
55
|
+
"zod": "3.25.63"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@types/common-tags": "1.8.4",
|
|
59
|
-
"@types/node": "
|
|
60
|
-
"rollup": "4.
|
|
61
|
-
"type-fest": "4.
|
|
62
|
-
"typescript": "5.
|
|
63
|
-
"@serwist/configs": "9.0.
|
|
64
|
-
"@serwist/utils": "9.0.
|
|
59
|
+
"@types/node": "24.0.1",
|
|
60
|
+
"rollup": "4.43.0",
|
|
61
|
+
"type-fest": "4.41.0",
|
|
62
|
+
"typescript": "5.8.3",
|
|
63
|
+
"@serwist/configs": "9.0.15",
|
|
64
|
+
"@serwist/utils": "9.0.15"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
67
|
"typescript": ">=5.0.0"
|