@vercel/next 4.16.7 → 4.16.8
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/adapter/index.js +12 -1
- package/package.json +4 -4
package/dist/adapter/index.js
CHANGED
|
@@ -9699,6 +9699,13 @@ async function getGeneratedWorkflowLambdaOptions({
|
|
|
9699
9699
|
return generatedConfig.workflows;
|
|
9700
9700
|
}
|
|
9701
9701
|
}
|
|
9702
|
+
function resolveNodeFunctionMaxDuration({
|
|
9703
|
+
generatedConfigOpts,
|
|
9704
|
+
outputConfigMaxDuration,
|
|
9705
|
+
vercelConfigMaxDuration
|
|
9706
|
+
}) {
|
|
9707
|
+
return generatedConfigOpts?.maxDuration ?? outputConfigMaxDuration ?? vercelConfigMaxDuration;
|
|
9708
|
+
}
|
|
9702
9709
|
async function writeDeterministicRoutesManifest(distDir) {
|
|
9703
9710
|
const manifest = require(import_node_path.default.join(distDir, "routes-manifest.json"));
|
|
9704
9711
|
manifest.headers = [];
|
|
@@ -9860,7 +9867,11 @@ async function handleNodeOutputs(nodeOutputs, {
|
|
|
9860
9867
|
if (generatedConfigOpts) {
|
|
9861
9868
|
Object.assign(vercelConfigOpts, generatedConfigOpts);
|
|
9862
9869
|
}
|
|
9863
|
-
const maxDuration =
|
|
9870
|
+
const maxDuration = resolveNodeFunctionMaxDuration({
|
|
9871
|
+
generatedConfigOpts,
|
|
9872
|
+
outputConfigMaxDuration: output.config.maxDuration,
|
|
9873
|
+
vercelConfigMaxDuration: vercelConfigOpts.maxDuration
|
|
9874
|
+
});
|
|
9864
9875
|
const nodeConfig = {
|
|
9865
9876
|
...vercelConfigOpts,
|
|
9866
9877
|
filePathMap: files,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/next",
|
|
3
|
-
"version": "4.16.
|
|
3
|
+
"version": "4.16.8",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@vercel/nft": "1.5.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@next-community/adapter-vercel": "0.0.1-beta.
|
|
19
|
+
"@next-community/adapter-vercel": "0.0.1-beta.19",
|
|
20
20
|
"@types/aws-lambda": "8.10.19",
|
|
21
21
|
"@types/buffer-crc32": "0.2.0",
|
|
22
22
|
"@types/bytes": "3.1.1",
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"test-listen": "1.1.0",
|
|
54
54
|
"text-table": "0.2.0",
|
|
55
55
|
"webpack-sources": "3.2.3",
|
|
56
|
-
"@vercel/
|
|
57
|
-
"@vercel/
|
|
56
|
+
"@vercel/routing-utils": "6.1.1",
|
|
57
|
+
"@vercel/build-utils": "13.17.0"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "node build.mjs",
|