From fa394dc9dd5f30d5121c2ce6ed11ba5d7c30bcd3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 26 May 2024 00:48:09 +0200 Subject: [PATCH 01/16] build(deps-dev): apply updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- package.json | 2 +- pnpm-lock.yaml | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index f624fb8a..04ca52eb 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,7 @@ "@mikro-orm/mariadb": "^6.2.8", "@mikro-orm/reflection": "^6.2.8", "@mikro-orm/sqlite": "^6.2.8", - "ajv": "^8.13.0", + "ajv": "^8.14.0", "ajv-formats": "^3.0.1", "basic-ftp": "^5.0.5", "chalk": "^5.3.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0489230e..cff752b9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -30,11 +30,11 @@ importers: specifier: ^6.2.8 version: 6.2.8(@mikro-orm/core@6.2.8) ajv: - specifier: ^8.13.0 - version: 8.13.0 + specifier: ^8.14.0 + version: 8.14.0 ajv-formats: specifier: ^3.0.1 - version: 3.0.1(ajv@8.13.0) + version: 3.0.1(ajv@8.14.0) basic-ftp: specifier: ^5.0.5 version: 5.0.5 @@ -1527,8 +1527,8 @@ packages: ajv@6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} - ajv@8.13.0: - resolution: {integrity: sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==} + ajv@8.14.0: + resolution: {integrity: sha512-oYs1UUtO97ZO2lJ4bwnWeQW8/zvOIQLGKcvPTsWmvc2SYgBb+upuNS5NxoLaMU4h8Ju3Nbj6Cq8mD2LQoqVKFA==} ansi-align@3.0.1: resolution: {integrity: sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==} @@ -6289,7 +6289,7 @@ snapshots: 0x@5.7.0: dependencies: - ajv: 8.13.0 + ajv: 8.14.0 browserify: 17.0.0 concat-stream: 2.0.0 d3-fg: 6.14.0 @@ -6655,7 +6655,7 @@ snapshots: '@commitlint/config-validator@19.0.3': dependencies: '@commitlint/types': 19.0.3 - ajv: 8.13.0 + ajv: 8.14.0 '@commitlint/ensure@19.0.3': dependencies: @@ -7712,13 +7712,13 @@ snapshots: clean-stack: 2.2.0 indent-string: 4.0.0 - ajv-formats@2.1.1(ajv@8.13.0): + ajv-formats@2.1.1(ajv@8.14.0): optionalDependencies: - ajv: 8.13.0 + ajv: 8.14.0 - ajv-formats@3.0.1(ajv@8.13.0): + ajv-formats@3.0.1(ajv@8.14.0): optionalDependencies: - ajv: 8.13.0 + ajv: 8.14.0 ajv@6.12.6: dependencies: @@ -7727,7 +7727,7 @@ snapshots: json-schema-traverse: 0.4.1 uri-js: 4.4.1 - ajv@8.13.0: + ajv@8.14.0: dependencies: fast-deep-equal: 3.1.3 json-schema-traverse: 1.0.0 @@ -8474,8 +8474,8 @@ snapshots: conf@10.2.0: dependencies: - ajv: 8.13.0 - ajv-formats: 2.1.1(ajv@8.13.0) + ajv: 8.14.0 + ajv-formats: 2.1.1(ajv@8.14.0) atomically: 1.7.0 debounce-fn: 4.0.0 dot-prop: 6.0.1 -- 2.34.1 From 29fe6fd834029f21b22a23a3342f86b43c277c56 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 27 May 2024 13:47:12 +0200 Subject: [PATCH 02/16] build(deps): apply updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- package.json | 4 ++-- pnpm-lock.yaml | 37 +++++++++++++++++++++---------------- ui/web/package.json | 6 +++--- 3 files changed, 26 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index 04ca52eb..3f003669 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,9 @@ }, "volta": { "node": "22.2.0", - "pnpm": "9.1.2" + "pnpm": "9.1.3" }, - "packageManager": "pnpm@9.1.2", + "packageManager": "pnpm@9.1.3", "repository": { "type": "git", "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cff752b9..478043d7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -238,7 +238,7 @@ importers: version: 3.1.0(vite@5.2.11(@types/node@20.12.12))(vue@3.4.27(typescript@5.4.5)) '@vitest/coverage-v8': specifier: ^1.6.0 - version: 1.6.0(vitest@1.6.0(@types/node@20.12.12)(jsdom@24.0.0(bufferutil@4.0.8)(utf-8-validate@6.0.4))) + version: 1.6.0(vitest@1.6.0(@types/node@20.12.12)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4))) '@vue/eslint-config-prettier': specifier: ^9.0.0 version: 9.0.0(@types/eslint@8.56.10)(eslint@8.57.0)(prettier@3.2.5) @@ -273,8 +273,8 @@ importers: specifier: ^9.26.0 version: 9.26.0(eslint@8.57.0) jsdom: - specifier: ^24.0.0 - version: 24.0.0(bufferutil@4.0.8)(utf-8-validate@6.0.4) + specifier: ^24.1.0 + version: 24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4) prettier: specifier: ^3.2.5 version: 3.2.5 @@ -289,7 +289,7 @@ importers: version: 5.2.11(@types/node@20.12.12) vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@20.12.12)(jsdom@24.0.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) + version: 1.6.0(@types/node@20.12.12)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) packages: @@ -1893,8 +1893,8 @@ packages: resolution: {integrity: sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==} engines: {node: '>=14.16'} - caniuse-lite@1.0.30001621: - resolution: {integrity: sha512-+NLXZiviFFKX0fk8Piwv3PfLPGtRqJeq2TiNoUff/qB5KJgwecJTvCXDpmlyP/eCI/GUEmp/h/y5j0yckiiZrA==} + caniuse-lite@1.0.30001623: + resolution: {integrity: sha512-X/XhAVKlpIxWPpgRTnlgZssJrF0m6YtRA0QDWgsBNT12uZM6LPRydR7ip405Y3t1LamD8cP2TZFEDZFBf5ApcA==} caseless@0.12.0: resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==} @@ -3870,8 +3870,8 @@ packages: resolution: {integrity: sha512-YtOli5Cmzy3q4dP26GraSOeAhqecewG04hoO8DY56CH4KJ9Fvv5qKWUCCo3HZob7esJQHCv6/+bnTy72xZZaVQ==} engines: {node: '>=12.0.0'} - jsdom@24.0.0: - resolution: {integrity: sha512-UDS2NayCvmXSXVP6mpTj+73JnNQadZlr9N68189xib2tx5Mls7swlTNao26IoHv46BZJFvXygyRtyXd1feAk1A==} + jsdom@24.1.0: + resolution: {integrity: sha512-6gpM7pRXCwIOKxX47cgOyvyQDN/Eh0f1MeKySBV2xGdKtqJBLj8P25eY3EVCWo2mglDDzozR2r2MW4T+JiNUZA==} engines: {node: '>=18'} peerDependencies: canvas: ^2.11.2 @@ -5193,6 +5193,9 @@ packages: rrweb-cssom@0.6.0: resolution: {integrity: sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==} + rrweb-cssom@0.7.0: + resolution: {integrity: sha512-KlSv0pm9kgQSRxXEMgtivPJ4h826YHsuob8pSHcfSZsSXGtvpEAie8S0AnXuObEJ7nhikOb4ahwxDm0H2yW17g==} + run-applescript@7.0.0: resolution: {integrity: sha512-9by4Ij99JUr/MCFBUkDKLWK3G9HVXmabKz9U5MlIAIuvuzkiOicRYs8XJLxX+xahD+mLiiCYDqF9dKAgtzKP1A==} engines: {node: '>=18'} @@ -7495,7 +7498,7 @@ snapshots: vite: 5.2.11(@types/node@20.12.12) vue: 3.4.27(typescript@5.4.5) - '@vitest/coverage-v8@1.6.0(vitest@1.6.0(@types/node@20.12.12)(jsdom@24.0.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)))': + '@vitest/coverage-v8@1.6.0(vitest@1.6.0(@types/node@20.12.12)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -7510,7 +7513,7 @@ snapshots: std-env: 3.7.0 strip-literal: 2.1.0 test-exclude: 6.0.0 - vitest: 1.6.0(@types/node@20.12.12)(jsdom@24.0.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) + vitest: 1.6.0(@types/node@20.12.12)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) transitivePeerDependencies: - supports-color @@ -8130,7 +8133,7 @@ snapshots: browserslist@4.23.0: dependencies: - caniuse-lite: 1.0.30001621 + caniuse-lite: 1.0.30001623 electron-to-chromium: 1.4.783 node-releases: 2.0.14 update-browserslist-db: 1.0.16(browserslist@4.23.0) @@ -8239,7 +8242,7 @@ snapshots: camelcase@7.0.1: {} - caniuse-lite@1.0.30001621: {} + caniuse-lite@1.0.30001623: {} caseless@0.12.0: {} @@ -10516,7 +10519,7 @@ snapshots: jsdoc-type-pratt-parser@4.0.0: {} - jsdom@24.0.0(bufferutil@4.0.8)(utf-8-validate@6.0.4): + jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4): dependencies: cssstyle: 4.0.1 data-urls: 5.0.0 @@ -10528,7 +10531,7 @@ snapshots: is-potential-custom-element-name: 1.0.1 nwsapi: 2.2.10 parse5: 7.1.2 - rrweb-cssom: 0.6.0 + rrweb-cssom: 0.7.0 saxes: 6.0.0 symbol-tree: 3.2.4 tough-cookie: 4.1.4 @@ -11970,6 +11973,8 @@ snapshots: rrweb-cssom@0.6.0: {} + rrweb-cssom@0.7.0: {} + run-applescript@7.0.0: {} run-async@2.4.1: {} @@ -12903,7 +12908,7 @@ snapshots: '@types/node': 20.12.12 fsevents: 2.3.3 - vitest@1.6.0(@types/node@20.12.12)(jsdom@24.0.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)): + vitest@1.6.0(@types/node@20.12.12)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)): dependencies: '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 @@ -12927,7 +12932,7 @@ snapshots: why-is-node-running: 2.2.2 optionalDependencies: '@types/node': 20.12.12 - jsdom: 24.0.0(bufferutil@4.0.8)(utf-8-validate@6.0.4) + jsdom: 24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4) transitivePeerDependencies: - less - lightningcss diff --git a/ui/web/package.json b/ui/web/package.json index ecc85241..92fd4f52 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -9,9 +9,9 @@ }, "volta": { "node": "22.2.0", - "pnpm": "9.1.2" + "pnpm": "9.1.3" }, - "packageManager": "pnpm@9.1.2", + "packageManager": "pnpm@9.1.3", "type": "module", "scripts": { "build": "vite build", @@ -54,7 +54,7 @@ "eslint-plugin-import": "^2.29.1", "eslint-plugin-simple-import-sort": "^12.1.0", "eslint-plugin-vue": "^9.26.0", - "jsdom": "^24.0.0", + "jsdom": "^24.1.0", "prettier": "^3.2.5", "rimraf": "^5.0.7", "typescript": "~5.4.5", -- 2.34.1 From 8788b81a3dd4add12ca01b1fe989b5c7c8927d54 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 28 May 2024 15:17:27 +0200 Subject: [PATCH 03/16] build(deps-dev): apply updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- package.json | 4 +- pnpm-lock.yaml | 158 ++++++++++++++++++++++---------------------- ui/web/package.json | 4 +- 3 files changed, 83 insertions(+), 83 deletions(-) diff --git a/package.json b/package.json index 3f003669..6a9b97c6 100644 --- a/package.json +++ b/package.json @@ -124,8 +124,8 @@ "@types/node": "^20.12.12", "@types/semver": "^7.5.8", "@types/ws": "^8.5.10", - "@typescript-eslint/eslint-plugin": "^7.10.0", - "@typescript-eslint/parser": "^7.10.0", + "@typescript-eslint/eslint-plugin": "^7.11.0", + "@typescript-eslint/parser": "^7.11.0", "auto-changelog": "^2.4.0", "c8": "^9.1.0", "clinic": "^13.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 478043d7..8a3e6d03 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -104,11 +104,11 @@ importers: specifier: ^8.5.10 version: 8.5.10 '@typescript-eslint/eslint-plugin': - specifier: ^7.10.0 - version: 7.10.0(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) + specifier: ^7.11.0 + version: 7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) '@typescript-eslint/parser': - specifier: ^7.10.0 - version: 7.10.0(eslint@8.57.0)(typescript@5.4.5) + specifier: ^7.11.0 + version: 7.11.0(eslint@8.57.0)(typescript@5.4.5) auto-changelog: specifier: ^2.4.0 version: 2.4.0(encoding@0.1.13) @@ -135,19 +135,19 @@ importers: version: 8.57.0 eslint-config-love: specifier: ^47.0.0 - version: 47.0.0(@typescript-eslint/eslint-plugin@7.10.0(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0))(eslint-plugin-n@17.7.0(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0)(typescript@5.4.5) + version: 47.0.0(@typescript-eslint/eslint-plugin@7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0))(eslint-plugin-n@17.7.0(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0)(typescript@5.4.5) eslint-config-standard: specifier: ^17.1.0 - version: 17.1.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0))(eslint-plugin-n@17.7.0(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0) + version: 17.1.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0))(eslint-plugin-n@17.7.0(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0) eslint-define-config: specifier: ^2.1.0 version: 2.1.0 eslint-import-resolver-typescript: specifier: ^3.6.1 - version: 3.6.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1)(eslint@8.57.0) + version: 3.6.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1)(eslint@8.57.0) eslint-plugin-import: specifier: ^2.29.1 - version: 2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + version: 2.29.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-jsdoc: specifier: ^48.2.6 version: 48.2.6(eslint@8.57.0) @@ -225,11 +225,11 @@ importers: specifier: ^20.12.12 version: 20.12.12 '@typescript-eslint/eslint-plugin': - specifier: ^7.10.0 - version: 7.10.0(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) + specifier: ^7.11.0 + version: 7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) '@typescript-eslint/parser': - specifier: ^7.10.0 - version: 7.10.0(eslint@8.57.0)(typescript@5.4.5) + specifier: ^7.11.0 + version: 7.11.0(eslint@8.57.0)(typescript@5.4.5) '@vitejs/plugin-vue': specifier: ^5.0.4 version: 5.0.4(vite@5.2.11(@types/node@20.12.12))(vue@3.4.27(typescript@5.4.5)) @@ -262,10 +262,10 @@ importers: version: 2.1.0 eslint-import-resolver-typescript: specifier: ^3.6.1 - version: 3.6.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1)(eslint@8.57.0) + version: 3.6.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1)(eslint@8.57.0) eslint-plugin-import: specifier: ^2.29.1 - version: 2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + version: 2.29.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-simple-import-sort: specifier: ^12.1.0 version: 12.1.0(eslint@8.57.0) @@ -1282,8 +1282,8 @@ packages: '@types/yargs@17.0.32': resolution: {integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==} - '@typescript-eslint/eslint-plugin@7.10.0': - resolution: {integrity: sha512-PzCr+a/KAef5ZawX7nbyNwBDtM1HdLIT53aSA2DDlxmxMngZ43O8SIePOeX8H5S+FHXeI6t97mTt/dDdzY4Fyw==} + '@typescript-eslint/eslint-plugin@7.11.0': + resolution: {integrity: sha512-P+qEahbgeHW4JQ/87FuItjBj8O3MYv5gELDzr8QaQ7fsll1gSMTYb6j87MYyxwf3DtD7uGFB9ShwgmCJB5KmaQ==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: '@typescript-eslint/parser': ^7.0.0 @@ -1293,8 +1293,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@7.10.0': - resolution: {integrity: sha512-2EjZMA0LUW5V5tGQiaa2Gys+nKdfrn2xiTIBLR4fxmPmVSvgPcKNW+AE/ln9k0A4zDUti0J/GZXMDupQoI+e1w==} + '@typescript-eslint/parser@7.11.0': + resolution: {integrity: sha512-yimw99teuaXVWsBcPO1Ais02kwJ1jmNA1KxE7ng0aT7ndr1pT1wqj0OJnsYVGKKlc4QJai86l/025L6z8CljOg==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -1303,12 +1303,12 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@7.10.0': - resolution: {integrity: sha512-7L01/K8W/VGl7noe2mgH0K7BE29Sq6KAbVmxurj8GGaPDZXPr8EEQ2seOeAS+mEV9DnzxBQB6ax6qQQ5C6P4xg==} + '@typescript-eslint/scope-manager@7.11.0': + resolution: {integrity: sha512-27tGdVEiutD4POirLZX4YzT180vevUURJl4wJGmm6TrQoiYwuxTIY98PBp6L2oN+JQxzE0URvYlzJaBHIekXAw==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/type-utils@7.10.0': - resolution: {integrity: sha512-D7tS4WDkJWrVkuzgm90qYw9RdgBcrWmbbRkrLA4d7Pg3w0ttVGDsvYGV19SH8gPR5L7OtcN5J1hTtyenO9xE9g==} + '@typescript-eslint/type-utils@7.11.0': + resolution: {integrity: sha512-WmppUEgYy+y1NTseNMJ6mCFxt03/7jTOy08bcg7bxJJdsM4nuhnchyBbE8vryveaJUf62noH7LodPSo5Z0WUCg==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -1317,12 +1317,12 @@ packages: typescript: optional: true - '@typescript-eslint/types@7.10.0': - resolution: {integrity: sha512-7fNj+Ya35aNyhuqrA1E/VayQX9Elwr8NKZ4WueClR3KwJ7Xx9jcCdOrLW04h51de/+gNbyFMs+IDxh5xIwfbNg==} + '@typescript-eslint/types@7.11.0': + resolution: {integrity: sha512-MPEsDRZTyCiXkD4vd3zywDCifi7tatc4K37KqTprCvaXptP7Xlpdw0NR2hRJTetG5TxbWDB79Ys4kLmHliEo/w==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/typescript-estree@7.10.0': - resolution: {integrity: sha512-LXFnQJjL9XIcxeVfqmNj60YhatpRLt6UhdlFwAkjNc6jSUlK8zQOl1oktAP8PlWFzPQC1jny/8Bai3/HPuvN5g==} + '@typescript-eslint/typescript-estree@7.11.0': + resolution: {integrity: sha512-cxkhZ2C/iyi3/6U9EPc5y+a6csqHItndvN/CzbNXTNrsC3/ASoYQZEt9uMaEp+xFNjasqQyszp5TumAVKKvJeQ==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: typescript: '*' @@ -1330,14 +1330,14 @@ packages: typescript: optional: true - '@typescript-eslint/utils@7.10.0': - resolution: {integrity: sha512-olzif1Fuo8R8m/qKkzJqT7qwy16CzPRWBvERS0uvyc+DHd8AKbO4Jb7kpAvVzMmZm8TrHnI7hvjN4I05zow+tg==} + '@typescript-eslint/utils@7.11.0': + resolution: {integrity: sha512-xlAWwPleNRHwF37AhrZurOxA1wyXowW4PqVXZVUNCLjB48CqdPJoJWkrpH2nij9Q3Lb7rtWindtoXwxjxlKKCA==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 - '@typescript-eslint/visitor-keys@7.10.0': - resolution: {integrity: sha512-9ntIVgsi6gg6FIq9xjEO4VQJvwOqA3jaBFQJ/6TK5AvEup2+cECI6Fh7QiBxmfMHXU0V0J4RyPeOU1VDNzl9cg==} + '@typescript-eslint/visitor-keys@7.11.0': + resolution: {integrity: sha512-7syYk4MzjxTEk0g/w3iqtgxnFQspDJfn6QKD36xMuuhTzjcxY7F8EmBLnALjVyaOF1/bVocu3bS/2/F7rXrveQ==} engines: {node: ^18.18.0 || >=20.0.0} '@ungap/structured-clone@1.2.0': @@ -1893,8 +1893,8 @@ packages: resolution: {integrity: sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==} engines: {node: '>=14.16'} - caniuse-lite@1.0.30001623: - resolution: {integrity: sha512-X/XhAVKlpIxWPpgRTnlgZssJrF0m6YtRA0QDWgsBNT12uZM6LPRydR7ip405Y3t1LamD8cP2TZFEDZFBf5ApcA==} + caniuse-lite@1.0.30001624: + resolution: {integrity: sha512-0dWnQG87UevOCPYaOR49CBcLBwoZLpws+k6W37nLjWUhumP1Isusj0p2u+3KhjNloRWK9OKMgjBBzPujQHw4nA==} caseless@0.12.0: resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==} @@ -6762,7 +6762,7 @@ snapshots: dependencies: '@types/eslint': 8.56.10 '@types/estree': 1.0.5 - '@typescript-eslint/types': 7.10.0 + '@typescript-eslint/types': 7.11.0 comment-parser: 1.4.1 esquery: 1.5.0 jsdoc-type-pratt-parser: 4.0.0 @@ -7400,14 +7400,14 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@7.10.0(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/eslint-plugin@7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5)': dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.10.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/scope-manager': 7.10.0 - '@typescript-eslint/type-utils': 7.10.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/utils': 7.10.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 7.10.0 + '@typescript-eslint/parser': 7.11.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/scope-manager': 7.11.0 + '@typescript-eslint/type-utils': 7.11.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/utils': 7.11.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/visitor-keys': 7.11.0 eslint: 8.57.0 graphemer: 1.4.0 ignore: 5.3.1 @@ -7418,12 +7418,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5)': dependencies: - '@typescript-eslint/scope-manager': 7.10.0 - '@typescript-eslint/types': 7.10.0 - '@typescript-eslint/typescript-estree': 7.10.0(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 7.10.0 + '@typescript-eslint/scope-manager': 7.11.0 + '@typescript-eslint/types': 7.11.0 + '@typescript-eslint/typescript-estree': 7.11.0(typescript@5.4.5) + '@typescript-eslint/visitor-keys': 7.11.0 debug: 4.3.4 eslint: 8.57.0 optionalDependencies: @@ -7431,15 +7431,15 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@7.10.0': + '@typescript-eslint/scope-manager@7.11.0': dependencies: - '@typescript-eslint/types': 7.10.0 - '@typescript-eslint/visitor-keys': 7.10.0 + '@typescript-eslint/types': 7.11.0 + '@typescript-eslint/visitor-keys': 7.11.0 - '@typescript-eslint/type-utils@7.10.0(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/type-utils@7.11.0(eslint@8.57.0)(typescript@5.4.5)': dependencies: - '@typescript-eslint/typescript-estree': 7.10.0(typescript@5.4.5) - '@typescript-eslint/utils': 7.10.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.11.0(typescript@5.4.5) + '@typescript-eslint/utils': 7.11.0(eslint@8.57.0)(typescript@5.4.5) debug: 4.3.4 eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.4.5) @@ -7448,12 +7448,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/types@7.10.0': {} + '@typescript-eslint/types@7.11.0': {} - '@typescript-eslint/typescript-estree@7.10.0(typescript@5.4.5)': + '@typescript-eslint/typescript-estree@7.11.0(typescript@5.4.5)': dependencies: - '@typescript-eslint/types': 7.10.0 - '@typescript-eslint/visitor-keys': 7.10.0 + '@typescript-eslint/types': 7.11.0 + '@typescript-eslint/visitor-keys': 7.11.0 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -7465,20 +7465,20 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@7.10.0(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/utils@7.11.0(eslint@8.57.0)(typescript@5.4.5)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) - '@typescript-eslint/scope-manager': 7.10.0 - '@typescript-eslint/types': 7.10.0 - '@typescript-eslint/typescript-estree': 7.10.0(typescript@5.4.5) + '@typescript-eslint/scope-manager': 7.11.0 + '@typescript-eslint/types': 7.11.0 + '@typescript-eslint/typescript-estree': 7.11.0(typescript@5.4.5) eslint: 8.57.0 transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/visitor-keys@7.10.0': + '@typescript-eslint/visitor-keys@7.11.0': dependencies: - '@typescript-eslint/types': 7.10.0 + '@typescript-eslint/types': 7.11.0 eslint-visitor-keys: 3.4.3 '@ungap/structured-clone@1.2.0': {} @@ -7618,8 +7618,8 @@ snapshots: '@vue/eslint-config-typescript@13.0.0(eslint-plugin-vue@9.26.0(eslint@8.57.0))(eslint@8.57.0)(typescript@5.4.5)': dependencies: - '@typescript-eslint/eslint-plugin': 7.10.0(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/parser': 7.10.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/eslint-plugin': 7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.11.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 eslint-plugin-vue: 9.26.0(eslint@8.57.0) vue-eslint-parser: 9.4.2(eslint@8.57.0) @@ -8133,7 +8133,7 @@ snapshots: browserslist@4.23.0: dependencies: - caniuse-lite: 1.0.30001623 + caniuse-lite: 1.0.30001624 electron-to-chromium: 1.4.783 node-releases: 2.0.14 update-browserslist-db: 1.0.16(browserslist@4.23.0) @@ -8242,7 +8242,7 @@ snapshots: camelcase@7.0.1: {} - caniuse-lite@1.0.30001623: {} + caniuse-lite@1.0.30001624: {} caseless@0.12.0: {} @@ -9228,12 +9228,12 @@ snapshots: eslint: 8.57.0 semver: 7.6.2 - eslint-config-love@47.0.0(@typescript-eslint/eslint-plugin@7.10.0(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0))(eslint-plugin-n@17.7.0(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0)(typescript@5.4.5): + eslint-config-love@47.0.0(@typescript-eslint/eslint-plugin@7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0))(eslint-plugin-n@17.7.0(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0)(typescript@5.4.5): dependencies: - '@typescript-eslint/eslint-plugin': 7.10.0(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/parser': 7.10.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/eslint-plugin': 7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.11.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-n: 17.7.0(eslint@8.57.0) eslint-plugin-promise: 6.1.1(eslint@8.57.0) typescript: 5.4.5 @@ -9244,10 +9244,10 @@ snapshots: dependencies: eslint: 8.57.0 - eslint-config-standard@17.1.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0))(eslint-plugin-n@17.7.0(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0): + eslint-config-standard@17.1.0(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0))(eslint-plugin-n@17.7.0(eslint@8.57.0))(eslint-plugin-promise@6.1.1(eslint@8.57.0))(eslint@8.57.0): dependencies: eslint: 8.57.0 - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-n: 17.7.0(eslint@8.57.0) eslint-plugin-promise: 6.1.1(eslint@8.57.0) @@ -9261,13 +9261,13 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1)(eslint@8.57.0): + eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1)(eslint@8.57.0): dependencies: debug: 4.3.4 enhanced-resolve: 5.16.1 eslint: 8.57.0 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) fast-glob: 3.3.2 get-tsconfig: 4.7.5 is-core-module: 2.13.1 @@ -9278,14 +9278,14 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.8.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0): + eslint-module-utils@2.8.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 7.10.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.11.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1)(eslint@8.57.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1)(eslint@8.57.0) transitivePeerDependencies: - supports-color @@ -9296,7 +9296,7 @@ snapshots: eslint: 8.57.0 eslint-compat-utils: 0.5.0(eslint@8.57.0) - eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): + eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): dependencies: array-includes: 3.1.8 array.prototype.findlastindex: 1.2.5 @@ -9306,7 +9306,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.10.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0) hasown: 2.0.2 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -9317,7 +9317,7 @@ snapshots: semver: 7.6.2 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 7.10.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/parser': 7.11.0(eslint@8.57.0)(typescript@5.4.5) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack diff --git a/ui/web/package.json b/ui/web/package.json index 92fd4f52..21127280 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -38,8 +38,8 @@ "@tsconfig/node20": "^20.1.4", "@types/jsdom": "^21.1.6", "@types/node": "^20.12.12", - "@typescript-eslint/eslint-plugin": "^7.10.0", - "@typescript-eslint/parser": "^7.10.0", + "@typescript-eslint/eslint-plugin": "^7.11.0", + "@typescript-eslint/parser": "^7.11.0", "@vitejs/plugin-vue": "^5.0.4", "@vitejs/plugin-vue-jsx": "^3.1.0", "@vitest/coverage-v8": "^1.6.0", -- 2.34.1 From cc99095fab6d038ffff7ef3a2a8d33e762368670 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 29 May 2024 18:37:49 +0200 Subject: [PATCH 04/16] build(deps): apply updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- package.json | 6 +-- pnpm-lock.yaml | 114 ++++++++++++++++++++++---------------------- ui/web/package.json | 2 +- 3 files changed, 62 insertions(+), 60 deletions(-) diff --git a/package.json b/package.json index 6a9b97c6..6bac2523 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,7 @@ "logform": "^2.6.0", "mnemonist": "0.40.0-rc1", "mongodb": "^6.6.2", - "poolifier": "^4.0.12", + "poolifier": "^4.0.13", "rambda": "^9.2.0", "tar": "^7.1.0", "winston": "^3.13.0", @@ -139,10 +139,10 @@ "eslint-define-config": "^2.1.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-import": "^2.29.1", - "eslint-plugin-jsdoc": "^48.2.6", + "eslint-plugin-jsdoc": "^48.2.7", "eslint-plugin-n": "^17.7.0", "eslint-plugin-simple-import-sort": "^12.1.0", - "eslint-plugin-tsdoc": "^0.2.17", + "eslint-plugin-tsdoc": "^0.3.0", "expect": "^29.7.0", "glob": "^10.4.1", "husky": "^9.0.11", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8a3e6d03..2931e03d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -57,8 +57,8 @@ importers: specifier: ^6.6.2 version: 6.6.2(socks@2.8.3) poolifier: - specifier: ^4.0.12 - version: 4.0.12 + specifier: ^4.0.13 + version: 4.0.13 rambda: specifier: ^9.2.0 version: 9.2.0 @@ -149,8 +149,8 @@ importers: specifier: ^2.29.1 version: 2.29.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-jsdoc: - specifier: ^48.2.6 - version: 48.2.6(eslint@8.57.0) + specifier: ^48.2.7 + version: 48.2.7(eslint@8.57.0) eslint-plugin-n: specifier: ^17.7.0 version: 17.7.0(eslint@8.57.0) @@ -158,8 +158,8 @@ importers: specifier: ^12.1.0 version: 12.1.0(eslint@8.57.0) eslint-plugin-tsdoc: - specifier: ^0.2.17 - version: 0.2.17 + specifier: ^0.3.0 + version: 0.3.0 expect: specifier: ^29.7.0 version: 29.7.0 @@ -182,7 +182,7 @@ importers: specifier: ^5.0.7 version: 5.0.7 semver: - specifier: ^7.5.3 + specifier: ^7.6.2 version: 7.6.2 ts-node: specifier: ^10.9.2 @@ -232,10 +232,10 @@ importers: version: 7.11.0(eslint@8.57.0)(typescript@5.4.5) '@vitejs/plugin-vue': specifier: ^5.0.4 - version: 5.0.4(vite@5.2.11(@types/node@20.12.12))(vue@3.4.27(typescript@5.4.5)) + version: 5.0.4(vite@5.2.12(@types/node@20.12.12))(vue@3.4.27(typescript@5.4.5)) '@vitejs/plugin-vue-jsx': specifier: ^3.1.0 - version: 3.1.0(vite@5.2.11(@types/node@20.12.12))(vue@3.4.27(typescript@5.4.5)) + version: 3.1.0(vite@5.2.12(@types/node@20.12.12))(vue@3.4.27(typescript@5.4.5)) '@vitest/coverage-v8': specifier: ^1.6.0 version: 1.6.0(vitest@1.6.0(@types/node@20.12.12)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4))) @@ -285,8 +285,8 @@ importers: specifier: ~5.4.5 version: 5.4.5 vite: - specifier: ^5.2.11 - version: 5.2.11(@types/node@20.12.12) + specifier: ^5.2.12 + version: 5.2.12(@types/node@20.12.12) vitest: specifier: ^1.6.0 version: 1.6.0(@types/node@20.12.12)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) @@ -556,8 +556,8 @@ packages: '@dabh/diagnostics@2.0.3': resolution: {integrity: sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==} - '@es-joy/jsdoccomment@0.43.0': - resolution: {integrity: sha512-Q1CnsQrytI3TlCB1IVWXWeqUIPGVEKGaE7IbVdt13Nq/3i0JESAkQQERrfiQkmlpijl+++qyqPgaS31Bvc1jRQ==} + '@es-joy/jsdoccomment@0.43.1': + resolution: {integrity: sha512-I238eDtOolvCuvtxrnqtlBaw0BwdQuYqK7eA6XIonicMdOOOb75mqdIzkGDUbS04+1Di007rgm9snFRNeVrOog==} engines: {node: '>=16'} '@esbuild/aix-ppc64@0.20.2': @@ -927,11 +927,11 @@ packages: resolution: {integrity: sha512-/gKJun8NNiWGZJkGzI/Ragc53cOdcLNdzjLaIa+GEjguQs0ulsurx8WN0jijdK9yPqDvziX995sMRLyLt1uZMQ==} engines: {node: '>= 0.4'} - '@microsoft/tsdoc-config@0.16.2': - resolution: {integrity: sha512-OGiIzzoBLgWWR0UdRJX98oYO+XKGf7tiK4Zk6tQ/E4IJqGCe7dvkTvgDZV5cFJUzLGDOjeAXrnZoA6QkVySuxw==} + '@microsoft/tsdoc-config@0.17.0': + resolution: {integrity: sha512-v/EYRXnCAIHxOHW+Plb6OWuUoMotxTN0GLatnpOb1xq0KuTNw/WI3pamJx/UbsoJP5k9MCw1QxvvhPcF9pH3Zg==} - '@microsoft/tsdoc@0.14.2': - resolution: {integrity: sha512-9b8mPpKrfeGRuhFH5iO1iwCLeIIsV6+H1sRfxbkoGXIyQE2BTsPd9zqSqQJ+pv5sJ/hT5M1zvOFL02MnEezFug==} + '@microsoft/tsdoc@0.15.0': + resolution: {integrity: sha512-HZpPoABogPvjeJOdzCOSJsXeL/SMCBgBZMVC3X3d7YYp2gf31MfxhUoYUNwf1ERPJOnQc0wkFn9trqI6ZEdZuA==} '@mikro-orm/cli@6.2.8': resolution: {integrity: sha512-ahQQ6doFX3OmO70ALu+XihR5yA4ZC1luJFN1M+q1xHd+qB0xZcZfmCvFgs8K6FafsS6ttre/0W271fEWe8LecA==} @@ -1527,6 +1527,9 @@ packages: ajv@6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + ajv@8.12.0: + resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==} + ajv@8.14.0: resolution: {integrity: sha512-oYs1UUtO97ZO2lJ4bwnWeQW8/zvOIQLGKcvPTsWmvc2SYgBb+upuNS5NxoLaMU4h8Ju3Nbj6Cq8mD2LQoqVKFA==} @@ -1893,8 +1896,8 @@ packages: resolution: {integrity: sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==} engines: {node: '>=14.16'} - caniuse-lite@1.0.30001624: - resolution: {integrity: sha512-0dWnQG87UevOCPYaOR49CBcLBwoZLpws+k6W37nLjWUhumP1Isusj0p2u+3KhjNloRWK9OKMgjBBzPujQHw4nA==} + caniuse-lite@1.0.30001625: + resolution: {integrity: sha512-4KE9N2gcRH+HQhpeiRZXd+1niLB/XNLAhSy4z7fI8EzcbcPoAqjNInxVHTiTwWfTIV4w096XG8OtCOCQQKPv3w==} caseless@0.12.0: resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==} @@ -2784,8 +2787,8 @@ packages: '@typescript-eslint/parser': optional: true - eslint-plugin-jsdoc@48.2.6: - resolution: {integrity: sha512-GNk9jtpYmoEVeD/U6yYYmd6T8vSOoPs7CL8ZeX85iD8P3qifDdLQGze6+cw9boobDthmYnnxvIoHrhuSffj09g==} + eslint-plugin-jsdoc@48.2.7: + resolution: {integrity: sha512-fYj3roTnkFL9OFFTB129rico8lerC5G8Vp2ZW9SjO9RNWG0exVvI+i/Y8Bpm1ufjR0uvT38xtoab/U0Hp8Ybog==} engines: {node: '>=18'} peerDependencies: eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 @@ -2821,8 +2824,8 @@ packages: peerDependencies: eslint: '>=5.0.0' - eslint-plugin-tsdoc@0.2.17: - resolution: {integrity: sha512-xRmVi7Zx44lOBuYqG8vzTXuL6IdGOeF9nHX17bjJ8+VE6fsxpdGem0/SBTmAwgYMKYB1WBkqRJVQ+n8GK041pA==} + eslint-plugin-tsdoc@0.3.0: + resolution: {integrity: sha512-0MuFdBrrJVBjT/gyhkP2BqpD0np1NxNLfQ38xXDlSs/KVVpKI2A6vN7jx2Rve/CyUsvOsMGwp9KKrinv7q9g3A==} eslint-plugin-vue@9.26.0: resolution: {integrity: sha512-eTvlxXgd4ijE1cdur850G6KalZqk65k1JKoOI2d1kT3hr8sPD07j1q98FRFdNnpxBELGPWxZmInxeHGF/GxtqQ==} @@ -4857,8 +4860,8 @@ packages: resolution: {integrity: sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA==} engines: {node: '>=8'} - poolifier@4.0.12: - resolution: {integrity: sha512-35JkkUGoJ6NdirvSjXrpdb1XIm1RyFLb3UMheS2IPrab/OceE/cqXCGDeCumNwg9Mg3+ZztD9tHxIKXizUmSXA==} + poolifier@4.0.13: + resolution: {integrity: sha512-GPITJo3LZvZXGNDWn6eDpOJ+F5+rq4tvyoXFQJfyJ92w0qr4evjoOX9hymwMGmv8TuifFMIBmgCdcTvoxRdMgA==} engines: {node: '>=18.0.0', pnpm: '>=9.0.0'} possible-typed-array-names@1.0.0: @@ -5131,9 +5134,6 @@ packages: resolve-pkg-maps@1.0.0: resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} - resolve@1.19.0: - resolution: {integrity: sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==} - resolve@1.22.8: resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} hasBin: true @@ -5992,8 +5992,8 @@ packages: engines: {node: ^18.0.0 || >=20.0.0} hasBin: true - vite@5.2.11: - resolution: {integrity: sha512-HndV31LWW05i1BLPMUCE1B9E9GFbOu1MbenhS58FuK6owSO5qHm7GiCotrNY1YE5rMeQSFBGmT5ZaLEjFizgiQ==} + vite@5.2.12: + resolution: {integrity: sha512-/gC8GxzxMK5ntBwb48pR32GGhENnjtY30G4A0jemunsBkiEZFw60s8InGpN8gkhHEkjnRK1aSAxeQgwvFhUHAA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -6758,7 +6758,7 @@ snapshots: enabled: 2.0.0 kuler: 2.0.0 - '@es-joy/jsdoccomment@0.43.0': + '@es-joy/jsdoccomment@0.43.1': dependencies: '@types/eslint': 8.56.10 '@types/estree': 1.0.5 @@ -7011,14 +7011,14 @@ snapshots: dependencies: call-bind: 1.0.7 - '@microsoft/tsdoc-config@0.16.2': + '@microsoft/tsdoc-config@0.17.0': dependencies: - '@microsoft/tsdoc': 0.14.2 - ajv: 6.12.6 + '@microsoft/tsdoc': 0.15.0 + ajv: 8.12.0 jju: 1.4.0 - resolve: 1.19.0 + resolve: 1.22.8 - '@microsoft/tsdoc@0.14.2': {} + '@microsoft/tsdoc@0.15.0': {} '@mikro-orm/cli@6.2.8': dependencies: @@ -7483,19 +7483,19 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-vue-jsx@3.1.0(vite@5.2.11(@types/node@20.12.12))(vue@3.4.27(typescript@5.4.5))': + '@vitejs/plugin-vue-jsx@3.1.0(vite@5.2.12(@types/node@20.12.12))(vue@3.4.27(typescript@5.4.5))': dependencies: '@babel/core': 7.24.6 '@babel/plugin-transform-typescript': 7.24.6(@babel/core@7.24.6) '@vue/babel-plugin-jsx': 1.2.2(@babel/core@7.24.6) - vite: 5.2.11(@types/node@20.12.12) + vite: 5.2.12(@types/node@20.12.12) vue: 3.4.27(typescript@5.4.5) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.0.4(vite@5.2.11(@types/node@20.12.12))(vue@3.4.27(typescript@5.4.5))': + '@vitejs/plugin-vue@5.0.4(vite@5.2.12(@types/node@20.12.12))(vue@3.4.27(typescript@5.4.5))': dependencies: - vite: 5.2.11(@types/node@20.12.12) + vite: 5.2.12(@types/node@20.12.12) vue: 3.4.27(typescript@5.4.5) '@vitest/coverage-v8@1.6.0(vitest@1.6.0(@types/node@20.12.12)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)))': @@ -7730,6 +7730,13 @@ snapshots: json-schema-traverse: 0.4.1 uri-js: 4.4.1 + ajv@8.12.0: + dependencies: + fast-deep-equal: 3.1.3 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + uri-js: 4.4.1 + ajv@8.14.0: dependencies: fast-deep-equal: 3.1.3 @@ -8133,7 +8140,7 @@ snapshots: browserslist@4.23.0: dependencies: - caniuse-lite: 1.0.30001624 + caniuse-lite: 1.0.30001625 electron-to-chromium: 1.4.783 node-releases: 2.0.14 update-browserslist-db: 1.0.16(browserslist@4.23.0) @@ -8242,7 +8249,7 @@ snapshots: camelcase@7.0.1: {} - caniuse-lite@1.0.30001624: {} + caniuse-lite@1.0.30001625: {} caseless@0.12.0: {} @@ -9323,9 +9330,9 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-plugin-jsdoc@48.2.6(eslint@8.57.0): + eslint-plugin-jsdoc@48.2.7(eslint@8.57.0): dependencies: - '@es-joy/jsdoccomment': 0.43.0 + '@es-joy/jsdoccomment': 0.43.1 are-docs-informative: 0.0.2 comment-parser: 1.4.1 debug: 4.3.4 @@ -9367,10 +9374,10 @@ snapshots: dependencies: eslint: 8.57.0 - eslint-plugin-tsdoc@0.2.17: + eslint-plugin-tsdoc@0.3.0: dependencies: - '@microsoft/tsdoc': 0.14.2 - '@microsoft/tsdoc-config': 0.16.2 + '@microsoft/tsdoc': 0.15.0 + '@microsoft/tsdoc-config': 0.17.0 eslint-plugin-vue@9.26.0(eslint@8.57.0): dependencies: @@ -11563,7 +11570,7 @@ snapshots: dependencies: find-up: 3.0.0 - poolifier@4.0.12: {} + poolifier@4.0.13: {} possible-typed-array-names@1.0.0: {} @@ -11895,11 +11902,6 @@ snapshots: resolve-pkg-maps@1.0.0: {} - resolve@1.19.0: - dependencies: - is-core-module: 2.13.1 - path-parse: 1.0.7 - resolve@1.22.8: dependencies: is-core-module: 2.13.1 @@ -12888,7 +12890,7 @@ snapshots: debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.1 - vite: 5.2.11(@types/node@20.12.12) + vite: 5.2.12(@types/node@20.12.12) transitivePeerDependencies: - '@types/node' - less @@ -12899,7 +12901,7 @@ snapshots: - supports-color - terser - vite@5.2.11(@types/node@20.12.12): + vite@5.2.12(@types/node@20.12.12): dependencies: esbuild: 0.20.2 postcss: 8.4.38 @@ -12927,7 +12929,7 @@ snapshots: strip-literal: 2.1.0 tinybench: 2.8.0 tinypool: 0.8.4 - vite: 5.2.11(@types/node@20.12.12) + vite: 5.2.12(@types/node@20.12.12) vite-node: 1.6.0(@types/node@20.12.12) why-is-node-running: 2.2.2 optionalDependencies: diff --git a/ui/web/package.json b/ui/web/package.json index 21127280..42bca566 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -58,7 +58,7 @@ "prettier": "^3.2.5", "rimraf": "^5.0.7", "typescript": "~5.4.5", - "vite": "^5.2.11", + "vite": "^5.2.12", "vitest": "^1.6.0" }, "_id": "webui@0.3.0" -- 2.34.1 From 505390847039ec18d52b665e2bc5afff69414aab Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 29 May 2024 20:02:34 +0200 Subject: [PATCH 05/16] fix: ensure message sequence is fired at boot notification response processing MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit closes #1039 Signed-off-by: Jérôme Benoit --- src/charging-station/ChargingStation.ts | 10 +--------- src/charging-station/ocpp/1.6/OCPP16ResponseService.ts | 9 +++++++++ src/charging-station/ocpp/2.0/OCPP20ResponseService.ts | 9 +++++++++ 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 7df0a35f..ba197954 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -1861,15 +1861,7 @@ export class ChargingStation extends EventEmitter { this.stationInfo?.registrationMaxRetries === -1) ) } - if (this.isRegistered()) { - this.emit(ChargingStationEvents.registered) - if (this.inAcceptedState()) { - this.emit(ChargingStationEvents.accepted) - } - } else { - if (this.inRejectedState()) { - this.emit(ChargingStationEvents.rejected) - } + if (!this.isRegistered()) { logger.error( `${this.logPrefix()} Registration failure: maximum retries reached (${registrationRetryCount}) or retry disabled (${ this.stationInfo?.registrationMaxRetries diff --git a/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts b/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts index 64e33061..ff04f4dc 100644 --- a/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts +++ b/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts @@ -13,6 +13,7 @@ import { import { OCPPError } from '../../../exception/index.js' import { type ChangeConfigurationResponse, + ChargingStationEvents, ErrorType, type GenericResponse, type GetConfigurationResponse, @@ -527,6 +528,14 @@ export class OCPP16ResponseService extends OCPPResponseService { OCPP16ServiceUtils.startHeartbeatInterval(chargingStation, payload.interval) } if (Object.values(RegistrationStatusEnumType).includes(payload.status)) { + if (chargingStation.isRegistered()) { + chargingStation.emit(ChargingStationEvents.registered) + if (chargingStation.inAcceptedState()) { + chargingStation.emit(ChargingStationEvents.accepted) + } + } else if (chargingStation.inRejectedState()) { + chargingStation.emit(ChargingStationEvents.rejected) + } const logMsg = `${chargingStation.logPrefix()} Charging station in '${ payload.status }' state on the central server` diff --git a/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts b/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts index 6ab91c07..54ccdeec 100644 --- a/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts +++ b/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts @@ -5,6 +5,7 @@ import type { ValidateFunction } from 'ajv' import { addConfigurationKey, type ChargingStation } from '../../../charging-station/index.js' import { OCPPError } from '../../../exception/index.js' import { + ChargingStationEvents, ErrorType, type JsonType, type OCPP20BootNotificationResponse, @@ -193,6 +194,14 @@ export class OCPP20ResponseService extends OCPPResponseService { OCPP20ServiceUtils.startHeartbeatInterval(chargingStation, payload.interval) } if (Object.values(RegistrationStatusEnumType).includes(payload.status)) { + if (chargingStation.isRegistered()) { + chargingStation.emit(ChargingStationEvents.registered) + if (chargingStation.inAcceptedState()) { + chargingStation.emit(ChargingStationEvents.accepted) + } + } else if (chargingStation.inRejectedState()) { + chargingStation.emit(ChargingStationEvents.rejected) + } const logMsg = `${chargingStation.logPrefix()} Charging station in '${ payload.status }' state on the central server` -- 2.34.1 From 0320e2bb72ca522c3932850cce0601ab0a895ad3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 29 May 2024 21:24:52 +0200 Subject: [PATCH 06/16] fix: ensure boot notification response is assigned before querying MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- package.json | 4 +- pnpm-lock.yaml | 51 +++++++++++-------- src/charging-station/ChargingStation.ts | 1 + .../ocpp/1.6/OCPP16ResponseService.ts | 1 + .../ocpp/2.0/OCPP20ResponseService.ts | 1 + 5 files changed, 34 insertions(+), 24 deletions(-) diff --git a/package.json b/package.json index 6bac2523..f591e314 100644 --- a/package.json +++ b/package.json @@ -104,7 +104,7 @@ "http-status-codes": "^2.3.0", "logform": "^2.6.0", "mnemonist": "0.40.0-rc1", - "mongodb": "^6.6.2", + "mongodb": "^6.7.0", "poolifier": "^4.0.13", "rambda": "^9.2.0", "tar": "^7.1.0", @@ -121,7 +121,7 @@ "@commitlint/config-conventional": "^19.2.2", "@mikro-orm/cli": "^6.2.8", "@release-it/bumper": "^6.0.1", - "@types/node": "^20.12.12", + "@types/node": "^20.12.13", "@types/semver": "^7.5.8", "@types/ws": "^8.5.10", "@typescript-eslint/eslint-plugin": "^7.11.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2931e03d..95dfe46f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,8 +54,8 @@ importers: specifier: 0.40.0-rc1 version: 0.40.0-rc1 mongodb: - specifier: ^6.6.2 - version: 6.6.2(socks@2.8.3) + specifier: ^6.7.0 + version: 6.7.0(socks@2.8.3) poolifier: specifier: ^4.0.13 version: 4.0.13 @@ -84,7 +84,7 @@ importers: devDependencies: '@commitlint/cli': specifier: ^19.3.0 - version: 19.3.0(@types/node@20.12.12)(typescript@5.4.5) + version: 19.3.0(@types/node@20.12.13)(typescript@5.4.5) '@commitlint/config-conventional': specifier: ^19.2.2 version: 19.2.2 @@ -95,8 +95,8 @@ importers: specifier: ^6.0.1 version: 6.0.1(release-it@17.3.0(typescript@5.4.5)) '@types/node': - specifier: ^20.12.12 - version: 20.12.12 + specifier: ^20.12.13 + version: 20.12.13 '@types/semver': specifier: ^7.5.8 version: 7.5.8 @@ -186,7 +186,7 @@ importers: version: 7.6.2 ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.12.12)(typescript@5.4.5) + version: 10.9.2(@types/node@20.12.13)(typescript@5.4.5) tsx: specifier: ^4.11.0 version: 4.11.0 @@ -1246,6 +1246,9 @@ packages: '@types/node@20.12.12': resolution: {integrity: sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==} + '@types/node@20.12.13': + resolution: {integrity: sha512-gBGeanV41c1L171rR7wjbMiEpEI/l5XFQdLLfhr/REwpgDy/4U8y89+i8kRiLzDyZdOkXh+cRaTetUnCYutoXA==} + '@types/offscreencanvas@2019.3.0': resolution: {integrity: sha512-esIJx9bQg+QYF0ra8GnvfianIY8qWB0GBx54PK5Eps6m+xTj86KLavHv6qDhzKcu5UUOgNfJ2pWaIIV7TRUd9Q==} @@ -4365,8 +4368,8 @@ packages: mongodb-connection-string-url@3.0.1: resolution: {integrity: sha512-XqMGwRX0Lgn05TDB4PyG2h2kKO/FfWJyCzYQbIhXUxz7ETt0I/FqHjUeqj37irJ+Dl1ZtU82uYyj14u2XsZKfg==} - mongodb@6.6.2: - resolution: {integrity: sha512-ZF9Ugo2JCG/GfR7DEb4ypfyJJyiKbg5qBYKRintebj8+DNS33CyGMkWbrS9lara+u+h+yEOGSRiLhFO/g1s1aw==} + mongodb@6.7.0: + resolution: {integrity: sha512-TMKyHdtMcO0fYBNORiYdmM25ijsHs+Njs963r4Tro4OQZzqYigAzYQouwWRg4OIaiLRUEGUh/1UAcH5lxdSLIA==} engines: {node: '>=16.20.1'} peerDependencies: '@aws-sdk/credential-providers': ^3.188.0 @@ -6637,11 +6640,11 @@ snapshots: '@colors/colors@1.6.0': {} - '@commitlint/cli@19.3.0(@types/node@20.12.12)(typescript@5.4.5)': + '@commitlint/cli@19.3.0(@types/node@20.12.13)(typescript@5.4.5)': dependencies: '@commitlint/format': 19.3.0 '@commitlint/lint': 19.2.2 - '@commitlint/load': 19.2.0(@types/node@20.12.12)(typescript@5.4.5) + '@commitlint/load': 19.2.0(@types/node@20.12.13)(typescript@5.4.5) '@commitlint/read': 19.2.1 '@commitlint/types': 19.0.3 execa: 8.0.1 @@ -6688,7 +6691,7 @@ snapshots: '@commitlint/rules': 19.0.3 '@commitlint/types': 19.0.3 - '@commitlint/load@19.2.0(@types/node@20.12.12)(typescript@5.4.5)': + '@commitlint/load@19.2.0(@types/node@20.12.13)(typescript@5.4.5)': dependencies: '@commitlint/config-validator': 19.0.3 '@commitlint/execute-rule': 19.0.0 @@ -6696,7 +6699,7 @@ snapshots: '@commitlint/types': 19.0.3 chalk: 5.3.0 cosmiconfig: 9.0.0(typescript@5.4.5) - cosmiconfig-typescript-loader: 5.0.0(@types/node@20.12.12)(cosmiconfig@9.0.0(typescript@5.4.5))(typescript@5.4.5) + cosmiconfig-typescript-loader: 5.0.0(@types/node@20.12.13)(cosmiconfig@9.0.0(typescript@5.4.5))(typescript@5.4.5) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -6981,7 +6984,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.12.12 + '@types/node': 20.12.13 '@types/yargs': 17.0.32 chalk: 4.1.2 @@ -7331,7 +7334,7 @@ snapshots: '@types/conventional-commits-parser@5.0.0': dependencies: - '@types/node': 20.12.12 + '@types/node': 20.12.13 '@types/eslint@8.56.10': dependencies: @@ -7370,6 +7373,10 @@ snapshots: dependencies: undici-types: 5.26.5 + '@types/node@20.12.13': + dependencies: + undici-types: 5.26.5 + '@types/offscreencanvas@2019.3.0': {} '@types/seedrandom@2.4.34': {} @@ -7392,7 +7399,7 @@ snapshots: '@types/ws@8.5.10': dependencies: - '@types/node': 20.12.12 + '@types/node': 20.12.13 '@types/yargs-parser@21.0.3': {} @@ -8555,9 +8562,9 @@ snapshots: core-util-is@1.0.3: {} - cosmiconfig-typescript-loader@5.0.0(@types/node@20.12.12)(cosmiconfig@9.0.0(typescript@5.4.5))(typescript@5.4.5): + cosmiconfig-typescript-loader@5.0.0(@types/node@20.12.13)(cosmiconfig@9.0.0(typescript@5.4.5))(typescript@5.4.5): dependencies: - '@types/node': 20.12.12 + '@types/node': 20.12.13 cosmiconfig: 9.0.0(typescript@5.4.5) jiti: 1.21.0 typescript: 5.4.5 @@ -10492,7 +10499,7 @@ snapshots: jest-util@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 20.12.12 + '@types/node': 20.12.13 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -10851,7 +10858,7 @@ snapshots: mariadb@3.3.0: dependencies: '@types/geojson': 7946.0.14 - '@types/node': 20.12.12 + '@types/node': 20.12.13 denque: 2.1.0 iconv-lite: 0.6.3 lru-cache: 10.2.2 @@ -11060,7 +11067,7 @@ snapshots: '@types/whatwg-url': 11.0.5 whatwg-url: 13.0.0 - mongodb@6.6.2(socks@2.8.3): + mongodb@6.7.0(socks@2.8.3): dependencies: '@mongodb-js/saslprep': 1.1.7 bson: 6.7.0 @@ -12605,14 +12612,14 @@ snapshots: '@ts-morph/common': 0.23.0 code-block-writer: 13.0.1 - ts-node@10.9.2(@types/node@20.12.12)(typescript@5.4.5): + ts-node@10.9.2(@types/node@20.12.13)(typescript@5.4.5): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.12.12 + '@types/node': 20.12.13 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index ba197954..7cfb70f2 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -1832,6 +1832,7 @@ export class ChargingStation extends EventEmitter { if (!this.isRegistered()) { // Send BootNotification do { + // FIXME: duplicated assignment with the boot notification response handler this.bootNotificationResponse = await this.ocppRequestService.requestHandler< BootNotificationRequest, BootNotificationResponse diff --git a/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts b/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts index ff04f4dc..46c6d401 100644 --- a/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts +++ b/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts @@ -528,6 +528,7 @@ export class OCPP16ResponseService extends OCPPResponseService { OCPP16ServiceUtils.startHeartbeatInterval(chargingStation, payload.interval) } if (Object.values(RegistrationStatusEnumType).includes(payload.status)) { + chargingStation.bootNotificationResponse = payload if (chargingStation.isRegistered()) { chargingStation.emit(ChargingStationEvents.registered) if (chargingStation.inAcceptedState()) { diff --git a/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts b/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts index 54ccdeec..1eac7a88 100644 --- a/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts +++ b/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts @@ -194,6 +194,7 @@ export class OCPP20ResponseService extends OCPPResponseService { OCPP20ServiceUtils.startHeartbeatInterval(chargingStation, payload.interval) } if (Object.values(RegistrationStatusEnumType).includes(payload.status)) { + chargingStation.bootNotificationResponse = payload if (chargingStation.isRegistered()) { chargingStation.emit(ChargingStationEvents.registered) if (chargingStation.inAcceptedState()) { -- 2.34.1 From fccc8f66dfabe8e91f67311f3182e26aece20293 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 29 May 2024 21:29:43 +0200 Subject: [PATCH 07/16] build: cleanup pnpm lock file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- pnpm-lock.yaml | 51 ++++++++++++++++++++++---------------------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 95dfe46f..6278d98c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -182,7 +182,7 @@ importers: specifier: ^5.0.7 version: 5.0.7 semver: - specifier: ^7.6.2 + specifier: ^7.5.3 version: 7.6.2 ts-node: specifier: ^10.9.2 @@ -223,7 +223,7 @@ importers: version: 21.1.6 '@types/node': specifier: ^20.12.12 - version: 20.12.12 + version: 20.12.13 '@typescript-eslint/eslint-plugin': specifier: ^7.11.0 version: 7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) @@ -232,13 +232,13 @@ importers: version: 7.11.0(eslint@8.57.0)(typescript@5.4.5) '@vitejs/plugin-vue': specifier: ^5.0.4 - version: 5.0.4(vite@5.2.12(@types/node@20.12.12))(vue@3.4.27(typescript@5.4.5)) + version: 5.0.4(vite@5.2.12(@types/node@20.12.13))(vue@3.4.27(typescript@5.4.5)) '@vitejs/plugin-vue-jsx': specifier: ^3.1.0 - version: 3.1.0(vite@5.2.12(@types/node@20.12.12))(vue@3.4.27(typescript@5.4.5)) + version: 3.1.0(vite@5.2.12(@types/node@20.12.13))(vue@3.4.27(typescript@5.4.5)) '@vitest/coverage-v8': specifier: ^1.6.0 - version: 1.6.0(vitest@1.6.0(@types/node@20.12.12)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4))) + version: 1.6.0(vitest@1.6.0(@types/node@20.12.13)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4))) '@vue/eslint-config-prettier': specifier: ^9.0.0 version: 9.0.0(@types/eslint@8.56.10)(eslint@8.57.0)(prettier@3.2.5) @@ -286,10 +286,10 @@ importers: version: 5.4.5 vite: specifier: ^5.2.12 - version: 5.2.12(@types/node@20.12.12) + version: 5.2.12(@types/node@20.12.13) vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@20.12.12)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) + version: 1.6.0(@types/node@20.12.13)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) packages: @@ -1243,9 +1243,6 @@ packages: '@types/long@4.0.2': resolution: {integrity: sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==} - '@types/node@20.12.12': - resolution: {integrity: sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==} - '@types/node@20.12.13': resolution: {integrity: sha512-gBGeanV41c1L171rR7wjbMiEpEI/l5XFQdLLfhr/REwpgDy/4U8y89+i8kRiLzDyZdOkXh+cRaTetUnCYutoXA==} @@ -7359,7 +7356,7 @@ snapshots: '@types/jsdom@21.1.6': dependencies: - '@types/node': 20.12.12 + '@types/node': 20.12.13 '@types/tough-cookie': 4.0.5 parse5: 7.1.2 @@ -7369,10 +7366,6 @@ snapshots: '@types/long@4.0.2': {} - '@types/node@20.12.12': - dependencies: - undici-types: 5.26.5 - '@types/node@20.12.13': dependencies: undici-types: 5.26.5 @@ -7490,22 +7483,22 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-vue-jsx@3.1.0(vite@5.2.12(@types/node@20.12.12))(vue@3.4.27(typescript@5.4.5))': + '@vitejs/plugin-vue-jsx@3.1.0(vite@5.2.12(@types/node@20.12.13))(vue@3.4.27(typescript@5.4.5))': dependencies: '@babel/core': 7.24.6 '@babel/plugin-transform-typescript': 7.24.6(@babel/core@7.24.6) '@vue/babel-plugin-jsx': 1.2.2(@babel/core@7.24.6) - vite: 5.2.12(@types/node@20.12.12) + vite: 5.2.12(@types/node@20.12.13) vue: 3.4.27(typescript@5.4.5) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.0.4(vite@5.2.12(@types/node@20.12.12))(vue@3.4.27(typescript@5.4.5))': + '@vitejs/plugin-vue@5.0.4(vite@5.2.12(@types/node@20.12.13))(vue@3.4.27(typescript@5.4.5))': dependencies: - vite: 5.2.12(@types/node@20.12.12) + vite: 5.2.12(@types/node@20.12.13) vue: 3.4.27(typescript@5.4.5) - '@vitest/coverage-v8@1.6.0(vitest@1.6.0(@types/node@20.12.12)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)))': + '@vitest/coverage-v8@1.6.0(vitest@1.6.0(@types/node@20.12.13)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -7520,7 +7513,7 @@ snapshots: std-env: 3.7.0 strip-literal: 2.1.0 test-exclude: 6.0.0 - vitest: 1.6.0(@types/node@20.12.12)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) + vitest: 1.6.0(@types/node@20.12.13)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) transitivePeerDependencies: - supports-color @@ -12891,13 +12884,13 @@ snapshots: core-util-is: 1.0.2 extsprintf: 1.3.0 - vite-node@1.6.0(@types/node@20.12.12): + vite-node@1.6.0(@types/node@20.12.13): dependencies: cac: 6.7.14 debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.1 - vite: 5.2.12(@types/node@20.12.12) + vite: 5.2.12(@types/node@20.12.13) transitivePeerDependencies: - '@types/node' - less @@ -12908,16 +12901,16 @@ snapshots: - supports-color - terser - vite@5.2.12(@types/node@20.12.12): + vite@5.2.12(@types/node@20.12.13): dependencies: esbuild: 0.20.2 postcss: 8.4.38 rollup: 4.18.0 optionalDependencies: - '@types/node': 20.12.12 + '@types/node': 20.12.13 fsevents: 2.3.3 - vitest@1.6.0(@types/node@20.12.12)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)): + vitest@1.6.0(@types/node@20.12.13)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)): dependencies: '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 @@ -12936,11 +12929,11 @@ snapshots: strip-literal: 2.1.0 tinybench: 2.8.0 tinypool: 0.8.4 - vite: 5.2.12(@types/node@20.12.12) - vite-node: 1.6.0(@types/node@20.12.12) + vite: 5.2.12(@types/node@20.12.13) + vite-node: 1.6.0(@types/node@20.12.13) why-is-node-running: 2.2.2 optionalDependencies: - '@types/node': 20.12.12 + '@types/node': 20.12.13 jsdom: 24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4) transitivePeerDependencies: - less -- 2.34.1 From 9e668960f040bf5da86a6d6e7c477d4ad39dfd04 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 29 May 2024 21:32:53 +0200 Subject: [PATCH 08/16] build(deps-dev): apply updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- pnpm-lock.yaml | 10 +++++----- ui/web/package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6278d98c..47617d4f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -222,7 +222,7 @@ importers: specifier: ^21.1.6 version: 21.1.6 '@types/node': - specifier: ^20.12.12 + specifier: ^20.12.13 version: 20.12.13 '@typescript-eslint/eslint-plugin': specifier: ^7.11.0 @@ -2542,8 +2542,8 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - electron-to-chromium@1.4.783: - resolution: {integrity: sha512-bT0jEz/Xz1fahQpbZ1D7LgmPYZ3iHVY39NcWWro1+hA2IvjiPeaXtfSqrQ+nXjApMvQRE2ASt1itSLRrebHMRQ==} + electron-to-chromium@1.4.784: + resolution: {integrity: sha512-9CZwh+sDrhDAeOEFh8s3PqwduzTyYIeYwZolc1b9ENAUt3ePu7R1sJSCWr/820ISssRxCJUyHI9Wb7j+0Uo1AA==} elliptic@6.5.5: resolution: {integrity: sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw==} @@ -8141,7 +8141,7 @@ snapshots: browserslist@4.23.0: dependencies: caniuse-lite: 1.0.30001625 - electron-to-chromium: 1.4.783 + electron-to-chromium: 1.4.784 node-releases: 2.0.14 update-browserslist-db: 1.0.16(browserslist@4.23.0) @@ -8953,7 +8953,7 @@ snapshots: ee-first@1.1.1: {} - electron-to-chromium@1.4.783: {} + electron-to-chromium@1.4.784: {} elliptic@6.5.5: dependencies: diff --git a/ui/web/package.json b/ui/web/package.json index 42bca566..e0965a2d 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -37,7 +37,7 @@ "@rushstack/eslint-patch": "^1.10.3", "@tsconfig/node20": "^20.1.4", "@types/jsdom": "^21.1.6", - "@types/node": "^20.12.12", + "@types/node": "^20.12.13", "@typescript-eslint/eslint-plugin": "^7.11.0", "@typescript-eslint/parser": "^7.11.0", "@vitejs/plugin-vue": "^5.0.4", -- 2.34.1 From d627f8ef31d97da80f4de5ed0cb9386472f51bbe Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 29 May 2024 22:07:53 +0200 Subject: [PATCH 09/16] fix: start heartbeat once MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/ChargingStation.ts | 6 +++- .../ocpp/1.6/OCPP16ResponseService.ts | 31 +++++++++---------- .../ocpp/2.0/OCPP20ResponseService.ts | 17 +++++----- src/charging-station/ocpp/OCPPServiceUtils.ts | 8 ----- 4 files changed, 26 insertions(+), 36 deletions(-) diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 7cfb70f2..2d934e06 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -2224,7 +2224,11 @@ export class ChargingStation extends EventEmitter { // Start WebSocket ping this.startWebSocketPing() // Start heartbeat - this.startHeartbeat() + if (this.heartbeatSetInterval == null) { + this.startHeartbeat() + } else if (this.getHeartbeatInterval() !== this.bootNotificationResponse?.interval) { + this.restartHeartbeat() + } // Initialize connectors status if (this.hasEvses) { for (const [evseId, evseStatus] of this.evses) { diff --git a/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts b/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts index 46c6d401..409f382e 100644 --- a/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts +++ b/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts @@ -510,29 +510,26 @@ export class OCPP16ResponseService extends OCPPResponseService { chargingStation: ChargingStation, payload: OCPP16BootNotificationResponse ): void { - if (payload.status === RegistrationStatusEnumType.ACCEPTED) { - addConfigurationKey( - chargingStation, - OCPP16StandardParametersKey.HeartbeatInterval, - payload.interval.toString(), - {}, - { overwrite: true, save: true } - ) - addConfigurationKey( - chargingStation, - OCPP16StandardParametersKey.HeartBeatInterval, - payload.interval.toString(), - { visible: false }, - { overwrite: true, save: true } - ) - OCPP16ServiceUtils.startHeartbeatInterval(chargingStation, payload.interval) - } if (Object.values(RegistrationStatusEnumType).includes(payload.status)) { chargingStation.bootNotificationResponse = payload if (chargingStation.isRegistered()) { chargingStation.emit(ChargingStationEvents.registered) if (chargingStation.inAcceptedState()) { chargingStation.emit(ChargingStationEvents.accepted) + addConfigurationKey( + chargingStation, + OCPP16StandardParametersKey.HeartbeatInterval, + payload.interval.toString(), + {}, + { overwrite: true, save: true } + ) + addConfigurationKey( + chargingStation, + OCPP16StandardParametersKey.HeartBeatInterval, + payload.interval.toString(), + { visible: false }, + { overwrite: true, save: true } + ) } } else if (chargingStation.inRejectedState()) { chargingStation.emit(ChargingStationEvents.rejected) diff --git a/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts b/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts index 1eac7a88..77546cfa 100644 --- a/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts +++ b/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts @@ -183,22 +183,19 @@ export class OCPP20ResponseService extends OCPPResponseService { chargingStation: ChargingStation, payload: OCPP20BootNotificationResponse ): void { - if (payload.status === RegistrationStatusEnumType.ACCEPTED) { - addConfigurationKey( - chargingStation, - OCPP20OptionalVariableName.HeartbeatInterval, - payload.interval.toString(), - {}, - { overwrite: true, save: true } - ) - OCPP20ServiceUtils.startHeartbeatInterval(chargingStation, payload.interval) - } if (Object.values(RegistrationStatusEnumType).includes(payload.status)) { chargingStation.bootNotificationResponse = payload if (chargingStation.isRegistered()) { chargingStation.emit(ChargingStationEvents.registered) if (chargingStation.inAcceptedState()) { chargingStation.emit(ChargingStationEvents.accepted) + addConfigurationKey( + chargingStation, + OCPP20OptionalVariableName.HeartbeatInterval, + payload.interval.toString(), + {}, + { overwrite: true, save: true } + ) } } else if (chargingStation.inRejectedState()) { chargingStation.emit(ChargingStationEvents.rejected) diff --git a/src/charging-station/ocpp/OCPPServiceUtils.ts b/src/charging-station/ocpp/OCPPServiceUtils.ts index 9b2fee9c..69de60cf 100644 --- a/src/charging-station/ocpp/OCPPServiceUtils.ts +++ b/src/charging-station/ocpp/OCPPServiceUtils.ts @@ -1379,14 +1379,6 @@ export class OCPPServiceUtils { } } - public static startHeartbeatInterval (chargingStation: ChargingStation, interval: number): void { - if (chargingStation.heartbeatSetInterval == null) { - chargingStation.startHeartbeat() - } else if (chargingStation.getHeartbeatInterval() !== interval) { - chargingStation.restartHeartbeat() - } - } - protected static parseJsonSchemaFile( relativePath: string, ocppVersion: OCPPVersion, -- 2.34.1 From 99100f9c8709a7ead56c1e2745db80a75e8f6f79 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 30 May 2024 03:54:15 +0200 Subject: [PATCH 10/16] fix: start web socket ping interval at successful connection MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/ChargingStation.ts | 36 +++++++++++-------- .../ocpp/1.6/OCPP16ResponseService.ts | 2 +- .../ocpp/2.0/OCPP20ResponseService.ts | 2 +- src/types/ChargingStationEvents.ts | 1 + 4 files changed, 25 insertions(+), 16 deletions(-) diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 2d934e06..64cb637b 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -236,6 +236,11 @@ export class ChargingStation extends EventEmitter { this.on(ChargingStationEvents.rejected, () => { this.wsConnectionRetried = false }) + this.on(ChargingStationEvents.connected, () => { + if (this.wsPingSetInterval == null) { + this.startWebSocketPing() + } + }) this.on(ChargingStationEvents.disconnected, () => { try { this.internalStopMessageSequence() @@ -554,7 +559,8 @@ export class ChargingStation extends EventEmitter { } public startHeartbeat (): void { - if (this.getHeartbeatInterval() > 0 && this.heartbeatSetInterval == null) { + const heartbeatInterval = this.getHeartbeatInterval() + if (heartbeatInterval > 0 && this.heartbeatSetInterval == null) { this.heartbeatSetInterval = setInterval(() => { this.ocppRequestService .requestHandler(this, RequestCommand.HEARTBEAT) @@ -564,21 +570,21 @@ export class ChargingStation extends EventEmitter { error ) }) - }, this.getHeartbeatInterval()) + }, heartbeatInterval) logger.info( `${this.logPrefix()} Heartbeat started every ${formatDurationMilliSeconds( - this.getHeartbeatInterval() + heartbeatInterval )}` ) } else if (this.heartbeatSetInterval != null) { logger.info( `${this.logPrefix()} Heartbeat already started every ${formatDurationMilliSeconds( - this.getHeartbeatInterval() + heartbeatInterval )}` ) } else { logger.error( - `${this.logPrefix()} Heartbeat interval set to ${this.getHeartbeatInterval()}, not starting the heartbeat` + `${this.logPrefix()} Heartbeat interval set to ${heartbeatInterval}, not starting the heartbeat` ) } } @@ -1822,6 +1828,7 @@ export class ChargingStation extends EventEmitter { private async onOpen (): Promise { if (this.isWebSocketConnectionOpened()) { + this.emit(ChargingStationEvents.connected) this.emit(ChargingStationEvents.updated) logger.info( `${this.logPrefix()} Connection to OCPP server through ${ @@ -2222,12 +2229,12 @@ export class ChargingStation extends EventEmitter { }) } // Start WebSocket ping - this.startWebSocketPing() + if (this.wsPingSetInterval == null) { + this.startWebSocketPing() + } // Start heartbeat if (this.heartbeatSetInterval == null) { this.startHeartbeat() - } else if (this.getHeartbeatInterval() !== this.bootNotificationResponse?.interval) { - this.restartHeartbeat() } // Initialize connectors status if (this.hasEvses) { @@ -2318,13 +2325,14 @@ export class ChargingStation extends EventEmitter { } } + private getWebSocketPingInterval (): number { + return getConfigurationKey(this, StandardParametersKey.WebSocketPingInterval) != null + ? convertToInt(getConfigurationKey(this, StandardParametersKey.WebSocketPingInterval)?.value) + : 0 + } + private startWebSocketPing (): void { - const webSocketPingInterval = - getConfigurationKey(this, StandardParametersKey.WebSocketPingInterval) != null - ? convertToInt( - getConfigurationKey(this, StandardParametersKey.WebSocketPingInterval)?.value - ) - : 0 + const webSocketPingInterval = this.getWebSocketPingInterval() if (webSocketPingInterval > 0 && this.wsPingSetInterval == null) { this.wsPingSetInterval = setInterval(() => { if (this.isWebSocketConnectionOpened()) { diff --git a/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts b/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts index 409f382e..c7a75e43 100644 --- a/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts +++ b/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts @@ -515,7 +515,6 @@ export class OCPP16ResponseService extends OCPPResponseService { if (chargingStation.isRegistered()) { chargingStation.emit(ChargingStationEvents.registered) if (chargingStation.inAcceptedState()) { - chargingStation.emit(ChargingStationEvents.accepted) addConfigurationKey( chargingStation, OCPP16StandardParametersKey.HeartbeatInterval, @@ -530,6 +529,7 @@ export class OCPP16ResponseService extends OCPPResponseService { { visible: false }, { overwrite: true, save: true } ) + chargingStation.emit(ChargingStationEvents.accepted) } } else if (chargingStation.inRejectedState()) { chargingStation.emit(ChargingStationEvents.rejected) diff --git a/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts b/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts index 77546cfa..8a6e2cac 100644 --- a/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts +++ b/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts @@ -188,7 +188,6 @@ export class OCPP20ResponseService extends OCPPResponseService { if (chargingStation.isRegistered()) { chargingStation.emit(ChargingStationEvents.registered) if (chargingStation.inAcceptedState()) { - chargingStation.emit(ChargingStationEvents.accepted) addConfigurationKey( chargingStation, OCPP20OptionalVariableName.HeartbeatInterval, @@ -196,6 +195,7 @@ export class OCPP20ResponseService extends OCPPResponseService { {}, { overwrite: true, save: true } ) + chargingStation.emit(ChargingStationEvents.accepted) } } else if (chargingStation.inRejectedState()) { chargingStation.emit(ChargingStationEvents.rejected) diff --git a/src/types/ChargingStationEvents.ts b/src/types/ChargingStationEvents.ts index b690bc91..3fa6adec 100644 --- a/src/types/ChargingStationEvents.ts +++ b/src/types/ChargingStationEvents.ts @@ -7,6 +7,7 @@ export enum ChargingStationEvents { registered = 'registered', accepted = 'accepted', rejected = 'rejected', + connected = 'connected', disconnected = 'disconnected', connectorStatusChanged = 'connectorStatusChanged' } -- 2.34.1 From 55e006e1af126c62f26f39cd4a1f91ebd44b865d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 31 May 2024 00:02:48 +0200 Subject: [PATCH 11/16] build(deps-dev): apply updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- package.json | 6 ++--- pnpm-lock.yaml | 64 ++++++++++++++++++++++----------------------- ui/web/package.json | 8 +++--- 3 files changed, 39 insertions(+), 39 deletions(-) diff --git a/package.json b/package.json index f591e314..3977d191 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,9 @@ }, "volta": { "node": "22.2.0", - "pnpm": "9.1.3" + "pnpm": "9.1.4" }, - "packageManager": "pnpm@9.1.3", + "packageManager": "pnpm@9.1.4", "repository": { "type": "git", "url": "https://github.com/sap/e-mobility-charging-stations-simulator.git" @@ -107,7 +107,7 @@ "mongodb": "^6.7.0", "poolifier": "^4.0.13", "rambda": "^9.2.0", - "tar": "^7.1.0", + "tar": "^7.2.0", "winston": "^3.13.0", "winston-daily-rotate-file": "^5.0.0", "ws": "^8.17.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 47617d4f..173dede6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -63,8 +63,8 @@ importers: specifier: ^9.2.0 version: 9.2.0 tar: - specifier: ^7.1.0 - version: 7.1.0 + specifier: ^7.2.0 + version: 7.2.0 winston: specifier: ^3.13.0 version: 3.13.0 @@ -219,8 +219,8 @@ importers: specifier: ^20.1.4 version: 20.1.4 '@types/jsdom': - specifier: ^21.1.6 - version: 21.1.6 + specifier: ^21.1.7 + version: 21.1.7 '@types/node': specifier: ^20.12.13 version: 20.12.13 @@ -234,8 +234,8 @@ importers: specifier: ^5.0.4 version: 5.0.4(vite@5.2.12(@types/node@20.12.13))(vue@3.4.27(typescript@5.4.5)) '@vitejs/plugin-vue-jsx': - specifier: ^3.1.0 - version: 3.1.0(vite@5.2.12(@types/node@20.12.13))(vue@3.4.27(typescript@5.4.5)) + specifier: ^4.0.0 + version: 4.0.0(vite@5.2.12(@types/node@20.12.13))(vue@3.4.27(typescript@5.4.5)) '@vitest/coverage-v8': specifier: ^1.6.0 version: 1.6.0(vitest@1.6.0(@types/node@20.12.13)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4))) @@ -1231,8 +1231,8 @@ packages: '@types/istanbul-reports@3.0.4': resolution: {integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==} - '@types/jsdom@21.1.6': - resolution: {integrity: sha512-/7kkMsC+/kMs7gAYmmBR9P0vGTnOoLhQhyhQJSlXGI5bzTHp6xdo0TtKWQAsz6pmSAeVqKSbqeyP6hytqr9FDw==} + '@types/jsdom@21.1.7': + resolution: {integrity: sha512-yOriVnggzrnQ3a9OKOCxaVuSug3w3/SbOj5i7VwXWZEyUNl3bLF9V3MfxGbZKuwqJOQyRfqXyROBB1CoZLFWzA==} '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} @@ -1343,11 +1343,11 @@ packages: '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - '@vitejs/plugin-vue-jsx@3.1.0': - resolution: {integrity: sha512-w9M6F3LSEU5kszVb9An2/MmXNxocAnUb3WhRr8bHlimhDrXNt6n6D2nJQR3UXpGlZHh/EsgouOHCsM8V3Ln+WA==} - engines: {node: ^14.18.0 || >=16.0.0} + '@vitejs/plugin-vue-jsx@4.0.0': + resolution: {integrity: sha512-A+6wL2AdQhDsLsDnY+2v4rRDI1HLJGIMc97a8FURO9tqKsH5QvjWrzsa5DH3NlZsM742W2wODl2fF+bfcTWtXw==} + engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: - vite: ^4.0.0 || ^5.0.0 + vite: ^5.0.0 vue: ^3.0.0 '@vitejs/plugin-vue@5.0.4': @@ -2542,8 +2542,8 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - electron-to-chromium@1.4.784: - resolution: {integrity: sha512-9CZwh+sDrhDAeOEFh8s3PqwduzTyYIeYwZolc1b9ENAUt3ePu7R1sJSCWr/820ISssRxCJUyHI9Wb7j+0Uo1AA==} + electron-to-chromium@1.4.787: + resolution: {integrity: sha512-d0EFmtLPjctczO3LogReyM2pbBiiZbnsKnGF+cdZhsYzHm/A0GV7W94kqzLD8SN4O3f3iHlgLUChqghgyznvCQ==} elliptic@6.5.5: resolution: {integrity: sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw==} @@ -4486,8 +4486,8 @@ packages: no-case@2.3.2: resolution: {integrity: sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==} - node-abi@3.62.0: - resolution: {integrity: sha512-CPMcGa+y33xuL1E0TcNIu4YyaZCxnnvkVaEXrsosR3FxN+fV8xvb7Mzpb7IgKler10qeMkE6+Dp8qJhpzdq35g==} + node-abi@3.63.0: + resolution: {integrity: sha512-vAszCsOUrUxjGAmdnM/pq7gUgie0IRteCQMX6d4A534fQCR93EJU5qgzBvU6EkFfK27s0T3HEV3BOyJIr7OMYw==} engines: {node: '>=10'} node-addon-api@7.1.0: @@ -5636,8 +5636,8 @@ packages: resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==} engines: {node: '>=10'} - tar@7.1.0: - resolution: {integrity: sha512-ENhg4W6BmjYxl8GTaE7/h99f0aXiSWv4kikRZ9n2/JRxypZniE84ILZqimAhxxX7Zb8Px6pFdheW3EeHfhnXQQ==} + tar@7.2.0: + resolution: {integrity: sha512-hctwP0Nb4AB60bj8WQgRYaMOuJYRAPMGiQUAotms5igN8ppfQM+IvjQ5HcKu1MaZh2Wy2KWVTe563Yj8dfc14w==} engines: {node: '>=18'} tarn@3.0.2: @@ -5826,8 +5826,8 @@ packages: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} - type@2.7.2: - resolution: {integrity: sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==} + type@2.7.3: + resolution: {integrity: sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ==} typed-array-buffer@1.0.2: resolution: {integrity: sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==} @@ -7354,7 +7354,7 @@ snapshots: dependencies: '@types/istanbul-lib-report': 3.0.3 - '@types/jsdom@21.1.6': + '@types/jsdom@21.1.7': dependencies: '@types/node': 20.12.13 '@types/tough-cookie': 4.0.5 @@ -7483,7 +7483,7 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-vue-jsx@3.1.0(vite@5.2.12(@types/node@20.12.13))(vue@3.4.27(typescript@5.4.5))': + '@vitejs/plugin-vue-jsx@4.0.0(vite@5.2.12(@types/node@20.12.13))(vue@3.4.27(typescript@5.4.5))': dependencies: '@babel/core': 7.24.6 '@babel/plugin-transform-typescript': 7.24.6(@babel/core@7.24.6) @@ -8141,7 +8141,7 @@ snapshots: browserslist@4.23.0: dependencies: caniuse-lite: 1.0.30001625 - electron-to-chromium: 1.4.784 + electron-to-chromium: 1.4.787 node-releases: 2.0.14 update-browserslist-db: 1.0.16(browserslist@4.23.0) @@ -8726,7 +8726,7 @@ snapshots: d@1.0.2: dependencies: es5-ext: 0.10.64 - type: 2.7.2 + type: 2.7.3 dargs@7.0.0: {} @@ -8953,7 +8953,7 @@ snapshots: ee-first@1.1.1: {} - electron-to-chromium@1.4.784: {} + electron-to-chromium@1.4.787: {} elliptic@6.5.5: dependencies: @@ -9126,7 +9126,7 @@ snapshots: es6-iterator: 2.0.3 es6-symbol: 3.1.4 event-emitter: 0.3.5 - type: 2.7.2 + type: 2.7.3 es6-symbol@3.1.4: dependencies: @@ -9450,7 +9450,7 @@ snapshots: d: 1.0.2 es5-ext: 0.10.64 event-emitter: 0.3.5 - type: 2.7.2 + type: 2.7.3 espree@9.6.1: dependencies: @@ -9554,7 +9554,7 @@ snapshots: ext@1.7.0: dependencies: - type: 2.7.2 + type: 2.7.3 extend@3.0.2: {} @@ -11176,7 +11176,7 @@ snapshots: dependencies: lower-case: 1.1.4 - node-abi@3.62.0: + node-abi@3.63.0: dependencies: semver: 7.6.2 @@ -11602,7 +11602,7 @@ snapshots: minimist: 1.2.8 mkdirp-classic: 0.5.3 napi-build-utils: 1.0.2 - node-abi: 3.62.0 + node-abi: 3.63.0 pump: 3.0.0 rc: 1.2.8 simple-get: 4.0.1 @@ -12493,7 +12493,7 @@ snapshots: mkdirp: 1.0.4 yallist: 4.0.0 - tar@7.1.0: + tar@7.2.0: dependencies: '@isaacs/fs-minipass': 4.0.1 chownr: 3.0.0 @@ -12684,7 +12684,7 @@ snapshots: type-fest@2.19.0: {} - type@2.7.2: {} + type@2.7.3: {} typed-array-buffer@1.0.2: dependencies: diff --git a/ui/web/package.json b/ui/web/package.json index e0965a2d..dcbe3796 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -9,9 +9,9 @@ }, "volta": { "node": "22.2.0", - "pnpm": "9.1.3" + "pnpm": "9.1.4" }, - "packageManager": "pnpm@9.1.3", + "packageManager": "pnpm@9.1.4", "type": "module", "scripts": { "build": "vite build", @@ -36,12 +36,12 @@ "devDependencies": { "@rushstack/eslint-patch": "^1.10.3", "@tsconfig/node20": "^20.1.4", - "@types/jsdom": "^21.1.6", + "@types/jsdom": "^21.1.7", "@types/node": "^20.12.13", "@typescript-eslint/eslint-plugin": "^7.11.0", "@typescript-eslint/parser": "^7.11.0", "@vitejs/plugin-vue": "^5.0.4", - "@vitejs/plugin-vue-jsx": "^3.1.0", + "@vitejs/plugin-vue-jsx": "^4.0.0", "@vitest/coverage-v8": "^1.6.0", "@vue/eslint-config-prettier": "^9.0.0", "@vue/eslint-config-typescript": "^13.0.0", -- 2.34.1 From 4ed43d280ab39b9beaadfa90875c71bf3b2a9507 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 31 May 2024 23:41:33 +0200 Subject: [PATCH 12/16] build(deps-dev): apply updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- package.json | 12 +- pnpm-lock.yaml | 275 ++++++++++++++++++++++++-------------------- ui/web/package.json | 4 +- 3 files changed, 160 insertions(+), 131 deletions(-) diff --git a/package.json b/package.json index 3977d191..f36ac01a 100644 --- a/package.json +++ b/package.json @@ -92,10 +92,10 @@ } }, "dependencies": { - "@mikro-orm/core": "^6.2.8", - "@mikro-orm/mariadb": "^6.2.8", - "@mikro-orm/reflection": "^6.2.8", - "@mikro-orm/sqlite": "^6.2.8", + "@mikro-orm/core": "^6.2.9", + "@mikro-orm/mariadb": "^6.2.9", + "@mikro-orm/reflection": "^6.2.9", + "@mikro-orm/sqlite": "^6.2.9", "ajv": "^8.14.0", "ajv-formats": "^3.0.1", "basic-ftp": "^5.0.5", @@ -119,9 +119,9 @@ "devDependencies": { "@commitlint/cli": "^19.3.0", "@commitlint/config-conventional": "^19.2.2", - "@mikro-orm/cli": "^6.2.8", + "@mikro-orm/cli": "^6.2.9", "@release-it/bumper": "^6.0.1", - "@types/node": "^20.12.13", + "@types/node": "^20.13.0", "@types/semver": "^7.5.8", "@types/ws": "^8.5.10", "@typescript-eslint/eslint-plugin": "^7.11.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 173dede6..c6f75083 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,17 +18,17 @@ importers: .: dependencies: '@mikro-orm/core': - specifier: ^6.2.8 - version: 6.2.8 + specifier: ^6.2.9 + version: 6.2.9 '@mikro-orm/mariadb': - specifier: ^6.2.8 - version: 6.2.8(@mikro-orm/core@6.2.8) + specifier: ^6.2.9 + version: 6.2.9(@mikro-orm/core@6.2.9) '@mikro-orm/reflection': - specifier: ^6.2.8 - version: 6.2.8(@mikro-orm/core@6.2.8) + specifier: ^6.2.9 + version: 6.2.9(@mikro-orm/core@6.2.9) '@mikro-orm/sqlite': - specifier: ^6.2.8 - version: 6.2.8(@mikro-orm/core@6.2.8) + specifier: ^6.2.9 + version: 6.2.9(@mikro-orm/core@6.2.9)(mariadb@3.3.0) ajv: specifier: ^8.14.0 version: 8.14.0 @@ -84,19 +84,19 @@ importers: devDependencies: '@commitlint/cli': specifier: ^19.3.0 - version: 19.3.0(@types/node@20.12.13)(typescript@5.4.5) + version: 19.3.0(@types/node@20.13.0)(typescript@5.4.5) '@commitlint/config-conventional': specifier: ^19.2.2 version: 19.2.2 '@mikro-orm/cli': - specifier: ^6.2.8 - version: 6.2.8 + specifier: ^6.2.9 + version: 6.2.9(mariadb@3.3.0) '@release-it/bumper': specifier: ^6.0.1 version: 6.0.1(release-it@17.3.0(typescript@5.4.5)) '@types/node': - specifier: ^20.12.13 - version: 20.12.13 + specifier: ^20.13.0 + version: 20.13.0 '@types/semver': specifier: ^7.5.8 version: 7.5.8 @@ -186,7 +186,7 @@ importers: version: 7.6.2 ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.12.13)(typescript@5.4.5) + version: 10.9.2(@types/node@20.13.0)(typescript@5.4.5) tsx: specifier: ^4.11.0 version: 4.11.0 @@ -222,8 +222,8 @@ importers: specifier: ^21.1.7 version: 21.1.7 '@types/node': - specifier: ^20.12.13 - version: 20.12.13 + specifier: ^20.13.0 + version: 20.13.0 '@typescript-eslint/eslint-plugin': specifier: ^7.11.0 version: 7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) @@ -231,14 +231,14 @@ importers: specifier: ^7.11.0 version: 7.11.0(eslint@8.57.0)(typescript@5.4.5) '@vitejs/plugin-vue': - specifier: ^5.0.4 - version: 5.0.4(vite@5.2.12(@types/node@20.12.13))(vue@3.4.27(typescript@5.4.5)) + specifier: ^5.0.5 + version: 5.0.5(vite@5.2.12(@types/node@20.13.0))(vue@3.4.27(typescript@5.4.5)) '@vitejs/plugin-vue-jsx': specifier: ^4.0.0 - version: 4.0.0(vite@5.2.12(@types/node@20.12.13))(vue@3.4.27(typescript@5.4.5)) + version: 4.0.0(vite@5.2.12(@types/node@20.13.0))(vue@3.4.27(typescript@5.4.5)) '@vitest/coverage-v8': specifier: ^1.6.0 - version: 1.6.0(vitest@1.6.0(@types/node@20.12.13)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4))) + version: 1.6.0(vitest@1.6.0(@types/node@20.13.0)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4))) '@vue/eslint-config-prettier': specifier: ^9.0.0 version: 9.0.0(@types/eslint@8.56.10)(eslint@8.57.0)(prettier@3.2.5) @@ -286,10 +286,10 @@ importers: version: 5.4.5 vite: specifier: ^5.2.12 - version: 5.2.12(@types/node@20.12.13) + version: 5.2.12(@types/node@20.13.0) vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@20.12.13)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) + version: 1.6.0(@types/node@20.13.0)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) packages: @@ -871,8 +871,8 @@ packages: '@iarna/toml@2.2.5': resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==} - '@inquirer/figures@1.0.2': - resolution: {integrity: sha512-4F1MBwVr3c/m4bAUef6LgkvBfSjzwH+OfldgHqcuacWwSUetFebM2wi58WfG9uk1rR98U6GwLed4asLJbwdV5w==} + '@inquirer/figures@1.0.3': + resolution: {integrity: sha512-ErXXzENMH5pJt5/ssXV0DfWUZqly8nGzf0UcBV9xTnP+KyffE2mqyxIMBrZ8ijQck2nU0TQm40EQB53YreyWHw==} engines: {node: '>=18'} '@isaacs/cliui@8.0.2': @@ -933,35 +933,45 @@ packages: '@microsoft/tsdoc@0.15.0': resolution: {integrity: sha512-HZpPoABogPvjeJOdzCOSJsXeL/SMCBgBZMVC3X3d7YYp2gf31MfxhUoYUNwf1ERPJOnQc0wkFn9trqI6ZEdZuA==} - '@mikro-orm/cli@6.2.8': - resolution: {integrity: sha512-ahQQ6doFX3OmO70ALu+XihR5yA4ZC1luJFN1M+q1xHd+qB0xZcZfmCvFgs8K6FafsS6ttre/0W271fEWe8LecA==} + '@mikro-orm/cli@6.2.9': + resolution: {integrity: sha512-9eW9ZSzdO03KBkUn5Q0OxWBv/2RrKDwOabW2FKzuWslOY3ZBX+k+e8eP6a/+T8GeGGD/uqj8xVZSgM2DuGGqrw==} engines: {node: '>= 18.12.0'} hasBin: true - '@mikro-orm/core@6.2.8': - resolution: {integrity: sha512-zXw9THLF3zq/zUmL+nKZqM3kSVuOrSC2rs7ZSlnoselcqkXfYeblYC9E1Fg7ktpNa/4zzovYAWHrifFzpz2FHg==} + '@mikro-orm/core@6.2.9': + resolution: {integrity: sha512-fzeg8qNwNr0f9embDhs0L75EBC8ivIOsK1GGPXe48Ab+P0Vmv1qCskSP7/vNDsz4s1xDu0h0l6fIsv1N7j4jKQ==} engines: {node: '>= 18.12.0'} - '@mikro-orm/knex@6.2.8': - resolution: {integrity: sha512-lO434glly1YSTYtgxXgdAhBYYb0t81iSbutsD3/L2hiDgcyXspmEIKb3lROnfXzSrfCNCLU65Z/HZPEHKlO27w==} + '@mikro-orm/knex@6.2.9': + resolution: {integrity: sha512-eSHPiS5em+RGv/jx5lP7a1xDVVlnrG+l90/7N7WAgTGcPOzyILVw9EJOZl2KR8dh8EfPI6Wm35Lo4qkO2LoDUg==} engines: {node: '>= 18.12.0'} peerDependencies: '@mikro-orm/core': ^6.0.0 + better-sqlite3: '*' + libsql: '*' + mariadb: '*' + peerDependenciesMeta: + better-sqlite3: + optional: true + libsql: + optional: true + mariadb: + optional: true - '@mikro-orm/mariadb@6.2.8': - resolution: {integrity: sha512-OnDSBE3EydMOkcBr4FllGdbcQ8yUaHeXxFjUxY8/2P//IAoPmRGkIyyD2TxShmtNAZEZwkqAHphoNzneY4HuBA==} + '@mikro-orm/mariadb@6.2.9': + resolution: {integrity: sha512-V+wJ0bjX8clO64j0gRcvAZdl5FV2EJElHpn/x779/T5CuAratF68elEkKJNfqCPB6bbAPb6qrzvcI+szgjB23A==} engines: {node: '>= 18.12.0'} peerDependencies: '@mikro-orm/core': ^6.0.0 - '@mikro-orm/reflection@6.2.8': - resolution: {integrity: sha512-/G0vdyWnadzAR+aWXE4/j2fC6gm89/OJq1iX/Nen8JLHfddyl+G6pQ7xV1NelO1mJ2MA7NOMKQ/Uvweniddvkg==} + '@mikro-orm/reflection@6.2.9': + resolution: {integrity: sha512-JkdQnEohwngC1LiNNB+tt0ReDiCMlTAJA4/n5N4+tdSv8aspgrIX8ARgB2a6IjgWwes7xIkJJ1nb5tWdFwPSmA==} engines: {node: '>= 18.12.0'} peerDependencies: '@mikro-orm/core': ^6.0.0 - '@mikro-orm/sqlite@6.2.8': - resolution: {integrity: sha512-BqvMJ0rxICJPe2eblSb5SjMMwr/qrAjBZxYyG9sR7tZBWGY+6L55WhZ8VI9jJyPD7oAPW2YAcqrDpugWkNXqKA==} + '@mikro-orm/sqlite@6.2.9': + resolution: {integrity: sha512-+ZdlKEtE8HmqbZWSm44MaZwfeS1AlrhMJrZfRr5tQfvdKi5VuRQ+I87Uxo03Ni5r0JXV1wEfFyWovK5c6h1iCQ==} engines: {node: '>= 18.12.0'} peerDependencies: '@mikro-orm/core': ^6.0.0 @@ -1243,8 +1253,8 @@ packages: '@types/long@4.0.2': resolution: {integrity: sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==} - '@types/node@20.12.13': - resolution: {integrity: sha512-gBGeanV41c1L171rR7wjbMiEpEI/l5XFQdLLfhr/REwpgDy/4U8y89+i8kRiLzDyZdOkXh+cRaTetUnCYutoXA==} + '@types/node@20.13.0': + resolution: {integrity: sha512-FM6AOb3khNkNIXPnHFDYaHerSv8uN22C91z098AnGccVu+Pcdhi+pNUFDi0iLmPIsVE0JBD0KVS7mzUYt4nRzQ==} '@types/offscreencanvas@2019.3.0': resolution: {integrity: sha512-esIJx9bQg+QYF0ra8GnvfianIY8qWB0GBx54PK5Eps6m+xTj86KLavHv6qDhzKcu5UUOgNfJ2pWaIIV7TRUd9Q==} @@ -1350,8 +1360,8 @@ packages: vite: ^5.0.0 vue: ^3.0.0 - '@vitejs/plugin-vue@5.0.4': - resolution: {integrity: sha512-WS3hevEszI6CEVEx28F8RjTX97k3KsrcY6kvTg7+Whm5y3oYvcqzVeGCU3hxSAn4uY2CLCkeokkGKpoctccilQ==} + '@vitejs/plugin-vue@5.0.5': + resolution: {integrity: sha512-LOjm7XeIimLBZyzinBQ6OSm3UBCNVCpLkxGC0oWmm2YPzVZoxMsdvNVimLTBzpAnR9hl/yn1SHGuRfe6/Td9rQ==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: vite: ^5.0.0 @@ -1405,8 +1415,8 @@ packages: '@vue/compiler-ssr@3.4.27': resolution: {integrity: sha512-CVRzSJIltzMG5FcidsW0jKNQnNRYC8bT21VegyMMtHmhW3UOI7knmUehzswXLrExDLE6lQCZdrhD4ogI7c+vuw==} - '@vue/devtools-api@6.6.1': - resolution: {integrity: sha512-LgPscpE3Vs0x96PzSSB4IGVSZXZBZHpfxs+ZA1d+VEPwHdOXowy/Y2CsvCAIFrf+ssVU1pD1jidj505EpUnfbA==} + '@vue/devtools-api@6.6.2': + resolution: {integrity: sha512-134clD8u7cBBXdmBbXI282gHGF7T/eAbD/G7mAK2llQF62IbI4ny28IVamZVMoJSvfImC2Xxnj732hXkJvUj6g==} '@vue/eslint-config-prettier@9.0.0': resolution: {integrity: sha512-z1ZIAAUS9pKzo/ANEfd2sO+v2IUalz7cM/cTLOZ7vRFOPk5/xuRKQteOu1DErFLAh/lYGXMVZ0IfYKlyInuDVg==} @@ -2375,6 +2385,15 @@ packages: supports-color: optional: true + debug@4.3.5: + resolution: {integrity: sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + decamelize@1.2.0: resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} engines: {node: '>=0.10.0'} @@ -4199,8 +4218,8 @@ packages: resolution: {integrity: sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q==} engines: {node: '>=8.6'} - mikro-orm@6.2.8: - resolution: {integrity: sha512-UMPa7QtzP5Cb98NDHtL7Q4rBCoUB6BQ3wa+vXPlZO79TVfQTd9fAdJuIdB+49qZJRPcEMowg2POYs1axtJoAPQ==} + mikro-orm@6.2.9: + resolution: {integrity: sha512-zpP8D7Lw8Q2WYwd43iFQI+5e0zPUM+vEAAyJaGE87RzSiQwchqZNPuV/H74STNJYqj8mLSvwZxFvRzrQXsCRRw==} engines: {node: '>= 18.12.0'} miller-rabin@4.0.1: @@ -6297,7 +6316,7 @@ snapshots: concat-stream: 2.0.0 d3-fg: 6.14.0 debounce: 1.2.1 - debug: 4.3.4 + debug: 4.3.5 end-of-stream: 1.4.4 env-string: 1.0.1 escape-string-regexp: 4.0.0 @@ -6350,7 +6369,7 @@ snapshots: '@babel/traverse': 7.24.6 '@babel/types': 7.24.6 convert-source-map: 2.0.0 - debug: 4.3.4 + debug: 4.3.5 gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 7.6.2 @@ -6502,7 +6521,7 @@ snapshots: '@babel/helper-split-export-declaration': 7.24.6 '@babel/parser': 7.24.6 '@babel/types': 7.24.6 - debug: 4.3.4 + debug: 4.3.5 globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -6569,7 +6588,7 @@ snapshots: d3-selection: 1.4.2 d3-shape: 1.3.7 d3-time-format: 2.3.0 - debug: 4.3.4 + debug: 4.3.5 distributions: 2.2.0 endpoint: 0.4.5 hidden-markov-model-tf: 4.0.0(@tensorflow/tfjs-core@3.21.0(encoding@0.1.13)) @@ -6637,11 +6656,11 @@ snapshots: '@colors/colors@1.6.0': {} - '@commitlint/cli@19.3.0(@types/node@20.12.13)(typescript@5.4.5)': + '@commitlint/cli@19.3.0(@types/node@20.13.0)(typescript@5.4.5)': dependencies: '@commitlint/format': 19.3.0 '@commitlint/lint': 19.2.2 - '@commitlint/load': 19.2.0(@types/node@20.12.13)(typescript@5.4.5) + '@commitlint/load': 19.2.0(@types/node@20.13.0)(typescript@5.4.5) '@commitlint/read': 19.2.1 '@commitlint/types': 19.0.3 execa: 8.0.1 @@ -6688,7 +6707,7 @@ snapshots: '@commitlint/rules': 19.0.3 '@commitlint/types': 19.0.3 - '@commitlint/load@19.2.0(@types/node@20.12.13)(typescript@5.4.5)': + '@commitlint/load@19.2.0(@types/node@20.13.0)(typescript@5.4.5)': dependencies: '@commitlint/config-validator': 19.0.3 '@commitlint/execute-rule': 19.0.0 @@ -6696,7 +6715,7 @@ snapshots: '@commitlint/types': 19.0.3 chalk: 5.3.0 cosmiconfig: 9.0.0(typescript@5.4.5) - cosmiconfig-typescript-loader: 5.0.0(@types/node@20.12.13)(cosmiconfig@9.0.0(typescript@5.4.5))(typescript@5.4.5) + cosmiconfig-typescript-loader: 5.0.0(@types/node@20.13.0)(cosmiconfig@9.0.0(typescript@5.4.5))(typescript@5.4.5) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -6915,7 +6934,7 @@ snapshots: '@eslint/eslintrc@2.1.4': dependencies: ajv: 6.12.6 - debug: 4.3.4 + debug: 4.3.5 espree: 9.6.1 globals: 13.24.0 ignore: 5.3.1 @@ -6934,7 +6953,7 @@ snapshots: '@humanwhocodes/config-array@0.11.14': dependencies: '@humanwhocodes/object-schema': 2.0.3 - debug: 4.3.4 + debug: 4.3.5 minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -6945,7 +6964,7 @@ snapshots: '@iarna/toml@2.2.5': {} - '@inquirer/figures@1.0.2': {} + '@inquirer/figures@1.0.3': {} '@isaacs/cliui@8.0.2': dependencies: @@ -6981,7 +7000,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.12.13 + '@types/node': 20.13.0 '@types/yargs': 17.0.32 chalk: 4.1.2 @@ -7020,16 +7039,18 @@ snapshots: '@microsoft/tsdoc@0.15.0': {} - '@mikro-orm/cli@6.2.8': + '@mikro-orm/cli@6.2.9(mariadb@3.3.0)': dependencies: '@jercle/yargonaut': 1.1.5 - '@mikro-orm/core': 6.2.8 - '@mikro-orm/knex': 6.2.8(@mikro-orm/core@6.2.8)(sqlite3@5.1.7) + '@mikro-orm/core': 6.2.9 + '@mikro-orm/knex': 6.2.9(@mikro-orm/core@6.2.9)(mariadb@3.3.0)(sqlite3@5.1.7) fs-extra: 11.2.0 tsconfig-paths: 4.2.0 yargs: 17.7.2 transitivePeerDependencies: - better-sqlite3 + - libsql + - mariadb - mysql - mysql2 - pg @@ -7038,24 +7059,25 @@ snapshots: - supports-color - tedious - '@mikro-orm/core@6.2.8': + '@mikro-orm/core@6.2.9': dependencies: dataloader: 2.2.2 dotenv: 16.4.5 esprima: 4.0.1 fs-extra: 11.2.0 globby: 11.1.0 - mikro-orm: 6.2.8 + mikro-orm: 6.2.9 reflect-metadata: 0.2.2 - '@mikro-orm/knex@6.2.8(@mikro-orm/core@6.2.8)(sqlite3@5.1.7)': + '@mikro-orm/knex@6.2.9(@mikro-orm/core@6.2.9)(mariadb@3.3.0)(sqlite3@5.1.7)': dependencies: - '@mikro-orm/core': 6.2.8 + '@mikro-orm/core': 6.2.9 fs-extra: 11.2.0 knex: 3.1.0(sqlite3@5.1.7) sqlstring: 2.3.3 + optionalDependencies: + mariadb: 3.3.0 transitivePeerDependencies: - - better-sqlite3 - mysql - mysql2 - pg @@ -7064,13 +7086,14 @@ snapshots: - supports-color - tedious - '@mikro-orm/mariadb@6.2.8(@mikro-orm/core@6.2.8)': + '@mikro-orm/mariadb@6.2.9(@mikro-orm/core@6.2.9)': dependencies: - '@mikro-orm/core': 6.2.8 - '@mikro-orm/knex': 6.2.8(@mikro-orm/core@6.2.8)(sqlite3@5.1.7) + '@mikro-orm/core': 6.2.9 + '@mikro-orm/knex': 6.2.9(@mikro-orm/core@6.2.9)(mariadb@3.3.0)(sqlite3@5.1.7) mariadb: 3.3.0 transitivePeerDependencies: - better-sqlite3 + - libsql - mysql - mysql2 - pg @@ -7079,22 +7102,24 @@ snapshots: - supports-color - tedious - '@mikro-orm/reflection@6.2.8(@mikro-orm/core@6.2.8)': + '@mikro-orm/reflection@6.2.9(@mikro-orm/core@6.2.9)': dependencies: - '@mikro-orm/core': 6.2.8 + '@mikro-orm/core': 6.2.9 globby: 11.1.0 ts-morph: 22.0.0 - '@mikro-orm/sqlite@6.2.8(@mikro-orm/core@6.2.8)': + '@mikro-orm/sqlite@6.2.9(@mikro-orm/core@6.2.9)(mariadb@3.3.0)': dependencies: - '@mikro-orm/core': 6.2.8 - '@mikro-orm/knex': 6.2.8(@mikro-orm/core@6.2.8)(sqlite3@5.1.7) + '@mikro-orm/core': 6.2.9 + '@mikro-orm/knex': 6.2.9(@mikro-orm/core@6.2.9)(mariadb@3.3.0)(sqlite3@5.1.7) fs-extra: 11.2.0 sqlite3: 5.1.7 sqlstring-sqlite: 0.1.1 transitivePeerDependencies: - better-sqlite3 - bluebird + - libsql + - mariadb - mysql - mysql2 - pg @@ -7331,7 +7356,7 @@ snapshots: '@types/conventional-commits-parser@5.0.0': dependencies: - '@types/node': 20.12.13 + '@types/node': 20.13.0 '@types/eslint@8.56.10': dependencies: @@ -7356,7 +7381,7 @@ snapshots: '@types/jsdom@21.1.7': dependencies: - '@types/node': 20.12.13 + '@types/node': 20.13.0 '@types/tough-cookie': 4.0.5 parse5: 7.1.2 @@ -7366,7 +7391,7 @@ snapshots: '@types/long@4.0.2': {} - '@types/node@20.12.13': + '@types/node@20.13.0': dependencies: undici-types: 5.26.5 @@ -7392,7 +7417,7 @@ snapshots: '@types/ws@8.5.10': dependencies: - '@types/node': 20.12.13 + '@types/node': 20.13.0 '@types/yargs-parser@21.0.3': {} @@ -7424,7 +7449,7 @@ snapshots: '@typescript-eslint/types': 7.11.0 '@typescript-eslint/typescript-estree': 7.11.0(typescript@5.4.5) '@typescript-eslint/visitor-keys': 7.11.0 - debug: 4.3.4 + debug: 4.3.5 eslint: 8.57.0 optionalDependencies: typescript: 5.4.5 @@ -7440,7 +7465,7 @@ snapshots: dependencies: '@typescript-eslint/typescript-estree': 7.11.0(typescript@5.4.5) '@typescript-eslint/utils': 7.11.0(eslint@8.57.0)(typescript@5.4.5) - debug: 4.3.4 + debug: 4.3.5 eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.4.5) optionalDependencies: @@ -7454,7 +7479,7 @@ snapshots: dependencies: '@typescript-eslint/types': 7.11.0 '@typescript-eslint/visitor-keys': 7.11.0 - debug: 4.3.4 + debug: 4.3.5 globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.4 @@ -7483,26 +7508,26 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-vue-jsx@4.0.0(vite@5.2.12(@types/node@20.12.13))(vue@3.4.27(typescript@5.4.5))': + '@vitejs/plugin-vue-jsx@4.0.0(vite@5.2.12(@types/node@20.13.0))(vue@3.4.27(typescript@5.4.5))': dependencies: '@babel/core': 7.24.6 '@babel/plugin-transform-typescript': 7.24.6(@babel/core@7.24.6) '@vue/babel-plugin-jsx': 1.2.2(@babel/core@7.24.6) - vite: 5.2.12(@types/node@20.12.13) + vite: 5.2.12(@types/node@20.13.0) vue: 3.4.27(typescript@5.4.5) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.0.4(vite@5.2.12(@types/node@20.12.13))(vue@3.4.27(typescript@5.4.5))': + '@vitejs/plugin-vue@5.0.5(vite@5.2.12(@types/node@20.13.0))(vue@3.4.27(typescript@5.4.5))': dependencies: - vite: 5.2.12(@types/node@20.12.13) + vite: 5.2.12(@types/node@20.13.0) vue: 3.4.27(typescript@5.4.5) - '@vitest/coverage-v8@1.6.0(vitest@1.6.0(@types/node@20.12.13)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)))': + '@vitest/coverage-v8@1.6.0(vitest@1.6.0(@types/node@20.13.0)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 - debug: 4.3.4 + debug: 4.3.5 istanbul-lib-coverage: 3.2.2 istanbul-lib-report: 3.0.1 istanbul-lib-source-maps: 5.0.4 @@ -7513,7 +7538,7 @@ snapshots: std-env: 3.7.0 strip-literal: 2.1.0 test-exclude: 6.0.0 - vitest: 1.6.0(@types/node@20.12.13)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) + vitest: 1.6.0(@types/node@20.13.0)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) transitivePeerDependencies: - supports-color @@ -7605,7 +7630,7 @@ snapshots: '@vue/compiler-dom': 3.4.27 '@vue/shared': 3.4.27 - '@vue/devtools-api@6.6.1': {} + '@vue/devtools-api@6.6.2': {} '@vue/eslint-config-prettier@9.0.0(@types/eslint@8.56.10)(eslint@8.57.0)(prettier@3.2.5)': dependencies: @@ -7694,14 +7719,14 @@ snapshots: agent-base@6.0.2: dependencies: - debug: 4.3.4 + debug: 4.3.5 transitivePeerDependencies: - supports-color optional: true agent-base@7.1.1: dependencies: - debug: 4.3.4 + debug: 4.3.5 transitivePeerDependencies: - supports-color @@ -8555,9 +8580,9 @@ snapshots: core-util-is@1.0.3: {} - cosmiconfig-typescript-loader@5.0.0(@types/node@20.12.13)(cosmiconfig@9.0.0(typescript@5.4.5))(typescript@5.4.5): + cosmiconfig-typescript-loader@5.0.0(@types/node@20.13.0)(cosmiconfig@9.0.0(typescript@5.4.5))(typescript@5.4.5): dependencies: - '@types/node': 20.12.13 + '@types/node': 20.13.0 cosmiconfig: 9.0.0(typescript@5.4.5) jiti: 1.21.0 typescript: 5.4.5 @@ -8789,6 +8814,10 @@ snapshots: dependencies: ms: 2.1.2 + debug@4.3.5: + dependencies: + ms: 2.1.2 + decamelize@1.2.0: {} decimal.js@10.4.3: {} @@ -9270,7 +9299,7 @@ snapshots: eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1)(eslint@8.57.0): dependencies: - debug: 4.3.4 + debug: 4.3.5 enhanced-resolve: 5.16.1 eslint: 8.57.0 eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0) @@ -9335,7 +9364,7 @@ snapshots: '@es-joy/jsdoccomment': 0.43.1 are-docs-informative: 0.0.2 comment-parser: 1.4.1 - debug: 4.3.4 + debug: 4.3.5 escape-string-regexp: 4.0.0 eslint: 8.57.0 esquery: 1.5.0 @@ -9413,7 +9442,7 @@ snapshots: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 - debug: 4.3.4 + debug: 4.3.5 doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.2.2 @@ -9794,7 +9823,7 @@ snapshots: dependencies: basic-ftp: 5.0.5 data-uri-to-buffer: 6.0.2 - debug: 4.3.4 + debug: 4.3.5 fs-extra: 11.2.0 transitivePeerDependencies: - supports-color @@ -10029,7 +10058,7 @@ snapshots: dependencies: '@tootallnate/once': 1.1.2 agent-base: 6.0.2 - debug: 4.3.4 + debug: 4.3.5 transitivePeerDependencies: - supports-color optional: true @@ -10037,7 +10066,7 @@ snapshots: http-proxy-agent@7.0.2: dependencies: agent-base: 7.1.1 - debug: 4.3.4 + debug: 4.3.5 transitivePeerDependencies: - supports-color @@ -10059,7 +10088,7 @@ snapshots: https-proxy-agent@5.0.1: dependencies: agent-base: 6.0.2 - debug: 4.3.4 + debug: 4.3.5 transitivePeerDependencies: - supports-color optional: true @@ -10067,7 +10096,7 @@ snapshots: https-proxy-agent@7.0.4: dependencies: agent-base: 7.1.1 - debug: 4.3.4 + debug: 4.3.5 transitivePeerDependencies: - supports-color @@ -10165,7 +10194,7 @@ snapshots: inquirer@9.2.22: dependencies: - '@inquirer/figures': 1.0.2 + '@inquirer/figures': 1.0.3 '@ljharb/through': 2.3.13 ansi-escapes: 4.3.2 chalk: 5.3.0 @@ -10438,7 +10467,7 @@ snapshots: istanbul-lib-source-maps@5.0.4: dependencies: '@jridgewell/trace-mapping': 0.3.25 - debug: 4.3.4 + debug: 4.3.5 istanbul-lib-coverage: 3.2.2 transitivePeerDependencies: - supports-color @@ -10492,7 +10521,7 @@ snapshots: jest-util@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 20.12.13 + '@types/node': 20.13.0 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -10659,7 +10688,7 @@ snapshots: dependencies: chalk: 5.3.0 commander: 12.1.0 - debug: 4.3.4 + debug: 4.3.5 execa: 8.0.1 lilconfig: 3.1.1 listr2: 8.2.1 @@ -10851,7 +10880,7 @@ snapshots: mariadb@3.3.0: dependencies: '@types/geojson': 7946.0.14 - '@types/node': 20.12.13 + '@types/node': 20.13.0 denque: 2.1.0 iconv-lite: 0.6.3 lru-cache: 10.2.2 @@ -10879,7 +10908,7 @@ snapshots: braces: 3.0.3 picomatch: 2.3.1 - mikro-orm@6.2.8: {} + mikro-orm@6.2.9: {} miller-rabin@4.0.1: dependencies: @@ -11437,7 +11466,7 @@ snapshots: dependencies: '@tootallnate/quickjs-emscripten': 0.23.0 agent-base: 7.1.1 - debug: 4.3.4 + debug: 4.3.5 get-uri: 6.0.3 http-proxy-agent: 7.0.2 https-proxy-agent: 7.0.4 @@ -11677,7 +11706,7 @@ snapshots: proxy-agent@6.4.0: dependencies: agent-base: 7.1.1 - debug: 4.3.4 + debug: 4.3.5 http-proxy-agent: 7.0.2 https-proxy-agent: 7.0.4 lru-cache: 7.18.3 @@ -12172,7 +12201,7 @@ snapshots: socks-proxy-agent@6.2.1: dependencies: agent-base: 6.0.2 - debug: 4.3.4 + debug: 4.3.5 socks: 2.8.3 transitivePeerDependencies: - supports-color @@ -12181,7 +12210,7 @@ snapshots: socks-proxy-agent@8.0.3: dependencies: agent-base: 7.1.1 - debug: 4.3.4 + debug: 4.3.5 socks: 2.8.3 transitivePeerDependencies: - supports-color @@ -12605,14 +12634,14 @@ snapshots: '@ts-morph/common': 0.23.0 code-block-writer: 13.0.1 - ts-node@10.9.2(@types/node@20.12.13)(typescript@5.4.5): + ts-node@10.9.2(@types/node@20.13.0)(typescript@5.4.5): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.12.13 + '@types/node': 20.13.0 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -12884,13 +12913,13 @@ snapshots: core-util-is: 1.0.2 extsprintf: 1.3.0 - vite-node@1.6.0(@types/node@20.12.13): + vite-node@1.6.0(@types/node@20.13.0): dependencies: cac: 6.7.14 - debug: 4.3.4 + debug: 4.3.5 pathe: 1.1.2 picocolors: 1.0.1 - vite: 5.2.12(@types/node@20.12.13) + vite: 5.2.12(@types/node@20.13.0) transitivePeerDependencies: - '@types/node' - less @@ -12901,16 +12930,16 @@ snapshots: - supports-color - terser - vite@5.2.12(@types/node@20.12.13): + vite@5.2.12(@types/node@20.13.0): dependencies: esbuild: 0.20.2 postcss: 8.4.38 rollup: 4.18.0 optionalDependencies: - '@types/node': 20.12.13 + '@types/node': 20.13.0 fsevents: 2.3.3 - vitest@1.6.0(@types/node@20.12.13)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)): + vitest@1.6.0(@types/node@20.13.0)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)): dependencies: '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 @@ -12919,7 +12948,7 @@ snapshots: '@vitest/utils': 1.6.0 acorn-walk: 8.3.2 chai: 4.4.1 - debug: 4.3.4 + debug: 4.3.5 execa: 8.0.1 local-pkg: 0.5.0 magic-string: 0.30.10 @@ -12929,11 +12958,11 @@ snapshots: strip-literal: 2.1.0 tinybench: 2.8.0 tinypool: 0.8.4 - vite: 5.2.12(@types/node@20.12.13) - vite-node: 1.6.0(@types/node@20.12.13) + vite: 5.2.12(@types/node@20.13.0) + vite-node: 1.6.0(@types/node@20.13.0) why-is-node-running: 2.2.2 optionalDependencies: - '@types/node': 20.12.13 + '@types/node': 20.13.0 jsdom: 24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4) transitivePeerDependencies: - less @@ -12950,7 +12979,7 @@ snapshots: vue-eslint-parser@9.4.2(eslint@8.57.0): dependencies: - debug: 4.3.4 + debug: 4.3.5 eslint: 8.57.0 eslint-scope: 7.2.2 eslint-visitor-keys: 3.4.3 @@ -12963,7 +12992,7 @@ snapshots: vue-router@4.3.2(vue@3.4.27(typescript@5.4.5)): dependencies: - '@vue/devtools-api': 6.6.1 + '@vue/devtools-api': 6.6.2 vue: 3.4.27(typescript@5.4.5) vue-toast-notification@3.1.2(vue@3.4.27(typescript@5.4.5)): diff --git a/ui/web/package.json b/ui/web/package.json index dcbe3796..0e4c1e63 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -37,10 +37,10 @@ "@rushstack/eslint-patch": "^1.10.3", "@tsconfig/node20": "^20.1.4", "@types/jsdom": "^21.1.7", - "@types/node": "^20.12.13", + "@types/node": "^20.13.0", "@typescript-eslint/eslint-plugin": "^7.11.0", "@typescript-eslint/parser": "^7.11.0", - "@vitejs/plugin-vue": "^5.0.4", + "@vitejs/plugin-vue": "^5.0.5", "@vitejs/plugin-vue-jsx": "^4.0.0", "@vitest/coverage-v8": "^1.6.0", "@vue/eslint-config-prettier": "^9.0.0", -- 2.34.1 From a6f03d2ddc8e28752b94cb0a43687d70c16683a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 1 Jun 2024 15:02:18 +0200 Subject: [PATCH 13/16] build(deps-dev): apply updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- pnpm-lock.yaml | 26 ++++++++++++------------- src/charging-station/ChargingStation.ts | 4 +--- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c6f75083..2bda2002 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2561,8 +2561,8 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - electron-to-chromium@1.4.787: - resolution: {integrity: sha512-d0EFmtLPjctczO3LogReyM2pbBiiZbnsKnGF+cdZhsYzHm/A0GV7W94kqzLD8SN4O3f3iHlgLUChqghgyznvCQ==} + electron-to-chromium@1.4.788: + resolution: {integrity: sha512-ubp5+Ev/VV8KuRoWnfP2QF2Bg+O2ZFdb49DiiNbz2VmgkIqrnyYaqIOqj8A6K/3p1xV0QcU5hBQ1+BmB6ot1OA==} elliptic@6.5.5: resolution: {integrity: sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw==} @@ -2724,8 +2724,8 @@ packages: engines: {node: '>=6.0'} hasBin: true - eslint-compat-utils@0.5.0: - resolution: {integrity: sha512-dc6Y8tzEcSYZMHa+CMPLi/hyo1FzNeonbhJL7Ol0ccuKQkwopJcJBA9YL/xmMTLU1eKigXo9vj9nALElWYSowg==} + eslint-compat-utils@0.5.1: + resolution: {integrity: sha512-3z3vFexKIEnjHE3zCMRo6fn/e44U7T1khUjg+Hp0ZQMCigh28rALD0nPFBcGZuiLC5rLZa2ubQHDRln09JfU2Q==} engines: {node: '>=12'} peerDependencies: eslint: '>=6.0.0' @@ -6070,8 +6070,8 @@ packages: vue-component-type-helpers@2.0.19: resolution: {integrity: sha512-cN3f1aTxxKo4lzNeQAkVopswuImUrb5Iurll9Gaw5cqpnbTAxtEMM1mgi6ou4X79OCyqYv1U1mzBHJkzmiK82w==} - vue-eslint-parser@9.4.2: - resolution: {integrity: sha512-Ry9oiGmCAK91HrKMtCrKFWmSFWvYkpGglCeFAIqDdr9zdXmMMpJOmUJS7WWsW7fX81h6mwHmUZCQQ1E0PkSwYQ==} + vue-eslint-parser@9.4.3: + resolution: {integrity: sha512-2rYRLWlIpaiN8xbPiDyXZXRgLGOtWxERV7ND5fFAv5qo1D2N9Fu9MNajBNc6o13lZ+24DAWCkQCvj4klgmcITg==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' @@ -7647,7 +7647,7 @@ snapshots: '@typescript-eslint/parser': 7.11.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 eslint-plugin-vue: 9.26.0(eslint@8.57.0) - vue-eslint-parser: 9.4.2(eslint@8.57.0) + vue-eslint-parser: 9.4.3(eslint@8.57.0) optionalDependencies: typescript: 5.4.5 transitivePeerDependencies: @@ -8166,7 +8166,7 @@ snapshots: browserslist@4.23.0: dependencies: caniuse-lite: 1.0.30001625 - electron-to-chromium: 1.4.787 + electron-to-chromium: 1.4.788 node-releases: 2.0.14 update-browserslist-db: 1.0.16(browserslist@4.23.0) @@ -8982,7 +8982,7 @@ snapshots: ee-first@1.1.1: {} - electron-to-chromium@1.4.787: {} + electron-to-chromium@1.4.788: {} elliptic@6.5.5: dependencies: @@ -9259,7 +9259,7 @@ snapshots: optionalDependencies: source-map: 0.6.1 - eslint-compat-utils@0.5.0(eslint@8.57.0): + eslint-compat-utils@0.5.1(eslint@8.57.0): dependencies: eslint: 8.57.0 semver: 7.6.2 @@ -9330,7 +9330,7 @@ snapshots: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@eslint-community/regexpp': 4.10.0 eslint: 8.57.0 - eslint-compat-utils: 0.5.0(eslint@8.57.0) + eslint-compat-utils: 0.5.1(eslint@8.57.0) eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): dependencies: @@ -9417,7 +9417,7 @@ snapshots: nth-check: 2.1.1 postcss-selector-parser: 6.1.0 semver: 7.6.2 - vue-eslint-parser: 9.4.2(eslint@8.57.0) + vue-eslint-parser: 9.4.3(eslint@8.57.0) xml-name-validator: 4.0.0 transitivePeerDependencies: - supports-color @@ -12977,7 +12977,7 @@ snapshots: vue-component-type-helpers@2.0.19: {} - vue-eslint-parser@9.4.2(eslint@8.57.0): + vue-eslint-parser@9.4.3(eslint@8.57.0): dependencies: debug: 4.3.5 eslint: 8.57.0 diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 64cb637b..27a56f34 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -2449,9 +2449,7 @@ export class ChargingStation extends EventEmitter { ) } else if (this.stationInfo?.autoReconnectMaxRetries !== -1) { logger.error( - `${this.logPrefix()} WebSocket connection retries failure: maximum retries reached (${ - this.wsConnectionRetryCount - }) or retries disabled (${this.stationInfo?.autoReconnectMaxRetries})` + `${this.logPrefix()} WebSocket connection retries failure: maximum retries reached (${this.wsConnectionRetryCount.toString()}) or retries disabled (${this.stationInfo?.autoReconnectMaxRetries})` ) } } -- 2.34.1 From fc105961dd56e041fc6de1df3fd51c74723ba419 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 2 Jun 2024 21:54:50 +0200 Subject: [PATCH 14/16] build(deps-dev): apply updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- package.json | 2 +- pnpm-lock.yaml | 42 +++++++++++++++++++++--------------------- ui/web/package.json | 2 +- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index f36ac01a..e45c5759 100644 --- a/package.json +++ b/package.json @@ -147,7 +147,7 @@ "glob": "^10.4.1", "husky": "^9.0.11", "lint-staged": "^15.2.5", - "prettier": "^3.2.5", + "prettier": "^3.3.0", "release-it": "^17.3.0", "rimraf": "^5.0.7", "semver": "^7.6.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2bda2002..49490c9a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -173,8 +173,8 @@ importers: specifier: ^15.2.5 version: 15.2.5 prettier: - specifier: ^3.2.5 - version: 3.2.5 + specifier: ^3.3.0 + version: 3.3.0 release-it: specifier: ^17.3.0 version: 17.3.0(typescript@5.4.5) @@ -241,7 +241,7 @@ importers: version: 1.6.0(vitest@1.6.0(@types/node@20.13.0)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4))) '@vue/eslint-config-prettier': specifier: ^9.0.0 - version: 9.0.0(@types/eslint@8.56.10)(eslint@8.57.0)(prettier@3.2.5) + version: 9.0.0(@types/eslint@8.56.10)(eslint@8.57.0)(prettier@3.3.0) '@vue/eslint-config-typescript': specifier: ^13.0.0 version: 13.0.0(eslint-plugin-vue@9.26.0(eslint@8.57.0))(eslint@8.57.0)(typescript@5.4.5) @@ -276,8 +276,8 @@ importers: specifier: ^24.1.0 version: 24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4) prettier: - specifier: ^3.2.5 - version: 3.2.5 + specifier: ^3.3.0 + version: 3.3.0 rimraf: specifier: ^5.0.7 version: 5.0.7 @@ -1906,8 +1906,8 @@ packages: resolution: {integrity: sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==} engines: {node: '>=14.16'} - caniuse-lite@1.0.30001625: - resolution: {integrity: sha512-4KE9N2gcRH+HQhpeiRZXd+1niLB/XNLAhSy4z7fI8EzcbcPoAqjNInxVHTiTwWfTIV4w096XG8OtCOCQQKPv3w==} + caniuse-lite@1.0.30001626: + resolution: {integrity: sha512-JRW7kAH8PFJzoPCJhLSHgDgKg5348hsQ68aqb+slnzuB5QFERv846oA/mRChmlLAOdEDeOkRn3ynb1gSFnjt3w==} caseless@0.12.0: resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==} @@ -4921,8 +4921,8 @@ packages: resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} engines: {node: '>=6.0.0'} - prettier@3.2.5: - resolution: {integrity: sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==} + prettier@3.3.0: + resolution: {integrity: sha512-J9odKxERhCQ10OC2yb93583f6UnYutOeiV5i0zEDS7UGTdUt0u+y8erxl3lBKvwo/JHyyoEdXjwp4dke9oyZ/g==} engines: {node: '>=14'} hasBin: true @@ -6276,8 +6276,8 @@ packages: resolution: {integrity: sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==} engines: {node: '>=18'} - yaml@2.4.2: - resolution: {integrity: sha512-B3VqDZ+JAg1nZpaEmWtTXUlBneoGx6CPM9b0TENK6aoSu5t73dItudwdgmi6tHlIZZId4dZ9skcAQ2UbcyAeVA==} + yaml@2.4.3: + resolution: {integrity: sha512-sntgmxj8o7DE7g/Qi60cqpLBA3HG3STcDA0kO+WfB05jEKhZMbY7umNm2rBpQvsmZ16/lPXCJGW2672dgOUkrg==} engines: {node: '>= 14'} hasBin: true @@ -7632,12 +7632,12 @@ snapshots: '@vue/devtools-api@6.6.2': {} - '@vue/eslint-config-prettier@9.0.0(@types/eslint@8.56.10)(eslint@8.57.0)(prettier@3.2.5)': + '@vue/eslint-config-prettier@9.0.0(@types/eslint@8.56.10)(eslint@8.57.0)(prettier@3.3.0)': dependencies: eslint: 8.57.0 eslint-config-prettier: 9.1.0(eslint@8.57.0) - eslint-plugin-prettier: 5.1.3(@types/eslint@8.56.10)(eslint-config-prettier@9.1.0(eslint@8.57.0))(eslint@8.57.0)(prettier@3.2.5) - prettier: 3.2.5 + eslint-plugin-prettier: 5.1.3(@types/eslint@8.56.10)(eslint-config-prettier@9.1.0(eslint@8.57.0))(eslint@8.57.0)(prettier@3.3.0) + prettier: 3.3.0 transitivePeerDependencies: - '@types/eslint' @@ -8165,7 +8165,7 @@ snapshots: browserslist@4.23.0: dependencies: - caniuse-lite: 1.0.30001625 + caniuse-lite: 1.0.30001626 electron-to-chromium: 1.4.788 node-releases: 2.0.14 update-browserslist-db: 1.0.16(browserslist@4.23.0) @@ -8274,7 +8274,7 @@ snapshots: camelcase@7.0.1: {} - caniuse-lite@1.0.30001625: {} + caniuse-lite@1.0.30001626: {} caseless@0.12.0: {} @@ -9385,10 +9385,10 @@ snapshots: minimatch: 9.0.4 semver: 7.6.2 - eslint-plugin-prettier@5.1.3(@types/eslint@8.56.10)(eslint-config-prettier@9.1.0(eslint@8.57.0))(eslint@8.57.0)(prettier@3.2.5): + eslint-plugin-prettier@5.1.3(@types/eslint@8.56.10)(eslint-config-prettier@9.1.0(eslint@8.57.0))(eslint@8.57.0)(prettier@3.3.0): dependencies: eslint: 8.57.0 - prettier: 3.2.5 + prettier: 3.3.0 prettier-linter-helpers: 1.0.0 synckit: 0.8.8 optionalDependencies: @@ -10695,7 +10695,7 @@ snapshots: micromatch: 4.0.7 pidtree: 0.6.0 string-argv: 0.3.2 - yaml: 2.4.2 + yaml: 2.4.3 transitivePeerDependencies: - supports-color @@ -11646,7 +11646,7 @@ snapshots: dependencies: fast-diff: 1.3.0 - prettier@3.2.5: {} + prettier@3.3.0: {} pretty-bytes@5.6.0: {} @@ -13194,7 +13194,7 @@ snapshots: yallist@5.0.0: {} - yaml@2.4.2: {} + yaml@2.4.3: {} yargs-parser@15.0.3: dependencies: diff --git a/ui/web/package.json b/ui/web/package.json index 0e4c1e63..2b35030f 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -55,7 +55,7 @@ "eslint-plugin-simple-import-sort": "^12.1.0", "eslint-plugin-vue": "^9.26.0", "jsdom": "^24.1.0", - "prettier": "^3.2.5", + "prettier": "^3.3.0", "rimraf": "^5.0.7", "typescript": "~5.4.5", "vite": "^5.2.12", -- 2.34.1 From 4c6f35659fb67d395adc035ef80c566eb6eef79e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 2 Jun 2024 21:57:56 +0200 Subject: [PATCH 15/16] refactor: cleanup string literal variables handling MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/ChargingStation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 27a56f34..def985c0 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -2449,7 +2449,7 @@ export class ChargingStation extends EventEmitter { ) } else if (this.stationInfo?.autoReconnectMaxRetries !== -1) { logger.error( - `${this.logPrefix()} WebSocket connection retries failure: maximum retries reached (${this.wsConnectionRetryCount.toString()}) or retries disabled (${this.stationInfo?.autoReconnectMaxRetries})` + `${this.logPrefix()} WebSocket connection retries failure: maximum retries reached (${this.wsConnectionRetryCount.toString()}) or retries disabled (${this.stationInfo?.autoReconnectMaxRetries?.toString()})` ) } } -- 2.34.1 From 36158bb7c539757a8b4a898dd6093d6805376921 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 3 Jun 2024 12:57:40 +0200 Subject: [PATCH 16/16] build(deps-dev): apply updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- package.json | 4 +- pnpm-lock.yaml | 102 ++++++++++++++++++++++---------------------- ui/web/package.json | 2 +- 3 files changed, 54 insertions(+), 54 deletions(-) diff --git a/package.json b/package.json index e45c5759..fdfc0d66 100644 --- a/package.json +++ b/package.json @@ -121,7 +121,7 @@ "@commitlint/config-conventional": "^19.2.2", "@mikro-orm/cli": "^6.2.9", "@release-it/bumper": "^6.0.1", - "@types/node": "^20.13.0", + "@types/node": "^20.14.0", "@types/semver": "^7.5.8", "@types/ws": "^8.5.10", "@typescript-eslint/eslint-plugin": "^7.11.0", @@ -152,7 +152,7 @@ "rimraf": "^5.0.7", "semver": "^7.6.2", "ts-node": "^10.9.2", - "tsx": "^4.11.0", + "tsx": "^4.11.2", "typescript": "~5.4.5" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 49490c9a..a0ae1a61 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -84,7 +84,7 @@ importers: devDependencies: '@commitlint/cli': specifier: ^19.3.0 - version: 19.3.0(@types/node@20.13.0)(typescript@5.4.5) + version: 19.3.0(@types/node@20.14.0)(typescript@5.4.5) '@commitlint/config-conventional': specifier: ^19.2.2 version: 19.2.2 @@ -95,8 +95,8 @@ importers: specifier: ^6.0.1 version: 6.0.1(release-it@17.3.0(typescript@5.4.5)) '@types/node': - specifier: ^20.13.0 - version: 20.13.0 + specifier: ^20.14.0 + version: 20.14.0 '@types/semver': specifier: ^7.5.8 version: 7.5.8 @@ -186,10 +186,10 @@ importers: version: 7.6.2 ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.13.0)(typescript@5.4.5) + version: 10.9.2(@types/node@20.14.0)(typescript@5.4.5) tsx: - specifier: ^4.11.0 - version: 4.11.0 + specifier: ^4.11.2 + version: 4.11.2 typescript: specifier: ~5.4.5 version: 5.4.5 @@ -222,8 +222,8 @@ importers: specifier: ^21.1.7 version: 21.1.7 '@types/node': - specifier: ^20.13.0 - version: 20.13.0 + specifier: ^20.14.0 + version: 20.14.0 '@typescript-eslint/eslint-plugin': specifier: ^7.11.0 version: 7.11.0(@typescript-eslint/parser@7.11.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) @@ -232,13 +232,13 @@ importers: version: 7.11.0(eslint@8.57.0)(typescript@5.4.5) '@vitejs/plugin-vue': specifier: ^5.0.5 - version: 5.0.5(vite@5.2.12(@types/node@20.13.0))(vue@3.4.27(typescript@5.4.5)) + version: 5.0.5(vite@5.2.12(@types/node@20.14.0))(vue@3.4.27(typescript@5.4.5)) '@vitejs/plugin-vue-jsx': specifier: ^4.0.0 - version: 4.0.0(vite@5.2.12(@types/node@20.13.0))(vue@3.4.27(typescript@5.4.5)) + version: 4.0.0(vite@5.2.12(@types/node@20.14.0))(vue@3.4.27(typescript@5.4.5)) '@vitest/coverage-v8': specifier: ^1.6.0 - version: 1.6.0(vitest@1.6.0(@types/node@20.13.0)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4))) + version: 1.6.0(vitest@1.6.0(@types/node@20.14.0)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4))) '@vue/eslint-config-prettier': specifier: ^9.0.0 version: 9.0.0(@types/eslint@8.56.10)(eslint@8.57.0)(prettier@3.3.0) @@ -286,10 +286,10 @@ importers: version: 5.4.5 vite: specifier: ^5.2.12 - version: 5.2.12(@types/node@20.13.0) + version: 5.2.12(@types/node@20.14.0) vitest: specifier: ^1.6.0 - version: 1.6.0(@types/node@20.13.0)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) + version: 1.6.0(@types/node@20.14.0)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) packages: @@ -1253,8 +1253,8 @@ packages: '@types/long@4.0.2': resolution: {integrity: sha512-MqTGEo5bj5t157U6fA/BiDynNkn0YknVdh48CMPkTSpFTVmvao5UQmm7uEF6xBEo7qIMAlY/JSleYaE6VOdpaA==} - '@types/node@20.13.0': - resolution: {integrity: sha512-FM6AOb3khNkNIXPnHFDYaHerSv8uN22C91z098AnGccVu+Pcdhi+pNUFDi0iLmPIsVE0JBD0KVS7mzUYt4nRzQ==} + '@types/node@20.14.0': + resolution: {integrity: sha512-5cHBxFGJx6L4s56Bubp4fglrEpmyJypsqI6RgzMfBHWUJQGWAAi8cWcgetEbZXHYXo9C2Fa4EEds/uSyS4cxmA==} '@types/offscreencanvas@2019.3.0': resolution: {integrity: sha512-esIJx9bQg+QYF0ra8GnvfianIY8qWB0GBx54PK5Eps6m+xTj86KLavHv6qDhzKcu5UUOgNfJ2pWaIIV7TRUd9Q==} @@ -1906,8 +1906,8 @@ packages: resolution: {integrity: sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw==} engines: {node: '>=14.16'} - caniuse-lite@1.0.30001626: - resolution: {integrity: sha512-JRW7kAH8PFJzoPCJhLSHgDgKg5348hsQ68aqb+slnzuB5QFERv846oA/mRChmlLAOdEDeOkRn3ynb1gSFnjt3w==} + caniuse-lite@1.0.30001627: + resolution: {integrity: sha512-4zgNiB8nTyV/tHhwZrFs88ryjls/lHiqFhrxCW4qSTeuRByBVnPYpDInchOIySWknznucaf31Z4KYqjfbrecVw==} caseless@0.12.0: resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==} @@ -5794,8 +5794,8 @@ packages: tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} - tsx@4.11.0: - resolution: {integrity: sha512-vzGGELOgAupsNVssAmZjbUDfdm/pWP4R+Kg8TVdsonxbXk0bEpE1qh0yV6/QxUVXaVlNemgcPajGdJJ82n3stg==} + tsx@4.11.2: + resolution: {integrity: sha512-V5DL5v1BuItjsQ2FN9+4OjR7n5cr8hSgN+VGmm/fd2/0cgQdBIWHcQ3bFYm/5ZTmyxkTDBUIaRuW2divgfPe0A==} engines: {node: '>=18.0.0'} hasBin: true @@ -6656,11 +6656,11 @@ snapshots: '@colors/colors@1.6.0': {} - '@commitlint/cli@19.3.0(@types/node@20.13.0)(typescript@5.4.5)': + '@commitlint/cli@19.3.0(@types/node@20.14.0)(typescript@5.4.5)': dependencies: '@commitlint/format': 19.3.0 '@commitlint/lint': 19.2.2 - '@commitlint/load': 19.2.0(@types/node@20.13.0)(typescript@5.4.5) + '@commitlint/load': 19.2.0(@types/node@20.14.0)(typescript@5.4.5) '@commitlint/read': 19.2.1 '@commitlint/types': 19.0.3 execa: 8.0.1 @@ -6707,7 +6707,7 @@ snapshots: '@commitlint/rules': 19.0.3 '@commitlint/types': 19.0.3 - '@commitlint/load@19.2.0(@types/node@20.13.0)(typescript@5.4.5)': + '@commitlint/load@19.2.0(@types/node@20.14.0)(typescript@5.4.5)': dependencies: '@commitlint/config-validator': 19.0.3 '@commitlint/execute-rule': 19.0.0 @@ -6715,7 +6715,7 @@ snapshots: '@commitlint/types': 19.0.3 chalk: 5.3.0 cosmiconfig: 9.0.0(typescript@5.4.5) - cosmiconfig-typescript-loader: 5.0.0(@types/node@20.13.0)(cosmiconfig@9.0.0(typescript@5.4.5))(typescript@5.4.5) + cosmiconfig-typescript-loader: 5.0.0(@types/node@20.14.0)(cosmiconfig@9.0.0(typescript@5.4.5))(typescript@5.4.5) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -7000,7 +7000,7 @@ snapshots: '@jest/schemas': 29.6.3 '@types/istanbul-lib-coverage': 2.0.6 '@types/istanbul-reports': 3.0.4 - '@types/node': 20.13.0 + '@types/node': 20.14.0 '@types/yargs': 17.0.32 chalk: 4.1.2 @@ -7356,7 +7356,7 @@ snapshots: '@types/conventional-commits-parser@5.0.0': dependencies: - '@types/node': 20.13.0 + '@types/node': 20.14.0 '@types/eslint@8.56.10': dependencies: @@ -7381,7 +7381,7 @@ snapshots: '@types/jsdom@21.1.7': dependencies: - '@types/node': 20.13.0 + '@types/node': 20.14.0 '@types/tough-cookie': 4.0.5 parse5: 7.1.2 @@ -7391,7 +7391,7 @@ snapshots: '@types/long@4.0.2': {} - '@types/node@20.13.0': + '@types/node@20.14.0': dependencies: undici-types: 5.26.5 @@ -7417,7 +7417,7 @@ snapshots: '@types/ws@8.5.10': dependencies: - '@types/node': 20.13.0 + '@types/node': 20.14.0 '@types/yargs-parser@21.0.3': {} @@ -7508,22 +7508,22 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitejs/plugin-vue-jsx@4.0.0(vite@5.2.12(@types/node@20.13.0))(vue@3.4.27(typescript@5.4.5))': + '@vitejs/plugin-vue-jsx@4.0.0(vite@5.2.12(@types/node@20.14.0))(vue@3.4.27(typescript@5.4.5))': dependencies: '@babel/core': 7.24.6 '@babel/plugin-transform-typescript': 7.24.6(@babel/core@7.24.6) '@vue/babel-plugin-jsx': 1.2.2(@babel/core@7.24.6) - vite: 5.2.12(@types/node@20.13.0) + vite: 5.2.12(@types/node@20.14.0) vue: 3.4.27(typescript@5.4.5) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@5.0.5(vite@5.2.12(@types/node@20.13.0))(vue@3.4.27(typescript@5.4.5))': + '@vitejs/plugin-vue@5.0.5(vite@5.2.12(@types/node@20.14.0))(vue@3.4.27(typescript@5.4.5))': dependencies: - vite: 5.2.12(@types/node@20.13.0) + vite: 5.2.12(@types/node@20.14.0) vue: 3.4.27(typescript@5.4.5) - '@vitest/coverage-v8@1.6.0(vitest@1.6.0(@types/node@20.13.0)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)))': + '@vitest/coverage-v8@1.6.0(vitest@1.6.0(@types/node@20.14.0)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -7538,7 +7538,7 @@ snapshots: std-env: 3.7.0 strip-literal: 2.1.0 test-exclude: 6.0.0 - vitest: 1.6.0(@types/node@20.13.0)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) + vitest: 1.6.0(@types/node@20.14.0)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)) transitivePeerDependencies: - supports-color @@ -8165,7 +8165,7 @@ snapshots: browserslist@4.23.0: dependencies: - caniuse-lite: 1.0.30001626 + caniuse-lite: 1.0.30001627 electron-to-chromium: 1.4.788 node-releases: 2.0.14 update-browserslist-db: 1.0.16(browserslist@4.23.0) @@ -8274,7 +8274,7 @@ snapshots: camelcase@7.0.1: {} - caniuse-lite@1.0.30001626: {} + caniuse-lite@1.0.30001627: {} caseless@0.12.0: {} @@ -8580,9 +8580,9 @@ snapshots: core-util-is@1.0.3: {} - cosmiconfig-typescript-loader@5.0.0(@types/node@20.13.0)(cosmiconfig@9.0.0(typescript@5.4.5))(typescript@5.4.5): + cosmiconfig-typescript-loader@5.0.0(@types/node@20.14.0)(cosmiconfig@9.0.0(typescript@5.4.5))(typescript@5.4.5): dependencies: - '@types/node': 20.13.0 + '@types/node': 20.14.0 cosmiconfig: 9.0.0(typescript@5.4.5) jiti: 1.21.0 typescript: 5.4.5 @@ -10521,7 +10521,7 @@ snapshots: jest-util@29.7.0: dependencies: '@jest/types': 29.6.3 - '@types/node': 20.13.0 + '@types/node': 20.14.0 chalk: 4.1.2 ci-info: 3.9.0 graceful-fs: 4.2.11 @@ -10880,7 +10880,7 @@ snapshots: mariadb@3.3.0: dependencies: '@types/geojson': 7946.0.14 - '@types/node': 20.13.0 + '@types/node': 20.14.0 denque: 2.1.0 iconv-lite: 0.6.3 lru-cache: 10.2.2 @@ -12634,14 +12634,14 @@ snapshots: '@ts-morph/common': 0.23.0 code-block-writer: 13.0.1 - ts-node@10.9.2(@types/node@20.13.0)(typescript@5.4.5): + ts-node@10.9.2(@types/node@20.14.0)(typescript@5.4.5): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.13.0 + '@types/node': 20.14.0 acorn: 8.11.3 acorn-walk: 8.3.2 arg: 4.1.3 @@ -12669,7 +12669,7 @@ snapshots: tslib@2.6.2: {} - tsx@4.11.0: + tsx@4.11.2: dependencies: esbuild: 0.20.2 get-tsconfig: 4.7.5 @@ -12913,13 +12913,13 @@ snapshots: core-util-is: 1.0.2 extsprintf: 1.3.0 - vite-node@1.6.0(@types/node@20.13.0): + vite-node@1.6.0(@types/node@20.14.0): dependencies: cac: 6.7.14 debug: 4.3.5 pathe: 1.1.2 picocolors: 1.0.1 - vite: 5.2.12(@types/node@20.13.0) + vite: 5.2.12(@types/node@20.14.0) transitivePeerDependencies: - '@types/node' - less @@ -12930,16 +12930,16 @@ snapshots: - supports-color - terser - vite@5.2.12(@types/node@20.13.0): + vite@5.2.12(@types/node@20.14.0): dependencies: esbuild: 0.20.2 postcss: 8.4.38 rollup: 4.18.0 optionalDependencies: - '@types/node': 20.13.0 + '@types/node': 20.14.0 fsevents: 2.3.3 - vitest@1.6.0(@types/node@20.13.0)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)): + vitest@1.6.0(@types/node@20.14.0)(jsdom@24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4)): dependencies: '@vitest/expect': 1.6.0 '@vitest/runner': 1.6.0 @@ -12958,11 +12958,11 @@ snapshots: strip-literal: 2.1.0 tinybench: 2.8.0 tinypool: 0.8.4 - vite: 5.2.12(@types/node@20.13.0) - vite-node: 1.6.0(@types/node@20.13.0) + vite: 5.2.12(@types/node@20.14.0) + vite-node: 1.6.0(@types/node@20.14.0) why-is-node-running: 2.2.2 optionalDependencies: - '@types/node': 20.13.0 + '@types/node': 20.14.0 jsdom: 24.1.0(bufferutil@4.0.8)(utf-8-validate@6.0.4) transitivePeerDependencies: - less diff --git a/ui/web/package.json b/ui/web/package.json index 2b35030f..265795b5 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -37,7 +37,7 @@ "@rushstack/eslint-patch": "^1.10.3", "@tsconfig/node20": "^20.1.4", "@types/jsdom": "^21.1.7", - "@types/node": "^20.13.0", + "@types/node": "^20.14.0", "@typescript-eslint/eslint-plugin": "^7.11.0", "@typescript-eslint/parser": "^7.11.0", "@vitejs/plugin-vue": "^5.0.5", -- 2.34.1