tape-six-proc 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -22,6 +22,7 @@ has the same usage as `tape6`.
22
22
 
23
23
  The most recent releases:
24
24
 
25
+ - 1.1.3 _Updated dependencies._
25
26
  - 1.1.2 _Fixed bug with Deno (spawned process can end before processing streams (stdout/stderr))._
26
27
  - 1.1.1 _Updated dependencies._
27
28
  - 1.1.0 _Added support for stdout/stderr and `tape-six` 1.3.4._
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tape-six-proc",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Helper for TAP the test harness for the modern JavaScript (ES6) to run tests in separate processes.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "homepage": "https://github.com/uhop/tape-six-proc#readme",
34
34
  "dependencies": {
35
- "dollar-shell": "^1.1.0",
36
- "tape-six": "^1.4.1"
35
+ "dollar-shell": "^1.1.2",
36
+ "tape-six": "^1.4.2"
37
37
  },
38
38
  "tape6": {
39
39
  "tests": [
package/src/TestWorker.js CHANGED
@@ -55,6 +55,7 @@ export default class TestWorker extends EventServer {
55
55
  self.report(id, msg);
56
56
  } catch (error) {
57
57
  if (!(error instanceof StopTest)) {
58
+ stdoutDeferred.reject(error);
58
59
  throw error;
59
60
  }
60
61
  }
@@ -79,7 +80,7 @@ export default class TestWorker extends EventServer {
79
80
  }
80
81
  })
81
82
  );
82
- Promise.all([worker.exited, stdoutDeferred.promise, stderrDeferred.promise]).finally(() => self.close(id));
83
+ Promise.allSettled([worker.exited, stdoutDeferred.promise, stderrDeferred.promise]).then(() => self.close(id));
83
84
  return id;
84
85
  }
85
86
  destroyTask(id) {
@@ -1,5 +1,6 @@
1
1
  # The current version: 1.x
2
2
 
3
+ - 1.1.3 _Updated dependencies._
3
4
  - 1.1.2 _Fixed bug with Deno (spawned process can end before processing streams (stdout/stderr))._
4
5
  - 1.1.1 _Updated dependencies._
5
6
  - 1.1.0 _Added support for stdout/stderr and `tape-six` 1.3.4._
@@ -11,3 +12,4 @@
11
12
 
12
13
  - 0.12.1 _Updated dependencies, which included fixes for Deno._
13
14
  - 0.12.0 _Initial release._
15
+ - 1.1.3 _Updated dependencies._