@vercel/build-utils 5.5.7 → 5.5.8
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/fs/run-user-scripts.js +4 -1
- package/dist/index.js +4 -1
- package/package.json +2 -2
@@ -338,7 +338,7 @@ async function runNpmInstall(destPath, args = [], spawnOpts, meta, nodeVersion)
|
|
338
338
|
try {
|
339
339
|
await spawnAsync(cliType, commandArgs, opts);
|
340
340
|
}
|
341
|
-
catch (
|
341
|
+
catch (err) {
|
342
342
|
const potentialErrorPath = path_1.default.join(process.env.HOME || '/', '.npm', 'eresolve-report.txt');
|
343
343
|
if (isPotentiallyBrokenNpm &&
|
344
344
|
!commandArgs.includes('--legacy-peer-deps') &&
|
@@ -347,6 +347,9 @@ async function runNpmInstall(destPath, args = [], spawnOpts, meta, nodeVersion)
|
|
347
347
|
commandArgs.push('--legacy-peer-deps');
|
348
348
|
await spawnAsync(cliType, commandArgs, opts);
|
349
349
|
}
|
350
|
+
else {
|
351
|
+
throw err;
|
352
|
+
}
|
350
353
|
}
|
351
354
|
debug_1.default(`Install complete [${Date.now() - installTime}ms]`);
|
352
355
|
return true;
|
package/dist/index.js
CHANGED
@@ -31222,7 +31222,7 @@ async function runNpmInstall(destPath, args = [], spawnOpts, meta, nodeVersion)
|
|
31222
31222
|
try {
|
31223
31223
|
await spawnAsync(cliType, commandArgs, opts);
|
31224
31224
|
}
|
31225
|
-
catch (
|
31225
|
+
catch (err) {
|
31226
31226
|
const potentialErrorPath = path_1.default.join(process.env.HOME || '/', '.npm', 'eresolve-report.txt');
|
31227
31227
|
if (isPotentiallyBrokenNpm &&
|
31228
31228
|
!commandArgs.includes('--legacy-peer-deps') &&
|
@@ -31231,6 +31231,9 @@ async function runNpmInstall(destPath, args = [], spawnOpts, meta, nodeVersion)
|
|
31231
31231
|
commandArgs.push('--legacy-peer-deps');
|
31232
31232
|
await spawnAsync(cliType, commandArgs, opts);
|
31233
31233
|
}
|
31234
|
+
else {
|
31235
|
+
throw err;
|
31236
|
+
}
|
31234
31237
|
}
|
31235
31238
|
debug_1.default(`Install complete [${Date.now() - installTime}ms]`);
|
31236
31239
|
return true;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/build-utils",
|
3
|
-
"version": "5.5.
|
3
|
+
"version": "5.5.8",
|
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": "
|
50
|
+
"gitHead": "74593e4d813cb3f9ae5bb44878461355c3a86849"
|
51
51
|
}
|