@vercel/next 4.3.12 → 4.3.13

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 +9 -6
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -14952,16 +14952,19 @@ var build = async (buildOptions) => {
14952
14952
  const nextVersionRange = await getNextVersionRange(entryPath);
14953
14953
  const nodeVersion = await (0, import_build_utils3.getNodeVersion)(entryPath, void 0, config, meta);
14954
14954
  const spawnOpts = (0, import_build_utils3.getSpawnOptions)(meta, nodeVersion);
14955
- const { cliType, lockfileVersion, packageJson } = await (0, import_build_utils3.scanParentDirs)(
14956
- entryPath,
14957
- true
14958
- );
14955
+ const {
14956
+ cliType,
14957
+ lockfileVersion,
14958
+ packageJsonPackageManager,
14959
+ turboSupportsCorepackHome
14960
+ } = await (0, import_build_utils3.scanParentDirs)(entryPath, true);
14959
14961
  spawnOpts.env = (0, import_build_utils3.getEnvForPackageManager)({
14960
14962
  cliType,
14961
14963
  lockfileVersion,
14962
- packageJsonPackageManager: packageJson?.packageManager,
14964
+ packageJsonPackageManager,
14963
14965
  nodeVersion,
14964
- env: spawnOpts.env || {}
14966
+ env: spawnOpts.env || {},
14967
+ turboSupportsCorepackHome
14965
14968
  });
14966
14969
  const nowJsonPath = await (0, import_find_up.default)(["now.json", "vercel.json"], {
14967
14970
  cwd: entryPath
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "4.3.12",
3
+ "version": "4.3.13",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/runtimes#official-runtimes/next-js",
@@ -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.4.6",
33
+ "@vercel/build-utils": "8.4.7",
34
34
  "@vercel/routing-utils": "3.1.0",
35
35
  "async-sema": "3.0.1",
36
36
  "buffer-crc32": "0.2.13",