@vercel/next 4.15.37 → 4.15.38

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.
@@ -9754,31 +9754,30 @@ async function handleNodeOutputs(nodeOutputs, {
9754
9754
  Object.assign(vercelConfigOpts, generatedConfigOpts);
9755
9755
  }
9756
9756
  const maxDuration = generatedConfigOpts?.maxDuration ?? output.config.maxDuration;
9757
+ const nodeConfig = {
9758
+ ...vercelConfigOpts,
9759
+ filePathMap: files,
9760
+ operationType,
9761
+ framework: {
9762
+ slug: "nextjs",
9763
+ version: nextVersion
9764
+ },
9765
+ handler: import_node_path.default.posix.join(
9766
+ import_node_path.default.posix.relative(repoRoot, projectDir),
9767
+ "___next_launcher.cjs"
9768
+ ),
9769
+ runtime: nodeVersion.runtime,
9770
+ maxDuration,
9771
+ supportsMultiPayload: true,
9772
+ supportsResponseStreaming: true,
9773
+ experimentalAllowBundling: true,
9774
+ // middleware handler always expects Request/Response interface
9775
+ useWebApi: isMiddleware,
9776
+ launcherType: "Nodejs"
9777
+ };
9757
9778
  await writeIfNotExists(
9758
9779
  import_node_path.default.join(functionDir, `.vc-config.json`),
9759
- JSON.stringify(
9760
- // TODO: strongly type this
9761
- {
9762
- ...vercelConfigOpts,
9763
- filePathMap: files,
9764
- operationType,
9765
- framework: {
9766
- slug: "nextjs",
9767
- version: nextVersion
9768
- },
9769
- handler: import_node_path.default.posix.join(
9770
- import_node_path.default.posix.relative(repoRoot, projectDir),
9771
- "___next_launcher.cjs"
9772
- ),
9773
- runtime: nodeVersion.runtime,
9774
- maxDuration,
9775
- supportsResponseStreaming: true,
9776
- experimentalAllowBundling: true,
9777
- // middleware handler always expects Request/Response interface
9778
- useWebApi: isMiddleware,
9779
- launcherType: "Nodejs"
9780
- }
9781
- )
9780
+ JSON.stringify(nodeConfig)
9782
9781
  );
9783
9782
  fsSema.release();
9784
9783
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "4.15.37",
3
+ "version": "4.15.38",
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.1.1"
17
17
  },
18
18
  "devDependencies": {
19
- "@next-community/adapter-vercel": "0.0.1-beta.10",
19
+ "@next-community/adapter-vercel": "0.0.1-beta.11",
20
20
  "@types/aws-lambda": "8.10.19",
21
21
  "@types/buffer-crc32": "0.2.0",
22
22
  "@types/bytes": "3.1.1",
@@ -54,7 +54,7 @@
54
54
  "text-table": "0.2.0",
55
55
  "webpack-sources": "3.2.3",
56
56
  "@vercel/build-utils": "13.6.2",
57
- "@vercel/routing-utils": "6.0.1"
57
+ "@vercel/routing-utils": "6.0.2"
58
58
  },
59
59
  "scripts": {
60
60
  "build": "node build.mjs",