@serwist/next 9.0.0-preview.24 → 9.0.0-preview.25
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/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { validateInjectManifestOptions } from "./lib/validator.js";
|
|
|
6
6
|
* @param userOptions
|
|
7
7
|
* @returns
|
|
8
8
|
*/
|
|
9
|
-
declare const withSerwistInit: (userOptions: InjectManifestOptions) => (nextConfig?: NextConfig) => NextConfig;
|
|
9
|
+
declare const withSerwistInit: (userOptions: InjectManifestOptions) => ((nextConfig?: NextConfig) => NextConfig);
|
|
10
10
|
export default withSerwistInit;
|
|
11
11
|
export { validateInjectManifestOptions };
|
|
12
12
|
export type { InjectManifestOptions as PluginOptions, InjectManifestOptionsComplete as PluginOptionsComplete };
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAIvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAInE;;;;GAIG;AACH,QAAA,MAAM,eAAe,gBAAiB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAIvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AAInE;;;;GAIG;AACH,QAAA,MAAM,eAAe,gBAAiB,qBAAqB,KAAG,CAAC,CAAC,UAAU,CAAC,EAAE,UAAU,KAAK,UAAU,CAoNrG,CAAC;AAEF,eAAe,eAAe,CAAC;AAC/B,OAAO,EAAE,6BAA6B,EAAE,CAAC;AACzC,YAAY,EAAE,qBAAqB,IAAI,aAAa,EAAE,6BAA6B,IAAI,qBAAqB,EAAE,CAAC"}
|
package/dist/index.worker.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { ExpirationPlugin, RangeRequestsPlugin } from 'serwist
|
|
2
|
-
import { CacheFirst, StaleWhileRevalidate, NetworkFirst } from 'serwist/strategies';
|
|
1
|
+
import { CacheFirst, ExpirationPlugin, StaleWhileRevalidate, RangeRequestsPlugin, NetworkFirst } from 'serwist';
|
|
3
2
|
|
|
4
3
|
const PAGES_CACHE_NAME = {
|
|
5
4
|
rscPrefetch: "pages-rsc-prefetch",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-first-truthy.d.ts","sourceRoot":"","sources":["../../src/lib/find-first-truthy.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,eAAe,cAAe,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"find-first-truthy.d.ts","sourceRoot":"","sources":["../../src/lib/find-first-truthy.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,eAAe,cAAe,CAAC,EAAE,MAAM,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,+BAQhE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaultCache.d.ts","sourceRoot":"","sources":["../../src/worker/defaultCache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"defaultCache.d.ts","sourceRoot":"","sources":["../../src/worker/defaultCache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAK9C;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,cAAc,EAiQlC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serwist/next",
|
|
3
|
-
"version": "9.0.0-preview.
|
|
3
|
+
"version": "9.0.0-preview.25",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A module that integrates Serwist into your Next.js application.",
|
|
6
6
|
"files": [
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
},
|
|
26
26
|
"author": "Serwist's Team",
|
|
27
27
|
"license": "MIT",
|
|
28
|
-
"repository": "https://
|
|
29
|
-
"bugs": "https://
|
|
28
|
+
"repository": "https://github.com/serwist/serwist",
|
|
29
|
+
"bugs": "https://github.com/serwist/serwist/issues",
|
|
30
30
|
"homepage": "https://serwist.pages.dev",
|
|
31
31
|
"main": "./dist/index.js",
|
|
32
32
|
"types": "./dist/index.d.ts",
|
|
@@ -65,22 +65,22 @@
|
|
|
65
65
|
"chalk": "5.3.0",
|
|
66
66
|
"glob": "10.3.12",
|
|
67
67
|
"zod": "3.22.4",
|
|
68
|
-
"@serwist/build": "9.0.0-preview.
|
|
69
|
-
"@serwist/webpack-plugin": "9.0.0-preview.
|
|
70
|
-
"@serwist/window": "9.0.0-preview.
|
|
71
|
-
"serwist": "9.0.0-preview.
|
|
68
|
+
"@serwist/build": "9.0.0-preview.25",
|
|
69
|
+
"@serwist/webpack-plugin": "9.0.0-preview.25",
|
|
70
|
+
"@serwist/window": "9.0.0-preview.25",
|
|
71
|
+
"serwist": "9.0.0-preview.25"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@types/node": "20.12.
|
|
75
|
-
"next": "14.1
|
|
74
|
+
"@types/node": "20.12.7",
|
|
75
|
+
"next": "14.2.1",
|
|
76
76
|
"react": "18.2.0",
|
|
77
77
|
"react-dom": "18.2.0",
|
|
78
|
-
"rollup": "4.14.
|
|
78
|
+
"rollup": "4.14.3",
|
|
79
79
|
"type-fest": "4.15.0",
|
|
80
|
-
"typescript": "5.5.0-dev.
|
|
80
|
+
"typescript": "5.5.0-dev.20240415",
|
|
81
81
|
"webpack": "5.91.0",
|
|
82
|
-
"@serwist/
|
|
83
|
-
"@serwist/utils": "9.0.0-preview.
|
|
82
|
+
"@serwist/configs": "9.0.0-preview.25",
|
|
83
|
+
"@serwist/utils": "9.0.0-preview.25"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
86
|
"next": ">=14.0.0",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { RuntimeCaching } from "serwist";
|
|
2
|
-
import { ExpirationPlugin, RangeRequestsPlugin } from "serwist
|
|
3
|
-
import { CacheFirst, NetworkFirst, StaleWhileRevalidate } from "serwist/strategies";
|
|
2
|
+
import { CacheFirst, ExpirationPlugin, NetworkFirst, RangeRequestsPlugin, StaleWhileRevalidate } from "serwist";
|
|
4
3
|
|
|
5
4
|
import { PAGES_CACHE_NAME } from "./constants.js";
|
|
6
5
|
|