@vercel/build-utils 5.5.1 → 5.5.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/dist/fs/run-user-scripts.js +2 -1
- package/dist/index.js +2 -1
- package/package.json +2 -2
@@ -305,7 +305,8 @@ async function runNpmInstall(destPath, args = [], spawnOpts, meta, nodeVersion)
|
|
305
305
|
});
|
306
306
|
let commandArgs;
|
307
307
|
const isPotentiallyBrokenNpm = cliType === 'npm' &&
|
308
|
-
nodeVersion?.major === 16
|
308
|
+
(nodeVersion?.major === 16 ||
|
309
|
+
opts.env.PATH?.includes('/node16/bin-npm7')) &&
|
309
310
|
!args.includes('--legacy-peer-deps') &&
|
310
311
|
spawnOpts?.env?.ENABLE_EXPERIMENTAL_COREPACK !== '1';
|
311
312
|
if (cliType === 'npm') {
|
package/dist/index.js
CHANGED
@@ -31178,7 +31178,8 @@ async function runNpmInstall(destPath, args = [], spawnOpts, meta, nodeVersion)
|
|
31178
31178
|
});
|
31179
31179
|
let commandArgs;
|
31180
31180
|
const isPotentiallyBrokenNpm = cliType === 'npm' &&
|
31181
|
-
nodeVersion?.major === 16
|
31181
|
+
(nodeVersion?.major === 16 ||
|
31182
|
+
opts.env.PATH?.includes('/node16/bin-npm7')) &&
|
31182
31183
|
!args.includes('--legacy-peer-deps') &&
|
31183
31184
|
spawnOpts?.env?.ENABLE_EXPERIMENTAL_COREPACK !== '1';
|
31184
31185
|
if (cliType === 'npm') {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/build-utils",
|
3
|
-
"version": "5.5.
|
3
|
+
"version": "5.5.2",
|
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": "8cd84ec066fb50de6c3c4630465f896609e8f412"
|
51
51
|
}
|