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

@lerna/npm-run-script

Package Overview
Dependencies
Maintainers
4
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lerna/npm-run-script - npm Package Compare versions

Comparing version 3.0.0-beta.0 to 3.0.0-beta.11

CHANGELOG.md

20

npm-run-script.js

@@ -11,12 +11,24 @@ "use strict";

function runScript(script, { args, npmClient, pkg }) {
function runScript(script, { args, npmClient, pkg, reject = true }) {
log.silly("npmRunScript", script, args, pkg.name);
return ChildProcessUtilities.exec(npmClient, ["run", script, ...args], getOpts(pkg));
const argv = ["run", script, ...args];
const opts = makeOpts(pkg, reject);
return ChildProcessUtilities.exec(npmClient, argv, opts);
}
function stream(script, { args, npmClient, pkg }) {
function stream(script, { args, npmClient, pkg, reject = true }) {
log.silly("npmRunScript.stream", [script, args, pkg.name]);
return ChildProcessUtilities.spawnStreaming(npmClient, ["run", script, ...args], getOpts(pkg), pkg.name);
const argv = ["run", script, ...args];
const opts = makeOpts(pkg, reject);
return ChildProcessUtilities.spawnStreaming(npmClient, argv, opts, pkg.name);
}
function makeOpts(pkg, reject) {
return Object.assign(getOpts(pkg), {
reject,
});
}

6

package.json
{
"name": "@lerna/npm-run-script",
"version": "3.0.0-beta.0",
"version": "3.0.0-beta.11",
"description": "TODO",

@@ -33,7 +33,7 @@ "keywords": [

"dependencies": {
"@lerna/child-process": "^3.0.0-beta.0",
"@lerna/child-process": "^3.0.0-beta.11",
"@lerna/get-npm-exec-opts": "^3.0.0-beta.0",
"npmlog": "^4.1.2"
},
"gitHead": "349b9c765bcbf38988d1fcd48313422417a04c8f"
"gitHead": "197a09d58322e86f589ef7839c2438f830d72476"
}
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