@vercel/build-utils 8.1.1 → 8.1.2

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
+ ## 8.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - add log to package manager version detection ([#11592](https://github.com/vercel/vercel/pull/11592))
8
+
3
9
  ## 8.1.1
4
10
 
5
11
  ### Patch Changes
@@ -397,6 +397,9 @@ function getEnvForPackageManager({
397
397
  nodeVersion,
398
398
  env
399
399
  });
400
+ (0, import_debug.default)(
401
+ `Detected ${detectedPackageManager} with lockfileVersion ${lockfileVersion} (${typeof lockfileVersion}): ${newPath}`
402
+ );
400
403
  const newEnv = {
401
404
  ...env
402
405
  };
package/dist/index.js CHANGED
@@ -22119,6 +22119,9 @@ function getEnvForPackageManager({
22119
22119
  nodeVersion,
22120
22120
  env
22121
22121
  });
22122
+ debug(
22123
+ `Detected ${detectedPackageManager} with lockfileVersion ${lockfileVersion} (${typeof lockfileVersion}): ${newPath}`
22124
+ );
22122
22125
  const newEnv = {
22123
22126
  ...env
22124
22127
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "8.1.1",
3
+ "version": "8.1.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",