@travetto/runtime 5.0.1 → 5.0.2

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
@@ -319,7 +319,7 @@ export class TimeUtil {
319
319
  ```
320
320
 
321
321
  ## Process Execution
322
- [ExecUtil](https://github.com/travetto/travetto/tree/main/module/runtime/src/exec.ts#L42) exposes `getResult` as a means to wrap [child_process](https://nodejs.org/api/child_process.html)'s process object. This wrapper allows for a promise-based resolution of the subprocess with the ability to capture the stderr/stdout.
322
+ [ExecUtil](https://github.com/travetto/travetto/tree/main/module/runtime/src/exec.ts#L43) exposes `getResult` as a means to wrap [child_process](https://nodejs.org/api/child_process.html)'s process object. This wrapper allows for a promise-based resolution of the subprocess with the ability to capture the stderr/stdout.
323
323
 
324
324
  A simple example would be:
325
325
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/runtime",
3
- "version": "5.0.1",
3
+ "version": "5.0.2",
4
4
  "description": "Runtime for travetto applications.",
5
5
  "keywords": [
6
6
  "console-manager",
@@ -34,7 +34,7 @@
34
34
  "debug": "^4.3.6"
35
35
  },
36
36
  "peerDependencies": {
37
- "@travetto/transformer": "^5.0.1"
37
+ "@travetto/transformer": "^5.0.2"
38
38
  },
39
39
  "peerDependenciesMeta": {
40
40
  "@travetto/transformer": {
package/src/exec.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { ChildProcess } from 'node:child_process';
2
2
  import { Readable } from 'node:stream';
3
3
  import { createInterface } from 'node:readline/promises';
4
+
4
5
  import { castTo } from './types';
5
6
 
6
7
  const MINUTE = (1000 * 60);