@vercel/build-utils 5.3.2 → 5.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/dist/debug.js CHANGED
@@ -5,5 +5,8 @@ function debug(message, ...additional) {
5
5
  if (get_platform_env_1.getPlatformEnv('BUILDER_DEBUG')) {
6
6
  console.log(message, ...additional);
7
7
  }
8
+ else if (process.env.VERCEL_DEBUG_PREFIX) {
9
+ console.log(`${process.env.VERCEL_DEBUG_PREFIX}${message}`, ...additional);
10
+ }
8
11
  }
9
12
  exports.default = debug;
package/dist/index.js CHANGED
@@ -30121,6 +30121,9 @@ function debug(message, ...additional) {
30121
30121
  if (get_platform_env_1.getPlatformEnv('BUILDER_DEBUG')) {
30122
30122
  console.log(message, ...additional);
30123
30123
  }
30124
+ else if (process.env.VERCEL_DEBUG_PREFIX) {
30125
+ console.log(`${process.env.VERCEL_DEBUG_PREFIX}${message}`, ...additional);
30126
+ }
30124
30127
  }
30125
30128
  exports.default = debug;
30126
30129
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/build-utils",
3
- "version": "5.3.2",
3
+ "version": "5.4.0",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.js",
@@ -47,5 +47,5 @@
47
47
  "typescript": "4.3.4",
48
48
  "yazl": "2.5.1"
49
49
  },
50
- "gitHead": "6700630feb23bdb4e94ea727911a9e10aa546361"
50
+ "gitHead": "e7e0a55b72bc73c26661f7b2a3caa0884a5d1764"
51
51
  }