@opvious/stl-utils
Advanced tools
@@ -36,4 +36,5 @@ import http from 'http'; | ||
| /** | ||
| * Emit events using process.send. Currently, the following events are | ||
| * supported: | ||
| * Emit events using process.send. If unset, events are set when process.send | ||
| * is defined and NODE_ENV is not test (sending objects otherwise causes | ||
| * errors). Currently, the following events are supported: | ||
| * | ||
@@ -40,0 +41,0 @@ * * bindableBound, when the bindable is successfully bound. |
+1
-1
@@ -68,3 +68,3 @@ import { assert, check, errors } from '@opvious/stl-errors'; | ||
| (opts?.emitProcessEvents ?? (!running.inTest() && process.send)) | ||
| ? check.isPresent(process.send) | ||
| ? check.isPresent(process.send).bind(process) | ||
| : undefined; | ||
@@ -71,0 +71,0 @@ } |
+2
-2
| { | ||
| "name": "@opvious/stl-utils", | ||
| "version": "0.27.2", | ||
| "version": "0.27.3", | ||
| "repository": "github:opvious/stl.ts", | ||
@@ -36,3 +36,3 @@ "description": "Standard utilities", | ||
| "untruncate-json": "^0.0.1", | ||
| "@opvious/stl-errors": "0.27.2" | ||
| "@opvious/stl-errors": "0.27.3" | ||
| }, | ||
@@ -39,0 +39,0 @@ "devDependencies": { |
106734
0.13%2601
0.04%+ Added
- Removed
Updated