build(deps): apply updates
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 12 Jul 2023 11:28:33 +0000 (13:28 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 12 Jul 2023 11:28:33 +0000 (13:28 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
package.json
pnpm-lock.yaml
src/worker/WorkerSet.ts
ui/web/pnpm-lock.yaml

index fb5bc2fbcdc2a11ea69d23d65e93943828fbc479..ac4035bdf016ffc1cb6af9a6591462b42d2044a0 100644 (file)
     "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",
index 1a5d4f9040ec3939600d215472fb8efdf6bee441..9a39c1d3a273ee526e8a544b686b5bb922dec499 100644 (file)
@@ -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
index dd7cf2d7685ac3012143e856873408307d85a8fa..d066ce9e7ffb818d6e4190c4ce158a51fdaa9da5 100644 (file)
@@ -117,9 +117,7 @@ export class WorkerSet extends WorkerAbstract<WorkerData> {
       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();
       }
index ef4cd437b47da206f1613842480a2694801d8c45..b92a1a67efd9d77d5122eb674c785ffe8f12fde0 100644 (file)
@@ -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: