@vercel/next 4.16.2 → 4.16.3

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.
@@ -9698,7 +9698,12 @@ async function handleNodeOutputs(nodeOutputs, {
9698
9698
  prerenderFallbackFalseMap,
9699
9699
  vercelOutputDir
9700
9700
  }) {
9701
- const nodeVersion = await (0, import_build_utils.getNodeVersion)(projectDir, void 0, {}, {});
9701
+ const nodeVersion = await (0, import_build_utils.getNodeVersion)(
9702
+ projectDir,
9703
+ void 0,
9704
+ vercelConfig,
9705
+ {}
9706
+ );
9702
9707
  const fsSema = new import_async_sema.Sema(16, { capacity: nodeOutputs.length });
9703
9708
  const functionsDir = import_node_path.default.join(vercelOutputDir, "functions");
9704
9709
  const handlerRelativeDir = import_node_path.default.posix.relative(repoRoot, projectDir);
package/dist/index.js CHANGED
@@ -14574,7 +14574,10 @@ async function serverBuild({
14574
14574
  let initialFileReasons;
14575
14575
  let nextServerBuildTrace;
14576
14576
  let instrumentationHookBuildTrace;
14577
- const useBundledServer = import_semver4.default.gte(nextVersion, BUNDLED_SERVER_NEXT_VERSION) && process.env.VERCEL_NEXT_BUNDLED_SERVER === "1";
14577
+ const useBundledServer = import_semver4.default.gte(
14578
+ nextVersion,
14579
+ BUNDLED_SERVER_NEXT_VERSION
14580
+ );
14578
14581
  if (useBundledServer) {
14579
14582
  (0, import_build_utils2.debug)("Using bundled Next.js server");
14580
14583
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "4.16.2",
3
+ "version": "4.16.3",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
@@ -13,10 +13,10 @@
13
13
  "dist"
14
14
  ],
15
15
  "dependencies": {
16
- "@vercel/nft": "1.4.0"
16
+ "@vercel/nft": "1.5.0"
17
17
  },
18
18
  "devDependencies": {
19
- "@next-community/adapter-vercel": "0.0.1-beta.14",
19
+ "@next-community/adapter-vercel": "0.0.1-beta.15",
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/build-utils": "13.8.2",
57
- "@vercel/routing-utils": "6.0.2"
56
+ "@vercel/build-utils": "13.10.0",
57
+ "@vercel/routing-utils": "6.1.1"
58
58
  },
59
59
  "scripts": {
60
60
  "build": "node build.mjs",