From: Jérôme Benoit Date: Fri, 22 Dec 2023 12:27:15 +0000 (+0100) Subject: build(deps): apply updates X-Git-Tag: v1.2.30~3 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=18413380d2ff3f02d7f53e3d5f1cebe54621c6db;p=e-mobility-charging-stations-simulator.git build(deps): apply updates Signed-off-by: Jérôme Benoit --- diff --git a/package.json b/package.json index afc28c8f..c21b83dc 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "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", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 99d39de3..e0c9b21b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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 diff --git a/src/worker/WorkerTypes.ts b/src/worker/WorkerTypes.ts index 8bd3cb86..cfbe2dac 100644 --- a/src/worker/WorkerTypes.ts +++ b/src/worker/WorkerTypes.ts @@ -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; + poolOptions?: ThreadPoolOptions; } export type WorkerData = Record;