Comparing version 4.35.1 to 4.35.2
@@ -5,3 +5,3 @@ # Scramjet 4.x | ||
## Scramjet 4.35.0: Fix circular depencency issue | ||
## Scramjet 4.35.0: Definition fixes on optional parameters | ||
@@ -8,0 +8,0 @@ * ce9d3ad - Lots of definition fixes on optional parameters |
@@ -149,3 +149,3 @@ const {DataStream} = require("./"); | ||
ended(); | ||
return this.raise(e); | ||
return out.raise(e); | ||
}); | ||
@@ -162,2 +162,8 @@ proc.on("exit", async exitCode => { | ||
this.pipe(proc.stdin); | ||
proc.stdin.on("error", async e => { | ||
if (!(e.code === "EPIPE")) { | ||
await out.raise(e); | ||
} | ||
// ignore EPIPE after end | ||
}); | ||
if (stream & 1) proc.stdout.on("end", () => ended()).pipe(out, {end: false}); | ||
@@ -164,0 +170,0 @@ if (stream & 2) proc.stderr.on("end", () => ended()).pipe(out, {end: false}); |
{ | ||
"name": "scramjet", | ||
"version": "4.35.1", | ||
"version": "4.35.2", | ||
"description": "Lightweight and real-time data functional stream programming framework like event-stream, written in ES6 using async await with multi-threading and typescript support", | ||
@@ -69,10 +69,11 @@ "main": "lib/index.js", | ||
"@otris/jsdoc-tsd": "^2.0.0", | ||
"@types/node": "^14.11.2", | ||
"@types/node": "^14.14.5", | ||
"check-dts": "^0.3.3", | ||
"decache": "^4.6.0", | ||
"dmd": "^5.0.2", | ||
"eslint": "^7.10.0", | ||
"eslint": "^7.12.1", | ||
"eslint-config-scramjet": "^3.0.0", | ||
"fancy-log": "^1.3.3", | ||
"gulp": "^4.0.2", | ||
"gulp-cli": "^2.3.0", | ||
"gulp-jsdoc3": "^3.0.0", | ||
@@ -85,3 +86,3 @@ "gulp-rename": "^2.0.0", | ||
"node-fetch": "^2.6.1", | ||
"nodeunit-tape-compat": "^1.3.59", | ||
"nodeunit-tape-compat": "^1.3.64", | ||
"replace-in-file": "^6.1.0", | ||
@@ -96,4 +97,4 @@ "shelljs": "^0.8.4", | ||
"rereadable-stream": "^1.4.1", | ||
"scramjet-core": "^4.31.0" | ||
"scramjet-core": "^4.31.2" | ||
} | ||
} |
315524
3028
23
Updatedscramjet-core@^4.31.2