@vercel/next 4.2.8 → 4.2.10
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 +17 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
@@ -14421,7 +14421,7 @@ async function serverBuild({
|
|
14421
14421
|
}
|
14422
14422
|
}
|
14423
14423
|
const experimental = {
|
14424
|
-
ppr: requiredServerFilesManifest.config.experimental?.ppr === true
|
14424
|
+
ppr: requiredServerFilesManifest.config.experimental?.ppr === true || requiredServerFilesManifest.config.experimental?.ppr === "incremental"
|
14425
14425
|
};
|
14426
14426
|
let appRscPrefetches = {};
|
14427
14427
|
let appBuildTraces = {};
|
@@ -15472,6 +15472,9 @@ async function serverBuild({
|
|
15472
15472
|
if (experimental.ppr) {
|
15473
15473
|
edgeFunctions[`${pathname}${RSC_PREFETCH_SUFFIX}`] = edgeFunctions[pathname];
|
15474
15474
|
}
|
15475
|
+
if (hasActionOutputSupport) {
|
15476
|
+
edgeFunctions[`${pathname}.action`] = edgeFunctions[pathname];
|
15477
|
+
}
|
15475
15478
|
}
|
15476
15479
|
}
|
15477
15480
|
}
|
@@ -15738,7 +15741,7 @@ async function serverBuild({
|
|
15738
15741
|
// Also includes separate handling for index routes which should match to /index.action.
|
15739
15742
|
// This follows the same pattern as the rewrites for .rsc files.
|
15740
15743
|
{
|
15741
|
-
src: `^${import_path4.default.posix.join("/", entryDirectory, "
|
15744
|
+
src: `^${import_path4.default.posix.join("/", entryDirectory, "/?")}`,
|
15742
15745
|
dest: import_path4.default.posix.join("/", entryDirectory, "/index.action"),
|
15743
15746
|
has: [
|
15744
15747
|
{
|
@@ -15746,6 +15749,12 @@ async function serverBuild({
|
|
15746
15749
|
key: "next-action"
|
15747
15750
|
}
|
15748
15751
|
],
|
15752
|
+
missing: [
|
15753
|
+
{
|
15754
|
+
type: "header",
|
15755
|
+
key: rscHeader
|
15756
|
+
}
|
15757
|
+
],
|
15749
15758
|
continue: true,
|
15750
15759
|
override: true
|
15751
15760
|
},
|
@@ -15762,6 +15771,12 @@ async function serverBuild({
|
|
15762
15771
|
key: "next-action"
|
15763
15772
|
}
|
15764
15773
|
],
|
15774
|
+
missing: [
|
15775
|
+
{
|
15776
|
+
type: "header",
|
15777
|
+
key: rscHeader
|
15778
|
+
}
|
15779
|
+
],
|
15765
15780
|
continue: true,
|
15766
15781
|
override: true
|
15767
15782
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/next",
|
3
|
-
"version": "4.2.
|
3
|
+
"version": "4.2.10",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"main": "./dist/index",
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
|
@@ -13,7 +13,7 @@
|
|
13
13
|
"dist"
|
14
14
|
],
|
15
15
|
"dependencies": {
|
16
|
-
"@vercel/nft": "0.
|
16
|
+
"@vercel/nft": "0.27.0"
|
17
17
|
},
|
18
18
|
"devDependencies": {
|
19
19
|
"@types/aws-lambda": "8.10.19",
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"@types/semver": "6.0.0",
|
31
31
|
"@types/text-table": "0.2.1",
|
32
32
|
"@types/webpack-sources": "3.2.0",
|
33
|
-
"@vercel/build-utils": "8.
|
33
|
+
"@vercel/build-utils": "8.1.0",
|
34
34
|
"@vercel/routing-utils": "3.1.0",
|
35
35
|
"async-sema": "3.0.1",
|
36
36
|
"buffer-crc32": "0.2.13",
|