From 51581a20372bcec3032755365137bd80b4b6c7fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 13 Oct 2022 20:22:22 +0200 Subject: [PATCH] Apply dependencies update MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- package-lock.json | 14 +++++++------- package.json | 2 +- .../ocpp/OCPPIncomingRequestService.ts | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index 34db5b59..ccd030c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,7 +38,7 @@ "@rollup/plugin-json": "^5.0.0", "@types/mocha": "^10.0.0", "@types/mochawesome": "^6.2.1", - "@types/node": "^18.8.4", + "@types/node": "^18.8.5", "@types/proper-lockfile": "^4.1.2", "@types/tar": "^6.1.3", "@types/uuid": "^8.3.4", @@ -1867,9 +1867,9 @@ } }, "node_modules/@types/node": { - "version": "18.8.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.8.4.tgz", - "integrity": "sha512-WdlVphvfR/GJCLEMbNA8lJ0lhFNBj4SW3O+O5/cEGw9oYrv0al9zTwuQsq+myDUXgNx2jgBynoVgZ2MMJ6pbow==" + "version": "18.8.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.8.5.tgz", + "integrity": "sha512-Bq7G3AErwe5A/Zki5fdD3O6+0zDChhg671NfPjtIcbtzDNZTv4NPKMRFr7gtYPG7y+B8uTiNK4Ngd9T0FTar6Q==" }, "node_modules/@types/object-path": { "version": "0.11.1", @@ -18682,9 +18682,9 @@ } }, "@types/node": { - "version": "18.8.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.8.4.tgz", - "integrity": "sha512-WdlVphvfR/GJCLEMbNA8lJ0lhFNBj4SW3O+O5/cEGw9oYrv0al9zTwuQsq+myDUXgNx2jgBynoVgZ2MMJ6pbow==" + "version": "18.8.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.8.5.tgz", + "integrity": "sha512-Bq7G3AErwe5A/Zki5fdD3O6+0zDChhg671NfPjtIcbtzDNZTv4NPKMRFr7gtYPG7y+B8uTiNK4Ngd9T0FTar6Q==" }, "@types/object-path": { "version": "0.11.1", diff --git a/package.json b/package.json index 5b2ab5e6..b4a67b29 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "@rollup/plugin-json": "^5.0.0", "@types/mocha": "^10.0.0", "@types/mochawesome": "^6.2.1", - "@types/node": "^18.8.4", + "@types/node": "^18.8.5", "@types/proper-lockfile": "^4.1.2", "@types/tar": "^6.1.3", "@types/uuid": "^8.3.4", diff --git a/src/charging-station/ocpp/OCPPIncomingRequestService.ts b/src/charging-station/ocpp/OCPPIncomingRequestService.ts index 280a812d..3f4cb294 100644 --- a/src/charging-station/ocpp/OCPPIncomingRequestService.ts +++ b/src/charging-station/ocpp/OCPPIncomingRequestService.ts @@ -39,7 +39,7 @@ export default abstract class OCPPIncomingRequestService { commandName: IncomingRequestCommand, error: Error, params: HandleErrorParams = { throwError: true } - ): T { + ): T | undefined { logger.error( `${chargingStation.logPrefix()} ${moduleName}.handleIncomingRequestError: Incoming request command '${commandName}' error:`, error -- 2.34.1