From 01841aad9a30bb61fbd9e12874b5fdabecc603f3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 29 Jul 2024 20:37:13 +0200 Subject: [PATCH] chore(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 | 244 +++++++++--------- .../ocpp/1.6/OCPP16IncomingRequestService.ts | 1 + .../ocpp/1.6/OCPP16RequestService.ts | 2 + .../ocpp/1.6/OCPP16ResponseService.ts | 1 + .../ocpp/2.0/OCPP20IncomingRequestService.ts | 1 + .../ocpp/2.0/OCPP20RequestService.ts | 2 + .../ocpp/2.0/OCPP20ResponseService.ts | 1 + .../ocpp/OCPPIncomingRequestService.ts | 3 +- .../ocpp/OCPPRequestService.ts | 1 + .../ocpp/OCPPResponseService.ts | 2 + src/charging-station/ocpp/OCPPServiceUtils.ts | 1 + src/utils/Configuration.ts | 1 + src/utils/FileUtils.ts | 1 + src/utils/Utils.ts | 1 + ui/web/package.json | 2 +- ui/web/src/composables/Utils.ts | 1 + 16 files changed, 141 insertions(+), 124 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fbf090e5..663daafc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -240,8 +240,8 @@ importers: specifier: ~5.5.4 version: 5.5.4 typescript-eslint: - specifier: ^7.17.0 - version: 7.17.0(eslint@8.57.0)(typescript@5.5.4) + specifier: ^7.18.0 + version: 7.18.0(eslint@8.57.0)(typescript@5.5.4) vite: specifier: ^5.3.5 version: 5.3.5(@types/node@22.0.0) @@ -380,8 +380,8 @@ packages: resolution: {integrity: sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==} engines: {node: '>=6.9.0'} - '@babel/traverse@7.25.0': - resolution: {integrity: sha512-ubALThHQy4GCf6mbb+5ZRNmLLCI7bJ3f8Q6LHBSRlSKSWj5a7dSUzJBLv3VuIhFrFPgjF4IzPF567YG/HSCdZA==} + '@babel/traverse@7.25.1': + resolution: {integrity: sha512-LrHHoWq08ZpmmFqBAzN+hUdWwy5zt7FGa/hVwMcOqW6OVtwqaoD5utfuGYU87JYxdZgLUvktAsn37j/sYR9siA==} engines: {node: '>=6.9.0'} '@babel/types@7.25.0': @@ -1203,8 +1203,8 @@ packages: '@types/yargs@17.0.32': resolution: {integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==} - '@typescript-eslint/eslint-plugin@7.17.0': - resolution: {integrity: sha512-pyiDhEuLM3PuANxH7uNYan1AaFs5XE0zw1hq69JBvGvE7gSuEoQl1ydtEe/XQeoC3GQxLXyOVa5kNOATgM638A==} + '@typescript-eslint/eslint-plugin@7.18.0': + resolution: {integrity: sha512-94EQTWZ40mzBc42ATNIBimBEDltSJ9RQHCC8vc/PDbxi4k8dVwUAv4o98dk50M1zB+JGFxp43FP7f8+FP8R6Sw==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: '@typescript-eslint/parser': ^7.0.0 @@ -1214,8 +1214,8 @@ packages: typescript: optional: true - '@typescript-eslint/eslint-plugin@8.0.0-alpha.54': - resolution: {integrity: sha512-JBuk5rdo9XfoAc797uPh2QdzfnbQmYTnOZ//IKiXm96a2AzS05VmXSVka4GQyrp7giGWSNjW6y2wPpsWheqd9Q==} + '@typescript-eslint/eslint-plugin@8.0.0-alpha.58': + resolution: {integrity: sha512-5G9oIj8jvosj8RTa0VDFXvRmUg1U6FxXJu7ZEfyJYMvFkdMJoY5YnzFvgAvHbYsXOj+YgXZu81fNOTRWQzwk5A==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 @@ -1225,8 +1225,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@7.17.0': - resolution: {integrity: sha512-puiYfGeg5Ydop8eusb/Hy1k7QmOU6X3nvsqCgzrB2K4qMavK//21+PzNE8qeECgNOIoertJPUC1SpegHDI515A==} + '@typescript-eslint/parser@7.18.0': + resolution: {integrity: sha512-4Z+L8I2OqhZV8qA132M4wNL30ypZGYOQVBfMgxDH/K5UX0PNqTu1c6za9ST5r9+tavvHiTWmBnKzpCJ/GlVFtg==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -1235,8 +1235,8 @@ packages: typescript: optional: true - '@typescript-eslint/parser@8.0.0-alpha.54': - resolution: {integrity: sha512-473V2mTNH+KPNVPj8MIGizDXmmJ56gpYsh+ILa8uEWUYMhvE0DNnozEt59TonS1Y9D15AJZGas6+1hcpQ77Dbg==} + '@typescript-eslint/parser@8.0.0-alpha.58': + resolution: {integrity: sha512-/RpgxIejBui6WXJgV9ukwzxmvbZt5TlfHUGGLB/BsNLj+NRZEbXVtWT9rKuxVOqsGb1Dn9c5gxvBI/XzyuIsMQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 @@ -1245,16 +1245,16 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@7.17.0': - resolution: {integrity: sha512-0P2jTTqyxWp9HiKLu/Vemr2Rg1Xb5B7uHItdVZ6iAenXmPo4SZ86yOPCJwMqpCyaMiEHTNqizHfsbmCFT1x9SA==} + '@typescript-eslint/scope-manager@7.18.0': + resolution: {integrity: sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/scope-manager@8.0.0-alpha.54': - resolution: {integrity: sha512-z+5GlCAskUTTWOFF2G7olTyKZyn+AVdDkiNCP2fhDtOCV1ePX1EaXy1uwqRRROf8p8uryj7vR7OtIErZE5yAng==} + '@typescript-eslint/scope-manager@8.0.0-alpha.58': + resolution: {integrity: sha512-bGgJXn8B3Pf3mzEOUQTPxEqhux54MOJSqw4HcgBReuP7dudz/hsN4TH9GqHbMXkFv8N4Ed1iqVRfgGeC8b1mGw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/type-utils@7.17.0': - resolution: {integrity: sha512-XD3aaBt+orgkM/7Cei0XNEm1vwUxQ958AOLALzPlbPqb8C1G8PZK85tND7Jpe69Wualri81PLU+Zc48GVKIMMA==} + '@typescript-eslint/type-utils@7.18.0': + resolution: {integrity: sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -1263,8 +1263,8 @@ packages: typescript: optional: true - '@typescript-eslint/type-utils@8.0.0-alpha.54': - resolution: {integrity: sha512-aGqNg1vP3a1tAE7lN8VDw+JhAefhqotMEcxw+2NKQm3vG4BqzIQNeF87xle9+94t8MPPmUPzRjRmO7GySu8LRg==} + '@typescript-eslint/type-utils@8.0.0-alpha.58': + resolution: {integrity: sha512-spW/I/UAY6HM0lKj+/333Zb9arOvUoi8+H0cVNYHELPhOti9re9NjyyJFhck84PNiwi8WmpkEf3GXe7/h+Cquw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1272,16 +1272,16 @@ packages: typescript: optional: true - '@typescript-eslint/types@7.17.0': - resolution: {integrity: sha512-a29Ir0EbyKTKHnZWbNsrc/gqfIBqYPwj3F2M+jWE/9bqfEHg0AMtXzkbUkOG6QgEScxh2+Pz9OXe11jHDnHR7A==} + '@typescript-eslint/types@7.18.0': + resolution: {integrity: sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/types@8.0.0-alpha.54': - resolution: {integrity: sha512-p4CGzb2UW2tJgk7zRL1Iwyd4qMuPnF2TL5/VdEcz2KANHkTReagQ6B3MzJGcuNIK7t+ysolZZILJpj+8cHBzsQ==} + '@typescript-eslint/types@8.0.0-alpha.58': + resolution: {integrity: sha512-6+jM4y31a6pwKeV3MVQuVXPZl6d3I1ySMvP5WjZdZ+n57uovMvasZ3ZJstXngoRpa7JtkjVZ7NrMhQ1J8dxKCQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@7.17.0': - resolution: {integrity: sha512-72I3TGq93t2GoSBWI093wmKo0n6/b7O4j9o8U+f65TVD0FS6bI2180X5eGEr8MA8PhKMvYe9myZJquUT2JkCZw==} + '@typescript-eslint/typescript-estree@7.18.0': + resolution: {integrity: sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: typescript: '*' @@ -1289,8 +1289,8 @@ packages: typescript: optional: true - '@typescript-eslint/typescript-estree@8.0.0-alpha.54': - resolution: {integrity: sha512-oCgHCQm88pBx9QwfGVE42LXVRG3M5PUIP4w521yGMijHn5FEt+E/NGMPU3NXWKUvp0LpEkxABSinYdz69aZITA==} + '@typescript-eslint/typescript-estree@8.0.0-alpha.58': + resolution: {integrity: sha512-hm4nsoJnQcA7axMopUJrH7CD0MJhAMtE2zQt65uMFCy+U2YDdKPwE0g6qEAUBoKn6UBLQJWthJgUmwDbWrnwZg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -1298,24 +1298,24 @@ packages: typescript: optional: true - '@typescript-eslint/utils@7.17.0': - resolution: {integrity: sha512-r+JFlm5NdB+JXc7aWWZ3fKSm1gn0pkswEwIYsrGPdsT2GjsRATAKXiNtp3vgAAO1xZhX8alIOEQnNMl3kbTgJw==} + '@typescript-eslint/utils@7.18.0': + resolution: {integrity: sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 - '@typescript-eslint/utils@8.0.0-alpha.54': - resolution: {integrity: sha512-Xu+dl3SJ4NOuzSHpRj1nIJPsoNTcPuG6EFVolrEVl+GZReaiBdexwpTo4/gV64khZEVewEIdYV3FBs5elIjI0g==} + '@typescript-eslint/utils@8.0.0-alpha.58': + resolution: {integrity: sha512-lZuGnpK23jr3huebgY4/qqrOKsWJ8dX0Q1Fo4oVYcyAy+sK6p+6nObK4VEPJG098gUmrriiavRiDKIhPDFm4Ig==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/visitor-keys@7.17.0': - resolution: {integrity: sha512-RVGC9UhPOCsfCdI9pU++K4nD7to+jTcMIbXTSOcrLqUEW6gF2pU1UUbYJKc9cvcRSK1UDeMJ7pdMxf4bhMpV/A==} + '@typescript-eslint/visitor-keys@7.18.0': + resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/visitor-keys@8.0.0-alpha.54': - resolution: {integrity: sha512-lS8wrI6Vxw6ebIi+ehocAjXLG43bN5JCC8+wtGDD3Xw9O/EVpanAVdftefJs/mlK87eyccvVIiiHgD294TpIEQ==} + '@typescript-eslint/visitor-keys@8.0.0-alpha.58': + resolution: {integrity: sha512-V//E9PRY2216kh9fN/ihRvTtjpobAXEtmrsr3utlVUwHa2iklcofq1J12yl3KOjx9QBRfBrtfQnYaeruF7L0Fw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@ungap/structured-clone@1.2.0': @@ -3692,8 +3692,8 @@ packages: magic-string@0.25.1: resolution: {integrity: sha512-sCuTz6pYom8Rlt4ISPFn6wuFodbKMIHUMv4Qko9P17dpxb7s52KJTmRuZZqHdGmLCK9AOcDare039nRIcfdkEg==} - magic-string@0.30.10: - resolution: {integrity: sha512-iIRwTIf0QKV3UAnYK4PU8uiEc4SRh5jX0mwpIwETPpHdhVM4f53RSwS/vXvN1JhGX+Cs7B8qIq3d6AH49O5fAQ==} + magic-string@0.30.11: + resolution: {integrity: sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==} magicast@0.3.4: resolution: {integrity: sha512-TyDF/Pn36bBji9rWKHlZe+PZb6Mx5V8IHCSxk7X4aljM4e/vyDvZZYwHewdVaqiA0nb3ghfHU/6AUpDxWoER2Q==} @@ -5213,8 +5213,8 @@ packages: typedarray@0.0.6: resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} - typescript-eslint@7.17.0: - resolution: {integrity: sha512-spQxsQvPguduCUfyUvLItvKqK3l8KJ/kqs5Pb/URtzQ5AC53Z6us32St37rpmlt2uESG23lOFpV4UErrmy4dZQ==} + typescript-eslint@7.18.0: + resolution: {integrity: sha512-PonBkP603E3tt05lDkbOMyaxJjvKqQrXsnow72sVeOFINDE/qNmnnd+f9b4N+U7W6MXnnYyrhtmF2t08QWwUbA==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -5223,8 +5223,8 @@ packages: typescript: optional: true - typescript-eslint@8.0.0-alpha.54: - resolution: {integrity: sha512-5rTqLSAgzum8W0dIh8jgDosXNQufhfc9pyDXaBpBTgwtTypBzrcRgCz8Xp0XKrpSBCuLdfFt+X/ueEnoqrOcJA==} + typescript-eslint@8.0.0-alpha.58: + resolution: {integrity: sha512-0mvrodNhExpkWns+5RaZP8YqsAfPyjmPVVM1p+kaJkvApMH58/VFcQ0iSQuun0bFRNCMvW0ZUdulS9AsHqVXkg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '*' @@ -5674,7 +5674,7 @@ snapshots: '@babel/helpers': 7.25.0 '@babel/parser': 7.25.0 '@babel/template': 7.25.0 - '@babel/traverse': 7.25.0 + '@babel/traverse': 7.25.1 '@babel/types': 7.25.0 convert-source-map: 2.0.0 debug: 4.3.6 @@ -5711,14 +5711,14 @@ snapshots: '@babel/helper-optimise-call-expression': 7.24.7 '@babel/helper-replace-supers': 7.25.0(@babel/core@7.24.9) '@babel/helper-skip-transparent-expression-wrappers': 7.24.7 - '@babel/traverse': 7.25.0 + '@babel/traverse': 7.25.1 semver: 7.6.3 transitivePeerDependencies: - supports-color '@babel/helper-member-expression-to-functions@7.24.8': dependencies: - '@babel/traverse': 7.25.0 + '@babel/traverse': 7.25.1 '@babel/types': 7.25.0 transitivePeerDependencies: - supports-color @@ -5729,7 +5729,7 @@ snapshots: '@babel/helper-module-imports@7.24.7': dependencies: - '@babel/traverse': 7.25.0 + '@babel/traverse': 7.25.1 '@babel/types': 7.25.0 transitivePeerDependencies: - supports-color @@ -5740,7 +5740,7 @@ snapshots: '@babel/helper-module-imports': 7.24.7 '@babel/helper-simple-access': 7.24.7 '@babel/helper-validator-identifier': 7.24.7 - '@babel/traverse': 7.25.0 + '@babel/traverse': 7.25.1 transitivePeerDependencies: - supports-color @@ -5755,20 +5755,20 @@ snapshots: '@babel/core': 7.24.9 '@babel/helper-member-expression-to-functions': 7.24.8 '@babel/helper-optimise-call-expression': 7.24.7 - '@babel/traverse': 7.25.0 + '@babel/traverse': 7.25.1 transitivePeerDependencies: - supports-color '@babel/helper-simple-access@7.24.7': dependencies: - '@babel/traverse': 7.25.0 + '@babel/traverse': 7.25.1 '@babel/types': 7.25.0 transitivePeerDependencies: - supports-color '@babel/helper-skip-transparent-expression-wrappers@7.24.7': dependencies: - '@babel/traverse': 7.25.0 + '@babel/traverse': 7.25.1 '@babel/types': 7.25.0 transitivePeerDependencies: - supports-color @@ -5822,7 +5822,7 @@ snapshots: '@babel/parser': 7.25.0 '@babel/types': 7.25.0 - '@babel/traverse@7.25.0': + '@babel/traverse@7.25.1': dependencies: '@babel/code-frame': 7.24.7 '@babel/generator': 7.25.0 @@ -6566,7 +6566,7 @@ snapshots: '@stylistic/eslint-plugin-plus@2.6.0-beta.1(eslint@9.8.0)(typescript@5.5.4)': dependencies: '@types/eslint': 9.6.0 - '@typescript-eslint/utils': 8.0.0-alpha.54(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/utils': 8.0.0-alpha.58(eslint@9.8.0)(typescript@5.5.4) eslint: 9.8.0 transitivePeerDependencies: - supports-color @@ -6576,7 +6576,7 @@ snapshots: dependencies: '@stylistic/eslint-plugin-js': 2.6.0-beta.1(eslint@9.8.0) '@types/eslint': 9.6.0 - '@typescript-eslint/utils': 8.0.0-alpha.54(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/utils': 8.0.0-alpha.58(eslint@9.8.0)(typescript@5.5.4) eslint: 9.8.0 transitivePeerDependencies: - supports-color @@ -6715,14 +6715,14 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@7.17.0(@typescript-eslint/parser@7.17.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4)': + '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 7.17.0(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/scope-manager': 7.17.0 - '@typescript-eslint/type-utils': 7.17.0(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/utils': 7.17.0(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 7.17.0 + '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 7.18.0 + '@typescript-eslint/type-utils': 7.18.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 7.18.0 eslint: 8.57.0 graphemer: 1.4.0 ignore: 5.3.1 @@ -6733,14 +6733,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/eslint-plugin@8.0.0-alpha.54(@typescript-eslint/parser@8.0.0-alpha.54(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)': + '@typescript-eslint/eslint-plugin@8.0.0-alpha.58(@typescript-eslint/parser@8.0.0-alpha.58(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4)': dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 8.0.0-alpha.54(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/scope-manager': 8.0.0-alpha.54 - '@typescript-eslint/type-utils': 8.0.0-alpha.54(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/utils': 8.0.0-alpha.54(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 8.0.0-alpha.54 + '@typescript-eslint/parser': 8.0.0-alpha.58(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.0.0-alpha.58 + '@typescript-eslint/type-utils': 8.0.0-alpha.58(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/utils': 8.0.0-alpha.58(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.0.0-alpha.58 eslint: 9.8.0 graphemer: 1.4.0 ignore: 5.3.1 @@ -6751,12 +6751,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@7.17.0(eslint@8.57.0)(typescript@5.5.4)': + '@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4)': dependencies: - '@typescript-eslint/scope-manager': 7.17.0 - '@typescript-eslint/types': 7.17.0 - '@typescript-eslint/typescript-estree': 7.17.0(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 7.17.0 + '@typescript-eslint/scope-manager': 7.18.0 + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 7.18.0 debug: 4.3.6 eslint: 8.57.0 optionalDependencies: @@ -6764,12 +6764,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.0.0-alpha.54(eslint@9.8.0)(typescript@5.5.4)': + '@typescript-eslint/parser@8.0.0-alpha.58(eslint@9.8.0)(typescript@5.5.4)': dependencies: - '@typescript-eslint/scope-manager': 8.0.0-alpha.54 - '@typescript-eslint/types': 8.0.0-alpha.54 - '@typescript-eslint/typescript-estree': 8.0.0-alpha.54(typescript@5.5.4) - '@typescript-eslint/visitor-keys': 8.0.0-alpha.54 + '@typescript-eslint/scope-manager': 8.0.0-alpha.58 + '@typescript-eslint/types': 8.0.0-alpha.58 + '@typescript-eslint/typescript-estree': 8.0.0-alpha.58(typescript@5.5.4) + '@typescript-eslint/visitor-keys': 8.0.0-alpha.58 debug: 4.3.6 eslint: 9.8.0 optionalDependencies: @@ -6777,20 +6777,20 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@7.17.0': + '@typescript-eslint/scope-manager@7.18.0': dependencies: - '@typescript-eslint/types': 7.17.0 - '@typescript-eslint/visitor-keys': 7.17.0 + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/visitor-keys': 7.18.0 - '@typescript-eslint/scope-manager@8.0.0-alpha.54': + '@typescript-eslint/scope-manager@8.0.0-alpha.58': dependencies: - '@typescript-eslint/types': 8.0.0-alpha.54 - '@typescript-eslint/visitor-keys': 8.0.0-alpha.54 + '@typescript-eslint/types': 8.0.0-alpha.58 + '@typescript-eslint/visitor-keys': 8.0.0-alpha.58 - '@typescript-eslint/type-utils@7.17.0(eslint@8.57.0)(typescript@5.5.4)': + '@typescript-eslint/type-utils@7.18.0(eslint@8.57.0)(typescript@5.5.4)': dependencies: - '@typescript-eslint/typescript-estree': 7.17.0(typescript@5.5.4) - '@typescript-eslint/utils': 7.17.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) + '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.5.4) debug: 4.3.6 eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.5.4) @@ -6799,10 +6799,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/type-utils@8.0.0-alpha.54(eslint@9.8.0)(typescript@5.5.4)': + '@typescript-eslint/type-utils@8.0.0-alpha.58(eslint@9.8.0)(typescript@5.5.4)': dependencies: - '@typescript-eslint/typescript-estree': 8.0.0-alpha.54(typescript@5.5.4) - '@typescript-eslint/utils': 8.0.0-alpha.54(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/typescript-estree': 8.0.0-alpha.58(typescript@5.5.4) + '@typescript-eslint/utils': 8.0.0-alpha.58(eslint@9.8.0)(typescript@5.5.4) debug: 4.3.6 ts-api-utils: 1.3.0(typescript@5.5.4) optionalDependencies: @@ -6811,14 +6811,14 @@ snapshots: - eslint - supports-color - '@typescript-eslint/types@7.17.0': {} + '@typescript-eslint/types@7.18.0': {} - '@typescript-eslint/types@8.0.0-alpha.54': {} + '@typescript-eslint/types@8.0.0-alpha.58': {} - '@typescript-eslint/typescript-estree@7.17.0(typescript@5.5.4)': + '@typescript-eslint/typescript-estree@7.18.0(typescript@5.5.4)': dependencies: - '@typescript-eslint/types': 7.17.0 - '@typescript-eslint/visitor-keys': 7.17.0 + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/visitor-keys': 7.18.0 debug: 4.3.6 globby: 11.1.0 is-glob: 4.0.3 @@ -6830,10 +6830,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@8.0.0-alpha.54(typescript@5.5.4)': + '@typescript-eslint/typescript-estree@8.0.0-alpha.58(typescript@5.5.4)': dependencies: - '@typescript-eslint/types': 8.0.0-alpha.54 - '@typescript-eslint/visitor-keys': 8.0.0-alpha.54 + '@typescript-eslint/types': 8.0.0-alpha.58 + '@typescript-eslint/visitor-keys': 8.0.0-alpha.58 debug: 4.3.6 globby: 11.1.0 is-glob: 4.0.3 @@ -6845,36 +6845,36 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@7.17.0(eslint@8.57.0)(typescript@5.5.4)': + '@typescript-eslint/utils@7.18.0(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) - '@typescript-eslint/scope-manager': 7.17.0 - '@typescript-eslint/types': 7.17.0 - '@typescript-eslint/typescript-estree': 7.17.0(typescript@5.5.4) + '@typescript-eslint/scope-manager': 7.18.0 + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) eslint: 8.57.0 transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/utils@8.0.0-alpha.54(eslint@9.8.0)(typescript@5.5.4)': + '@typescript-eslint/utils@8.0.0-alpha.58(eslint@9.8.0)(typescript@5.5.4)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.8.0) - '@typescript-eslint/scope-manager': 8.0.0-alpha.54 - '@typescript-eslint/types': 8.0.0-alpha.54 - '@typescript-eslint/typescript-estree': 8.0.0-alpha.54(typescript@5.5.4) + '@typescript-eslint/scope-manager': 8.0.0-alpha.58 + '@typescript-eslint/types': 8.0.0-alpha.58 + '@typescript-eslint/typescript-estree': 8.0.0-alpha.58(typescript@5.5.4) eslint: 9.8.0 transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/visitor-keys@7.17.0': + '@typescript-eslint/visitor-keys@7.18.0': dependencies: - '@typescript-eslint/types': 7.17.0 + '@typescript-eslint/types': 7.18.0 eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@8.0.0-alpha.54': + '@typescript-eslint/visitor-keys@8.0.0-alpha.58': dependencies: - '@typescript-eslint/types': 8.0.0-alpha.54 + '@typescript-eslint/types': 8.0.0-alpha.58 eslint-visitor-keys: 3.4.3 '@ungap/structured-clone@1.2.0': {} @@ -6903,7 +6903,7 @@ snapshots: istanbul-lib-report: 3.0.1 istanbul-lib-source-maps: 5.0.6 istanbul-reports: 3.1.7 - magic-string: 0.30.10 + magic-string: 0.30.11 magicast: 0.3.4 std-env: 3.7.0 test-exclude: 7.0.1 @@ -6931,7 +6931,7 @@ snapshots: '@vitest/snapshot@2.0.4': dependencies: '@vitest/pretty-format': 2.0.4 - magic-string: 0.30.10 + magic-string: 0.30.11 pathe: 1.1.2 '@vitest/spy@2.0.4': @@ -6953,7 +6953,7 @@ snapshots: '@babel/helper-plugin-utils': 7.24.8 '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.24.9) '@babel/template': 7.25.0 - '@babel/traverse': 7.25.0 + '@babel/traverse': 7.25.1 '@babel/types': 7.25.0 '@vue/babel-helper-vue-transform-on': 1.2.2 '@vue/babel-plugin-resolve-type': 1.2.2(@babel/core@7.24.9) @@ -6995,7 +6995,7 @@ snapshots: '@vue/compiler-ssr': 3.4.34 '@vue/shared': 3.4.34 estree-walker: 2.0.2 - magic-string: 0.30.10 + magic-string: 0.30.11 postcss: 8.4.40 source-map-js: 1.2.0 @@ -9671,7 +9671,7 @@ snapshots: dependencies: sourcemap-codec: 1.4.8 - magic-string@0.30.10: + magic-string@0.30.11: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 @@ -10038,7 +10038,7 @@ snapshots: find-up: 5.0.0 globals: 15.8.0 peowly: 1.3.2 - typescript-eslint: 8.0.0-alpha.54(eslint@9.8.0)(typescript@5.5.4) + typescript-eslint: 8.0.0-alpha.58(eslint@9.8.0)(typescript@5.5.4) transitivePeerDependencies: - supports-color - typescript @@ -11318,22 +11318,22 @@ snapshots: typedarray@0.0.6: {} - typescript-eslint@7.17.0(eslint@8.57.0)(typescript@5.5.4): + typescript-eslint@7.18.0(eslint@8.57.0)(typescript@5.5.4): dependencies: - '@typescript-eslint/eslint-plugin': 7.17.0(@typescript-eslint/parser@7.17.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/parser': 7.17.0(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/utils': 7.17.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.5.4) eslint: 8.57.0 optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: - supports-color - typescript-eslint@8.0.0-alpha.54(eslint@9.8.0)(typescript@5.5.4): + typescript-eslint@8.0.0-alpha.58(eslint@9.8.0)(typescript@5.5.4): dependencies: - '@typescript-eslint/eslint-plugin': 8.0.0-alpha.54(@typescript-eslint/parser@8.0.0-alpha.54(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/parser': 8.0.0-alpha.54(eslint@9.8.0)(typescript@5.5.4) - '@typescript-eslint/utils': 8.0.0-alpha.54(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 8.0.0-alpha.58(@typescript-eslint/parser@8.0.0-alpha.58(eslint@9.8.0)(typescript@5.5.4))(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/parser': 8.0.0-alpha.58(eslint@9.8.0)(typescript@5.5.4) + '@typescript-eslint/utils': 8.0.0-alpha.58(eslint@9.8.0)(typescript@5.5.4) optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: @@ -11500,7 +11500,7 @@ snapshots: chai: 5.1.1 debug: 4.3.6 execa: 8.0.1 - magic-string: 0.30.10 + magic-string: 0.30.11 pathe: 1.1.2 std-env: 3.7.0 tinybench: 2.8.0 diff --git a/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts b/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts index c446080e..a03b5be6 100644 --- a/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts +++ b/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts @@ -571,6 +571,7 @@ export class OCPP16IncomingRequestService extends OCPPIncomingRequestService { this.validatePayload = this.validatePayload.bind(this) } + // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters public async incomingRequestHandler( chargingStation: ChargingStation, messageId: string, diff --git a/src/charging-station/ocpp/1.6/OCPP16RequestService.ts b/src/charging-station/ocpp/1.6/OCPP16RequestService.ts index c7b9258a..83c9608b 100644 --- a/src/charging-station/ocpp/1.6/OCPP16RequestService.ts +++ b/src/charging-station/ocpp/1.6/OCPP16RequestService.ts @@ -144,6 +144,7 @@ export class OCPP16RequestService extends OCPPRequestService { this.buildRequestPayload = this.buildRequestPayload.bind(this) } + // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters public async requestHandler( chargingStation: ChargingStation, commandName: OCPP16RequestCommand, @@ -179,6 +180,7 @@ export class OCPP16RequestService extends OCPPRequestService { ) } + // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters private buildRequestPayload( chargingStation: ChargingStation, commandName: OCPP16RequestCommand, diff --git a/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts b/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts index 2237481a..71c15c91 100644 --- a/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts +++ b/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts @@ -378,6 +378,7 @@ export class OCPP16ResponseService extends OCPPResponseService { this.validatePayload = this.validatePayload.bind(this) } + // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters public async responseHandler( chargingStation: ChargingStation, commandName: OCPP16RequestCommand, diff --git a/src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts b/src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts index 20e04b4b..52302a0d 100644 --- a/src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts +++ b/src/charging-station/ocpp/2.0/OCPP20IncomingRequestService.ts @@ -52,6 +52,7 @@ export class OCPP20IncomingRequestService extends OCPPIncomingRequestService { this.validatePayload = this.validatePayload.bind(this) } + // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters public async incomingRequestHandler( chargingStation: ChargingStation, messageId: string, diff --git a/src/charging-station/ocpp/2.0/OCPP20RequestService.ts b/src/charging-station/ocpp/2.0/OCPP20RequestService.ts index e0f80b8b..13fb6a12 100644 --- a/src/charging-station/ocpp/2.0/OCPP20RequestService.ts +++ b/src/charging-station/ocpp/2.0/OCPP20RequestService.ts @@ -66,6 +66,7 @@ export class OCPP20RequestService extends OCPPRequestService { this.buildRequestPayload = this.buildRequestPayload.bind(this) } + // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters public async requestHandler( chargingStation: ChargingStation, commandName: OCPP20RequestCommand, @@ -92,6 +93,7 @@ export class OCPP20RequestService extends OCPPRequestService { ) } + // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters private buildRequestPayload( chargingStation: ChargingStation, commandName: OCPP20RequestCommand, diff --git a/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts b/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts index 61c09a90..f5faf2b7 100644 --- a/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts +++ b/src/charging-station/ocpp/2.0/OCPP20ResponseService.ts @@ -97,6 +97,7 @@ export class OCPP20ResponseService extends OCPPResponseService { this.validatePayload = this.validatePayload.bind(this) } + // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters public async responseHandler( chargingStation: ChargingStation, commandName: OCPP20RequestCommand, diff --git a/src/charging-station/ocpp/OCPPIncomingRequestService.ts b/src/charging-station/ocpp/OCPPIncomingRequestService.ts index cdfd5c54..a5f207f1 100644 --- a/src/charging-station/ocpp/OCPPIncomingRequestService.ts +++ b/src/charging-station/ocpp/OCPPIncomingRequestService.ts @@ -49,6 +49,7 @@ export abstract class OCPPIncomingRequestService extends EventEmitter { return OCPPIncomingRequestService.instance as T } + // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters protected validateIncomingRequestPayload( chargingStation: ChargingStation, commandName: IncomingRequestCommand, @@ -81,7 +82,7 @@ export abstract class OCPPIncomingRequestService extends EventEmitter { return OCPPConstants.OCPP_RESPONSE_REJECTED } - // eslint-disable-next-line @typescript-eslint/no-unused-vars + // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-unnecessary-type-parameters public abstract incomingRequestHandler( chargingStation: ChargingStation, messageId: string, diff --git a/src/charging-station/ocpp/OCPPRequestService.ts b/src/charging-station/ocpp/OCPPRequestService.ts index 3ae9034d..88712639 100644 --- a/src/charging-station/ocpp/OCPPRequestService.ts +++ b/src/charging-station/ocpp/OCPPRequestService.ts @@ -502,6 +502,7 @@ export abstract class OCPPRequestService { ]) } + // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters public abstract requestHandler( chargingStation: ChargingStation, commandName: RequestCommand, diff --git a/src/charging-station/ocpp/OCPPResponseService.ts b/src/charging-station/ocpp/OCPPResponseService.ts index 16c1965f..71e62083 100644 --- a/src/charging-station/ocpp/OCPPResponseService.ts +++ b/src/charging-station/ocpp/OCPPResponseService.ts @@ -52,6 +52,7 @@ export abstract class OCPPResponseService { return OCPPResponseService.instance as T } + // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters protected validateResponsePayload( chargingStation: ChargingStation, commandName: RequestCommand, @@ -78,6 +79,7 @@ export abstract class OCPPResponseService { protected emptyResponseHandler = Constants.EMPTY_FUNCTION + // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters public abstract responseHandler( chargingStation: ChargingStation, commandName: RequestCommand, diff --git a/src/charging-station/ocpp/OCPPServiceUtils.ts b/src/charging-station/ocpp/OCPPServiceUtils.ts index eae051ad..de635c50 100644 --- a/src/charging-station/ocpp/OCPPServiceUtils.ts +++ b/src/charging-station/ocpp/OCPPServiceUtils.ts @@ -284,6 +284,7 @@ export const ajvErrorsToErrorType = (errors: ErrorObject[] | undefined | null): return ErrorType.FORMAT_VIOLATION } +// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters export const convertDateToISOString = (object: T): void => { for (const key in object) { // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion, @typescript-eslint/no-non-null-assertion diff --git a/src/utils/Configuration.ts b/src/utils/Configuration.ts index 970fd992..2e599d66 100644 --- a/src/utils/Configuration.ts +++ b/src/utils/Configuration.ts @@ -128,6 +128,7 @@ export class Configuration { // This is intentional } + // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters public static getConfigurationSection( sectionName: ConfigurationSection ): T { diff --git a/src/utils/FileUtils.ts b/src/utils/FileUtils.ts index 10e04df6..8e57b81f 100644 --- a/src/utils/FileUtils.ts +++ b/src/utils/FileUtils.ts @@ -5,6 +5,7 @@ import { handleFileException } from './ErrorUtils.js' import { logger } from './Logger.js' import { isNotEmptyString } from './Utils.js' +// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters export const watchJsonFile = ( file: string, fileType: FileType, diff --git a/src/utils/Utils.ts b/src/utils/Utils.ts index 95a1430c..6416c14e 100644 --- a/src/utils/Utils.ts +++ b/src/utils/Utils.ts @@ -262,6 +262,7 @@ export const secureRandom = (): number => { } export const JSONStringify = < + // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters T extends | JsonType | Record[] diff --git a/ui/web/package.json b/ui/web/package.json index 6ecc7866..a47c6bb8 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -52,7 +52,7 @@ "prettier": "^3.3.3", "rimraf": "^6.0.1", "typescript": "~5.5.4", - "typescript-eslint": "^7.17.0", + "typescript-eslint": "^7.18.0", "vite": "^5.3.5", "vitest": "^2.0.4" } diff --git a/ui/web/src/composables/Utils.ts b/ui/web/src/composables/Utils.ts index b1bebc92..93001486 100644 --- a/ui/web/src/composables/Utils.ts +++ b/ui/web/src/composables/Utils.ts @@ -40,6 +40,7 @@ export const getFromLocalStorage = (key: string, defaultValue: T): T => { return item != null ? (JSON.parse(item) as T) : defaultValue } +// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-parameters export const setToLocalStorage = (key: string, value: T): void => { localStorage.setItem(key, JSON.stringify(value)) } -- 2.34.1