chore(simulator): apply dependencies update
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 10 Feb 2023 16:43:20 +0000 (17:43 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 10 Feb 2023 16:43:20 +0000 (17:43 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
package-lock.json
package.json
src/charging-station/Bootstrap.ts

index 78f501d7d85e08ae5c56e47a7264a1648c96da05..214d90c0da8f094f2ef8090510f305c143762e41 100644 (file)
@@ -68,7 +68,7 @@
         "prettier": "^2.8.4",
         "release-it": "^15.6.0",
         "robohydra": "^0.6.9",
-        "rollup": "^3.14.0",
+        "rollup": "^3.15.0",
         "rollup-plugin-analyzer": "^4.0.0",
         "rollup-plugin-copy": "^3.4.0",
         "rollup-plugin-delete": "^2.0.0",
       }
     },
     "node_modules/rollup": {
-      "version": "3.14.0",
-      "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.14.0.tgz",
-      "integrity": "sha512-o23sdgCLcLSe3zIplT9nQ1+r97okuaiR+vmAPZPTDYB7/f3tgWIYNyiQveMsZwshBT0is4eGax/HH83Q7CG+/Q==",
+      "version": "3.15.0",
+      "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.15.0.tgz",
+      "integrity": "sha512-F9hrCAhnp5/zx/7HYmftvsNBkMfLfk/dXUh73hPSM2E3CRgap65orDNJbLetoiUFwSAk6iHPLvBrZ5iHYvzqsg==",
       "dev": true,
       "bin": {
         "rollup": "dist/bin/rollup"
       }
     },
     "rollup": {
-      "version": "3.14.0",
-      "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.14.0.tgz",
-      "integrity": "sha512-o23sdgCLcLSe3zIplT9nQ1+r97okuaiR+vmAPZPTDYB7/f3tgWIYNyiQveMsZwshBT0is4eGax/HH83Q7CG+/Q==",
+      "version": "3.15.0",
+      "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.15.0.tgz",
+      "integrity": "sha512-F9hrCAhnp5/zx/7HYmftvsNBkMfLfk/dXUh73hPSM2E3CRgap65orDNJbLetoiUFwSAk6iHPLvBrZ5iHYvzqsg==",
       "dev": true,
       "requires": {
         "fsevents": "~2.3.2"
index 8d00705dc4dd0eca5bde9789b9f93ee0b7be8a41..aa43552350563b38f9e4a95619ce9eb434fdf542 100644 (file)
     "prettier": "^2.8.4",
     "release-it": "^15.6.0",
     "robohydra": "^0.6.9",
-    "rollup": "^3.14.0",
+    "rollup": "^3.15.0",
     "rollup-plugin-analyzer": "^4.0.0",
     "rollup-plugin-copy": "^3.4.0",
     "rollup-plugin-delete": "^2.0.0",
index 55febdbab838a481e9f8e3420c0fcdea24e5e8c8..afa56c37ceca8a799df90e34bf0a5cb8f306e3fc 100644 (file)
@@ -130,11 +130,11 @@ export class Bootstrap {
 
   public async stop(): Promise<void> {
     if (isMainThread && this.started === true) {
-      this.initializedCounters = false;
       await this.workerImplementation?.stop();
       this.workerImplementation = null;
       this.uiServer?.stop();
       await this.storage?.close();
+      this.initializedCounters = false;
       this.started = false;
     } else {
       console.error(chalk.red('Cannot stop a not started charging stations simulator'));