"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
- "eslint-plugin-jsdoc": "^43.2.0",
+ "eslint-plugin-jsdoc": "^44.0.0",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-tsdoc": "^0.2.17",
specifier: ^2.27.5
version: 2.27.5(@typescript-eslint/parser@5.59.2)(eslint-import-resolver-typescript@3.5.5)(eslint@8.40.0)
eslint-plugin-jsdoc:
- specifier: ^43.2.0
- version: 43.2.0(eslint@8.40.0)
+ specifier: ^44.0.0
+ version: 44.0.0(eslint@8.40.0)
eslint-plugin-n:
specifier: ^15.7.0
version: 15.7.0(eslint@8.40.0)
rollup: 3.21.5
serialize-javascript: 6.0.1
smob: 0.0.6
- terser: 5.17.1
+ terser: 5.17.2
dev: true
/@rollup/plugin-typescript@11.1.0(rollup@3.21.5)(tslib@2.5.0)(typescript@5.0.4):
- supports-color
dev: true
- /eslint-plugin-jsdoc@43.2.0(eslint@8.40.0):
- resolution: {integrity: sha512-Hst7XUfqh28UmPD52oTXmjaRN3d0KrmOZdgtp4h9/VHUJD3Evoo82ZGXi1TtRDWgWhvqDIRI63O49H0eH7NrZQ==}
+ /eslint-plugin-jsdoc@44.0.0(eslint@8.40.0):
+ resolution: {integrity: sha512-UZ07io4GFaD4awLJPuo0b1Q96ll5kJjwo74SYo9pprUww4BVeVn7EVslU5G6FcfGIfV+kgDLfYQQFODZgicWfQ==}
engines: {node: '>=16'}
peerDependencies:
eslint: ^7.0.0 || ^8.0.0
source-map-support: 0.5.21
dev: true
- /terser@5.17.1:
- resolution: {integrity: sha512-hVl35zClmpisy6oaoKALOpS0rDYLxRFLHhRuDlEGTKey9qHjS1w9GMORjuwIMt70Wan4lwsLYyWDVnWgF+KUEw==}
+ /terser@5.17.2:
+ resolution: {integrity: sha512-1D1aGbOF1Mnayq5PvfMc0amAR1y5Z1nrZaGCvI5xsdEfZEVte8okonk02OiaK5fw5hG1GWuuVsakOnpZW8y25A==}
engines: {node: '>=10'}
hasBin: true
dependencies:
const stationTemplateUrls = Configuration.getStationTemplateUrls();
if (Utils.isNotEmptyArray(stationTemplateUrls)) {
this.numberOfChargingStationTemplates = stationTemplateUrls.length;
- stationTemplateUrls.forEach((stationTemplateUrl) => {
+ for (const stationTemplateUrl of stationTemplateUrls) {
this.numberOfChargingStations += stationTemplateUrl.numberOfStations ?? 0;
- });
+ }
} else {
console.warn(
chalk.yellow("'stationTemplateUrls' not defined or empty in configuration, exiting")
(Configuration.getConfig().stationTemplateUrls = Configuration.getConfig()[
'stationTemplateURLs'
] as StationTemplateUrl[]);
- Configuration.getConfig().stationTemplateUrls.forEach((stationUrl: StationTemplateUrl) => {
- if (!Utils.isUndefined(stationUrl['numberOfStation'])) {
- console.error(
- chalk`{green ${Configuration.logPrefix()}} {red Deprecated configuration key 'numberOfStation' usage for template file '${
- stationUrl.file
- }' in 'stationTemplateUrls'. Use 'numberOfStations' instead}`
- );
+ Configuration.getConfig().stationTemplateUrls.forEach(
+ (stationTemplateUrl: StationTemplateUrl) => {
+ if (!Utils.isUndefined(stationTemplateUrl['numberOfStation'])) {
+ console.error(
+ chalk`{green ${Configuration.logPrefix()}} {red Deprecated configuration key 'numberOfStation' usage for template file '${
+ stationTemplateUrl.file
+ }' in 'stationTemplateUrls'. Use 'numberOfStations' instead}`
+ );
+ }
}
- });
+ );
// Read conf
return Configuration.getConfig()?.stationTemplateUrls;
}