build(deps): apply updates
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 22 Dec 2023 12:27:15 +0000 (13:27 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 22 Dec 2023 12:27:15 +0000 (13:27 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
package.json
pnpm-lock.yaml
src/worker/WorkerTypes.ts

index afc28c8f8db5bfeff49c6216d1e0614f56ccde8f..c21b83dc9e7c154723c5c8c19ce72fad934e3242 100644 (file)
     "logform": "^2.6.0",
     "mnemonist": "^0.39.6",
     "mongodb": "^6.3.0",
-    "poolifier": "^3.1.8",
+    "poolifier": "^3.1.9",
     "tar": "^6.2.0",
     "tslib": "^2.6.2",
     "winston": "^3.11.0",
index 99d39de3ffe8d8c62166cf4fd773f035318dff48..e0c9b21b9512416a7346fb82553b822b669ba4dc 100644 (file)
@@ -57,8 +57,8 @@ dependencies:
     specifier: ^6.3.0
     version: 6.3.0
   poolifier:
-    specifier: ^3.1.8
-    version: 3.1.8
+    specifier: ^3.1.9
+    version: 3.1.9
   tar:
     specifier: ^6.2.0
     version: 6.2.0
@@ -7569,8 +7569,8 @@ packages:
     dependencies:
       semver-compare: 1.0.0
 
-  /poolifier@3.1.8:
-    resolution: {integrity: sha512-wcB40at4TWB1srBDiC1mnhk6I8/K89baDursWNfp7YYkT3yF/h8QKXnqwjzrjZa6wqtPaTLyvmO/moOdI0NpGQ==}
+  /poolifier@3.1.9:
+    resolution: {integrity: sha512-J58FL2QlPZkVbKb1C/RkMlKJytQh88BOhQKV0DS6zmkrTW4WNux8320EnKOh0j2BCZJnD3y4waQcgZgEo8/Ckw==}
     engines: {node: '>=18.0.0', pnpm: '>=8.6.0'}
     requiresBuild: true
     dev: false
index 8bd3cb86962745939f9b7246be264ff4aed4c287..cfbe2dacb3b71cb9d6b755eb829468363454da62 100644 (file)
@@ -1,6 +1,6 @@
 import type { Worker } from 'node:worker_threads';
 
-import { type PoolEvent, PoolEvents, type PoolOptions } from 'poolifier';
+import { type PoolEvent, PoolEvents, type ThreadPoolOptions } from 'poolifier';
 
 export enum WorkerProcessType {
   workerSet = 'workerSet',
@@ -38,7 +38,7 @@ export interface WorkerOptions {
   poolMaxSize: number;
   poolMinSize: number;
   elementsPerWorker?: number;
-  poolOptions?: PoolOptions<Worker>;
+  poolOptions?: ThreadPoolOptions;
 }
 
 export type WorkerData = Record<string, unknown>;