@vercel/build-utils 10.3.2 → 10.4.0

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @vercel/build-utils
2
2
 
3
+ ## 10.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Expose pnpm6 within the detected package manager path for future versions of the build container ([#13132](https://github.com/vercel/vercel/pull/13132))
8
+
3
9
  ## 10.3.2
4
10
 
5
11
  ### Patch Changes
@@ -144,11 +144,6 @@ export declare function detectPackageManager(cliType: CliType, lockfileVersion:
144
144
  detectedLockfile: string;
145
145
  detectedPackageManager: string;
146
146
  pnpmVersionRange: string;
147
- } | {
148
- path: undefined;
149
- detectedLockfile: string;
150
- detectedPackageManager: string;
151
- pnpmVersionRange: string;
152
147
  } | {
153
148
  path: string;
154
149
  detectedLockfile: string;
@@ -833,8 +833,7 @@ function detectPackageManager(cliType, lockfileVersion, projectCreatedAt) {
833
833
  };
834
834
  case "pnpm 6":
835
835
  return {
836
- // undefined because pnpm@6 is the current default in the build container
837
- path: void 0,
836
+ path: "/pnpm6/node_modules/.bin",
838
837
  detectedLockfile: "pnpm-lock.yaml",
839
838
  detectedPackageManager: "pnpm@6.x",
840
839
  pnpmVersionRange: "6.x"
package/dist/index.js CHANGED
@@ -23847,8 +23847,7 @@ function detectPackageManager(cliType, lockfileVersion, projectCreatedAt) {
23847
23847
  };
23848
23848
  case "pnpm 6":
23849
23849
  return {
23850
- // undefined because pnpm@6 is the current default in the build container
23851
- path: void 0,
23850
+ path: "/pnpm6/node_modules/.bin",
23852
23851
  detectedLockfile: "pnpm-lock.yaml",
23853
23852
  detectedPackageManager: "pnpm@6.x",
23854
23853
  pnpmVersionRange: "6.x"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "10.3.2",
3
+ "version": "10.4.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",