@serwist/turbopack 9.4.4 → 9.5.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/dist/index.js +1 -1
- package/dist/index.schema.d.ts +3 -3
- package/package.json +10 -10
- package/src/index.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -104,7 +104,7 @@ const createSerwistRoute = (options)=>{
|
|
|
104
104
|
],
|
|
105
105
|
manifestTransforms: [
|
|
106
106
|
...config.manifestTransforms ?? [],
|
|
107
|
-
(manifestEntries)=>{
|
|
107
|
+
async (manifestEntries)=>{
|
|
108
108
|
const manifest = manifestEntries.map((m)=>{
|
|
109
109
|
if (m.url.startsWith(config.nextConfig.distDir)) {
|
|
110
110
|
m.url = `${config.nextConfig.assetPrefix ?? ""}/_next/${m.url.slice(config.nextConfig.distDir.length)}`;
|
package/dist/index.schema.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ export declare const injectManifestOptions: z.ZodPipe<z.ZodObject<{
|
|
|
48
48
|
url: z.ZodString;
|
|
49
49
|
}, z.z.core.$strip>>;
|
|
50
50
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
51
|
-
}, z.z.core.$strict>>>, z.ZodTransform<z.z.core.$
|
|
51
|
+
}, z.z.core.$strict>>>, z.ZodTransform<z.z.core.$InferOuterFunctionTypeAsync<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
52
52
|
size: z.ZodNumber;
|
|
53
53
|
integrity: z.ZodOptional<z.ZodString>;
|
|
54
54
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -107,7 +107,7 @@ export declare const injectManifestOptions: z.ZodPipe<z.ZodObject<{
|
|
|
107
107
|
integrity?: string | undefined;
|
|
108
108
|
revision?: string | null | undefined;
|
|
109
109
|
})[] | undefined;
|
|
110
|
-
manifestTransforms?: z.z.core.$
|
|
110
|
+
manifestTransforms?: z.z.core.$InferOuterFunctionTypeAsync<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
111
111
|
size: z.ZodNumber;
|
|
112
112
|
integrity: z.ZodOptional<z.ZodString>;
|
|
113
113
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -143,7 +143,7 @@ export declare const injectManifestOptions: z.ZodPipe<z.ZodObject<{
|
|
|
143
143
|
revision?: string | null | undefined;
|
|
144
144
|
})[] | undefined;
|
|
145
145
|
dontCacheBustURLsMatching?: RegExp | undefined;
|
|
146
|
-
manifestTransforms?: z.z.core.$
|
|
146
|
+
manifestTransforms?: z.z.core.$InferOuterFunctionTypeAsync<z.ZodTuple<[z.ZodArray<z.ZodObject<{
|
|
147
147
|
size: z.ZodNumber;
|
|
148
148
|
integrity: z.ZodOptional<z.ZodString>;
|
|
149
149
|
revision: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serwist/turbopack",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.5.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"description": "A module that integrates Serwist into your Next.js / Turbopack application.",
|
|
@@ -63,27 +63,27 @@
|
|
|
63
63
|
"./package.json": "./package.json"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@swc/core": "1.15.
|
|
66
|
+
"@swc/core": "1.15.8",
|
|
67
67
|
"kolorist": "1.8.0",
|
|
68
68
|
"semver": "7.7.3",
|
|
69
|
-
"zod": "4.
|
|
70
|
-
"@serwist/
|
|
71
|
-
"@serwist/
|
|
72
|
-
"
|
|
73
|
-
"serwist": "9.
|
|
69
|
+
"zod": "4.3.5",
|
|
70
|
+
"@serwist/window": "9.5.0",
|
|
71
|
+
"@serwist/build": "9.5.0",
|
|
72
|
+
"serwist": "9.5.0",
|
|
73
|
+
"@serwist/utils": "9.5.0"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@types/node": "25.0.3",
|
|
77
77
|
"@types/react": "19.2.7",
|
|
78
78
|
"@types/semver": "7.7.1",
|
|
79
79
|
"esbuild-wasm": "0.27.2",
|
|
80
|
-
"next": "16.1.
|
|
80
|
+
"next": "16.1.1",
|
|
81
81
|
"react": "19.2.3",
|
|
82
82
|
"react-dom": "19.2.3",
|
|
83
|
-
"rollup": "4.
|
|
83
|
+
"rollup": "4.55.1",
|
|
84
84
|
"type-fest": "5.3.1",
|
|
85
85
|
"typescript": "5.9.3",
|
|
86
|
-
"@serwist/configs": "9.
|
|
86
|
+
"@serwist/configs": "9.5.0"
|
|
87
87
|
},
|
|
88
88
|
"peerDependencies": {
|
|
89
89
|
"esbuild-wasm": ">=0.25.0 <1.0.0",
|
package/src/index.ts
CHANGED
|
@@ -71,7 +71,7 @@ export const createSerwistRoute = (options: InjectManifestOptions) => {
|
|
|
71
71
|
],
|
|
72
72
|
manifestTransforms: [
|
|
73
73
|
...(config.manifestTransforms ?? []),
|
|
74
|
-
(manifestEntries) => {
|
|
74
|
+
async (manifestEntries) => {
|
|
75
75
|
const manifest = manifestEntries.map((m) => {
|
|
76
76
|
// Replace all references to "$(distDir)" with "$(assetPrefix)/_next/".
|
|
77
77
|
if (m.url.startsWith(config.nextConfig.distDir)) {
|