From: Jérôme Benoit Date: Fri, 30 Jun 2023 14:44:08 +0000 (+0200) Subject: fix: fix eslint invocation scripts X-Git-Tag: v1.2.17~5 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=95f74dfb55bd72045164be4b8dc62576e7c36518;p=e-mobility-charging-stations-simulator.git fix: fix eslint invocation scripts Signed-off-by: Jérôme Benoit --- diff --git a/package.json b/package.json index bc8d145a..4fe0546b 100644 --- a/package.json +++ b/package.json @@ -63,8 +63,8 @@ "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", @@ -152,7 +152,7 @@ "release-it": "^15.11.0", "rimraf": "^5.0.1", "robohydra": "^0.6.9", - "rollup": "^3.25.3", + "rollup": "^3.26.0", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-delete": "^2.0.0", "semver": "^7.5.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6dbb9f7b..c1d087f0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -101,13 +101,13 @@ devDependencies: version: 4.0.2(release-it@15.11.0) '@rollup/plugin-json': specifier: ^6.0.0 - version: 6.0.0(rollup@3.25.3) + version: 6.0.0(rollup@3.26.0) '@rollup/plugin-terser': specifier: ^0.4.3 - version: 0.4.3(rollup@3.25.3) + version: 0.4.3(rollup@3.26.0) '@rollup/plugin-typescript': specifier: ^11.1.2 - version: 11.1.2(rollup@3.25.3)(tslib@2.6.0)(typescript@5.1.6) + version: 11.1.2(rollup@3.26.0)(tslib@2.6.0)(typescript@5.1.6) '@types/mocha': specifier: ^10.0.1 version: 10.0.1 @@ -199,8 +199,8 @@ devDependencies: specifier: ^0.6.9 version: 0.6.9(bufferutil@4.0.7)(utf-8-validate@6.0.3) rollup: - specifier: ^3.25.3 - version: 3.25.3 + specifier: ^3.26.0 + version: 3.26.0 rollup-plugin-analyzer: specifier: ^4.0.0 version: 4.0.0 @@ -738,15 +738,6 @@ packages: chalk: 4.1.2 dev: true - /@jridgewell/gen-mapping@0.3.3: - resolution: {integrity: sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==} - engines: {node: '>=6.0.0'} - dependencies: - '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.15 - '@jridgewell/trace-mapping': 0.3.18 - dev: true - /@jridgewell/resolve-uri@3.1.0: resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==} engines: {node: '>=6.0.0'} @@ -757,16 +748,8 @@ packages: engines: {node: '>=6.0.0'} dev: true - /@jridgewell/set-array@1.1.2: - resolution: {integrity: sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==} - engines: {node: '>=6.0.0'} - dev: true - - /@jridgewell/source-map@0.3.3: - resolution: {integrity: sha512-b+fsZXeLYi9fEULmfBrhxn4IrPlINf8fiNarzTof004v3lFdntdwa9PF7vFJqm3mg7s+ScJMxXaE3Acp1irZcg==} - dependencies: - '@jridgewell/gen-mapping': 0.3.3 - '@jridgewell/trace-mapping': 0.3.18 + /@jridgewell/source-map@0.3.4: + resolution: {integrity: sha512-KE/SxsDqNs3rrWwFHcRh15ZLVFrI0YoZtgAdIyIq9k5hUNmiWRXXThPomIxHuL20sLdgzbDFyvkUMna14bvtrw==} dev: true /@jridgewell/sourcemap-codec@1.4.14: @@ -798,7 +781,7 @@ packages: detect-libc: 2.0.1 https-proxy-agent: 5.0.1 make-dir: 3.1.0 - node-fetch: 2.6.11 + node-fetch: 2.6.12 nopt: 5.0.0 npmlog: 5.0.1 rimraf: 3.0.2 @@ -1171,7 +1154,7 @@ packages: '@octokit/request-error': 3.0.3 '@octokit/types': 9.3.2 is-plain-object: 5.0.0 - node-fetch: 2.6.11 + node-fetch: 2.6.12 universal-user-agent: 6.0.0 transitivePeerDependencies: - encoding @@ -1217,7 +1200,7 @@ packages: engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} dependencies: cross-spawn: 7.0.3 - fast-glob: 3.2.12 + fast-glob: 3.3.0 is-glob: 4.0.3 open: 9.1.0 picocolors: 1.0.0 @@ -1263,7 +1246,7 @@ packages: semver: 7.5.3 dev: true - /@rollup/plugin-json@6.0.0(rollup@3.25.3): + /@rollup/plugin-json@6.0.0(rollup@3.26.0): resolution: {integrity: sha512-i/4C5Jrdr1XUarRhVu27EEwjt4GObltD7c+MkCIpO2QIbojw8MUs+CCTqOphQi3Qtg1FLmYt+l+6YeoIf51J7w==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1272,11 +1255,11 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.2(rollup@3.25.3) - rollup: 3.25.3 + '@rollup/pluginutils': 5.0.2(rollup@3.26.0) + rollup: 3.26.0 dev: true - /@rollup/plugin-terser@0.4.3(rollup@3.25.3): + /@rollup/plugin-terser@0.4.3(rollup@3.26.0): resolution: {integrity: sha512-EF0oejTMtkyhrkwCdg0HJ0IpkcaVg1MMSf2olHb2Jp+1mnLM04OhjpJWGma4HobiDTF0WCyViWuvadyE9ch2XA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1285,13 +1268,13 @@ packages: rollup: optional: true dependencies: - rollup: 3.25.3 + rollup: 3.26.0 serialize-javascript: 6.0.1 smob: 1.4.0 terser: 5.18.2 dev: true - /@rollup/plugin-typescript@11.1.2(rollup@3.25.3)(tslib@2.6.0)(typescript@5.1.6): + /@rollup/plugin-typescript@11.1.2(rollup@3.26.0)(tslib@2.6.0)(typescript@5.1.6): resolution: {integrity: sha512-0ghSOCMcA7fl1JM+0gYRf+Q/HWyg+zg7/gDSc+fRLmlJWcW5K1I+CLRzaRhXf4Y3DRyPnnDo4M2ktw+a6JcDEg==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1304,14 +1287,14 @@ packages: tslib: optional: true dependencies: - '@rollup/pluginutils': 5.0.2(rollup@3.25.3) + '@rollup/pluginutils': 5.0.2(rollup@3.26.0) resolve: 1.22.2 - rollup: 3.25.3 + rollup: 3.26.0 tslib: 2.6.0 typescript: 5.1.6 dev: true - /@rollup/pluginutils@5.0.2(rollup@3.25.3): + /@rollup/pluginutils@5.0.2(rollup@3.26.0): resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1323,7 +1306,7 @@ packages: '@types/estree': 1.0.1 estree-walker: 2.0.2 picomatch: 2.3.1 - rollup: 3.25.3 + rollup: 3.26.0 dev: true /@sinclair/typebox@0.25.24: @@ -1393,7 +1376,7 @@ packages: '@types/webgl-ext': 0.0.30 '@webgpu/types': 0.1.16 long: 4.0.0 - node-fetch: 2.6.11 + node-fetch: 2.6.12 seedrandom: 3.0.5 transitivePeerDependencies: - encoding @@ -1407,7 +1390,7 @@ packages: /@ts-morph/common@0.19.0: resolution: {integrity: sha512-Unz/WHmd4pGax91rdIKWi51wnVUW11QttMEPpBiBgIewnc9UQIX7UDLxr5vRlqeByXCwhkF6VabSsI0raWcyAQ==} dependencies: - fast-glob: 3.2.12 + fast-glob: 3.3.0 minimatch: 7.4.6 mkdirp: 2.1.6 path-browserify: 1.0.1 @@ -2098,7 +2081,7 @@ packages: dependencies: commander: 7.2.0 handlebars: 4.7.7 - node-fetch: 2.6.11 + node-fetch: 2.6.12 parse-github-url: 1.0.2 semver: 7.5.3 transitivePeerDependencies: @@ -3462,8 +3445,8 @@ packages: resolution: {integrity: sha512-hsBd2qSVCRE+5PmNdHt1uzyrFu5d3RwmFDKzyNZMFq/EwDNJF7Ee5+D5oEKF0hU6LhtoUF1macFvOe4AskQC1Q==} dev: true - /degenerator@4.0.3: - resolution: {integrity: sha512-2wY8vmCfxrQpe2PKGYdiWRre5HQRwsAXbAAWRbC+z2b80MEpnWc8A3a9k4TwqwN3Z/Fm3uhNm5vYUZIbMhyRxQ==} + /degenerator@4.0.4: + resolution: {integrity: sha512-MTZdZsuNxSBL92rsjx3VFWe57OpRlikyLbcx2B5Dmdv6oScqpMrvpY7zHLMymrUxo3U5+suPUMsNgW/+SZB1lg==} engines: {node: '>= 14'} dependencies: ast-types: 0.13.4 @@ -4344,6 +4327,17 @@ packages: glob-parent: 5.1.2 merge2: 1.4.1 micromatch: 4.0.5 + dev: true + + /fast-glob@3.3.0: + resolution: {integrity: sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==} + engines: {node: '>=8.6.0'} + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.5 /fast-json-stable-stringify@2.1.0: resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} @@ -4822,7 +4816,7 @@ packages: '@types/glob': 7.2.0 array-union: 2.1.0 dir-glob: 3.0.1 - fast-glob: 3.2.12 + fast-glob: 3.3.0 glob: 7.2.3 ignore: 5.2.4 merge2: 1.4.1 @@ -4835,7 +4829,7 @@ packages: dependencies: array-union: 2.1.0 dir-glob: 3.0.1 - fast-glob: 3.2.12 + fast-glob: 3.3.0 ignore: 5.2.4 merge2: 1.4.1 slash: 3.0.0 @@ -4845,7 +4839,7 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: dir-glob: 3.0.1 - fast-glob: 3.2.12 + fast-glob: 3.3.0 ignore: 5.2.4 merge2: 1.4.1 slash: 4.0.0 @@ -4856,7 +4850,7 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: dir-glob: 3.0.1 - fast-glob: 3.2.12 + fast-glob: 3.3.0 ignore: 5.2.4 merge2: 1.4.1 slash: 4.0.0 @@ -7063,8 +7057,8 @@ packages: engines: {node: '>=10.5.0'} dev: true - /node-fetch@2.6.11: - resolution: {integrity: sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w==} + /node-fetch@2.6.12: + resolution: {integrity: sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==} engines: {node: 4.x || >=6.0.0} peerDependencies: encoding: ^0.1.0 @@ -7449,17 +7443,17 @@ packages: get-uri: 6.0.1 http-proxy-agent: 7.0.0 https-proxy-agent: 7.0.0 - pac-resolver: 6.0.1 + pac-resolver: 6.0.2 socks-proxy-agent: 8.0.1 transitivePeerDependencies: - supports-color dev: true - /pac-resolver@6.0.1: - resolution: {integrity: sha512-dg497MhVT7jZegPRuOScQ/z0aV/5WR0gTdRu1md+Irs9J9o+ls5jIuxjo1WfaTG+eQQkxyn5HMGvWK+w7EIBkQ==} + /pac-resolver@6.0.2: + resolution: {integrity: sha512-EQpuJ2ifOjpZY5sg1Q1ZeAxvtLwR7Mj3RgY8cysPGbsRu3RBXyJFWxnMus9PScjxya/0LzvVDxNh/gl0eXBU4w==} engines: {node: '>= 14'} dependencies: - degenerator: 4.0.3 + degenerator: 4.0.4 ip: 1.1.8 netmask: 2.0.2 dev: true @@ -8301,8 +8295,8 @@ packages: del: 5.1.0 dev: true - /rollup@3.25.3: - resolution: {integrity: sha512-ZT279hx8gszBj9uy5FfhoG4bZx8c+0A1sbqtr7Q3KNWIizpTdDEPZbV2xcbvHsnFp4MavCQYZyzApJ+virB8Yw==} + /rollup@3.26.0: + resolution: {integrity: sha512-YzJH0eunH2hr3knvF3i6IkLO/jTjAEwU4HoMUbQl4//Tnl3ou0e7P5SjxdDr8HQJdeUJShlbEHXrrnEHy1l7Yg==} engines: {node: '>=14.18.0', npm: '>=8.0.0'} hasBin: true optionalDependencies: @@ -9110,7 +9104,7 @@ packages: engines: {node: '>=10'} hasBin: true dependencies: - '@jridgewell/source-map': 0.3.3 + '@jridgewell/source-map': 0.3.4 acorn: 8.9.0 commander: 2.20.3 source-map-support: 0.5.21 diff --git a/ui/web/pnpm-lock.yaml b/ui/web/pnpm-lock.yaml index 1a0dbc92..59a648f9 100644 --- a/ui/web/pnpm-lock.yaml +++ b/ui/web/pnpm-lock.yaml @@ -742,7 +742,7 @@ packages: engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} dependencies: cross-spawn: 7.0.3 - fast-glob: 3.2.12 + fast-glob: 3.3.0 is-glob: 4.0.3 open: 9.1.0 picocolors: 1.0.0 @@ -939,7 +939,7 @@ packages: dependencies: '@babel/core': 7.22.5 '@babel/plugin-transform-typescript': 7.22.5(@babel/core@7.22.5) - '@vue/babel-plugin-jsx': 1.1.4(@babel/core@7.22.5) + '@vue/babel-plugin-jsx': 1.1.5(@babel/core@7.22.5) vite: 4.3.9(@types/node@20.3.2) vue: 3.3.4 transitivePeerDependencies: @@ -1009,12 +1009,12 @@ packages: pretty-format: 27.5.1 dev: true - /@vue/babel-helper-vue-transform-on@1.1.4: - resolution: {integrity: sha512-i/+rx6NIx1SeqA6sJJCv0tRPAU/F6lOnxjV9v1DJVGT7rH0CWOluaYfb+ifODVHFj2cEw85X2U6fU0n466ng0Q==} + /@vue/babel-helper-vue-transform-on@1.1.5: + resolution: {integrity: sha512-SgUymFpMoAyWeYWLAY+MkCK3QEROsiUnfaw5zxOVD/M64KQs8D/4oK6Q5omVA2hnvEOE0SCkH2TZxs/jnnUj7w==} dev: true - /@vue/babel-plugin-jsx@1.1.4(@babel/core@7.22.5): - resolution: {integrity: sha512-/F9YSGaxL53aBUwowjtALVBH+HXjXbsDt41NaVHc10HREkutCt51Wukm6sbgrq2sp34Mne+PCvOrjJjM2yLoWA==} + /@vue/babel-plugin-jsx@1.1.5(@babel/core@7.22.5): + resolution: {integrity: sha512-nKs1/Bg9U1n3qSWnsHhCVQtAzI6aQXqua8j/bZrau8ywT1ilXQbK4FwEJGmU8fV7tcpuFvWmmN7TMmV1OBma1g==} peerDependencies: '@babel/core': ^7.0.0-0 dependencies: @@ -1024,7 +1024,7 @@ packages: '@babel/template': 7.22.5 '@babel/traverse': 7.22.5 '@babel/types': 7.22.5 - '@vue/babel-helper-vue-transform-on': 1.1.4 + '@vue/babel-helper-vue-transform-on': 1.1.5 camelcase: 6.3.0 html-tags: 3.3.1 svg-tags: 1.0.0 @@ -1352,7 +1352,7 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001509 - electron-to-chromium: 1.4.445 + electron-to-chromium: 1.4.446 node-releases: 2.0.12 update-browserslist-db: 1.0.11(browserslist@4.21.9) dev: true @@ -1707,8 +1707,8 @@ packages: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: false - /electron-to-chromium@1.4.445: - resolution: {integrity: sha512-++DB+9VK8SBJwC+X1zlMfJ1tMA3F0ipi39GdEp+x3cV2TyBihqAgad8cNMWtLDEkbH39nlDQP7PfGrDr3Dr7HA==} + /electron-to-chromium@1.4.446: + resolution: {integrity: sha512-4Gnw7ztEQ/E0eOt5JWfPn9jjeupfUlKoeW5ETKP9nLdWj+4spFoS3Stj19fqlKIaX28UQs0fNX+uKEyoLCBnkw==} dev: true /emoji-regex@8.0.0: @@ -2149,8 +2149,8 @@ packages: resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} dev: true - /fast-glob@3.2.12: - resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==} + /fast-glob@3.3.0: + resolution: {integrity: sha512-ChDuvbOypPuNjO8yIDf36x7BlZX1smcUMTTcyoIjycexOxd6DFsKsg21qVBzEmr3G7fUKIRy2/psii+CIUt7FA==} engines: {node: '>=8.6.0'} dependencies: '@nodelib/fs.stat': 2.0.5 @@ -2404,7 +2404,7 @@ packages: dependencies: array-union: 2.1.0 dir-glob: 3.0.1 - fast-glob: 3.2.12 + fast-glob: 3.3.0 ignore: 5.2.4 merge2: 1.4.1 slash: 3.0.0 @@ -2415,7 +2415,7 @@ packages: engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: dir-glob: 3.0.1 - fast-glob: 3.2.12 + fast-glob: 3.3.0 ignore: 5.2.4 merge2: 1.4.1 slash: 4.0.0 @@ -3417,8 +3417,8 @@ packages: glob: 10.3.1 dev: true - /rollup@3.25.3: - resolution: {integrity: sha512-ZT279hx8gszBj9uy5FfhoG4bZx8c+0A1sbqtr7Q3KNWIizpTdDEPZbV2xcbvHsnFp4MavCQYZyzApJ+virB8Yw==} + /rollup@3.26.0: + resolution: {integrity: sha512-YzJH0eunH2hr3knvF3i6IkLO/jTjAEwU4HoMUbQl4//Tnl3ou0e7P5SjxdDr8HQJdeUJShlbEHXrrnEHy1l7Yg==} engines: {node: '>=14.18.0', npm: '>=8.0.0'} hasBin: true optionalDependencies: @@ -3945,7 +3945,7 @@ packages: '@types/node': 20.3.2 esbuild: 0.17.19 postcss: 8.4.24 - rollup: 3.25.3 + rollup: 3.26.0 optionalDependencies: fsevents: 2.3.2 dev: true