Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@netlify/build-info

Package Overview
Dependencies
Maintainers
20
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netlify/build-info - npm Package Compare versions

Comparing version 7.4.3 to 7.5.0

14

lib/build-systems/package-managers.js

@@ -11,6 +11,12 @@ import { isNpmBuildScript, isNpmDevScript } from '../get-commands.js';

if (scripts && Object.keys(scripts).length > 0) {
return Object.entries(scripts).map(([scriptName, value]) => ({
type: isNpmDevScript(scriptName, value) ? 'dev' : isNpmBuildScript(scriptName, value) ? 'build' : 'unknown',
command: `pnpm --filter ${name} run ${scriptName}`,
}));
return Object.entries(scripts).map(([scriptName, value]) => {
const isBuild = isNpmBuildScript(scriptName, value);
const isDev = isNpmDevScript(scriptName, value);
return {
type: isDev ? 'dev' : isBuild ? 'build' : 'unknown',
// the ... in the command is telling pnpm to run all dependents first.
// but we should only do it for building
command: `pnpm --filter ${name}${isBuild ? '...' : ''} run ${scriptName}`,
};
});
}

@@ -17,0 +23,0 @@ return [];

{
"name": "@netlify/build-info",
"version": "7.4.3",
"version": "7.5.0",
"description": "Build info utility",

@@ -76,3 +76,3 @@ "type": "module",

},
"gitHead": "cb267888c86d49df78734852c6ce42f8b306ed66"
"gitHead": "556771e4d27fbae9bbf28df5c6613086dd6ff5a8"
}

Sorry, the diff of this file is not supported yet

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