@vercel/next 4.3.8 → 4.3.9

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 +2 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -14915,14 +14915,11 @@ var build = async (buildOptions) => {
14915
14915
  const nextVersionRange = await getNextVersionRange(entryPath);
14916
14916
  const nodeVersion = await (0, import_build_utils3.getNodeVersion)(entryPath, void 0, config, meta);
14917
14917
  const spawnOpts = (0, import_build_utils3.getSpawnOptions)(meta, nodeVersion);
14918
- const { cliType, lockfileVersion, packageJson } = await (0, import_build_utils3.scanParentDirs)(
14919
- entryPath,
14920
- true
14921
- );
14918
+ const { cliType, lockfileVersion, packageJsonPackageManager } = await (0, import_build_utils3.scanParentDirs)(entryPath, true);
14922
14919
  spawnOpts.env = (0, import_build_utils3.getEnvForPackageManager)({
14923
14920
  cliType,
14924
14921
  lockfileVersion,
14925
- packageJsonPackageManager: packageJson?.packageManager,
14922
+ packageJsonPackageManager,
14926
14923
  nodeVersion,
14927
14924
  env: spawnOpts.env || {}
14928
14925
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/next",
3
- "version": "4.3.8",
3
+ "version": "4.3.9",
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.0",
33
+ "@vercel/build-utils": "8.4.1",
34
34
  "@vercel/routing-utils": "3.1.0",
35
35
  "async-sema": "3.0.1",
36
36
  "buffer-crc32": "0.2.13",