@travetto/worker 5.0.0-rc.0 → 5.0.0-rc.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/worker",
3
- "version": "5.0.0-rc.0",
3
+ "version": "5.0.0-rc.2",
4
4
  "description": "Process management utilities, with a focus on inter-process communication",
5
5
  "keywords": [
6
6
  "exec",
@@ -25,7 +25,7 @@
25
25
  "directory": "module/worker"
26
26
  },
27
27
  "dependencies": {
28
- "@travetto/base": "^5.0.0-rc.0",
28
+ "@travetto/runtime": "^5.0.0-rc.2",
29
29
  "generic-pool": "^3.9.0"
30
30
  },
31
31
  "travetto": {
@@ -1,6 +1,6 @@
1
1
  import { ChildProcess } from 'node:child_process';
2
2
 
3
- import { ShutdownManager } from '@travetto/base';
3
+ import { ShutdownManager } from '@travetto/runtime';
4
4
 
5
5
  import { ProcessCommChannel } from './channel';
6
6
 
package/src/pool.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import os from 'node:os';
2
2
  import { Options, Pool, createPool } from 'generic-pool';
3
3
 
4
- import { Env, Util } from '@travetto/base';
4
+ import { Env, Util } from '@travetto/runtime';
5
5
 
6
6
  import { WorkQueue } from './queue';
7
7
 
package/src/queue.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Util } from '@travetto/base';
1
+ import { Util } from '@travetto/runtime';
2
2
 
3
3
  /**
4
4
  * WorkQueue, a manual async iterator. Items are added manually, and consumed asynchronously
@@ -1,4 +1,4 @@
1
- import { TimeSpan, Util } from '@travetto/base';
1
+ import { TimeSpan, Util } from '@travetto/runtime';
2
2
 
3
3
  import { Timeout } from './timeout';
4
4
 
@@ -1,4 +1,4 @@
1
- import { AppError } from '@travetto/base';
1
+ import { AppError } from '@travetto/runtime';
2
2
 
3
3
  /**
4
4
  * Represents an execution error
@@ -1,5 +1,5 @@
1
1
  import timers from 'node:timers/promises';
2
- import { TimeSpan, TimeUtil, Util } from '@travetto/base';
2
+ import { TimeSpan, TimeUtil, Util } from '@travetto/runtime';
3
3
  import { ExecutionError } from './error';
4
4
 
5
5
  /**