@vercel/next 4.3.2 → 4.3.4

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -6
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -14022,6 +14022,8 @@ ${JSON.stringify(
14022
14022
  prerenderRoutes.forEach((route) => {
14023
14023
  if (experimentalPPRRoutes.has(route))
14024
14024
  return;
14025
+ if (inversedAppPathManifest?.[route])
14026
+ return;
14025
14027
  if (routesManifest?.i18n) {
14026
14028
  route = normalizeLocalePath(route, routesManifest.i18n.locales).pathname;
14027
14029
  }
@@ -14999,14 +15001,11 @@ var build = async (buildOptions) => {
14999
15001
  const nextVersionRange = await getNextVersionRange(entryPath);
15000
15002
  const nodeVersion = await (0, import_build_utils3.getNodeVersion)(entryPath, void 0, config, meta);
15001
15003
  const spawnOpts = (0, import_build_utils3.getSpawnOptions)(meta, nodeVersion);
15002
- const { cliType, lockfileVersion, packageJson } = await (0, import_build_utils3.scanParentDirs)(
15003
- entryPath,
15004
- true
15005
- );
15004
+ const { cliType, lockfileVersion, packageJsonPackageManager } = await (0, import_build_utils3.scanParentDirs)(entryPath, true);
15006
15005
  spawnOpts.env = (0, import_build_utils3.getEnvForPackageManager)({
15007
15006
  cliType,
15008
15007
  lockfileVersion,
15009
- packageJsonPackageManager: packageJson?.packageManager,
15008
+ packageJsonPackageManager,
15010
15009
  nodeVersion,
15011
15010
  env: spawnOpts.env || {}
15012
15011
  });
@@ -16887,7 +16886,7 @@ var diagnostics = async ({
16887
16886
  return {
16888
16887
  // Collect output in `.next/diagnostics`
16889
16888
  ...await (0, import_build_utils3.glob)(
16890
- "diagnostics/*",
16889
+ "*",
16891
16890
  import_path5.default.join(basePath, diagnosticsEntrypoint, outputDirectory, "diagnostics")
16892
16891
  ),
16893
16892
  // Collect `.next/trace` file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "4.3.2",
3
+ "version": "4.3.4",
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.27.2"
16
+ "@vercel/nft": "0.27.3"
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.3.2",
33
+ "@vercel/build-utils": "8.3.3",
34
34
  "@vercel/routing-utils": "3.1.0",
35
35
  "async-sema": "3.0.1",
36
36
  "buffer-crc32": "0.2.13",