]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
fix: validate protocol inputs after dependency refresh (#2128)
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Mon, 5 Oct 2026 22:38:52 +0000 (00:38 +0200)
committerGitHub <noreply@github.com>
Mon, 5 Oct 2026 22:38:52 +0000 (00:38 +0200)
commit47e9f8f695b8a258c552b9ee1d306fbb80995780
tree147a6fd310414ea09998c3f77b0e320c48d7842c
parentcf74ef8af3dfa46aca78a39f55ec6ddaf43c2caa
fix: validate protocol inputs after dependency refresh (#2128)

* chore(deps): lock file maintenance

* fix(deps): preserve strict lint compatibility

* [autofix.ci] apply automated fixes

* fix(deps): leave changelog to release automation

* fix(deps): support typescript-eslint 8.71

* fix(ui-common): validate websocket ready state

* fix(ui): validate protocol enum inputs

* fix: validate protocol enum inputs

* [autofix.ci] apply automated fixes

* fix(types): harden dependency upgrade compatibility

* [autofix.ci] apply automated fixes

* fix: harden meter values and UI errors

* [autofix.ci] apply automated fixes

* refactor(ocpp): use meter value unit enums

* refactor(ocpp): reuse canonical enum values

* fix(ocpp): address dependency refresh regressions

* fix(ocpp16): reject unsupported unit descriptors

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jérôme Benoit <jerome.benoit@sap.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
77 files changed:
cspell.config.yaml
pnpm-lock.yaml
src/charging-station/ChargingStation.ts
src/charging-station/HelpersConfig.ts
src/charging-station/broadcast-channel/ChargingStationWorkerBroadcastChannel.ts
src/charging-station/meter-values/CoherentMeterValueBuilder.ts
src/charging-station/meter-values/MeterValueUtils.ts
src/charging-station/meter-values/TransactionIntervalUtils.ts
src/charging-station/meter-values/index.ts
src/charging-station/ocpp/1.6/OCPP16IncomingRequestService.ts
src/charging-station/ocpp/1.6/OCPP16RequestBuilders.ts
src/charging-station/ocpp/1.6/OCPP16ServiceUtils.ts
src/charging-station/ocpp/2.0/OCPP20CertificateManager.ts
src/charging-station/ocpp/2.0/OCPP20RequestBuilders.ts
src/charging-station/ocpp/2.0/OCPP20ServiceUtils.ts
src/charging-station/ocpp/2.0/OCPP20VariableManager.ts
src/charging-station/ocpp/OCPPConstants.ts
src/charging-station/ocpp/OCPPRequestService.ts
src/charging-station/ocpp/OCPPServiceUtils.ts
src/charging-station/ocpp/OCPPSignedMeterValueUtils.ts
src/charging-station/ui-server/UIHttpServer.ts
src/charging-station/ui-server/UIServerUtils.ts
src/exception/OCPPError.ts
src/performance/PerformanceStatistics.ts
src/types/MeasurandPerPhaseSampledValueTemplates.ts
src/types/Statistics.ts
src/types/index.ts
src/types/ocpp/1.6/MeterValues.ts
src/types/ocpp/ChargingProfile.ts
src/types/ocpp/MeterValues.ts
src/types/ocpp/Requests.ts
src/utils/EnumUtils.ts [new file with mode: 0644]
src/utils/ErrorUtils.ts
src/utils/index.ts
tests/charging-station/ChargingStation-Configuration.test.ts
tests/charging-station/ChargingStation-Lifecycle.test.ts
tests/charging-station/ChargingStation-Resilience.test.ts
tests/charging-station/Helpers.test.ts
tests/charging-station/TransactionIntervalUtils.test.ts
tests/charging-station/meter-values/CoherentMeterValues.test.ts
tests/charging-station/meter-values/StrategyDispatch.test.ts
tests/charging-station/ocpp/1.6/OCPP16IncomingRequestService-Reset.test.ts
tests/charging-station/ocpp/1.6/OCPP16IncomingRequestService-TriggerMessage.test.ts
tests/charging-station/ocpp/1.6/OCPP16Integration-CoherentMeterValues.test.ts
tests/charging-station/ocpp/1.6/OCPP16RequestBuilders.test.ts [new file with mode: 0644]
tests/charging-station/ocpp/1.6/OCPP16ServiceUtils-SignedMeterValues.test.ts
tests/charging-station/ocpp/1.6/OCPP16ServiceUtils.test.ts
tests/charging-station/ocpp/2.0/OCPP20IncomingRequestService-TriggerMessage.test.ts
tests/charging-station/ocpp/2.0/OCPP20Integration.test.ts
tests/charging-station/ocpp/2.0/OCPP20RequestBuilders-SignedMeterValues.test.ts
tests/charging-station/ocpp/2.0/OCPP20RequestBuilders.test.ts
tests/charging-station/ocpp/2.0/OCPP20ServiceUtils-AlignedMeterValues.test.ts
tests/charging-station/ocpp/2.0/OCPP20ServiceUtils-TransactionEvent.test.ts
tests/charging-station/ocpp/OCPPIncomingRequestService-StationState.test.ts
tests/charging-station/ocpp/OCPPServiceUtils-MeterValues.test.ts
tests/charging-station/ocpp/OCPPSignedMeterValueUtils.test.ts
tests/charging-station/ocpp/auth/factories/AuthComponentFactory.test.ts
tests/charging-station/ocpp/auth/utils/AuthValidators.test.ts
tests/charging-station/ui-server/UIHttpServer.test.ts
tests/charging-station/ui-server/UIWebSocketServer.test.ts
tests/charging-station/ui-server/ui-services/AbstractUIService.test.ts
tests/charging-station/ui-server/ui-services/UIServiceRequestPayloadSchemas.test.ts
tests/ocpp-server/poetry.lock
tests/types/ocpp/ChargingProfile.test.ts [new file with mode: 0644]
tests/types/ocpp/MeterValues.test.ts [new file with mode: 0644]
tests/utils/Configuration.test.ts
tests/utils/ConfigurationUtils.test.ts
ui/cli/src/commands/ocpp.ts
ui/common/src/client/adapter.ts
ui/common/src/index.ts
ui/common/src/utils/enum.ts [new file with mode: 0644]
ui/web/package.json
ui/web/src/skins/classic/ClassicLayout.vue
ui/web/src/skins/classic/components/actions/StartTransaction.vue
ui/web/src/skins/classic/components/charging-stations/CSConnector.vue
ui/web/src/skins/classic/components/charging-stations/CSData.vue
ui/web/tests/unit/skins/classic/Actions.test.ts