diff --git a/package.json b/package.json index e359333e..6f9262cf 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "@vitest/coverage-v8": "^0.34.6", "esbuild": "^0.19.4", "eslint": "^8.51.0", - "eslint-plugin-perfectionist": "^1.5.1", + "eslint-plugin-perfectionist": "^2.2.0", "prettier": "^3.0.3", "rimraf": "^5.0.5", "typescript": "^5.2.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 307ecae1..28906d21 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -43,8 +43,8 @@ importers: specifier: ^8.51.0 version: 8.51.0 eslint-plugin-perfectionist: - specifier: ^1.5.1 - version: 1.5.1(eslint@8.51.0)(typescript@5.2.2) + specifier: ^2.2.0 + version: 2.2.0(eslint@8.51.0)(typescript@5.2.2) prettier: specifier: ^3.0.3 version: 3.0.3 @@ -89,7 +89,7 @@ importers: version: 5.2.2 wdio-vscode-service: specifier: ^5.2.1 - version: 5.2.1(@wdio/types@8.17.0)(chromedriver@115.0.1)(webdriverio@8.18.0) + version: 5.2.1(@wdio/types@8.17.0)(chromedriver@115.0.1)(webdriverio@8.18.2) packages: @@ -1034,14 +1034,6 @@ packages: - supports-color dev: true - /@typescript-eslint/scope-manager@5.62.0: - resolution: {integrity: sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/visitor-keys': 5.62.0 - dev: true - /@typescript-eslint/scope-manager@6.7.5: resolution: {integrity: sha512-GAlk3eQIwWOJeb9F7MKQ6Jbah/vx1zETSDw8likab/eFcqkjSD7BI75SDAeC5N2L0MmConMoPvTsmkrg71+B1A==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1070,37 +1062,11 @@ packages: - supports-color dev: true - /@typescript-eslint/types@5.62.0: - resolution: {integrity: sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dev: true - /@typescript-eslint/types@6.7.5: resolution: {integrity: sha512-WboQBlOXtdj1tDFPyIthpKrUb+kZf2VroLZhxKa/VlwLlLyqv/PwUNgL30BlTVZV1Wu4Asu2mMYPqarSO4L5ZQ==} engines: {node: ^16.0.0 || >=18.0.0} dev: true - /@typescript-eslint/typescript-estree@5.62.0(typescript@5.2.2): - resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/visitor-keys': 5.62.0 - debug: 4.3.4(supports-color@8.1.1) - globby: 11.1.0 - is-glob: 4.0.3 - semver: 7.5.4 - tsutils: 3.21.0(typescript@5.2.2) - typescript: 5.2.2 - transitivePeerDependencies: - - supports-color - dev: true - /@typescript-eslint/typescript-estree@6.7.5(typescript@5.2.2): resolution: {integrity: sha512-NhJiJ4KdtwBIxrKl0BqG1Ur+uw7FiOnOThcYx9DpOGJ/Abc9z2xNzLeirCG02Ig3vkvrc2qFLmYSSsaITbKjlg==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1122,26 +1088,6 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@5.62.0(eslint@8.51.0)(typescript@5.2.2): - resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.51.0) - '@types/json-schema': 7.0.12 - '@types/semver': 7.5.0 - '@typescript-eslint/scope-manager': 5.62.0 - '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.2.2) - eslint: 8.51.0 - eslint-scope: 5.1.1 - semver: 7.5.4 - transitivePeerDependencies: - - supports-color - - typescript - dev: true - /@typescript-eslint/utils@6.7.5(eslint@8.51.0)(typescript@5.2.2): resolution: {integrity: sha512-pfRRrH20thJbzPPlPc4j0UNGvH1PjPlhlCMq4Yx7EGjV7lvEeGX0U6MJYe8+SyFutWgSHsdbJ3BXzZccYggezA==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1161,14 +1107,6 @@ packages: - typescript dev: true - /@typescript-eslint/visitor-keys@5.62.0: - resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - '@typescript-eslint/types': 5.62.0 - eslint-visitor-keys: 3.4.3 - dev: true - /@typescript-eslint/visitor-keys@6.7.5: resolution: {integrity: sha512-3MaWdDZtLlsexZzDSdQWsFQ9l9nL8B80Z4fImSpyllFC/KLqWQRdEcB+gGGO+N3Q2uL40EsG66wZLsohPxNXvg==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1286,22 +1224,6 @@ packages: - utf-8-validate dev: true - /@wdio/config@8.18.0: - resolution: {integrity: sha512-sS5OXyxRtPCXDKloCqtEFuhei9WCxFzM7B5CyTKanbZ+xF4+t21aNF49OXXzWZXhUylK88whGB7amwO8tfJFww==} - engines: {node: ^16.13 || >=18} - dependencies: - '@wdio/logger': 8.16.17 - '@wdio/types': 8.17.0 - '@wdio/utils': 8.18.0 - decamelize: 6.0.0 - deepmerge-ts: 5.1.0 - glob: 10.3.10 - import-meta-resolve: 3.0.0 - read-pkg-up: 10.1.0 - transitivePeerDependencies: - - supports-color - dev: true - /@wdio/config@8.18.2: resolution: {integrity: sha512-O3K36Wk/G/P5t9NfI/jBjLMdJq1KEDQTmbLvrbRckqzX5SQmPFg2pg18gE9N3JQE4A7qR+imxVo45HmhFDyn4w==} engines: {node: ^16.13 || >=18} @@ -1452,28 +1374,6 @@ packages: '@types/node': 20.4.1 dev: true - /@wdio/utils@8.18.0: - resolution: {integrity: sha512-ziXToU5BZSW96KNPhTGYl3eVmHQV5YeI+lsBozXJ5tGofaBCYMtbxdAI573IwR6lo8+evEdNTIGJgZXp8lDOxQ==} - engines: {node: ^16.13 || >=18} - dependencies: - '@puppeteer/browsers': 1.7.1 - '@wdio/logger': 8.16.17 - '@wdio/types': 8.17.0 - decamelize: 6.0.0 - deepmerge-ts: 5.1.0 - edgedriver: 5.3.7 - geckodriver: 4.2.1 - get-port: 7.0.0 - got: 13.0.0 - import-meta-resolve: 3.0.0 - locate-app: 2.1.0 - safaridriver: 0.1.0 - split2: 4.2.0 - wait-port: 1.1.0 - transitivePeerDependencies: - - supports-color - dev: true - /@wdio/utils@8.18.2: resolution: {integrity: sha512-TQrrKv+knFn4Z/T/e/+wdnBoykNBg6rfo0NsAwaWh4PbJ1tf+Dc9GjzWhvJTgHwZf4v78K8Z+77qkqoLCF1wSg==} engines: {node: ^16.13 || >=18} @@ -2445,6 +2345,7 @@ packages: /devtools-protocol@0.0.1206220: resolution: {integrity: sha512-zTcXveZkrQdpBwZzAd6spwu+WZet0hU+m/hAm7j61PDUQgG42YkMMdbFYqbDrxIiMTEgJInn70ck1Jl10RQ1aQ==} + requiresBuild: true dev: true /diff-sequences@29.4.3: @@ -2678,16 +2579,26 @@ packages: source-map: 0.6.1 dev: true - /eslint-plugin-perfectionist@1.5.1(eslint@8.51.0)(typescript@5.2.2): - resolution: {integrity: sha512-PiUrAfGDc/l6MKKUP8qt5RXueC7FZC6F/0j8ijXYU8o3x8o2qUi6zEEYBkId/IiKloIXM5KTD4jrH9833kDNzA==} + /eslint-plugin-perfectionist@2.2.0(eslint@8.51.0)(typescript@5.2.2): + resolution: {integrity: sha512-/nG2Uurd6AY7CI6zlgjHPOoiPY8B7EYMUWdNb5w+EzyauYiQjjD5lQwAI1FlkBbCCFFZw/CdZIPQhXumYoiyaw==} peerDependencies: + astro-eslint-parser: ^0.16.0 eslint: '>=8.0.0' + svelte: '>=3.0.0' + svelte-eslint-parser: ^0.33.0 + vue-eslint-parser: '>=9.0.0' + peerDependenciesMeta: + astro-eslint-parser: + optional: true + svelte: + optional: true + svelte-eslint-parser: + optional: true + vue-eslint-parser: + optional: true dependencies: - '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/utils': 5.62.0(eslint@8.51.0)(typescript@5.2.2) + '@typescript-eslint/utils': 6.7.5(eslint@8.51.0)(typescript@5.2.2) eslint: 8.51.0 - is-core-module: 2.12.1 - json5: 2.2.3 minimatch: 9.0.3 natural-compare-lite: 1.4.0 transitivePeerDependencies: @@ -2695,14 +2606,6 @@ packages: - typescript dev: true - /eslint-scope@5.1.1: - resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} - engines: {node: '>=8.0.0'} - dependencies: - esrecurse: 4.3.0 - estraverse: 4.3.0 - dev: true - /eslint-scope@7.2.2: resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -2792,11 +2695,6 @@ packages: estraverse: 5.3.0 dev: true - /estraverse@4.3.0: - resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} - engines: {node: '>=4.0'} - dev: true - /estraverse@5.3.0: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} engines: {node: '>=4.0'} @@ -4051,12 +3949,6 @@ packages: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} dev: true - /json5@2.2.3: - resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} - engines: {node: '>=6'} - hasBin: true - dev: true - /jsonc-parser@3.2.0: resolution: {integrity: sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==} dev: true @@ -5903,24 +5795,10 @@ packages: yn: 3.1.1 dev: true - /tslib@1.14.1: - resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} - dev: true - /tslib@2.6.0: resolution: {integrity: sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA==} dev: true - /tsutils@3.21.0(typescript@5.2.2): - resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} - engines: {node: '>= 6'} - peerDependencies: - typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' - dependencies: - tslib: 1.14.1 - typescript: 5.2.2 - dev: true - /type-check@0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} @@ -6203,7 +6081,7 @@ packages: defaults: 1.0.4 dev: true - /wdio-chromedriver-service@8.1.1(@wdio/types@8.17.0)(chromedriver@115.0.1)(webdriverio@8.18.0): + /wdio-chromedriver-service@8.1.1(@wdio/types@8.17.0)(chromedriver@115.0.1)(webdriverio@8.18.2): resolution: {integrity: sha512-pN3GiOkTIMnalfq4PJAHdX95pDp1orHnTY8W1fIbd6ok81ba97UjerTgS7lUDRUh1p0MAm35Ww0uc0/9wzB7SA==} engines: {node: ^16.13 || >=18} peerDependencies: @@ -6222,12 +6100,12 @@ packages: fs-extra: 11.1.1 split2: 4.2.0 tcp-port-used: 1.0.2 - webdriverio: 8.18.0(typescript@5.2.2) + webdriverio: 8.18.2(typescript@5.2.2) transitivePeerDependencies: - supports-color dev: true - /wdio-vscode-service@5.2.1(@wdio/types@8.17.0)(chromedriver@115.0.1)(webdriverio@8.18.0): + /wdio-vscode-service@5.2.1(@wdio/types@8.17.0)(chromedriver@115.0.1)(webdriverio@8.18.2): resolution: {integrity: sha512-euDKSEtntuIW2RY9M0aB0or70mDToVjtUEOPwDAz1BFTrmlt9CwcURklRxy2V8RkFM8DnddQCE3oU97fFjzxhw==} engines: {node: ^16.13 || >=18} peerDependencies: @@ -6252,8 +6130,8 @@ packages: tmp-promise: 3.0.3 undici: 5.22.1 vscode-uri: 3.0.7 - wdio-chromedriver-service: 8.1.1(@wdio/types@8.17.0)(chromedriver@115.0.1)(webdriverio@8.18.0) - webdriverio: 8.18.0(typescript@5.2.2) + wdio-chromedriver-service: 8.1.1(@wdio/types@8.17.0)(chromedriver@115.0.1)(webdriverio@8.18.2) + webdriverio: 8.18.2(typescript@5.2.2) ws: 8.13.0 yargs-parser: 21.1.1 transitivePeerDependencies: @@ -6268,27 +6146,6 @@ packages: engines: {node: '>= 8'} dev: true - /webdriver@8.18.0: - resolution: {integrity: sha512-OImB/K2BMGVP77yGpB4qrAwzAVrlusL5egaqoA9sl4inh1Ff+6n+LwQmPfe/dezejm5Fxuaf/HWvWEq91WbghQ==} - engines: {node: ^16.13 || >=18} - dependencies: - '@types/node': 20.4.1 - '@types/ws': 8.5.5 - '@wdio/config': 8.18.0 - '@wdio/logger': 8.16.17 - '@wdio/protocols': 8.18.0 - '@wdio/types': 8.17.0 - '@wdio/utils': 8.18.0 - deepmerge-ts: 5.1.0 - got: 12.6.1 - ky: 0.33.3 - ws: 8.13.0 - transitivePeerDependencies: - - bufferutil - - supports-color - - utf-8-validate - dev: true - /webdriver@8.18.2: resolution: {integrity: sha512-7xr8K2jlrRdhqK6LLHrg96OiccWT5EeBIQXk9xAifgIbs6l/JfzCjC9WqC0AmX9plXjR8wf2LS+Ob9Ajhx6v+A==} engines: {node: ^16.13 || >=18} @@ -6310,47 +6167,6 @@ packages: - utf-8-validate dev: true - /webdriverio@8.18.0(typescript@5.2.2): - resolution: {integrity: sha512-LVgmZHn36NOL4O1RszBa7TPYf5VAyakmgkkDtWe1tVVQ2AkbIKnhKGLar6BQd/wfLIn61pKfvvmmYwDjnXgkhg==} - engines: {node: ^16.13 || >=18} - peerDependencies: - devtools: ^8.14.0 - peerDependenciesMeta: - devtools: - optional: true - dependencies: - '@types/node': 20.4.1 - '@wdio/config': 8.18.0 - '@wdio/logger': 8.16.17 - '@wdio/protocols': 8.18.0 - '@wdio/repl': 8.10.1 - '@wdio/types': 8.17.0 - '@wdio/utils': 8.18.0 - archiver: 6.0.1 - aria-query: 5.3.0 - css-shorthand-properties: 1.1.1 - css-value: 0.0.1 - devtools-protocol: 0.0.1206220 - grapheme-splitter: 1.0.4 - import-meta-resolve: 3.0.0 - is-plain-obj: 4.1.0 - lodash.clonedeep: 4.5.0 - lodash.zip: 4.2.0 - minimatch: 9.0.3 - puppeteer-core: 20.9.0(typescript@5.2.2) - query-selector-shadow-dom: 1.0.1 - resq: 1.11.0 - rgb2hex: 0.2.5 - serialize-error: 11.0.2 - webdriver: 8.18.0 - transitivePeerDependencies: - - bufferutil - - encoding - - supports-color - - typescript - - utf-8-validate - dev: true - /webdriverio@8.18.2(typescript@5.2.2): resolution: {integrity: sha512-vX+U4QH9HdyT3upcOzP6YMpnAA1oZJJAZetvf9aWZ9KnBzgkL60LiZ/q9xCX+VWYKEIvNZ66ekppbuZ8FpobIQ==} engines: {node: ^16.13 || >=18}