@vercel/next 3.3.8 → 3.3.13
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 +23241 -24977
- package/dist/server-build.js +3 -2
- package/package.json +10 -9
package/dist/server-build.js
CHANGED
@@ -667,12 +667,12 @@ async function serverBuild({ dynamicPages, pagesDir, config = {}, privateOutputs
|
|
667
667
|
const completeDynamicRoutes = [];
|
668
668
|
if (appDir) {
|
669
669
|
for (const route of dynamicRoutes) {
|
670
|
-
completeDynamicRoutes.push(route);
|
671
670
|
completeDynamicRoutes.push({
|
672
671
|
...route,
|
673
|
-
src: route.src.replace(new RegExp((0, escape_string_regexp_1.default)('(?:/)?$')), '(?:\\.rsc)
|
672
|
+
src: route.src.replace(new RegExp((0, escape_string_regexp_1.default)('(?:/)?$')), '(?:\\.rsc)(?:/)?$'),
|
674
673
|
dest: route.dest?.replace(/($|\?)/, '.rsc$1'),
|
675
674
|
});
|
675
|
+
completeDynamicRoutes.push(route);
|
676
676
|
}
|
677
677
|
}
|
678
678
|
else {
|
@@ -1121,6 +1121,7 @@ async function serverBuild({ dynamicPages, pagesDir, config = {}, privateOutputs
|
|
1121
1121
|
},
|
1122
1122
|
]),
|
1123
1123
|
],
|
1124
|
+
framework: { version: nextVersion },
|
1124
1125
|
};
|
1125
1126
|
}
|
1126
1127
|
exports.serverBuild = serverBuild;
|
package/package.json
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/next",
|
3
|
-
"version": "3.3.
|
3
|
+
"version": "3.3.13",
|
4
4
|
"license": "MIT",
|
5
5
|
"main": "./dist/index",
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
|
7
7
|
"scripts": {
|
8
8
|
"build": "node build.js",
|
9
9
|
"build-dev": "node build.js --dev",
|
10
|
-
"test": "jest --env node --verbose --bail --runInBand",
|
11
|
-
"test-unit": "
|
12
|
-
"test-next-local": "
|
13
|
-
"test-next-local:middleware": "
|
14
|
-
"test-integration-once": "rm test/builder-info.json;
|
10
|
+
"test": "jest --env node --verbose --bail --runInBand --testTimeout=360000",
|
11
|
+
"test-unit": "pnpm test test/unit/",
|
12
|
+
"test-next-local": "pnpm test test/integration/*.test.js test/integration/*.test.ts",
|
13
|
+
"test-next-local:middleware": "pnpm test test/integration/middleware.test.ts",
|
14
|
+
"test-integration-once": "rm -f test/builder-info.json; pnpm test test/fixtures/**/*.test.js"
|
15
15
|
},
|
16
16
|
"repository": {
|
17
17
|
"type": "git",
|
@@ -45,9 +45,9 @@
|
|
45
45
|
"@types/semver": "6.0.0",
|
46
46
|
"@types/text-table": "0.2.1",
|
47
47
|
"@types/webpack-sources": "3.2.0",
|
48
|
-
"@vercel/build-utils": "5.
|
48
|
+
"@vercel/build-utils": "workspace:5.8.2",
|
49
49
|
"@vercel/nft": "0.22.5",
|
50
|
-
"@vercel/routing-utils": "2.1.
|
50
|
+
"@vercel/routing-utils": "workspace:2.1.7",
|
51
51
|
"async-sema": "3.0.1",
|
52
52
|
"buffer-crc32": "0.2.13",
|
53
53
|
"bytes": "3.1.2",
|
@@ -61,6 +61,7 @@
|
|
61
61
|
"get-port": "5.0.0",
|
62
62
|
"nanoid": "3.3.4",
|
63
63
|
"ndjson": "2.0.0",
|
64
|
+
"pretty-bytes": "5.3.0",
|
64
65
|
"resolve-from": "5.0.0",
|
65
66
|
"semver": "6.1.1",
|
66
67
|
"set-cookie-parser": "2.4.6",
|
@@ -70,5 +71,5 @@
|
|
70
71
|
"typescript": "4.5.2",
|
71
72
|
"webpack-sources": "3.2.3"
|
72
73
|
},
|
73
|
-
"gitHead": "
|
74
|
+
"gitHead": "e54da8a2e5504987a956e2baaad6d817028b597f"
|
74
75
|
}
|