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

batch-cluster

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

batch-cluster - npm Package Compare versions

Comparing version 10.0.1 to 10.1.0

4

CHANGELOG.md

@@ -21,2 +21,6 @@ # Changelog

## v10.1.0
- 📦 `.end()` and `.closeChildProcesses()` closes all child processes in parallel
## v10.0.1

@@ -23,0 +27,0 @@

13

dist/BatchCluster.js

@@ -292,10 +292,7 @@ "use strict";

__classPrivateFieldGet(this, _BatchCluster_procs, "f").length = 0;
for (const proc of procs) {
try {
await proc.end(gracefully, "ending");
}
catch {
// ignore: make sure all procs are ended
}
}
await Promise.all(procs.map((proc) => {
var _a;
return (_a = proc
.end(gracefully, "ending")) === null || _a === void 0 ? void 0 : _a.catch((err) => this.emitter.emit("endError", (0, Error_1.asError)(err)));
}));
}

@@ -302,0 +299,0 @@ /**

{
"name": "batch-cluster",
"version": "10.0.1",
"version": "10.1.0",
"description": "Manage a cluster of child processes",

@@ -40,5 +40,5 @@ "main": "dist/BatchCluster.js",

"@types/mocha": "^9.1.0",
"@types/node": "^17.0.17",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"@types/node": "^17.0.19",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"chai": "^4.3.6",

@@ -50,3 +50,3 @@ "chai-as-promised": "^7.1.1",

"eslint-plugin-import": "^2.25.4",
"mocha": "^9.2.0",
"mocha": "^9.2.1",
"prettier": "^2.5.1",

@@ -59,5 +59,5 @@ "rimraf": "^3.0.2",

"timekeeper": "^2.2.0",
"typedoc": "^0.22.11",
"typedoc": "^0.22.12",
"typescript": "^4.5.5"
}
}

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