From: Jérôme Benoit Date: Wed, 12 Jul 2023 11:28:33 +0000 (+0200) Subject: build(deps): apply updates X-Git-Tag: v1.2.18~48 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=fac8866f9d09e5621d41337fb5f53adba1cfc0e7;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 fb5bc2fb..ac4035bd 100644 --- a/package.json +++ b/package.json @@ -103,7 +103,7 @@ "mnemonist": "^0.39.5", "moment": "^2.29.4", "mongodb": "^5.7.0", - "poolifier": "^2.6.15", + "poolifier": "^2.6.16", "source-map-support": "^0.5.21", "tar": "^6.1.15", "tslib": "^2.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1a5d4f90..9a39c1d3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -58,8 +58,8 @@ dependencies: specifier: ^5.7.0 version: 5.7.0 poolifier: - specifier: ^2.6.15 - version: 2.6.15 + specifier: ^2.6.16 + version: 2.6.16 source-map-support: specifier: ^0.5.21 version: 0.5.21 @@ -7644,8 +7644,8 @@ packages: dependencies: semver-compare: 1.0.0 - /poolifier@2.6.15: - resolution: {integrity: sha512-SwkU2Z/R+rFH5zqWr0zhndGTZNgHkwWK90jfl1h5mTxuKowcW5aWMtlC103IVWk7sgtcFvOQSqrlV3iDkrbkvA==} + /poolifier@2.6.16: + resolution: {integrity: sha512-SdUn/z7k4F2oVK1KNudrdZa/MuIXK5HBGsogBTB+1ekFCwSX+3KDaLMlhcvc08DKY9CWtmRZWpuM6MhlvY4Kxw==} engines: {node: '>=16.14.0', pnpm: '>=8.6.0'} requiresBuild: true dev: false diff --git a/src/worker/WorkerSet.ts b/src/worker/WorkerSet.ts index dd7cf2d7..d066ce9e 100644 --- a/src/worker/WorkerSet.ts +++ b/src/worker/WorkerSet.ts @@ -117,9 +117,7 @@ export class WorkerSet extends WorkerAbstract { this.workerOptions?.poolOptions?.errorHandler ?? WorkerConstants.EMPTY_FUNCTION, ); worker.on('error', (error) => { - if (this.emitter !== undefined) { - this.emitter.emit(WorkerSetEvents.error, error); - } + this.emitter?.emit(WorkerSetEvents.error, error); if (this.workerOptions?.poolOptions?.restartWorkerOnError) { this.addWorkerSetElement(); } diff --git a/ui/web/pnpm-lock.yaml b/ui/web/pnpm-lock.yaml index ef4cd437..b92a1a67 100644 --- a/ui/web/pnpm-lock.yaml +++ b/ui/web/pnpm-lock.yaml @@ -1366,7 +1366,7 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001515 - electron-to-chromium: 1.4.456 + electron-to-chromium: 1.4.457 node-releases: 2.0.13 update-browserslist-db: 1.0.11(browserslist@4.21.9) dev: true @@ -1700,8 +1700,8 @@ packages: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: false - /electron-to-chromium@1.4.456: - resolution: {integrity: sha512-d+eSL4mT9m72cnDT/kfQj6Pv6Cid4pUVlLOl8esm2SZuXBgtXtUyvCfc9F++GHLWLoY4gMNqg+0IVAoQ3sosKA==} + /electron-to-chromium@1.4.457: + resolution: {integrity: sha512-/g3UyNDmDd6ebeWapmAoiyy+Sy2HyJ+/X8KyvNeHfKRFfHaA2W8oF5fxD5F3tjBDcjpwo0iek6YNgxNXDBoEtA==} dev: true /emoji-regex@8.0.0: