diff --git a/package.json b/package.json index 8f2bab6c..7601fd26 100644 --- a/package.json +++ b/package.json @@ -58,7 +58,7 @@ "unplugin": "^1.5.0" }, "devDependencies": { - "@antfu/eslint-config": "^1.1.2", + "@antfu/eslint-config": "^2.0.0", "@vitest/coverage-v8": "^0.34.6", "bumpp": "^9.2.0", "conventional-changelog-cli": "^4.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8a11a13c..259c524d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -43,8 +43,8 @@ importers: version: 1.5.0 devDependencies: '@antfu/eslint-config': - specifier: ^1.1.2 - version: 1.1.2(eslint@8.53.0)(typescript@5.2.2)(vitest@0.34.6) + specifier: ^2.0.0 + version: 2.0.0(eslint@8.53.0)(typescript@5.2.2)(vitest@0.34.6) '@vitest/coverage-v8': specifier: ^0.34.6 version: 0.34.6(vitest@0.34.6) @@ -113,22 +113,22 @@ packages: '@jridgewell/trace-mapping': 0.3.17 dev: true - /@antfu/eslint-config@1.1.2(eslint@8.53.0)(typescript@5.2.2)(vitest@0.34.6): - resolution: {integrity: sha512-5wOOd7hgPFvSeeJB5BcQxzuEdfI3L2/nvUxPhdkNGCuUUXKbmH9dC5jAi32psIhYwwzH5WHHi/rRumfyrGmh/w==} + /@antfu/eslint-config@2.0.0(eslint@8.53.0)(typescript@5.2.2)(vitest@0.34.6): + resolution: {integrity: sha512-kAhbg7loDbT7g3rkLkgZ1R7C5v43wzAOjLMAcdT1xFMGEhAtG8MhBMUXrRCwdaV8ebvLYjO+mqUVCdgrHaFPOA==} hasBin: true peerDependencies: eslint: '>=8.0.0' dependencies: '@antfu/eslint-define-config': 1.23.0-2 '@eslint-types/jsdoc': 46.8.2-1 - '@eslint-types/typescript-eslint': 6.9.1 + '@eslint-types/typescript-eslint': 6.11.0 '@eslint-types/unicorn': 49.0.0 - '@stylistic/eslint-plugin': 1.2.0(eslint@8.53.0)(typescript@5.2.2) + '@stylistic/eslint-plugin': 1.4.0(eslint@8.53.0)(typescript@5.2.2) '@typescript-eslint/eslint-plugin': 6.11.0(@typescript-eslint/parser@6.11.0)(eslint@8.53.0)(typescript@5.2.2) '@typescript-eslint/parser': 6.11.0(eslint@8.53.0)(typescript@5.2.2) eslint: 8.53.0 eslint-config-flat-gitignore: 0.1.1 - eslint-plugin-antfu: 1.0.2(eslint@8.53.0) + eslint-plugin-antfu: 1.0.9(eslint@8.53.0) eslint-plugin-eslint-comments: 3.2.0(eslint@8.53.0) eslint-plugin-i: 2.29.0(@typescript-eslint/parser@6.11.0)(eslint@8.53.0) eslint-plugin-jsdoc: 46.9.0(eslint@8.53.0) @@ -136,7 +136,7 @@ packages: eslint-plugin-markdown: 3.0.1(eslint@8.53.0) eslint-plugin-n: 16.3.1(eslint@8.53.0) eslint-plugin-no-only-tests: 3.1.0 - eslint-plugin-perfectionist: 2.3.0(eslint@8.53.0)(typescript@5.2.2)(vue-eslint-parser@9.3.2) + eslint-plugin-perfectionist: 2.4.0(eslint@8.53.0)(typescript@5.2.2)(vue-eslint-parser@9.3.2) eslint-plugin-unicorn: 49.0.0(eslint@8.53.0) eslint-plugin-unused-imports: 3.0.0(@typescript-eslint/eslint-plugin@6.11.0)(eslint@8.53.0) eslint-plugin-vitest: 0.3.9(@typescript-eslint/eslint-plugin@6.11.0)(eslint@8.53.0)(typescript@5.2.2)(vitest@0.34.6) @@ -267,7 +267,7 @@ packages: '@babel/helper-module-imports': 7.22.5 '@babel/helper-simple-access': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 - '@babel/helper-validator-identifier': 7.22.5 + '@babel/helper-validator-identifier': 7.22.20 dev: true /@babel/helper-simple-access@7.22.5: @@ -291,11 +291,6 @@ packages: /@babel/helper-validator-identifier@7.22.20: resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} engines: {node: '>=6.9.0'} - dev: true - - /@babel/helper-validator-identifier@7.22.5: - resolution: {integrity: sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==} - engines: {node: '>=6.9.0'} /@babel/helper-validator-option@7.22.5: resolution: {integrity: sha512-R3oB6xlIVKUnxNUxbmgq7pKjxpru24zlimpE8WK47fACIlM0II/Hm1RS8IaOI7NgCr6LNS+jl5l75m20npAziw==} @@ -318,7 +313,7 @@ packages: engines: {node: '>=6.9.0'} requiresBuild: true dependencies: - '@babel/helper-validator-identifier': 7.22.5 + '@babel/helper-validator-identifier': 7.22.20 chalk: 2.4.2 js-tokens: 4.0.0 dev: true @@ -367,7 +362,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/helper-string-parser': 7.22.5 - '@babel/helper-validator-identifier': 7.22.5 + '@babel/helper-validator-identifier': 7.22.20 to-fast-properties: 2.0.0 /@bcoe/v8-coverage@0.2.3: @@ -798,8 +793,8 @@ packages: resolution: {integrity: sha512-FwD7V0xX0jyaqj8Ul5ZY+TAAPohDfVqtbuXJNHb+OIv1aTIqZi5+Zn3F2UwQ5O3BnQd2mTduyK0+HjGx3/AMFg==} dev: true - /@eslint-types/typescript-eslint@6.9.1: - resolution: {integrity: sha512-mH3DMfVVg1d1oCoyI61J2FM5O7ta6J8PtAobSYrayUZ+7ukXwL2RNVF2sDaoqVrFTDmYBA6ol7VQrk1YgaO96w==} + /@eslint-types/typescript-eslint@6.11.0: + resolution: {integrity: sha512-6IpcTD2brrOtSvvjmHvLHqubrmqj1wFhGWda+lA5fPlPIqhJYccL/mz2yONKQfQdh9kV7xd2tuVq7O2ylZd3iA==} dev: true /@eslint-types/unicorn@49.0.0: @@ -813,7 +808,7 @@ packages: ajv: 6.12.6 debug: 4.3.4 espree: 9.6.1 - globals: 13.19.0 + globals: 13.23.0 ignore: 5.2.4 import-fresh: 3.3.0 js-yaml: 4.1.0 @@ -1034,8 +1029,8 @@ packages: resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} dev: true - /@stylistic/eslint-plugin-js@1.2.0: - resolution: {integrity: sha512-1Zi/AlQzOzTlTegupd3vrUYHd02ilvk7x5O9ZRFjYGtUcwHVk+WTEKk/3Nmr8yuvzEiXqUNFJ8bv8b4rLYCPRQ==} + /@stylistic/eslint-plugin-js@1.4.0: + resolution: {integrity: sha512-cANyn4ECWu8kxPmBM4K/Q4WocD3JbA0POmGbA2lJ4tynPE8jGyKpfP8SZj6BIidXV0pkyqvxEfaKppB4D16UsA==} dependencies: acorn: 8.11.2 escape-string-regexp: 4.0.0 @@ -1044,19 +1039,19 @@ packages: graphemer: 1.4.0 dev: true - /@stylistic/eslint-plugin-jsx@1.2.0: - resolution: {integrity: sha512-8YHFw8x6nObGtJSMrFt40+nth6fI1lLJASg12qB1nfeLQYEGlPv5UCOA0sysKATnQF12j6wVO68CdeEsp0RZgA==} + /@stylistic/eslint-plugin-jsx@1.4.0: + resolution: {integrity: sha512-MB5MW8HnRm0nAeUpgVzr4NOzLtxWYBIBtW9iDXopykl1ZJOm/0LlSFlsw9wsXd4Zqarkow6IrV18HcZ0Hc06yQ==} dependencies: - '@stylistic/eslint-plugin-js': 1.2.0 + '@stylistic/eslint-plugin-js': 1.4.0 estraverse: 5.3.0 dev: true - /@stylistic/eslint-plugin-ts@1.2.0(eslint@8.53.0)(typescript@5.2.2): - resolution: {integrity: sha512-fWP8Q4K92Gm0qeqvZJk0THlS+8ynX4UluMuY/cJ1g/I4ntY0eNDLs/m1uWGitky33GOnM5DiW8riV8yLRNQ0Fg==} + /@stylistic/eslint-plugin-ts@1.4.0(eslint@8.53.0)(typescript@5.2.2): + resolution: {integrity: sha512-eNEC0MufXfe2v9fW+g5yDzMMcws80cn1gKIt9CaLVjUuWnwCdY4SG1hUtDfEpBCTNBZgG/LKKls15dSa1x++0g==} peerDependencies: eslint: '*' dependencies: - '@stylistic/eslint-plugin-js': 1.2.0 + '@stylistic/eslint-plugin-js': 1.4.0 '@typescript-eslint/utils': 6.11.0(eslint@8.53.0)(typescript@5.2.2) eslint: 8.53.0 graphemer: 1.4.0 @@ -1065,14 +1060,14 @@ packages: - typescript dev: true - /@stylistic/eslint-plugin@1.2.0(eslint@8.53.0)(typescript@5.2.2): - resolution: {integrity: sha512-WtY9pxiXFfNTkHOCrXCN7diWB49KqyBCwDjIhXVrN2rCJ6ZA7bnlDtDjwSvU3Gnb/kTEYnt6aVXjprFi0f7S0g==} + /@stylistic/eslint-plugin@1.4.0(eslint@8.53.0)(typescript@5.2.2): + resolution: {integrity: sha512-DtPiS4jr7m+A2nlcn8Ls4LEsOj1KC8x+KvAmoUI+nTcnin4Hkb8/I9Vteuu2CFLyVmlnKIQhrL5JC/xUEMyE9w==} peerDependencies: eslint: '*' dependencies: - '@stylistic/eslint-plugin-js': 1.2.0 - '@stylistic/eslint-plugin-jsx': 1.2.0 - '@stylistic/eslint-plugin-ts': 1.2.0(eslint@8.53.0)(typescript@5.2.2) + '@stylistic/eslint-plugin-js': 1.4.0 + '@stylistic/eslint-plugin-jsx': 1.4.0 + '@stylistic/eslint-plugin-ts': 1.4.0(eslint@8.53.0)(typescript@5.2.2) eslint: 8.53.0 transitivePeerDependencies: - supports-color @@ -2277,8 +2272,8 @@ packages: - supports-color dev: true - /eslint-plugin-antfu@1.0.2(eslint@8.53.0): - resolution: {integrity: sha512-elv/LVq+4h9oi7xza9EK93akujmTAGnL3e7aMVVWELjvIJuHcKj0GT6HjdgPDtuBdMnyyKN7fVKIpSNSqZnaIA==} + /eslint-plugin-antfu@1.0.9(eslint@8.53.0): + resolution: {integrity: sha512-7/IkVmqTjymwsb9JRyHDCDFAOWTBXSNYtPVOPmd+DymIWsQeBxXDJLzBmZLZ0/ml7sfXEtYrUrzhGZCtsYxe2w==} peerDependencies: eslint: '*' dependencies: @@ -2399,8 +2394,8 @@ packages: engines: {node: '>=5.0.0'} dev: true - /eslint-plugin-perfectionist@2.3.0(eslint@8.53.0)(typescript@5.2.2)(vue-eslint-parser@9.3.2): - resolution: {integrity: sha512-T/1HOysrsyExPr/N5apy3XFhejYqIturtejlSbTGy0WCw5dt72FDT92NOvRRKJvx8lftZDJ8AEIs5nHk9Pfa9Q==} + /eslint-plugin-perfectionist@2.4.0(eslint@8.53.0)(typescript@5.2.2)(vue-eslint-parser@9.3.2): + resolution: {integrity: sha512-til+vyf56wAUgFv5guBA1Zo5lTw9xj2kCeK/g+9NBtsRy1rkGrlqnvxYNuFExcK3VsPhUUtx5UdScEDz9ahQ5Q==} peerDependencies: astro-eslint-parser: ^0.16.0 eslint: '>=8.0.0' @@ -3094,12 +3089,6 @@ packages: builtin-modules: 3.3.0 dev: true - /is-core-module@2.11.0: - resolution: {integrity: sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==} - dependencies: - has: 1.0.3 - dev: true - /is-core-module@2.13.0: resolution: {integrity: sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==} dependencies: @@ -4061,7 +4050,7 @@ packages: resolution: {integrity: sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==} hasBin: true dependencies: - is-core-module: 2.11.0 + is-core-module: 2.13.0 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 dev: true