New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aofl/cli-lib

Package Overview
Dependencies
Maintainers
2
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aofl/cli-lib - npm Package Compare versions

Comparing version 3.0.0 to 3.2.2-alpha.3

29

modules/npm.js

@@ -174,4 +174,33 @@ const spawn = require('cross-spawn');

}
/**
*
* @static
* @param {string} [command='']
* @param {Boolean} [silent=false]
* @param {string[]} [args=[]]
* @param {object} [options={}]
* @return {Promise}
* @memberof Npm
*/
static run(command, silent = false, args = [], options = {}) {
const params = ['run'];
if(typeof command === 'string') {
params.push(command);
}
if (silent) {
params.push('--silent');
}
if (args.length) {
params.push('--');
params.push(...args);
}
return Npm.__run(params, options);
}
}
module.exports.Npm = Npm;

5

package.json
{
"name": "@aofl/cli-lib",
"version": "3.0.0",
"version": "3.2.2-alpha.3",
"description": "Shared library for cli and various webpack plugins.",

@@ -38,4 +38,3 @@ "main": "index.js",

"uuid": "^3.3.3"
},
"gitHead": "bd783440a25a2c579fbb506b92d90bf4fb7e0289"
}
}
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