From: Jérôme Benoit Date: Fri, 12 Jan 2024 17:01:38 +0000 (+0100) Subject: build(deps-dev): apply updates X-Git-Tag: v1.2.32~35 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a223d9be48ad8828e6aef060dd3c45d4f99ea9a9;p=e-mobility-charging-stations-simulator.git build(deps-dev): apply updates Signed-off-by: Jérôme Benoit --- diff --git a/.lintstagedrc.js b/.lintstagedrc.js index 0eef8bcc..0124480b 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -1,5 +1,5 @@ export default { '{src,tests}/**/*.{ts,tsx,cts,mts}': ['prettier --cache --write', 'eslint --cache --fix'], '**/*.{json,md,yml,yaml}': ['prettier --cache --write'], - '**/*.{js,jsx,cjs,mjs}': ['prettier --cache --write', 'eslint --cache --fix'], + '**/*.{js,jsx,cjs,mjs}': ['prettier --cache --write', 'eslint --cache --fix'] } diff --git a/.prettierrc.json b/.prettierrc.json index baeeb0d4..6632aaeb 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -3,5 +3,5 @@ "printWidth": 100, "semi": false, "singleQuote": true, - "trailingComma": "es5" + "trailingComma": "none" } diff --git a/package.json b/package.json index bd5d29a2..48c6ead8 100644 --- a/package.json +++ b/package.json @@ -127,7 +127,7 @@ "@typescript-eslint/eslint-plugin": "^6.18.1", "@typescript-eslint/parser": "^6.18.1", "auto-changelog": "^2.4.0", - "c8": "^9.0.0", + "c8": "^9.1.0", "clinic": "^13.0.0", "cross-env": "^7.0.3", "esbuild": "^0.19.11", @@ -147,7 +147,7 @@ "glob": "^10.3.10", "husky": "^8.0.3", "lint-staged": "^15.2.0", - "prettier": "^3.1.1", + "prettier": "^3.2.0", "release-it": "^17.0.1", "rimraf": "^5.0.5", "semver": "^7.5.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 997fb74f..b971ed98 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -115,8 +115,8 @@ devDependencies: specifier: ^2.4.0 version: 2.4.0 c8: - specifier: ^9.0.0 - version: 9.0.0 + specifier: ^9.1.0 + version: 9.1.0 clinic: specifier: ^13.0.0 version: 13.0.0 @@ -158,7 +158,7 @@ devDependencies: version: 16.6.2(eslint@8.56.0) eslint-plugin-prettier: specifier: ^5.1.3 - version: 5.1.3(eslint@8.56.0)(prettier@3.1.1) + version: 5.1.3(eslint@8.56.0)(prettier@3.2.0) eslint-plugin-tsdoc: specifier: ^0.2.17 version: 0.2.17 @@ -175,8 +175,8 @@ devDependencies: specifier: ^15.2.0 version: 15.2.0 prettier: - specifier: ^3.1.1 - version: 3.1.1 + specifier: ^3.2.0 + version: 3.2.0 release-it: specifier: ^17.0.1 version: 17.0.1(typescript@5.3.3) @@ -2398,8 +2398,8 @@ packages: run-applescript: 5.0.0 dev: true - /c8@9.0.0: - resolution: {integrity: sha512-nFJhU2Cz6Frh2awk3IW7wwk3wx27/U2v8ojQCHGc1GWTCHS6aMu4lal327/ZnnYj7oSThGF1X3qUP1yzAJBcOQ==} + /c8@9.1.0: + resolution: {integrity: sha512-mBWcT5iqNir1zIkzSPyI3NCR9EZCVI3WUD+AVO17MVWTSFNyUueXE82qTeampNtTr+ilN/5Ua3j24LgbCKjDVg==} engines: {node: '>=14.14.0'} hasBin: true dependencies: @@ -4067,7 +4067,7 @@ packages: semver: 7.5.4 dev: true - /eslint-plugin-prettier@5.1.3(eslint@8.56.0)(prettier@3.1.1): + /eslint-plugin-prettier@5.1.3(eslint@8.56.0)(prettier@3.2.0): resolution: {integrity: sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -4082,7 +4082,7 @@ packages: optional: true dependencies: eslint: 8.56.0 - prettier: 3.1.1 + prettier: 3.2.0 prettier-linter-helpers: 1.0.0 synckit: 0.8.8 dev: true @@ -7574,8 +7574,8 @@ packages: fast-diff: 1.3.0 dev: true - /prettier@3.1.1: - resolution: {integrity: sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==} + /prettier@3.2.0: + resolution: {integrity: sha512-/vBUecTGaPlRVwyZVROVC58bYIScqaoEJzZmzQXXrZOzqn0TwWz0EnOozOlFO/YAImRnb7XsKpTCd3m1SjS2Ww==} engines: {node: '>=14'} hasBin: true dev: true diff --git a/src/charging-station/AutomaticTransactionGenerator.ts b/src/charging-station/AutomaticTransactionGenerator.ts index 55222213..e12fba94 100644 --- a/src/charging-station/AutomaticTransactionGenerator.ts +++ b/src/charging-station/AutomaticTransactionGenerator.ts @@ -218,10 +218,9 @@ export class AutomaticTransactionGenerator { ) ) logger.info( - `${this.logPrefix( - connectorId - )} transaction started with id ${this.chargingStation.getConnectorStatus(connectorId) - ?.transactionId} and will stop in ${formatDurationMilliSeconds(waitTrxEnd)}` + `${this.logPrefix(connectorId)} transaction started with id ${ + this.chargingStation.getConnectorStatus(connectorId)?.transactionId + } and will stop in ${formatDurationMilliSeconds(waitTrxEnd)}` ) await sleep(waitTrxEnd) await this.stopTransaction(connectorId) @@ -232,10 +231,9 @@ export class AutomaticTransactionGenerator { // eslint-disable-next-line @typescript-eslint/no-non-null-assertion ++this.connectorsStatus.get(connectorId)!.skippedTransactions logger.info( - `${this.logPrefix(connectorId)} skipped consecutively ${this.connectorsStatus.get( - connectorId - )?.skippedConsecutiveTransactions}/${this.connectorsStatus.get(connectorId) - ?.skippedTransactions} transaction(s)` + `${this.logPrefix(connectorId)} skipped consecutively ${ + this.connectorsStatus.get(connectorId)?.skippedConsecutiveTransactions + }/${this.connectorsStatus.get(connectorId)?.skippedTransactions} transaction(s)` ) } // eslint-disable-next-line @typescript-eslint/no-non-null-assertion @@ -485,10 +483,9 @@ export class AutomaticTransactionGenerator { let stopResponse: StopTransactionResponse | undefined if (this.chargingStation.getConnectorStatus(connectorId)?.transactionStarted === true) { logger.info( - `${this.logPrefix( - connectorId - )} stop transaction with id ${this.chargingStation.getConnectorStatus(connectorId) - ?.transactionId}` + `${this.logPrefix(connectorId)} stop transaction with id ${ + this.chargingStation.getConnectorStatus(connectorId)?.transactionId + }` ) stopResponse = await this.chargingStation.stopTransactionOnConnector(connectorId, reason) // eslint-disable-next-line @typescript-eslint/no-non-null-assertion diff --git a/src/charging-station/Bootstrap.ts b/src/charging-station/Bootstrap.ts index 22b3207b..04205db6 100644 --- a/src/charging-station/Bootstrap.ts +++ b/src/charging-station/Bootstrap.ts @@ -47,7 +47,7 @@ enum exitCodes { succeeded = 0, missingChargingStationsConfiguration = 1, noChargingStationTemplates = 2, - gracefulShutdownError = 3, + gracefulShutdownError = 3 } export class Bootstrap extends EventEmitter { diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index 47ffecf2..ca8a82a5 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -1799,8 +1799,9 @@ export class ChargingStation extends EventEmitter { } } else { logger.error( - `${this.logPrefix()} Registration failure: maximum retries reached (${registrationRetryCount}) or retry disabled (${this - .stationInfo?.registrationMaxRetries})` + `${this.logPrefix()} Registration failure: maximum retries reached (${registrationRetryCount}) or retry disabled (${ + this.stationInfo?.registrationMaxRetries + })` ) } this.autoReconnectRetryCount = 0 diff --git a/src/charging-station/Helpers.ts b/src/charging-station/Helpers.ts index bb736f3f..c2694498 100644 --- a/src/charging-station/Helpers.ts +++ b/src/charging-station/Helpers.ts @@ -348,9 +348,9 @@ export const initializeConnectorsMapStatus = ( for (const connectorId of connectors.keys()) { if (connectorId > 0 && connectors.get(connectorId)?.transactionStarted === true) { logger.warn( - `${logPrefix} Connector id ${connectorId} at initialization has a transaction started with id ${connectors.get( - connectorId - )?.transactionId}` + `${logPrefix} Connector id ${connectorId} at initialization has a transaction started with id ${ + connectors.get(connectorId)?.transactionId + }` ) } if (connectorId === 0) { diff --git a/src/charging-station/SharedLRUCache.ts b/src/charging-station/SharedLRUCache.ts index fcda613e..b50f1342 100644 --- a/src/charging-station/SharedLRUCache.ts +++ b/src/charging-station/SharedLRUCache.ts @@ -6,7 +6,7 @@ import { isEmptyObject, isNotEmptyArray, isNotEmptyString } from '../utils/index enum CacheType { chargingStationTemplate = 'chargingStationTemplate', - chargingStationConfiguration = 'chargingStationConfiguration', + chargingStationConfiguration = 'chargingStationConfiguration' } type CacheValueType = ChargingStationTemplate | ChargingStationConfiguration diff --git a/src/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.ts b/src/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.ts index b82587c4..20f347fc 100644 --- a/src/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.ts +++ b/src/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.ts @@ -173,12 +173,7 @@ export class ChargingStationWorkerBroadcastChannel extends WorkerBroadcastChanne await this.chargingStation.ocppRequestService.requestHandler< StatusNotificationRequest, StatusNotificationResponse - >( - this.chargingStation, - RequestCommand.STATUS_NOTIFICATION, - requestPayload, - requestParams - ) + >(this.chargingStation, RequestCommand.STATUS_NOTIFICATION, requestPayload, requestParams) ], [ BroadcastChannelProcedureName.HEARTBEAT, diff --git a/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts b/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts index 3e371e82..d4b3c630 100644 --- a/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts +++ b/src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts @@ -922,8 +922,9 @@ export class OCPP16IncomingRequestService extends OCPPIncomingRequestService { ) } const remoteStartTransactionLogMsg = ` - ${chargingStation.logPrefix()} Transaction remotely STARTED on ${chargingStation.stationInfo - ?.chargingStationId}#${transactionConnectorId} for idTag '${idTag}'` + ${chargingStation.logPrefix()} Transaction remotely STARTED on ${ + chargingStation.stationInfo?.chargingStationId + }#${transactionConnectorId} for idTag '${idTag}'` await OCPP16ServiceUtils.sendAndSetConnectorStatus( chargingStation, transactionConnectorId, diff --git a/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts b/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts index 7c2c041d..39d7ac02 100644 --- a/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts +++ b/src/charging-station/ocpp/1.6/OCPP16ResponseService.ts @@ -682,8 +682,9 @@ export class OCPP16ResponseService extends OCPPResponseService { logger.warn( `${chargingStation.logPrefix()} Starting transaction with id ${ payload.transactionId - } REJECTED on ${chargingStation.stationInfo - ?.chargingStationId}#${connectorId} with status '${payload.idTagInfo.status}', idTag '${ + } REJECTED on ${ + chargingStation.stationInfo?.chargingStationId + }#${connectorId} with status '${payload.idTagInfo.status}', idTag '${ requestPayload.idTag }'${ OCPP16ServiceUtils.hasReservation(chargingStation, connectorId, requestPayload.idTag) @@ -768,8 +769,9 @@ export class OCPP16ResponseService extends OCPPResponseService { chargingStation.stopMeterValues(transactionConnectorId) const logMsg = `${chargingStation.logPrefix()} Transaction with id ${ requestPayload.transactionId - } STOPPED on ${chargingStation.stationInfo - ?.chargingStationId}#${transactionConnectorId} with status '${payload.idTagInfo?.status}'` + } STOPPED on ${ + chargingStation.stationInfo?.chargingStationId + }#${transactionConnectorId} with status '${payload.idTagInfo?.status}'` if ( payload.idTagInfo == null || payload.idTagInfo.status === OCPP16AuthorizationStatus.ACCEPTED diff --git a/src/charging-station/ocpp/OCPPIncomingRequestService.ts b/src/charging-station/ocpp/OCPPIncomingRequestService.ts index ea3e7b73..5eaddae9 100644 --- a/src/charging-station/ocpp/OCPPIncomingRequestService.ts +++ b/src/charging-station/ocpp/OCPPIncomingRequestService.ts @@ -38,7 +38,7 @@ export abstract class OCPPIncomingRequestService { this.incomingRequestHandler = this.incomingRequestHandler.bind(this) as < ReqType extends JsonType, // eslint-disable-next-line @typescript-eslint/no-unused-vars - ResType extends JsonType, + ResType extends JsonType >( chargingStation: ChargingStation, messageId: string, @@ -46,7 +46,7 @@ export abstract class OCPPIncomingRequestService { commandPayload: ReqType ) => Promise this.validateIncomingRequestPayload = this.validateIncomingRequestPayload.bind(this) as < - T extends JsonType, + T extends JsonType >( chargingStation: ChargingStation, commandName: IncomingRequestCommand, diff --git a/src/charging-station/ocpp/OCPPRequestService.ts b/src/charging-station/ocpp/OCPPRequestService.ts index 1d698bd8..dc2ab503 100644 --- a/src/charging-station/ocpp/OCPPRequestService.ts +++ b/src/charging-station/ocpp/OCPPRequestService.ts @@ -62,7 +62,7 @@ export abstract class OCPPRequestService { this.requestHandler = this.requestHandler.bind(this) as < // eslint-disable-next-line @typescript-eslint/no-unused-vars ReqType extends JsonType, - ResType extends JsonType, + ResType extends JsonType >( chargingStation: ChargingStation, commandName: RequestCommand, diff --git a/src/charging-station/ocpp/OCPPResponseService.ts b/src/charging-station/ocpp/OCPPResponseService.ts index 428c63c4..738aa5ae 100644 --- a/src/charging-station/ocpp/OCPPResponseService.ts +++ b/src/charging-station/ocpp/OCPPResponseService.ts @@ -49,7 +49,7 @@ export abstract class OCPPResponseService { >() this.responseHandler = this.responseHandler.bind(this) as < ReqType extends JsonType, - ResType extends JsonType, + ResType extends JsonType >( chargingStation: ChargingStation, commandName: RequestCommand, diff --git a/src/charging-station/ocpp/OCPPServiceUtils.ts b/src/charging-station/ocpp/OCPPServiceUtils.ts index 414b0a8f..8c4c9479 100644 --- a/src/charging-station/ocpp/OCPPServiceUtils.ts +++ b/src/charging-station/ocpp/OCPPServiceUtils.ts @@ -240,9 +240,9 @@ const checkConnectorStatusTransition = ( logger.warn( `${chargingStation.logPrefix()} OCPP ${ chargingStation.stationInfo.ocppVersion - } connector id ${connectorId} status transition from '${chargingStation.getConnectorStatus( - connectorId - )?.status}' to '${status}' is not allowed` + } connector id ${connectorId} status transition from '${ + chargingStation.getConnectorStatus(connectorId)?.status + }' to '${status}' is not allowed` ) } return transitionAllowed diff --git a/src/charging-station/ui-server/UIHttpServer.ts b/src/charging-station/ui-server/UIHttpServer.ts index 27b9e845..eac654ee 100644 --- a/src/charging-station/ui-server/UIHttpServer.ts +++ b/src/charging-station/ui-server/UIHttpServer.ts @@ -24,7 +24,7 @@ enum HttpMethods { GET = 'GET', PUT = 'PUT', POST = 'POST', - PATCH = 'PATCH', + PATCH = 'PATCH' } export class UIHttpServer extends AbstractUIServer { @@ -96,7 +96,7 @@ export class UIHttpServer extends AbstractUIServer { const [protocol, version, procedureName] = req.url?.split('/').slice(1) as [ Protocol, ProtocolVersion, - ProcedureName, + ProcedureName ] const uuid = generateUUID() this.responseHandlers.set(uuid, res) diff --git a/src/types/AutomaticTransactionGenerator.ts b/src/types/AutomaticTransactionGenerator.ts index a2866a82..2625f8ad 100644 --- a/src/types/AutomaticTransactionGenerator.ts +++ b/src/types/AutomaticTransactionGenerator.ts @@ -1,7 +1,7 @@ export enum IdTagDistribution { RANDOM = 'random', ROUND_ROBIN = 'round-robin', - CONNECTOR_AFFINITY = 'connector-affinity', + CONNECTOR_AFFINITY = 'connector-affinity' } export interface AutomaticTransactionGeneratorConfiguration { diff --git a/src/types/ChargingStationEvents.ts b/src/types/ChargingStationEvents.ts index f7980b47..5a0fc8fd 100644 --- a/src/types/ChargingStationEvents.ts +++ b/src/types/ChargingStationEvents.ts @@ -4,5 +4,5 @@ export enum ChargingStationEvents { registered = 'registered', accepted = 'accepted', updated = 'updated', - connectorStatusChanged = 'connectorStatusChanged', + connectorStatusChanged = 'connectorStatusChanged' } diff --git a/src/types/ChargingStationTemplate.ts b/src/types/ChargingStationTemplate.ts index 1b4299b3..cb358844 100644 --- a/src/types/ChargingStationTemplate.ts +++ b/src/types/ChargingStationTemplate.ts @@ -17,26 +17,26 @@ import type { export enum CurrentType { AC = 'AC', - DC = 'DC', + DC = 'DC' } export enum PowerUnits { WATT = 'W', - KILO_WATT = 'kW', + KILO_WATT = 'kW' } export enum AmpereUnits { MILLI_AMPERE = 'mA', CENTI_AMPERE = 'cA', DECI_AMPERE = 'dA', - AMPERE = 'A', + AMPERE = 'A' } export enum Voltage { VOLTAGE_110 = 110, VOLTAGE_230 = 230, VOLTAGE_400 = 400, - VOLTAGE_800 = 800, + VOLTAGE_800 = 800 } export type WsOptions = ClientOptions & ClientRequestArgs @@ -61,7 +61,7 @@ enum x509CertificateType { CSMSRootCertificate = 'CSMSRootCertificate', ManufacturerRootCertificate = 'ManufacturerRootCertificate', ChargingStationCertificate = 'ChargingStationCertificate', - V2GCertificate = 'V2GCertificate', + V2GCertificate = 'V2GCertificate' } export interface ChargingStationTemplate { diff --git a/src/types/ChargingStationWorker.ts b/src/types/ChargingStationWorker.ts index 740d6e50..5b123079 100644 --- a/src/types/ChargingStationWorker.ts +++ b/src/types/ChargingStationWorker.ts @@ -41,7 +41,7 @@ export interface ChargingStationData extends WorkerData { } enum ChargingStationMessageEvents { - performanceStatistics = 'performanceStatistics', + performanceStatistics = 'performanceStatistics' } export const ChargingStationWorkerMessageEvents = { diff --git a/src/types/ConfigurationData.ts b/src/types/ConfigurationData.ts index 7f5353f4..fe8b8481 100644 --- a/src/types/ConfigurationData.ts +++ b/src/types/ConfigurationData.ts @@ -13,13 +13,13 @@ export enum ConfigurationSection { log = 'log', performanceStorage = 'performanceStorage', worker = 'worker', - uiServer = 'uiServer', + uiServer = 'uiServer' } export enum SupervisionUrlDistribution { ROUND_ROBIN = 'round-robin', RANDOM = 'random', - CHARGING_STATION_AFFINITY = 'charging-station-affinity', + CHARGING_STATION_AFFINITY = 'charging-station-affinity' } export interface StationTemplateUrl { @@ -42,7 +42,7 @@ export interface LogConfiguration { export enum ApplicationProtocolVersion { VERSION_11 = 1.1, - VERSION_20 = 2.0, + VERSION_20 = 2.0 } export interface UIServerConfiguration { diff --git a/src/types/FileType.ts b/src/types/FileType.ts index 3781b7d9..2b6bc380 100644 --- a/src/types/FileType.ts +++ b/src/types/FileType.ts @@ -4,5 +4,5 @@ export enum FileType { ChargingStationConfiguration = 'charging station configuration', ChargingStationTemplate = 'charging station template', PerformanceRecords = 'performance records', - JsonSchema = 'json schema', + JsonSchema = 'json schema' } diff --git a/src/types/Storage.ts b/src/types/Storage.ts index 92aa4cb4..3301f5ca 100644 --- a/src/types/Storage.ts +++ b/src/types/Storage.ts @@ -7,12 +7,12 @@ export enum StorageType { MONGO_DB = 'mongodb', MYSQL = 'mysql', MARIA_DB = 'mariadb', - SQLITE = 'sqlite', + SQLITE = 'sqlite' } export enum DBName { MONGO_DB = 'MongoDB', MYSQL = 'MySQL', MARIA_DB = 'MariaDB', - SQLITE = 'SQLite', + SQLITE = 'SQLite' } diff --git a/src/types/UIProtocol.ts b/src/types/UIProtocol.ts index 4911f9ad..f44475d8 100644 --- a/src/types/UIProtocol.ts +++ b/src/types/UIProtocol.ts @@ -2,20 +2,20 @@ import type { JsonObject } from './JsonType.js' import type { BroadcastChannelResponsePayload } from './WorkerBroadcastChannel.js' export enum Protocol { - UI = 'ui', + UI = 'ui' } export enum ApplicationProtocol { HTTP = 'http', - WS = 'ws', + WS = 'ws' } export enum AuthenticationType { - BASIC_AUTH = 'basic-auth', + BASIC_AUTH = 'basic-auth' } export enum ProtocolVersion { - '0.0.1' = '0.0.1', + '0.0.1' = '0.0.1' } export type ProtocolRequest = [string, ProcedureName, RequestPayload] @@ -47,7 +47,7 @@ export enum ProcedureName { METER_VALUES = 'meterValues', DATA_TRANSFER = 'dataTransfer', DIAGNOSTICS_STATUS_NOTIFICATION = 'diagnosticsStatusNotification', - FIRMWARE_STATUS_NOTIFICATION = 'firmwareStatusNotification', + FIRMWARE_STATUS_NOTIFICATION = 'firmwareStatusNotification' } export interface RequestPayload extends JsonObject { @@ -57,7 +57,7 @@ export interface RequestPayload extends JsonObject { export enum ResponseStatus { SUCCESS = 'success', - FAILURE = 'failure', + FAILURE = 'failure' } export interface ResponsePayload extends JsonObject { diff --git a/src/types/WebSocket.ts b/src/types/WebSocket.ts index c0d0bd9d..2f7269aa 100644 --- a/src/types/WebSocket.ts +++ b/src/types/WebSocket.ts @@ -34,7 +34,7 @@ export enum WebSocketCloseEventStatusCode { CLOSE_SERVICE_RESTART = 1012, CLOSE_TRY_AGAIN_LATER = 1013, CLOSE_BAD_GATEWAY = 1014, - CLOSE_TLS_HANDSHAKE = 1015, + CLOSE_TLS_HANDSHAKE = 1015 } export interface WSError extends Error { diff --git a/src/types/WorkerBroadcastChannel.ts b/src/types/WorkerBroadcastChannel.ts index 9ea1a0e6..902ba0af 100644 --- a/src/types/WorkerBroadcastChannel.ts +++ b/src/types/WorkerBroadcastChannel.ts @@ -3,7 +3,7 @@ import type { RequestPayload, ResponsePayload } from './UIProtocol.js' export type BroadcastChannelRequest = [ string, BroadcastChannelProcedureName, - BroadcastChannelRequestPayload, + BroadcastChannelRequestPayload ] export type BroadcastChannelResponse = [string, BroadcastChannelResponsePayload] @@ -24,7 +24,7 @@ export enum BroadcastChannelProcedureName { METER_VALUES = 'meterValues', DATA_TRANSFER = 'dataTransfer', DIAGNOSTICS_STATUS_NOTIFICATION = 'diagnosticsStatusNotification', - FIRMWARE_STATUS_NOTIFICATION = 'firmwareStatusNotification', + FIRMWARE_STATUS_NOTIFICATION = 'firmwareStatusNotification' } export interface BroadcastChannelRequestPayload extends RequestPayload { diff --git a/src/types/ocpp/1.6/ChargePointErrorCode.ts b/src/types/ocpp/1.6/ChargePointErrorCode.ts index 4255cd05..db06d0c9 100644 --- a/src/types/ocpp/1.6/ChargePointErrorCode.ts +++ b/src/types/ocpp/1.6/ChargePointErrorCode.ts @@ -14,5 +14,5 @@ export enum OCPP16ChargePointErrorCode { READER_FAILURE = 'ReaderFailure', RESET_FAILURE = 'ResetFailure', UNDER_VOLTAGE = 'UnderVoltage', - WEAK_SIGNAL = 'WeakSignal', + WEAK_SIGNAL = 'WeakSignal' } diff --git a/src/types/ocpp/1.6/ChargePointStatus.ts b/src/types/ocpp/1.6/ChargePointStatus.ts index 4cef943e..ef7467bd 100644 --- a/src/types/ocpp/1.6/ChargePointStatus.ts +++ b/src/types/ocpp/1.6/ChargePointStatus.ts @@ -7,5 +7,5 @@ export enum OCPP16ChargePointStatus { Finishing = 'Finishing', Reserved = 'Reserved', Unavailable = 'Unavailable', - Faulted = 'Faulted', + Faulted = 'Faulted' } diff --git a/src/types/ocpp/1.6/ChargingProfile.ts b/src/types/ocpp/1.6/ChargingProfile.ts index efd8f31a..744696c5 100644 --- a/src/types/ocpp/1.6/ChargingProfile.ts +++ b/src/types/ocpp/1.6/ChargingProfile.ts @@ -28,22 +28,22 @@ export interface OCPP16ChargingSchedulePeriod extends JsonObject { export enum OCPP16ChargingRateUnitType { WATT = 'W', - AMPERE = 'A', + AMPERE = 'A' } export enum OCPP16ChargingProfileKindType { ABSOLUTE = 'Absolute', RECURRING = 'Recurring', - RELATIVE = 'Relative', + RELATIVE = 'Relative' } export enum OCPP16ChargingProfilePurposeType { CHARGE_POINT_MAX_PROFILE = 'ChargePointMaxProfile', TX_DEFAULT_PROFILE = 'TxDefaultProfile', - TX_PROFILE = 'TxProfile', + TX_PROFILE = 'TxProfile' } export enum OCPP16RecurrencyKindType { DAILY = 'Daily', - WEEKLY = 'Weekly', + WEEKLY = 'Weekly' } diff --git a/src/types/ocpp/1.6/Configuration.ts b/src/types/ocpp/1.6/Configuration.ts index 1bd92376..a5888d93 100644 --- a/src/types/ocpp/1.6/Configuration.ts +++ b/src/types/ocpp/1.6/Configuration.ts @@ -4,7 +4,7 @@ export enum OCPP16SupportedFeatureProfiles { LocalAuthListManagement = 'LocalAuthListManagement', Reservation = 'Reservation', SmartCharging = 'SmartCharging', - RemoteTrigger = 'RemoteTrigger', + RemoteTrigger = 'RemoteTrigger' } export enum OCPP16StandardParametersKey { @@ -51,9 +51,9 @@ export enum OCPP16StandardParametersKey { ChargingScheduleAllowedChargingRateUnit = 'ChargingScheduleAllowedChargingRateUnit', ChargingScheduleMaxPeriods = 'ChargingScheduleMaxPeriods', ConnectorSwitch3to1PhaseSupported = 'ConnectorSwitch3to1PhaseSupported', - MaxChargingProfilesInstalled = 'MaxChargingProfilesInstalled', + MaxChargingProfilesInstalled = 'MaxChargingProfilesInstalled' } export enum OCPP16VendorParametersKey { - ConnectionUrl = 'ConnectionUrl', + ConnectionUrl = 'ConnectionUrl' } diff --git a/src/types/ocpp/1.6/DiagnosticsStatus.ts b/src/types/ocpp/1.6/DiagnosticsStatus.ts index c8c2c890..c9feccea 100644 --- a/src/types/ocpp/1.6/DiagnosticsStatus.ts +++ b/src/types/ocpp/1.6/DiagnosticsStatus.ts @@ -2,5 +2,5 @@ export enum OCPP16DiagnosticsStatus { Idle = 'Idle', Uploaded = 'Uploaded', UploadFailed = 'UploadFailed', - Uploading = 'Uploading', + Uploading = 'Uploading' } diff --git a/src/types/ocpp/1.6/MeterValues.ts b/src/types/ocpp/1.6/MeterValues.ts index 1fd18982..92cac7c3 100644 --- a/src/types/ocpp/1.6/MeterValues.ts +++ b/src/types/ocpp/1.6/MeterValues.ts @@ -17,7 +17,7 @@ export enum OCPP16MeterValueUnit { TEMP_CELSIUS = 'Celsius', TEMP_FAHRENHEIT = 'Fahrenheit', TEMP_KELVIN = 'K', - PERCENT = 'Percent', + PERCENT = 'Percent' } export enum OCPP16MeterValueContext { @@ -28,7 +28,7 @@ export enum OCPP16MeterValueContext { SAMPLE_PERIODIC = 'Sample.Periodic', TRANSACTION_BEGIN = 'Transaction.Begin', TRANSACTION_END = 'Transaction.End', - TRIGGER = 'Trigger', + TRIGGER = 'Trigger' } export enum OCPP16MeterValueMeasurand { @@ -53,7 +53,7 @@ export enum OCPP16MeterValueMeasurand { FAN_RPM = 'RPM', STATE_OF_CHARGE = 'SoC', TEMPERATURE = 'Temperature', - VOLTAGE = 'Voltage', + VOLTAGE = 'Voltage' } export enum OCPP16MeterValueLocation { @@ -61,7 +61,7 @@ export enum OCPP16MeterValueLocation { CABLE = 'Cable', EV = 'EV', INLET = 'Inlet', - OUTLET = 'Outlet', + OUTLET = 'Outlet' } export enum OCPP16MeterValuePhase { @@ -74,12 +74,12 @@ export enum OCPP16MeterValuePhase { L3_N = 'L3-N', L1_L2 = 'L1-L2', L2_L3 = 'L2-L3', - L3_L1 = 'L3-L1', + L3_L1 = 'L3-L1' } enum OCPP16MeterValueFormat { RAW = 'Raw', - SIGNED_DATA = 'SignedData', + SIGNED_DATA = 'SignedData' } export interface OCPP16SampledValue extends JsonObject { diff --git a/src/types/ocpp/1.6/Requests.ts b/src/types/ocpp/1.6/Requests.ts index a3c4911c..32d9757f 100644 --- a/src/types/ocpp/1.6/Requests.ts +++ b/src/types/ocpp/1.6/Requests.ts @@ -20,7 +20,7 @@ export enum OCPP16RequestCommand { METER_VALUES = 'MeterValues', DIAGNOSTICS_STATUS_NOTIFICATION = 'DiagnosticsStatusNotification', FIRMWARE_STATUS_NOTIFICATION = 'FirmwareStatusNotification', - DATA_TRANSFER = 'DataTransfer', + DATA_TRANSFER = 'DataTransfer' } export enum OCPP16IncomingRequestCommand { @@ -40,7 +40,7 @@ export enum OCPP16IncomingRequestCommand { DATA_TRANSFER = 'DataTransfer', UPDATE_FIRMWARE = 'UpdateFirmware', RESERVE_NOW = 'ReserveNow', - CANCEL_RESERVATION = 'CancelReservation', + CANCEL_RESERVATION = 'CancelReservation' } export type OCPP16HeartbeatRequest = EmptyObject @@ -96,7 +96,7 @@ export interface GetConfigurationRequest extends JsonObject { enum ResetType { HARD = 'Hard', - SOFT = 'Soft', + SOFT = 'Soft' } export interface ResetRequest extends JsonObject { @@ -116,7 +116,7 @@ export interface SetChargingProfileRequest extends JsonObject { export enum OCPP16AvailabilityType { Inoperative = 'Inoperative', - Operative = 'Operative', + Operative = 'Operative' } export interface OCPP16ChangeAvailabilityRequest extends JsonObject { @@ -145,7 +145,7 @@ export enum OCPP16FirmwareStatus { Idle = 'Idle', InstallationFailed = 'InstallationFailed', Installing = 'Installing', - Installed = 'Installed', + Installed = 'Installed' } export type OCPP16FirmwareStatusNotificationRequest = { @@ -170,7 +170,7 @@ export enum OCPP16MessageTrigger { FirmwareStatusNotification = 'FirmwareStatusNotification', Heartbeat = 'Heartbeat', MeterValues = 'MeterValues', - StatusNotification = 'StatusNotification', + StatusNotification = 'StatusNotification' } export interface OCPP16TriggerMessageRequest extends JsonObject { diff --git a/src/types/ocpp/1.6/Responses.ts b/src/types/ocpp/1.6/Responses.ts index f1e8b0e2..b8c36ed2 100644 --- a/src/types/ocpp/1.6/Responses.ts +++ b/src/types/ocpp/1.6/Responses.ts @@ -11,7 +11,7 @@ export interface OCPP16HeartbeatResponse extends JsonObject { export enum OCPP16UnlockStatus { UNLOCKED = 'Unlocked', UNLOCK_FAILED = 'UnlockFailed', - NOT_SUPPORTED = 'NotSupported', + NOT_SUPPORTED = 'NotSupported' } export interface UnlockConnectorResponse extends JsonObject { @@ -22,7 +22,7 @@ export enum OCPP16ConfigurationStatus { ACCEPTED = 'Accepted', REJECTED = 'Rejected', REBOOT_REQUIRED = 'RebootRequired', - NOT_SUPPORTED = 'NotSupported', + NOT_SUPPORTED = 'NotSupported' } export interface ChangeConfigurationResponse extends JsonObject { @@ -45,7 +45,7 @@ export interface GetConfigurationResponse extends JsonObject { export enum OCPP16ChargingProfileStatus { ACCEPTED = 'Accepted', REJECTED = 'Rejected', - NOT_SUPPORTED = 'NotSupported', + NOT_SUPPORTED = 'NotSupported' } export interface OCPP16GetCompositeScheduleResponse extends JsonObject { @@ -62,7 +62,7 @@ export interface SetChargingProfileResponse extends JsonObject { export enum OCPP16AvailabilityStatus { ACCEPTED = 'Accepted', REJECTED = 'Rejected', - SCHEDULED = 'Scheduled', + SCHEDULED = 'Scheduled' } export interface OCPP16ChangeAvailabilityResponse extends JsonObject { @@ -71,7 +71,7 @@ export interface OCPP16ChangeAvailabilityResponse extends JsonObject { export enum OCPP16ClearChargingProfileStatus { ACCEPTED = 'Accepted', - UNKNOWN = 'Unknown', + UNKNOWN = 'Unknown' } export interface OCPP16ClearChargingProfileResponse extends JsonObject { @@ -91,7 +91,7 @@ export type OCPP16DiagnosticsStatusNotificationResponse = EmptyObject export enum OCPP16TriggerMessageStatus { ACCEPTED = 'Accepted', REJECTED = 'Rejected', - NOT_IMPLEMENTED = 'NotImplemented', + NOT_IMPLEMENTED = 'NotImplemented' } export interface OCPP16TriggerMessageResponse extends JsonObject { @@ -102,7 +102,7 @@ export enum OCPP16DataTransferStatus { ACCEPTED = 'Accepted', REJECTED = 'Rejected', UNKNOWN_MESSAGE_ID = 'UnknownMessageId', - UNKNOWN_VENDOR_ID = 'UnknownVendorId', + UNKNOWN_VENDOR_ID = 'UnknownVendorId' } export interface OCPP16DataTransferResponse extends JsonObject { @@ -116,7 +116,7 @@ export enum OCPP16ReservationStatus { OCCUPIED = 'Occupied', REJECTED = 'Rejected', UNAVAILABLE = 'Unavailable', - NOT_SUPPORTED = 'NotSupported', + NOT_SUPPORTED = 'NotSupported' } export interface OCPP16ReserveNowResponse extends JsonObject { diff --git a/src/types/ocpp/1.6/Transaction.ts b/src/types/ocpp/1.6/Transaction.ts index 58f7e96c..2e6c7289 100644 --- a/src/types/ocpp/1.6/Transaction.ts +++ b/src/types/ocpp/1.6/Transaction.ts @@ -12,7 +12,7 @@ export enum OCPP16StopTransactionReason { REMOTE = 'Remote', SOFT_RESET = 'SoftReset', UNLOCK_COMMAND = 'UnlockCommand', - DE_AUTHORIZED = 'DeAuthorized', + DE_AUTHORIZED = 'DeAuthorized' } export enum OCPP16AuthorizationStatus { @@ -20,7 +20,7 @@ export enum OCPP16AuthorizationStatus { BLOCKED = 'Blocked', EXPIRED = 'Expired', INVALID = 'Invalid', - CONCURRENT_TX = 'ConcurrentTx', + CONCURRENT_TX = 'ConcurrentTx' } interface IdTagInfo extends JsonObject { diff --git a/src/types/ocpp/2.0/Common.ts b/src/types/ocpp/2.0/Common.ts index 01fed13b..9d13b2a8 100644 --- a/src/types/ocpp/2.0/Common.ts +++ b/src/types/ocpp/2.0/Common.ts @@ -9,7 +9,7 @@ export enum DataEnumType { boolean = 'boolean', OptionList = 'OptionList', SequenceList = 'SequenceList', - MemberList = 'MemberList', + MemberList = 'MemberList' } export enum BootReasonEnumType { @@ -21,12 +21,12 @@ export enum BootReasonEnumType { ScheduledReset = 'ScheduledReset', Triggered = 'Triggered', Unknown = 'Unknown', - Watchdog = 'Watchdog', + Watchdog = 'Watchdog' } export enum OperationalStatusEnumType { Operative = 'Operative', - Inoperative = 'Inoperative', + Inoperative = 'Inoperative' } export enum OCPP20ConnectorStatusEnumType { @@ -34,7 +34,7 @@ export enum OCPP20ConnectorStatusEnumType { Occupied = 'Occupied', Reserved = 'Reserved', Unavailable = 'Unavailable', - Faulted = 'Faulted', + Faulted = 'Faulted' } export type GenericStatusEnumType = GenericStatus @@ -42,7 +42,7 @@ export type GenericStatusEnumType = GenericStatus export enum HashAlgorithmEnumType { SHA256 = 'SHA256', SHA384 = 'SHA384', - SHA512 = 'SHA512', + SHA512 = 'SHA512' } export enum GetCertificateIdUseEnumType { @@ -50,46 +50,46 @@ export enum GetCertificateIdUseEnumType { MORootCertificate = 'MORootCertificate', CSMSRootCertificate = 'CSMSRootCertificate', V2GCertificateChain = 'V2GCertificateChain', - ManufacturerRootCertificate = 'ManufacturerRootCertificate', + ManufacturerRootCertificate = 'ManufacturerRootCertificate' } export enum GetCertificateStatusEnumType { Accepted = 'Accepted', - Failed = 'Failed', + Failed = 'Failed' } export enum GetInstalledCertificateStatusEnumType { Accepted = 'Accepted', - NotFound = 'NotFound', + NotFound = 'NotFound' } export enum InstallCertificateStatusEnumType { Accepted = 'Accepted', Rejected = 'Rejected', - Failed = 'Failed', + Failed = 'Failed' } export enum InstallCertificateUseEnumType { V2GRootCertificate = 'V2GRootCertificate', MORootCertificate = 'MORootCertificate', CSMSRootCertificate = 'CSMSRootCertificate', - ManufacturerRootCertificate = 'ManufacturerRootCertificate', + ManufacturerRootCertificate = 'ManufacturerRootCertificate' } export enum DeleteCertificateStatusEnumType { Accepted = 'Accepted', Failed = 'Failed', - NotFound = 'NotFound', + NotFound = 'NotFound' } export enum CertificateActionEnumType { Install = 'Install', - Update = 'Update', + Update = 'Update' } export enum CertificateSigningUseEnumType { ChargingStationCertificate = 'ChargingStationCertificate', - V2GCertificate = 'V2GCertificate', + V2GCertificate = 'V2GCertificate' } export type CertificateSignedStatusEnumType = GenericStatusEnumType diff --git a/src/types/ocpp/2.0/Requests.ts b/src/types/ocpp/2.0/Requests.ts index 0404936e..ef7a5161 100644 --- a/src/types/ocpp/2.0/Requests.ts +++ b/src/types/ocpp/2.0/Requests.ts @@ -10,13 +10,13 @@ import type { JsonObject } from '../../JsonType.js' export enum OCPP20RequestCommand { BOOT_NOTIFICATION = 'BootNotification', HEARTBEAT = 'Heartbeat', - STATUS_NOTIFICATION = 'StatusNotification', + STATUS_NOTIFICATION = 'StatusNotification' } export enum OCPP20IncomingRequestCommand { CLEAR_CACHE = 'ClearCache', REQUEST_START_TRANSACTION = 'RequestStartTransaction', - REQUEST_STOP_TRANSACTION = 'RequestStopTransaction', + REQUEST_STOP_TRANSACTION = 'RequestStopTransaction' } type ModemType = { diff --git a/src/types/ocpp/2.0/Variables.ts b/src/types/ocpp/2.0/Variables.ts index 2aa2ed33..b5cd53e5 100644 --- a/src/types/ocpp/2.0/Variables.ts +++ b/src/types/ocpp/2.0/Variables.ts @@ -19,7 +19,7 @@ enum OCPP20ComponentName { SecurityCtrlr = 'SecurityCtrlr', SmartChargingCtrlr = 'SmartChargingCtrlr', TariffCostCtrlr = 'TariffCostCtrlr', - TxCtrlr = 'TxCtrlr', + TxCtrlr = 'TxCtrlr' } export enum OCPP20RequiredVariableName { @@ -50,23 +50,23 @@ export enum OCPP20RequiredVariableName { TxEndedMeasurands = 'TxEndedMeasurands', TxStartedMeasurands = 'TxStartedMeasurands', TxUpdatedMeasurands = 'TxUpdatedMeasurands', - TxUpdatedInterval = 'TxUpdatedInterval', + TxUpdatedInterval = 'TxUpdatedInterval' } export enum OCPP20OptionalVariableName { HeartbeatInterval = 'HeartbeatInterval', - WebSocketPingInterval = 'WebSocketPingInterval', + WebSocketPingInterval = 'WebSocketPingInterval' } export enum OCPP20VendorVariableName { - ConnectionUrl = 'ConnectionUrl', + ConnectionUrl = 'ConnectionUrl' } enum AttributeEnumType { Actual = 'Actual', Target = 'Target', MinSet = 'MinSet', - MaxSet = 'MaxSet', + MaxSet = 'MaxSet' } type ComponentType = { @@ -99,7 +99,7 @@ enum SetVariableStatusEnumType { UnknownComponent = 'UnknownComponent', UnknownVariable = 'UnknownVariable', NotSupportedAttributeType = 'NotSupportedAttributeType', - RebootRequired = 'RebootRequired', + RebootRequired = 'RebootRequired' } export type OCPP20SetVariableResultType = { diff --git a/src/types/ocpp/Common.ts b/src/types/ocpp/Common.ts index e8923973..55b92f10 100644 --- a/src/types/ocpp/Common.ts +++ b/src/types/ocpp/Common.ts @@ -2,7 +2,7 @@ import type { JsonObject } from '../JsonType.js' export enum GenericStatus { Accepted = 'Accepted', - Rejected = 'Rejected', + Rejected = 'Rejected' } export interface GenericResponse extends JsonObject { @@ -12,5 +12,5 @@ export interface GenericResponse extends JsonObject { export enum RegistrationStatusEnumType { ACCEPTED = 'Accepted', PENDING = 'Pending', - REJECTED = 'Rejected', + REJECTED = 'Rejected' } diff --git a/src/types/ocpp/Configuration.ts b/src/types/ocpp/Configuration.ts index 75062774..ac8a0945 100644 --- a/src/types/ocpp/Configuration.ts +++ b/src/types/ocpp/Configuration.ts @@ -39,7 +39,7 @@ export enum ConnectorPhaseRotation { SRT = 'SRT', STR = 'STR', TRS = 'TRS', - TSR = 'TSR', + TSR = 'TSR' } export type ConfigurationKeyType = string | StandardParametersKey | VendorParametersKey diff --git a/src/types/ocpp/ErrorType.ts b/src/types/ocpp/ErrorType.ts index e8762380..d6d8357f 100644 --- a/src/types/ocpp/ErrorType.ts +++ b/src/types/ocpp/ErrorType.ts @@ -19,5 +19,5 @@ export enum ErrorType { // Payload for Action is syntactically correct but at least one of the fields violates data type constraints (e.g. "somestring" = 12) TYPE_CONSTRAINT_VIOLATION = 'TypeConstraintViolation', // Any other error not covered by the previous ones - GENERIC_ERROR = 'GenericError', + GENERIC_ERROR = 'GenericError' } diff --git a/src/types/ocpp/MessageType.ts b/src/types/ocpp/MessageType.ts index 1346ee82..972ed474 100644 --- a/src/types/ocpp/MessageType.ts +++ b/src/types/ocpp/MessageType.ts @@ -1,5 +1,5 @@ export enum MessageType { CALL_MESSAGE = 2, // Caller to Callee CALL_RESULT_MESSAGE = 3, // Callee to Caller - CALL_ERROR_MESSAGE = 4, // Callee to Caller + CALL_ERROR_MESSAGE = 4 // Callee to Caller } diff --git a/src/types/ocpp/OCPPProtocol.ts b/src/types/ocpp/OCPPProtocol.ts index 1df59397..3342d81d 100644 --- a/src/types/ocpp/OCPPProtocol.ts +++ b/src/types/ocpp/OCPPProtocol.ts @@ -1,3 +1,3 @@ export enum OCPPProtocol { - JSON = 'json', + JSON = 'json' } diff --git a/src/types/ocpp/OCPPVersion.ts b/src/types/ocpp/OCPPVersion.ts index a19fc280..37690b5e 100644 --- a/src/types/ocpp/OCPPVersion.ts +++ b/src/types/ocpp/OCPPVersion.ts @@ -1,5 +1,5 @@ export enum OCPPVersion { VERSION_16 = '1.6', VERSION_20 = '2.0', - VERSION_201 = '2.0.1', + VERSION_201 = '2.0.1' } diff --git a/src/types/ocpp/Requests.ts b/src/types/ocpp/Requests.ts index cc9a489e..c718f1e0 100644 --- a/src/types/ocpp/Requests.ts +++ b/src/types/ocpp/Requests.ts @@ -64,7 +64,7 @@ export type CachedRequest = [ ResponseCallback, ErrorCallback, RequestCommand | IncomingRequestCommand, - JsonType, + JsonType ] export const MessageTrigger = { diff --git a/src/types/ocpp/Reservation.ts b/src/types/ocpp/Reservation.ts index 69050ed9..5f15838a 100644 --- a/src/types/ocpp/Reservation.ts +++ b/src/types/ocpp/Reservation.ts @@ -9,5 +9,5 @@ export enum ReservationTerminationReason { TRANSACTION_STARTED = 'TransactionStarted', CONNECTOR_STATE_CHANGED = 'ConnectorStateChanged', RESERVATION_CANCELED = 'ReservationCanceled', - REPLACE_EXISTING = 'ReplaceExisting', + REPLACE_EXISTING = 'ReplaceExisting' } diff --git a/src/utils/AsyncLock.ts b/src/utils/AsyncLock.ts index b58e3a77..c6b35b84 100644 --- a/src/utils/AsyncLock.ts +++ b/src/utils/AsyncLock.ts @@ -6,7 +6,7 @@ import { Constants } from './Constants.js' export enum AsyncLockType { configuration = 'configuration', - performance = 'performance', + performance = 'performance' } type ResolveType = (value: void | PromiseLike) => void diff --git a/src/utils/ChargingStationConfigurationUtils.ts b/src/utils/ChargingStationConfigurationUtils.ts index 6a2cd8e0..fc8fc901 100644 --- a/src/utils/ChargingStationConfigurationUtils.ts +++ b/src/utils/ChargingStationConfigurationUtils.ts @@ -27,7 +27,7 @@ export const buildConnectorsStatus = (chargingStation: ChargingStation): Connect export const enum OutputFormat { configuration = 'configuration', - worker = 'worker', + worker = 'worker' } export const buildEvsesStatus = ( diff --git a/src/worker/WorkerTypes.ts b/src/worker/WorkerTypes.ts index 205cec42..faf327db 100644 --- a/src/worker/WorkerTypes.ts +++ b/src/worker/WorkerTypes.ts @@ -6,7 +6,7 @@ export enum WorkerProcessType { workerSet = 'workerSet', /** @experimental */ dynamicPool = 'dynamicPool', - fixedPool = 'fixedPool', + fixedPool = 'fixedPool' } export interface SetInfo { @@ -23,7 +23,7 @@ export enum WorkerSetEvents { stopped = 'stopped', error = 'error', elementStarted = 'elementStarted', - elementError = 'elementError', + elementError = 'elementError' } export const WorkerEvents = { @@ -57,5 +57,5 @@ export interface WorkerMessage { export enum WorkerMessageEvents { startWorkerElement = 'startWorkerElement', startWorkerElementError = 'startWorkerElementError', - startedWorkerElement = 'startedWorkerElement', + startedWorkerElement = 'startedWorkerElement' } diff --git a/ui/web/.prettierrc.json b/ui/web/.prettierrc.json index baeeb0d4..6632aaeb 100644 --- a/ui/web/.prettierrc.json +++ b/ui/web/.prettierrc.json @@ -3,5 +3,5 @@ "printWidth": 100, "semi": false, "singleQuote": true, - "trailingComma": "es5" + "trailingComma": "none" } diff --git a/ui/web/package.json b/ui/web/package.json index 1d396da0..8d514b25 100644 --- a/ui/web/package.json +++ b/ui/web/package.json @@ -34,7 +34,7 @@ "dependencies": { "finalhandler": "^1.2.0", "serve-static": "^1.15.0", - "vue": "^3.4.10", + "vue": "^3.4.11", "vue-router": "^4.2.5" }, "devDependencies": { @@ -46,7 +46,7 @@ "@typescript-eslint/parser": "^6.18.1", "@vitejs/plugin-vue": "^5.0.3", "@vitejs/plugin-vue-jsx": "^3.1.0", - "@vitest/coverage-v8": "^1.1.3", + "@vitest/coverage-v8": "^1.2.0", "@vue/eslint-config-prettier": "^9.0.0", "@vue/eslint-config-typescript": "^12.0.0", "@vue/test-utils": "^2.4.3", @@ -58,11 +58,11 @@ "eslint-plugin-import": "^2.29.1", "eslint-plugin-vue": "^9.20.0", "jsdom": "^23.2.0", - "prettier": "^3.1.1", + "prettier": "^3.2.0", "rimraf": "^5.0.5", "typescript": "~5.3.3", "vite": "^5.0.11", - "vitest": "^1.1.3" + "vitest": "^1.2.0" }, "_id": "webui@0.1.1" } diff --git a/ui/web/pnpm-lock.yaml b/ui/web/pnpm-lock.yaml index 2250dc87..b3f9c641 100644 --- a/ui/web/pnpm-lock.yaml +++ b/ui/web/pnpm-lock.yaml @@ -15,11 +15,11 @@ dependencies: specifier: ^1.15.0 version: 1.15.0 vue: - specifier: ^3.4.10 - version: 3.4.10(typescript@5.3.3) + specifier: ^3.4.11 + version: 3.4.11(typescript@5.3.3) vue-router: specifier: ^4.2.5 - version: 4.2.5(vue@3.4.10) + version: 4.2.5(vue@3.4.11) devDependencies: '@rushstack/eslint-patch': @@ -42,22 +42,22 @@ devDependencies: version: 6.18.1(eslint@8.56.0)(typescript@5.3.3) '@vitejs/plugin-vue': specifier: ^5.0.3 - version: 5.0.3(vite@5.0.11)(vue@3.4.10) + version: 5.0.3(vite@5.0.11)(vue@3.4.11) '@vitejs/plugin-vue-jsx': specifier: ^3.1.0 - version: 3.1.0(vite@5.0.11)(vue@3.4.10) + version: 3.1.0(vite@5.0.11)(vue@3.4.11) '@vitest/coverage-v8': - specifier: ^1.1.3 - version: 1.1.3(vitest@1.1.3) + specifier: ^1.2.0 + version: 1.2.0(vitest@1.2.0) '@vue/eslint-config-prettier': specifier: ^9.0.0 - version: 9.0.0(eslint@8.56.0)(prettier@3.1.1) + version: 9.0.0(eslint@8.56.0)(prettier@3.2.0) '@vue/eslint-config-typescript': specifier: ^12.0.0 version: 12.0.0(eslint-plugin-vue@9.20.0)(eslint@8.56.0)(typescript@5.3.3) '@vue/test-utils': specifier: ^2.4.3 - version: 2.4.3(vue@3.4.10) + version: 2.4.3(vue@3.4.11) '@vue/tsconfig': specifier: ^0.5.1 version: 0.5.1 @@ -83,8 +83,8 @@ devDependencies: specifier: ^23.2.0 version: 23.2.0 prettier: - specifier: ^3.1.1 - version: 3.1.1 + specifier: ^3.2.0 + version: 3.2.0 rimraf: specifier: ^5.0.5 version: 5.0.5 @@ -95,8 +95,8 @@ devDependencies: specifier: ^5.0.11 version: 5.0.11(@types/node@20.11.0) vitest: - specifier: ^1.1.3 - version: 1.1.3(@types/node@20.11.0)(jsdom@23.2.0) + specifier: ^1.2.0 + version: 1.2.0(@types/node@20.11.0)(jsdom@23.2.0) packages: @@ -1052,7 +1052,7 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: true - /@vitejs/plugin-vue-jsx@3.1.0(vite@5.0.11)(vue@3.4.10): + /@vitejs/plugin-vue-jsx@3.1.0(vite@5.0.11)(vue@3.4.11): resolution: {integrity: sha512-w9M6F3LSEU5kszVb9An2/MmXNxocAnUb3WhRr8bHlimhDrXNt6n6D2nJQR3UXpGlZHh/EsgouOHCsM8V3Ln+WA==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -1063,12 +1063,12 @@ packages: '@babel/plugin-transform-typescript': 7.23.6(@babel/core@7.23.7) '@vue/babel-plugin-jsx': 1.1.5(@babel/core@7.23.7) vite: 5.0.11(@types/node@20.11.0) - vue: 3.4.10(typescript@5.3.3) + vue: 3.4.11(typescript@5.3.3) transitivePeerDependencies: - supports-color dev: true - /@vitejs/plugin-vue@5.0.3(vite@5.0.11)(vue@3.4.10): + /@vitejs/plugin-vue@5.0.3(vite@5.0.11)(vue@3.4.11): resolution: {integrity: sha512-b8S5dVS40rgHdDrw+DQi/xOM9ed+kSRZzfm1T74bMmBDCd8XO87NKlFYInzCtwvtWwXZvo1QxE2OSspTATWrbA==} engines: {node: ^18.0.0 || >=20.0.0} peerDependencies: @@ -1076,11 +1076,11 @@ packages: vue: ^3.2.25 dependencies: vite: 5.0.11(@types/node@20.11.0) - vue: 3.4.10(typescript@5.3.3) + vue: 3.4.11(typescript@5.3.3) dev: true - /@vitest/coverage-v8@1.1.3(vitest@1.1.3): - resolution: {integrity: sha512-Uput7t3eIcbSTOTQBzGtS+0kah96bX+szW9qQrLeGe3UmgL2Akn8POnyC2lH7XsnREZOds9aCUTxgXf+4HX5RA==} + /@vitest/coverage-v8@1.2.0(vitest@1.2.0): + resolution: {integrity: sha512-YvX8ULTUm1+zkvkl14IqXYGxE1h13OXKPoDsxazARKlp4YLrP28hHEBdplaU7ZTN/Yn6zy6Z3JadWNRJwcmyrQ==} peerDependencies: vitest: ^1.0.0 dependencies: @@ -1097,43 +1097,43 @@ packages: std-env: 3.7.0 test-exclude: 6.0.0 v8-to-istanbul: 9.2.0 - vitest: 1.1.3(@types/node@20.11.0)(jsdom@23.2.0) + vitest: 1.2.0(@types/node@20.11.0)(jsdom@23.2.0) transitivePeerDependencies: - supports-color dev: true - /@vitest/expect@1.1.3: - resolution: {integrity: sha512-MnJqsKc1Ko04lksF9XoRJza0bGGwTtqfbyrsYv5on4rcEkdo+QgUdITenBQBUltKzdxW7K3rWh+nXRULwsdaVg==} + /@vitest/expect@1.2.0: + resolution: {integrity: sha512-H+2bHzhyvgp32o7Pgj2h9RTHN0pgYaoi26Oo3mE+dCi1PAqV31kIIVfTbqMO3Bvshd5mIrJLc73EwSRrbol9Lw==} dependencies: - '@vitest/spy': 1.1.3 - '@vitest/utils': 1.1.3 - chai: 4.4.0 + '@vitest/spy': 1.2.0 + '@vitest/utils': 1.2.0 + chai: 4.4.1 dev: true - /@vitest/runner@1.1.3: - resolution: {integrity: sha512-Va2XbWMnhSdDEh/OFxyUltgQuuDRxnarK1hW5QNN4URpQrqq6jtt8cfww/pQQ4i0LjoYxh/3bYWvDFlR9tU73g==} + /@vitest/runner@1.2.0: + resolution: {integrity: sha512-vaJkDoQaNUTroT70OhM0NPznP7H3WyRwt4LvGwCVYs/llLaqhoSLnlIhUClZpbF5RgAee29KRcNz0FEhYcgxqA==} dependencies: - '@vitest/utils': 1.1.3 + '@vitest/utils': 1.2.0 p-limit: 5.0.0 pathe: 1.1.2 dev: true - /@vitest/snapshot@1.1.3: - resolution: {integrity: sha512-U0r8pRXsLAdxSVAyGNcqOU2H3Z4Y2dAAGGelL50O0QRMdi1WWeYHdrH/QWpN1e8juWfVKsb8B+pyJwTC+4Gy9w==} + /@vitest/snapshot@1.2.0: + resolution: {integrity: sha512-P33EE7TrVgB3HDLllrjK/GG6WSnmUtWohbwcQqmm7TAk9AVHpdgf7M3F3qRHKm6vhr7x3eGIln7VH052Smo6Kw==} dependencies: magic-string: 0.30.5 pathe: 1.1.2 pretty-format: 29.7.0 dev: true - /@vitest/spy@1.1.3: - resolution: {integrity: sha512-Ec0qWyGS5LhATFQtldvChPTAHv08yHIOZfiNcjwRQbFPHpkih0md9KAbs7TfeIfL7OFKoe7B/6ukBTqByubXkQ==} + /@vitest/spy@1.2.0: + resolution: {integrity: sha512-MNxSAfxUaCeowqyyGwC293yZgk7cECZU9wGb8N1pYQ0yOn/SIr8t0l9XnGRdQZvNV/ZHBYu6GO/W3tj5K3VN1Q==} dependencies: tinyspy: 2.2.0 dev: true - /@vitest/utils@1.1.3: - resolution: {integrity: sha512-Dyt3UMcdElTll2H75vhxfpZu03uFpXRCHxWnzcrFjZxT1kTbq8ALUYIeBgGolo1gldVdI0YSlQRacsqxTwNqwg==} + /@vitest/utils@1.2.0: + resolution: {integrity: sha512-FyD5bpugsXlwVpTcGLDf3wSPYy8g541fQt14qtzo8mJ4LdEpDKZ9mQy2+qdJm2TZRpjY5JLXihXCgIxiRJgi5g==} dependencies: diff-sequences: 29.6.3 estree-walker: 3.0.3 @@ -1164,45 +1164,45 @@ packages: - supports-color dev: true - /@vue/compiler-core@3.4.10: - resolution: {integrity: sha512-53vxh7K9qbx+JILnGEhrFRyr7H7e4NdT8RuTNU3m6HhJKFvcAqFTNXpYMHnyuAzzRGdsbsYHBgQC3H6xEXTG6w==} + /@vue/compiler-core@3.4.11: + resolution: {integrity: sha512-xFD+p14L4J0DkzHMdgLiQBU5g861fuOTzag30GsfPXBpghLZOvmd22lKiBMTRRpQRpp7qxPnBlFMoeiGMM4MBg==} dependencies: '@babel/parser': 7.23.6 - '@vue/shared': 3.4.10 + '@vue/shared': 3.4.11 entities: 4.5.0 estree-walker: 2.0.2 source-map-js: 1.0.2 - /@vue/compiler-dom@3.4.10: - resolution: {integrity: sha512-QAALBJksIFpXGYuo74rtMgnwpVZDvd3kYbUa4gYX9s/5QiqEvZSgbKtOdUGydXcxKPt3ifC+0/bhPVHXN2694A==} + /@vue/compiler-dom@3.4.11: + resolution: {integrity: sha512-cRVLROlY7D72WK2xS91L126Dd6xHNTWDWPUBRh1Syk7+TahCk8Eown1/fSi+VX9c76sMMqEZROQSbwV0HSJnhg==} dependencies: - '@vue/compiler-core': 3.4.10 - '@vue/shared': 3.4.10 + '@vue/compiler-core': 3.4.11 + '@vue/shared': 3.4.11 - /@vue/compiler-sfc@3.4.10: - resolution: {integrity: sha512-sTOssaQySgrMjrhZxmAqdp6n+E51VteIVIDaOR537H2P63DyzMmig21U0XXFxiXmMIfrK91lAInnc+bIAYemGw==} + /@vue/compiler-sfc@3.4.11: + resolution: {integrity: sha512-1y5xHAD4a/AhK5+dgsZwFg145J6/rl1c8ILC7Gokca+ql51tTpduz/njCHeNmU15XiE7O62LjJFNOtSZ9vxKOQ==} dependencies: '@babel/parser': 7.23.6 - '@vue/compiler-core': 3.4.10 - '@vue/compiler-dom': 3.4.10 - '@vue/compiler-ssr': 3.4.10 - '@vue/shared': 3.4.10 + '@vue/compiler-core': 3.4.11 + '@vue/compiler-dom': 3.4.11 + '@vue/compiler-ssr': 3.4.11 + '@vue/shared': 3.4.11 estree-walker: 2.0.2 magic-string: 0.30.5 postcss: 8.4.33 source-map-js: 1.0.2 - /@vue/compiler-ssr@3.4.10: - resolution: {integrity: sha512-Y90TL1abretWbUiK5rv+9smS1thCHE5sSuhZgiLh6cxgZ2Pcy3BEvDd3reID0iwNcTdMbTeE6NI3Aq4Mux6hqQ==} + /@vue/compiler-ssr@3.4.11: + resolution: {integrity: sha512-cP9Z2ArRgciYmNraqE0gQkuYInfdn66+LE4pR+16uyBiQeswcU4kEzGA+mF1MdhqYXuENpyGQsTkZapq4cy9YA==} dependencies: - '@vue/compiler-dom': 3.4.10 - '@vue/shared': 3.4.10 + '@vue/compiler-dom': 3.4.11 + '@vue/shared': 3.4.11 /@vue/devtools-api@6.5.1: resolution: {integrity: sha512-+KpckaAQyfbvshdDW5xQylLni1asvNSGme1JFs8I1+/H5pHEhqUKMEQD/qn3Nx5+/nycBq11qAEi8lk+LXI2dA==} dev: false - /@vue/eslint-config-prettier@9.0.0(eslint@8.56.0)(prettier@3.1.1): + /@vue/eslint-config-prettier@9.0.0(eslint@8.56.0)(prettier@3.2.0): resolution: {integrity: sha512-z1ZIAAUS9pKzo/ANEfd2sO+v2IUalz7cM/cTLOZ7vRFOPk5/xuRKQteOu1DErFLAh/lYGXMVZ0IfYKlyInuDVg==} peerDependencies: eslint: '>= 8.0.0' @@ -1210,8 +1210,8 @@ packages: dependencies: eslint: 8.56.0 eslint-config-prettier: 9.1.0(eslint@8.56.0) - eslint-plugin-prettier: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.1.1) - prettier: 3.1.1 + eslint-plugin-prettier: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.0) + prettier: 3.2.0 transitivePeerDependencies: - '@types/eslint' dev: true @@ -1237,37 +1237,37 @@ packages: - supports-color dev: true - /@vue/reactivity@3.4.10: - resolution: {integrity: sha512-SmGGpo37LzPcAFTopHNIJRNVOQfma9YgyPkAzx9/TJ01lbCCYigS28hEcY1hjiJ1PRK8iVX62Ov5yzmUgYH/pQ==} + /@vue/reactivity@3.4.11: + resolution: {integrity: sha512-KscADwKpSynT3S2iJEX8EfPqc9kPFR261sHIQnDh1xhOBf8qd4ait9tEgLt1/uVxyrAgFj/TNGmjDkcsytyA8w==} dependencies: - '@vue/shared': 3.4.10 + '@vue/shared': 3.4.11 - /@vue/runtime-core@3.4.10: - resolution: {integrity: sha512-Ri2Cz9sFr66AEUewGUK8IXhIUAhshTHVUGuJR8pqMbtjIds+zPa8QPO5UZImGMQ8HTY7eEpKwztCct9V3+Iqug==} + /@vue/runtime-core@3.4.11: + resolution: {integrity: sha512-wduRf9w1OtSORFs5KVpKEQ1bRwW5D9/E8mB0I4m0f5Wrd53OZridzWWVZaowSKNMXXIF5Y/lYFP9GOM/IL5i2g==} dependencies: - '@vue/reactivity': 3.4.10 - '@vue/shared': 3.4.10 + '@vue/reactivity': 3.4.11 + '@vue/shared': 3.4.11 - /@vue/runtime-dom@3.4.10: - resolution: {integrity: sha512-ROsdi5M2niRDmjXJNZ8KKiGwXyG1FO8l9n6sCN0kaJEHbjWkuigu96YAI3fK/AWUZPSXXEcMEBVPC6rL3mmUuA==} + /@vue/runtime-dom@3.4.11: + resolution: {integrity: sha512-pWlCTzo6Ad3pSBjzgcZ9maPaz+N/SngLOMfkSKIx7rIWJgcHBoFp4GAbhnkR3jxT4BqIvti6EH3aNSC02VtgOg==} dependencies: - '@vue/runtime-core': 3.4.10 - '@vue/shared': 3.4.10 + '@vue/runtime-core': 3.4.11 + '@vue/shared': 3.4.11 csstype: 3.1.3 - /@vue/server-renderer@3.4.10(vue@3.4.10): - resolution: {integrity: sha512-WpCBAhesLq44JKWfdFqb+Bi4ACUW0d8x1z90GnE0spccsAlEDMXV5nm+pwXLyW0OdP2iPrO/n/QMJh4B1v9Ciw==} + /@vue/server-renderer@3.4.11(vue@3.4.11): + resolution: {integrity: sha512-19rLK9N0yNNzQ83ieyoO9ZT/iBt0S8IkxQ4eVmnqPLCbZgSRMm7GRXnjTFvo0n5vTVVeyaYosBzZ2559L/rP+w==} peerDependencies: - vue: 3.4.10 + vue: 3.4.11 dependencies: - '@vue/compiler-ssr': 3.4.10 - '@vue/shared': 3.4.10 - vue: 3.4.10(typescript@5.3.3) + '@vue/compiler-ssr': 3.4.11 + '@vue/shared': 3.4.11 + vue: 3.4.11(typescript@5.3.3) - /@vue/shared@3.4.10: - resolution: {integrity: sha512-C0mIVhwW1xQLMFyqMJxnhq6fWyE02lCgcE+TDdtGpg6B3H6kh/0YcqS54qYc76UJNlWegf3VgsLqgk6D9hBmzQ==} + /@vue/shared@3.4.11: + resolution: {integrity: sha512-BtC+vE8kHf/jZoyJnTFd0PmY8NejyUeUkshXm8LriHs8KmQUmcZXIbrifjA3WDmvzg7C8D6gBSvdl49pOfU2lQ==} - /@vue/test-utils@2.4.3(vue@3.4.10): + /@vue/test-utils@2.4.3(vue@3.4.11): resolution: {integrity: sha512-F4K7mF+ad++VlTrxMJVRnenKSJmO6fkQt2wpRDiKDesQMkfpniGWsqEi/JevxGBo2qEkwwjvTUAoiGJLNx++CA==} peerDependencies: '@vue/server-renderer': ^3.0.1 @@ -1277,7 +1277,7 @@ packages: optional: true dependencies: js-beautify: 1.14.11 - vue: 3.4.10(typescript@5.3.3) + vue: 3.4.11(typescript@5.3.3) vue-component-type-helpers: 1.8.27 dev: true @@ -1517,8 +1517,8 @@ packages: resolution: {integrity: sha512-ff5BdakGe2P3SQsMsiqmt1Lc8221NR1VzHj5jXN5vBny9A6fpze94HiVV/n7XRosOlsShJcvMv5mdnpjOGCEgg==} dev: true - /chai@4.4.0: - resolution: {integrity: sha512-x9cHNq1uvkCdU+5xTkNh5WtgD4e4yDFCsp9jVc7N7qVeKeftv3gO/ZrviX5d+3ZfxdYnZXZYujjRInu1RogU6A==} + /chai@4.4.1: + resolution: {integrity: sha512-13sOfMv2+DWduEU+/xbun3LScLoqN17nBeTLUsmDfKdoiC1fr0n9PU4guu4AhRcOVFk/sW8LyZWHuhWtQZiF+g==} engines: {node: '>=4'} dependencies: assertion-error: 1.1.0 @@ -2037,7 +2037,7 @@ packages: - supports-color dev: true - /eslint-plugin-prettier@5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.1.1): + /eslint-plugin-prettier@5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.0): resolution: {integrity: sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -2053,7 +2053,7 @@ packages: dependencies: eslint: 8.56.0 eslint-config-prettier: 9.1.0(eslint@8.56.0) - prettier: 3.1.1 + prettier: 3.2.0 prettier-linter-helpers: 1.0.0 synckit: 0.8.8 dev: true @@ -3289,8 +3289,8 @@ packages: fast-diff: 1.3.0 dev: true - /prettier@3.1.1: - resolution: {integrity: sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==} + /prettier@3.2.0: + resolution: {integrity: sha512-/vBUecTGaPlRVwyZVROVC58bYIScqaoEJzZmzQXXrZOzqn0TwWz0EnOozOlFO/YAImRnb7XsKpTCd3m1SjS2Ww==} engines: {node: '>=14'} hasBin: true dev: true @@ -3897,8 +3897,8 @@ packages: convert-source-map: 2.0.0 dev: true - /vite-node@1.1.3(@types/node@20.11.0): - resolution: {integrity: sha512-BLSO72YAkIUuNrOx+8uznYICJfTEbvBAmWClY3hpath5+h1mbPS5OMn42lrTxXuyCazVyZoDkSRnju78GiVCqA==} + /vite-node@1.2.0(@types/node@20.11.0): + resolution: {integrity: sha512-ETnQTHeAbbOxl7/pyBck9oAPZZZo+kYnFt1uQDD+hPReOc+wCjXw4r4jHriBRuVDB5isHmPXxrfc1yJnfBERqg==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true dependencies: @@ -3954,8 +3954,8 @@ packages: fsevents: 2.3.3 dev: true - /vitest@1.1.3(@types/node@20.11.0)(jsdom@23.2.0): - resolution: {integrity: sha512-2l8om1NOkiA90/Y207PsEvJLYygddsOyr81wLQ20Ra8IlLKbyQncWsGZjnbkyG2KwwuTXLQjEPOJuxGMG8qJBQ==} + /vitest@1.2.0(@types/node@20.11.0)(jsdom@23.2.0): + resolution: {integrity: sha512-Ixs5m7BjqvLHXcibkzKRQUvD/XLw0E3rvqaCMlrm/0LMsA0309ZqYvTlPzkhh81VlEyVZXFlwWnkhb6/UMtcaQ==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -3980,14 +3980,14 @@ packages: optional: true dependencies: '@types/node': 20.11.0 - '@vitest/expect': 1.1.3 - '@vitest/runner': 1.1.3 - '@vitest/snapshot': 1.1.3 - '@vitest/spy': 1.1.3 - '@vitest/utils': 1.1.3 + '@vitest/expect': 1.2.0 + '@vitest/runner': 1.2.0 + '@vitest/snapshot': 1.2.0 + '@vitest/spy': 1.2.0 + '@vitest/utils': 1.2.0 acorn-walk: 8.3.2 cac: 6.7.14 - chai: 4.4.0 + chai: 4.4.1 debug: 4.3.4 execa: 8.0.1 jsdom: 23.2.0 @@ -4000,7 +4000,7 @@ packages: tinybench: 2.5.1 tinypool: 0.8.1 vite: 5.0.11(@types/node@20.11.0) - vite-node: 1.1.3(@types/node@20.11.0) + vite-node: 1.2.0(@types/node@20.11.0) why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -4034,28 +4034,28 @@ packages: - supports-color dev: true - /vue-router@4.2.5(vue@3.4.10): + /vue-router@4.2.5(vue@3.4.11): resolution: {integrity: sha512-DIUpKcyg4+PTQKfFPX88UWhlagBEBEfJ5A8XDXRJLUnZOvcpMF8o/dnL90vpVkGaPbjvXazV/rC1qBKrZlFugw==} peerDependencies: vue: ^3.2.0 dependencies: '@vue/devtools-api': 6.5.1 - vue: 3.4.10(typescript@5.3.3) + vue: 3.4.11(typescript@5.3.3) dev: false - /vue@3.4.10(typescript@5.3.3): - resolution: {integrity: sha512-c+O8qGqdWPF9joTCzMGeDDedViooh6c8RY3+eW5+6GCAIY8YjChmU06LsUu0PnMZbIk1oKUoJTqKzmghYtFypw==} + /vue@3.4.11(typescript@5.3.3): + resolution: {integrity: sha512-iaA98z14ZrrVJlclpHX/HCNeacbMOLdX5foYN7/vt4cHFhDkBRzojjbLQZ2UDRAeNV1v4V5I21+QpdCXWlpG5Q==} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@vue/compiler-dom': 3.4.10 - '@vue/compiler-sfc': 3.4.10 - '@vue/runtime-dom': 3.4.10 - '@vue/server-renderer': 3.4.10(vue@3.4.10) - '@vue/shared': 3.4.10 + '@vue/compiler-dom': 3.4.11 + '@vue/compiler-sfc': 3.4.11 + '@vue/runtime-dom': 3.4.11 + '@vue/server-renderer': 3.4.11(vue@3.4.11) + '@vue/shared': 3.4.11 typescript: 5.3.3 /w3c-xmlserializer@5.0.0: