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 5.6.5 to 5.6.6

4

CHANGELOG.md

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

## v5.6.6
- 📦 Updated deps
## v5.6.5

@@ -22,0 +26,0 @@

13

dist/BatchCluster.js

@@ -304,3 +304,4 @@ "use strict";

return __awaiter(this, void 0, void 0, function () {
var e_1, _a, arr, _b, _c, pid, e_1_1;
var arr, _a, _b, pid, e_1_1;
var e_1, _c;
return __generator(this, function (_d) {

@@ -313,7 +314,7 @@ switch (_d.label) {

_d.trys.push([1, 6, 7, 8]);
_b = __values(this._procs.map(function (p) { return p.pid; })), _c = _b.next();
_a = __values(this._procs.map(function (p) { return p.pid; })), _b = _a.next();
_d.label = 2;
case 2:
if (!!_c.done) return [3 /*break*/, 5];
pid = _c.value;
if (!!_b.done) return [3 /*break*/, 5];
pid = _b.value;
return [4 /*yield*/, Pids_1.pidExists(pid)];

@@ -325,3 +326,3 @@ case 3:

case 4:
_c = _b.next();
_b = _a.next();
return [3 /*break*/, 2];

@@ -335,3 +336,3 @@ case 5: return [3 /*break*/, 8];

try {
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
if (_b && !_b.done && (_c = _a.return)) _c.call(_a);
}

@@ -338,0 +339,0 @@ finally { if (e_1) throw e_1.error; }

@@ -374,2 +374,5 @@ "use strict";

BatchProcess.prototype.onError = function (source, _error, task) {
if ((String_1.toS(_error) + String_1.toS(_error.message)).includes("Cannot call write after a stream was destroyed")) {
return;
}
if (task == null) {

@@ -376,0 +379,0 @@ task = this.currentTask;

{
"name": "batch-cluster",
"version": "5.6.5",
"version": "5.6.6",
"description": "Manage a cluster of child processes",

@@ -39,4 +39,4 @@ "main": "dist/BatchCluster.js",

"@types/chai-string": "^1.4.1",
"@types/mocha": "^5.2.6",
"@types/node": "^12.0.2",
"@types/mocha": "^5.2.7",
"@types/node": "^12.0.10",
"chai": "^4.2.0",

@@ -47,14 +47,14 @@ "chai-as-promised": "^7.1.1",

"mocha": "^6.1.4",
"prettier": "^1.17.1",
"prettier": "^1.18.2",
"rimraf": "^2.6.3",
"seedrandom": "^3.0.1",
"serve": "^11.0.0",
"serve": "^11.0.2",
"source-map-support": "^0.5.12",
"split2": "^3.1.1",
"timekeeper": "^2.2.0",
"tslint": "^5.16.0",
"tslint": "^5.18.0",
"typedoc": "^0.14.2",
"typescript": "^3.4.5",
"typescript": "^3.5.2",
"wtfnode": "^0.8.0"
}
}
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