Socket
Socket
Sign inDemoInstall

@vercel/build-utils

Package Overview
Dependencies
Maintainers
60
Versions
317
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vercel/build-utils - npm Package Compare versions

Comparing version 2.12.0 to 2.12.1-canary.0

17

dist/fs/run-user-scripts.js

@@ -160,4 +160,6 @@ "use strict";

if (await fs_extra_1.default.pathExists(packageJsonPath)) {
// eslint-disable-next-line no-await-in-loop
if (readPackageJson) {
// Only read the contents of the *first* `package.json` file found,
// since that's the one related to this installation.
if (readPackageJson && !packageJson) {
// eslint-disable-next-line no-await-in-loop
packageJson = JSON.parse(await fs_extra_1.default.readFile(packageJsonPath, 'utf8'));

@@ -174,5 +176,3 @@ }

}
else {
throw error;
}
throw error;
}),

@@ -185,3 +185,8 @@ fs_extra_1.default.pathExists(path_1.default.join(currentDestPath, 'yarn.lock')),

}
break;
// Only stop iterating if a lockfile was found, because it's possible
// that the lockfile is in a higher path than where the `package.json`
// file was found.
if (packageLockJson || hasYarnLock) {
break;
}
}

@@ -188,0 +193,0 @@ const newDestPath = path_1.default.dirname(currentDestPath);

{
"name": "@vercel/build-utils",
"version": "2.12.0",
"version": "2.12.1-canary.0",
"license": "MIT",

@@ -33,3 +33,3 @@ "main": "./dist/index.js",

"@types/yazl": "^2.4.1",
"@vercel/frameworks": "0.5.0",
"@vercel/frameworks": "0.5.1-canary.0",
"@vercel/ncc": "0.24.0",

@@ -45,3 +45,2 @@ "aggregate-error": "3.0.1",

"into-stream": "5.0.0",
"jest": "27.0.6",
"js-yaml": "3.13.1",

@@ -52,7 +51,6 @@ "minimatch": "3.0.4",

"semver": "6.1.1",
"ts-jest": "27.0.4",
"typescript": "4.3.4",
"yazl": "2.4.3"
},
"gitHead": "1a776ad3438a435c4ee8cca462b06d09a7d43008"
"gitHead": "3db8618885b86152f52920361a45c6810b258772"
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc