{
"name": "e-mobility-charging-stations-simulator",
- "version": "1.2.2",
+ "version": "1.2.19",
"engines": {
- "node": ">=16.9.0"
+ "node": ">=16.14.0",
+ "pnpm": ">=8.6.0"
+ },
+ "volta": {
+ "node": "20.5.0",
+ "pnpm": "8.6.11"
},
"repository": {
"type": "git",
},
"description": "Electric vehicle charging stations simulator",
"author": "SAP E-Mobility <e-mobility@sap.com>",
+ "keywords": [
+ "ocpp",
+ "ocpp-j",
+ "ocpp1.6",
+ "ocpp2.0",
+ "charging station",
+ "load testing"
+ ],
"contributors": [
{
"name": "Jérôme Benoit",
],
"type": "module",
"exports": [
- "./dist/start.mjs"
+ "./dist/start.js"
],
"auto-changelog": {
"commitUrl": "https://github.com/sap/e-mobility-charging-stations-simulator/commit/{id}",
"useTsNode": true
},
"scripts": {
- "preinstall": "node skip-preinstall.cjs || npx only-allow pnpm",
+ "preinstall": "node skip-preinstall.cjs || npx --yes only-allow pnpm",
"prepare": "node prepare.cjs",
"build-requirements": "node --no-warnings build-requirements.mjs",
- "start": "pnpm run build && cross-env NODE_ENV=production node -r source-map-support/register dist/start.mjs",
- "start:dev": "pnpm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.mjs",
- "start:dev:debug": "pnpm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.mjs",
- "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.mjs",
- "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.mjs",
- "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.mjs",
- "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.mjs",
- "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.mjs",
- "rollup": "pnpm run build-requirements && rollup --config",
- "build": "pnpm run rollup",
- "build:cf": "pnpm run clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm run rollup",
- "build:dev": "pnpm run rollup -- --environment BUILD:development",
- "build:dev:watch": "pnpm run rollup -- --environment BUILD:development --watch",
+ "start": "pnpm build && cross-env NODE_ENV=production node dist/start.js",
+ "start:dev": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.js",
+ "start:dev:debug": "pnpm build:dev && cross-env NODE_ENV=development node -r source-map-support/register --inspect dist/start.js",
+ "start:prof": "cross-env NODE_ENV=production node -r source-map-support/register --prof dist/start.js",
+ "start:doctorprof": "cross-env NODE_ENV=production clinic doctor -- node -r source-map-support/register dist/start.js",
+ "start:flameprof": "cross-env NODE_ENV=production clinic flame -- node -r source-map-support/register dist/start.js",
+ "start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js",
+ "start:heapprofiler": "cross-env NODE_ENV=production clinic heapprofiler -- node -r source-map-support/register dist/start.js",
+ "rollup": "pnpm build-requirements && rollup --config",
+ "build": "pnpm rollup",
+ "build:cf": "pnpm clean:node_modules && npx cross-env SKIP_PREINSTALL=1 npm install && pnpm rollup",
+ "build:dev": "pnpm rollup --environment BUILD:development",
+ "build:dev:analyze": "pnpm rollup --environment ANALYZE,BUILD:development",
+ "build:dev:watch": "pnpm rollup --environment BUILD:development --watch",
"clean:dist": "npx rimraf dist",
"clean:node_modules": "npx rimraf node_modules",
- "lint": "cross-env TIMING=1 eslint --cache --ext .js,.cjs,.mjs,.ts src",
- "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.cjs,.mjs,.ts src",
+ "lint": "cross-env TIMING=1 eslint --cache src",
+ "lint:fix": "cross-env TIMING=1 eslint --cache --fix src",
"format": "prettier --cache --write .",
- "test": "c8 mocha test/**/*Test.ts",
- "test:debug": "mocha --no-parallel --inspect test/**/*Test.ts",
+ "test": "c8 mocha test/**/*.test.ts",
+ "test:debug": "mocha --no-parallel --inspect test/**/*.test.ts",
"coverage": "c8 report --reporter=lcov",
"coverage:html": "c8 report --reporter=html",
"clinic:clean": "clinic clean",
"git:spush": "git push --recurse-submodules=on-demand",
"release": "release-it"
},
- "overrides": {
- "cacheable-request": "^10.2.7",
- "d3-color": "^3.1.0"
+ "pnpm": {
+ "overrides": {
+ "cacheable-request": "^10.2.10",
+ "d3-color": "^3.1.0",
+ "ejs": "^3.1.9",
+ "got": "^12.6.1",
+ "semver": "^7.5.3"
+ }
},
"dependencies": {
- "@mikro-orm/core": "^5.6.16",
- "@mikro-orm/mariadb": "^5.6.16",
- "@mikro-orm/reflection": "^5.6.16",
- "@mikro-orm/sqlite": "^5.6.16",
+ "@mikro-orm/core": "^5.7.14",
+ "@mikro-orm/mariadb": "^5.7.14",
+ "@mikro-orm/reflection": "^5.7.14",
+ "@mikro-orm/sqlite": "^5.7.14",
"ajv": "^8.12.0",
"ajv-formats": "^2.1.1",
- "basic-ftp": "^5.0.2",
- "chalk": "^5.2.0",
+ "basic-ftp": "^5.0.3",
+ "chalk": "^5.3.0",
+ "date-fns": "^2.30.0",
+ "deep-clone": "^4.0.0",
"http-status-codes": "^2.2.0",
- "just-clone": "^6.2.0",
"just-merge": "^3.2.0",
"logform": "^2.5.1",
"mnemonist": "^0.39.5",
- "moment": "^2.29.4",
- "mongodb": "^5.2.0",
- "poolifier": "^2.4.4",
- "proper-lockfile": "^4.1.2",
+ "mongodb": "^5.7.0",
+ "poolifier": "^2.6.21",
"source-map-support": "^0.5.21",
- "tar": "^6.1.13",
- "tslib": "^2.5.0",
- "winston": "^3.8.2",
+ "tar": "^6.1.15",
+ "tslib": "^2.6.1",
+ "winston": "^3.10.0",
"winston-daily-rotate-file": "^4.7.1",
"ws": "^8.13.0"
},
"utf-8-validate": "^6.0.3"
},
"devDependencies": {
- "@commitlint/cli": "^17.5.1",
- "@commitlint/config-conventional": "^17.4.4",
- "@mikro-orm/cli": "^5.6.16",
- "@release-it/bumper": "^4.0.2",
+ "@commitlint/cli": "^17.6.7",
+ "@commitlint/config-conventional": "^17.6.7",
+ "@mikro-orm/cli": "^5.7.14",
+ "@release-it/bumper": "^5.1.0",
"@rollup/plugin-json": "^6.0.0",
- "@rollup/plugin-terser": "^0.4.0",
- "@rollup/plugin-typescript": "^11.1.0",
+ "@rollup/plugin-terser": "^0.4.3",
+ "@rollup/plugin-typescript": "^11.1.2",
"@types/mocha": "^10.0.1",
"@types/mochawesome": "^6.2.1",
- "@types/node": "^18.15.11",
- "@types/proper-lockfile": "^4.1.2",
- "@types/sinon": "^10.0.13",
- "@types/tar": "^6.1.4",
- "@types/ws": "^8.5.4",
- "@typescript-eslint/eslint-plugin": "^5.57.1",
- "@typescript-eslint/parser": "^5.57.1",
+ "@types/node": "^20.4.6",
+ "@types/sinon": "^10.0.16",
+ "@types/tar": "^6.1.5",
+ "@types/ws": "^8.5.5",
+ "@typescript-eslint/eslint-plugin": "^6.2.1",
+ "@typescript-eslint/parser": "^6.2.1",
+ "@web/rollup-plugin-copy": "^0.4.0",
"auto-changelog": "^2.4.0",
- "c8": "^7.13.0",
- "clinic": "^12.1.0",
+ "c8": "^8.0.1",
+ "clinic": "^13.0.0",
"cross-env": "^7.0.3",
- "eslint": "^8.37.0",
- "eslint-config-prettier": "^8.8.0",
+ "eslint": "^8.46.0",
+ "eslint-config-prettier": "^8.10.0",
"eslint-import-resolver-typescript": "^3.5.5",
- "eslint-plugin-import": "^2.27.5",
- "eslint-plugin-jsdoc": "^40.1.1",
- "eslint-plugin-n": "^15.7.0",
- "eslint-plugin-prettier": "^4.2.1",
+ "eslint-plugin-import": "^2.28.0",
+ "eslint-plugin-jsdoc": "^46.4.5",
+ "eslint-plugin-n": "^16.0.1",
+ "eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-tsdoc": "^0.2.17",
- "expect": "^29.5.0",
+ "expect": "^29.6.2",
"husky": "^8.0.3",
- "lint-staged": "^13.2.1",
+ "lint-staged": "^13.2.3",
"mocha": "^10.2.0",
"mochawesome": "^7.1.3",
- "prettier": "^2.8.7",
- "release-it": "^15.10.1",
- "rimraf": "^4.4.1",
+ "prettier": "^3.0.1",
+ "release-it": "^16.1.3",
+ "rimraf": "^5.0.1",
"robohydra": "^0.6.9",
- "rollup": "^3.20.2",
+ "rollup": "^3.27.1",
"rollup-plugin-analyzer": "^4.0.0",
- "rollup-plugin-copy": "^3.4.0",
"rollup-plugin-delete": "^2.0.0",
- "semver": "^7.3.8",
- "sinon": "^15.0.3",
+ "semver": "^7.5.4",
+ "sinon": "^15.2.0",
"ts-node": "^10.9.1",
- "typescript": "^5.0.4"
+ "typescript": "^5.1.6"
}
}