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.5 to 3.4.0

4

build/cmd-process.js

@@ -58,3 +58,3 @@ "use strict";

if (code > 0) {
const msg = '`' + this.cmd + '` failed with exit code ' + code;
const msg = '`' + this.cmdString + '` failed with exit code ' + code;
if (!this.opts.silent)

@@ -67,2 +67,4 @@ console.error(msg);

});
// ignore if unhandled
this._finished.promise.catch(() => { });
}

@@ -69,0 +71,0 @@ stop() {

@@ -228,6 +228,11 @@ "use strict";

this.runList = new Set(pkgs);
return Bromise.all(pkgs.map(pkg => this.lookupOrRun(cmd, pkg)))
return (Bromise.all(pkgs.map(pkg => this.lookupOrRun(cmd, pkg)))
// Wait for any of them to error
.then(() => Bromise.all(this.children.map(c => c.exitError)))
.catch(err => this.opts.fastExit && this.closeAll())
.then(() => this.checkResultsAndReport(cmd, pkgs));
// If any of them do, and fastExit is enabled, stop every other
.catch(_err => this.opts.fastExit && this.closeAll())
// Wait for the exit codes of all processes
.then(() => Bromise.all(this.children.map(c => c.exitCode)))
// Generate report
.then(() => this.checkResultsAndReport(cmd, pkgs)));
}

@@ -234,0 +239,0 @@ }

{
"name": "wsrun",
"version": "3.3.5",
"version": "3.4.0",
"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

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