Socket
Socket
Sign inDemoInstall

wsrun

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wsrun - npm Package Compare versions

Comparing version 3.3.3 to 3.3.5

26

build/run-graph.js

@@ -145,6 +145,9 @@ "use strict";

}
let finished = ifCondtition.then(shouldExecute => {
let child = ifCondtition.then(shouldExecute => {
if (!shouldExecute) {
this.resultMap.set(pkg, ResultSpecialValues.Excluded);
return Bromise.resolve(ProcResolution.Excluded);
return Bromise.resolve({
status: ProcResolution.Excluded,
process: null
});
}

@@ -161,10 +164,17 @@ let cmdLine = this.makeCmd(cmdArray);

this.children.push(child);
return this.throat(() => {
child.start();
return child.finished.thenReturn(ProcResolution.Normal);
return Promise.resolve({ status: ProcResolution.Normal, process: child });
});
return child.then(ch => {
let processRun = this.throat(() => {
if (ch.process) {
ch.process.start();
return ch.process.finished;
}
return Bromise.resolve();
});
if (this.opts.mode === 'parallel' || !ch.process)
return ch.status;
else
return processRun.thenReturn(ProcResolution.Normal);
});
if (this.opts.mode === 'parallel')
finished = Bromise.resolve(ProcResolution.Normal);
return finished;
});

@@ -171,0 +181,0 @@ }

{
"name": "wsrun",
"version": "3.3.3",
"version": "3.3.5",
"description": "executes commands on packages in parallel, but is aware of the dependencies between them",

@@ -5,0 +5,0 @@ "main": "./build/index.js",

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