From 49b9b7f7dbc588c77dae155950ffcc96905d007e Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Mon, 7 Aug 2023 15:41:19 +0200 Subject: [PATCH] chore: update deps, migrate tests --- fixtures/vitesse/package.json | 36 +- package.json | 4 +- packages/eslint-config-basic/package.json | 8 +- packages/eslint-config-react/package.json | 4 +- packages/eslint-config-ts/package.json | 6 +- packages/eslint-config-vue/package.json | 4 +- packages/eslint-config/package.json | 12 +- packages/eslint-plugin-antfu/build.config.ts | 2 +- packages/eslint-plugin-antfu/package.json | 8 +- .../src/rules/generic-spacing.test.ts | 27 +- .../src/rules/generic-spacing.ts | 2 +- .../src/rules/if-newline.test.ts | 27 +- .../src/rules/if-newline.ts | 2 +- .../src/rules/import-dedupe.test.ts | 27 +- .../src/rules/import-dedupe.ts | 2 +- .../src/rules/named-tuple-spacing.test.ts | 125 ++-- .../src/rules/no-cjs-exports.test.ts | 25 +- .../src/rules/no-cjs-exports.ts | 1 - .../src/rules/no-const-enum.test.ts | 25 +- .../src/rules/no-const-enum.ts | 2 +- .../no-import-node-modules-by-path.test.ts | 25 +- .../rules/no-import-node-modules-by-path.ts | 2 +- .../src/rules/no-ts-export-equal.test.ts | 25 +- .../src/rules/no-ts-export-equal.ts | 2 +- .../rules/prefer-inline-type-import.test.ts | 27 +- .../src/rules/prefer-inline-type-import.ts | 3 +- .../src/rules/top-level-function.test.ts | 27 +- .../src/rules/top-level-function.ts | 2 +- packages/eslint-plugin-antfu/vitest.config.ts | 7 + pnpm-lock.yaml | 663 ++++++++++-------- tsconfig.json | 3 +- 31 files changed, 582 insertions(+), 553 deletions(-) create mode 100644 packages/eslint-plugin-antfu/vitest.config.ts diff --git a/fixtures/vitesse/package.json b/fixtures/vitesse/package.json index 31f4307..1212e1c 100644 --- a/fixtures/vitesse/package.json +++ b/fixtures/vitesse/package.json @@ -1,7 +1,7 @@ { "type": "module", "private": true, - "packageManager": "pnpm@8.6.7", + "packageManager": "pnpm@8.6.12", "scripts": { "build": "vite-ssg build", "dev": "vite --port 3333 --open", @@ -15,48 +15,48 @@ "up": "taze major -I" }, "dependencies": { - "@unocss/reset": "^0.53.5", - "@vueuse/core": "^10.2.1", + "@unocss/reset": "^0.54.2", + "@vueuse/core": "^10.3.0", "@vueuse/head": "^1.1.26", "nprogress": "^0.2.0", - "pinia": "^2.1.4", + "pinia": "^2.1.6", "vue": "^3.3.4", "vue-demi": "^0.14.5", "vue-i18n": "^9.2.2", "vue-router": "^4.2.4" }, "devDependencies": { - "@antfu/eslint-config": "^0.39.7", - "@iconify-json/carbon": "^1.1.18", + "@antfu/eslint-config": "^0.40.0", + "@iconify-json/carbon": "^1.1.19", "@intlify/vite-plugin-vue-i18n": "^7.0.0", "@types/markdown-it-link-attributes": "^3.0.1", "@types/nprogress": "^0.2.0", "@vitejs/plugin-vue": "^4.2.3", - "@vue/test-utils": "^2.4.0", - "critters": "^0.0.19", + "@vue/test-utils": "^2.4.1", + "critters": "^0.0.20", "cross-env": "^7.0.3", - "cypress": "^12.17.1", - "eslint": "^8.45.0", + "cypress": "^12.17.3", + "eslint": "^8.46.0", "eslint-plugin-cypress": "^2.13.3", "https-localhost": "^4.7.1", "markdown-it-link-attributes": "^4.0.1", "markdown-it-shiki": "^0.9.0", - "pnpm": "^8.6.7", + "pnpm": "^8.6.12", "shiki": "^0.14.3", "taze": "^0.11.2", "typescript": "^5.1.6", - "unocss": "^0.53.5", + "unocss": "^0.54.2", "unplugin-auto-import": "^0.16.6", "unplugin-vue-components": "^0.25.1", - "vite": "^4.4.4", - "vite-plugin-inspect": "^0.7.33", + "vite": "^4.4.9", + "vite-plugin-inspect": "^0.7.35", "vite-plugin-pages": "^0.31.0", "vite-plugin-pwa": "^0.16.4", "vite-plugin-vue-layouts": "^0.8.0", - "vite-plugin-vue-markdown": "^0.23.5", - "vite-ssg": "^0.23.0", + "vite-plugin-vue-markdown": "^0.23.7", + "vite-ssg": "^0.23.1", "vite-ssg-sitemap": "^0.5.1", - "vitest": "^0.33.0", - "vue-tsc": "^1.8.5" + "vitest": "^0.34.1", + "vue-tsc": "^1.8.8" } } diff --git a/package.json b/package.json index e72c1cc..ec4f4cc 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@antfu/eslint-config-monorepo", "version": "0.40.0", "private": true, - "packageManager": "pnpm@8.6.7", + "packageManager": "pnpm@8.6.12", "author": "Anthony Fu (https://github.com/antfu/)", "license": "MIT", "scripts": { @@ -15,7 +15,7 @@ "devDependencies": { "@antfu/eslint-config": "workspace:*", "bumpp": "^9.1.1", - "eslint": "^8.45.0", + "eslint": "^8.46.0", "eslint-plugin-antfu": "link:./packages/eslint-plugin-antfu", "rimraf": "^5.0.1", "typescript": "^5.1.6" diff --git a/packages/eslint-config-basic/package.json b/packages/eslint-config-basic/package.json index c6dbb71..c971287 100644 --- a/packages/eslint-config-basic/package.json +++ b/packages/eslint-config-basic/package.json @@ -22,19 +22,19 @@ "eslint-plugin-antfu": "workspace:*", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-html": "^7.1.0", - "eslint-plugin-import": "npm:eslint-plugin-i@2.27.5-4", + "eslint-plugin-import": "npm:eslint-plugin-i@2.28.0", "eslint-plugin-jsonc": "^2.9.0", - "eslint-plugin-markdown": "^3.0.0", + "eslint-plugin-markdown": "^3.0.1", "eslint-plugin-n": "^16.0.1", "eslint-plugin-no-only-tests": "^3.1.0", "eslint-plugin-promise": "^6.1.1", - "eslint-plugin-unicorn": "^48.0.0", + "eslint-plugin-unicorn": "^48.0.1", "eslint-plugin-unused-imports": "^3.0.0", "eslint-plugin-yml": "^1.8.0", "jsonc-eslint-parser": "^2.3.0", "yaml-eslint-parser": "^1.2.2" }, "devDependencies": { - "eslint": "^8.45.0" + "eslint": "^8.46.0" } } diff --git a/packages/eslint-config-react/package.json b/packages/eslint-config-react/package.json index 57df5ef..ffd7eda 100644 --- a/packages/eslint-config-react/package.json +++ b/packages/eslint-config-react/package.json @@ -20,11 +20,11 @@ }, "dependencies": { "@antfu/eslint-config-ts": "workspace:*", - "eslint-plugin-react": "^7.32.2", + "eslint-plugin-react": "^7.33.1", "eslint-plugin-react-hooks": "^4.6.0" }, "devDependencies": { - "eslint": "^8.45.0", + "eslint": "^8.46.0", "react": "^18.2.0", "typescript": "^5.1.6" } diff --git a/packages/eslint-config-ts/package.json b/packages/eslint-config-ts/package.json index 861befe..12bbe18 100644 --- a/packages/eslint-config-ts/package.json +++ b/packages/eslint-config-ts/package.json @@ -18,11 +18,11 @@ }, "dependencies": { "@antfu/eslint-config-basic": "workspace:*", - "@typescript-eslint/eslint-plugin": "^6.0.0", - "@typescript-eslint/parser": "^6.0.0", + "@typescript-eslint/eslint-plugin": "^6.2.1", + "@typescript-eslint/parser": "^6.2.1", "eslint-plugin-jest": "^27.2.3" }, "devDependencies": { - "eslint": "^8.45.0" + "eslint": "^8.46.0" } } diff --git a/packages/eslint-config-vue/package.json b/packages/eslint-config-vue/package.json index bf430b8..040a797 100644 --- a/packages/eslint-config-vue/package.json +++ b/packages/eslint-config-vue/package.json @@ -17,10 +17,10 @@ "dependencies": { "@antfu/eslint-config-basic": "workspace:*", "@antfu/eslint-config-ts": "workspace:*", - "eslint-plugin-vue": "^9.15.1", + "eslint-plugin-vue": "^9.16.1", "local-pkg": "^0.4.3" }, "devDependencies": { - "eslint": "^8.45.0" + "eslint": "^8.46.0" } } diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 9ac626a..de5883e 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -17,21 +17,21 @@ }, "dependencies": { "@antfu/eslint-config-vue": "workspace:*", - "@typescript-eslint/eslint-plugin": "^6.0.0", - "@typescript-eslint/parser": "^6.0.0", + "@typescript-eslint/eslint-plugin": "^6.2.1", + "@typescript-eslint/parser": "^6.2.1", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-html": "^7.1.0", - "eslint-plugin-import": "npm:eslint-plugin-i@2.27.5-4", + "eslint-plugin-import": "npm:eslint-plugin-i@2.28.0", "eslint-plugin-jsonc": "^2.9.0", "eslint-plugin-n": "^16.0.1", "eslint-plugin-promise": "^6.1.1", - "eslint-plugin-unicorn": "^48.0.0", - "eslint-plugin-vue": "^9.15.1", + "eslint-plugin-unicorn": "^48.0.1", + "eslint-plugin-vue": "^9.16.1", "eslint-plugin-yml": "^1.8.0", "jsonc-eslint-parser": "^2.3.0", "yaml-eslint-parser": "^1.2.2" }, "devDependencies": { - "eslint": "^8.45.0" + "eslint": "^8.46.0" } } diff --git a/packages/eslint-plugin-antfu/build.config.ts b/packages/eslint-plugin-antfu/build.config.ts index 0bd008c..759328e 100644 --- a/packages/eslint-plugin-antfu/build.config.ts +++ b/packages/eslint-plugin-antfu/build.config.ts @@ -4,7 +4,7 @@ export default defineBuildConfig({ entries: [ 'src/index', ], - declaration: true, + declaration: false, clean: true, rollup: { emitCJS: true, diff --git a/packages/eslint-plugin-antfu/package.json b/packages/eslint-plugin-antfu/package.json index ded2127..7ea503a 100644 --- a/packages/eslint-plugin-antfu/package.json +++ b/packages/eslint-plugin-antfu/package.json @@ -5,7 +5,6 @@ "homepage": "https://github.com/antfu/eslint-config", "main": "./dist/index.cjs", "module": "./dist/index.mjs", - "types": "./dist/index.d.ts", "files": [ "dist" ], @@ -16,11 +15,12 @@ "prepublishOnly": "nr build" }, "dependencies": { - "@typescript-eslint/utils": "^6.0.0" + "@typescript-eslint/utils": "^6.2.1" }, "devDependencies": { - "@types/node": "^20.4.2", + "@types/node": "^20.4.8", + "@typescript-eslint/rule-tester": "^6.2.1", "unbuild": "^1.2.1", - "vitest": "^0.33.0" + "vitest": "^0.34.1" } } diff --git a/packages/eslint-plugin-antfu/src/rules/generic-spacing.test.ts b/packages/eslint-plugin-antfu/src/rules/generic-spacing.test.ts index c3aa2d3..d27985e 100644 --- a/packages/eslint-plugin-antfu/src/rules/generic-spacing.test.ts +++ b/packages/eslint-plugin-antfu/src/rules/generic-spacing.test.ts @@ -1,5 +1,4 @@ -import { RuleTester } from '@typescript-eslint/utils/dist/ts-eslint' -import { it } from 'vitest' +import { RuleTester } from '@typescript-eslint/rule-tester' import rule, { RULE_NAME } from './generic-spacing' const valids = [ @@ -36,17 +35,15 @@ const invalids = [ }`], ] as const -it('runs', () => { - const ruleTester: RuleTester = new RuleTester({ - parser: require.resolve('@typescript-eslint/parser'), - }) - - ruleTester.run(RULE_NAME, rule, { - valid: valids, - invalid: invalids.map(i => ({ - code: i[0], - output: i[1].trim(), - errors: Array.from({ length: i[2] || 1 }, () => ({ messageId: 'genericSpacingMismatch' })), - })), - }) +const ruleTester: RuleTester = new RuleTester({ + parser: require.resolve('@typescript-eslint/parser'), +}) + +ruleTester.run(RULE_NAME, rule as any, { + valid: valids, + invalid: invalids.map(i => ({ + code: i[0], + output: i[1].trim(), + errors: Array.from({ length: i[2] || 1 }, () => ({ messageId: 'genericSpacingMismatch' })), + })), }) diff --git a/packages/eslint-plugin-antfu/src/rules/generic-spacing.ts b/packages/eslint-plugin-antfu/src/rules/generic-spacing.ts index 6df03f9..4f3ef50 100644 --- a/packages/eslint-plugin-antfu/src/rules/generic-spacing.ts +++ b/packages/eslint-plugin-antfu/src/rules/generic-spacing.ts @@ -10,7 +10,7 @@ export default createEslintRule({ type: 'suggestion', docs: { description: 'Spaces around generic type parameters', - recommended: 'error', + recommended: 'stylistic', }, fixable: 'code', schema: [], diff --git a/packages/eslint-plugin-antfu/src/rules/if-newline.test.ts b/packages/eslint-plugin-antfu/src/rules/if-newline.test.ts index 990d247..8057ab0 100644 --- a/packages/eslint-plugin-antfu/src/rules/if-newline.test.ts +++ b/packages/eslint-plugin-antfu/src/rules/if-newline.test.ts @@ -1,5 +1,4 @@ -import { RuleTester } from '@typescript-eslint/utils/dist/ts-eslint' -import { it } from 'vitest' +import { RuleTester } from '@typescript-eslint/rule-tester' import rule, { RULE_NAME } from './if-newline' const valids = [ @@ -14,17 +13,15 @@ const invalids = [ ['if (true) console.log(\'hello\')', 'if (true) \nconsole.log(\'hello\')'], ] -it('runs', () => { - const ruleTester: RuleTester = new RuleTester({ - parser: require.resolve('@typescript-eslint/parser'), - }) - - ruleTester.run(RULE_NAME, rule, { - valid: valids, - invalid: invalids.map(i => ({ - code: i[0], - output: i[1], - errors: [{ messageId: 'missingIfNewline' }], - })), - }) +const ruleTester: RuleTester = new RuleTester({ + parser: require.resolve('@typescript-eslint/parser'), +}) + +ruleTester.run(RULE_NAME, rule as any, { + valid: valids, + invalid: invalids.map(i => ({ + code: i[0], + output: i[1], + errors: [{ messageId: 'missingIfNewline' }], + })), }) diff --git a/packages/eslint-plugin-antfu/src/rules/if-newline.ts b/packages/eslint-plugin-antfu/src/rules/if-newline.ts index d495ac9..c28ad07 100644 --- a/packages/eslint-plugin-antfu/src/rules/if-newline.ts +++ b/packages/eslint-plugin-antfu/src/rules/if-newline.ts @@ -10,7 +10,7 @@ export default createEslintRule({ type: 'problem', docs: { description: 'Newline after if', - recommended: 'error', + recommended: 'stylistic', }, fixable: 'code', schema: [], diff --git a/packages/eslint-plugin-antfu/src/rules/import-dedupe.test.ts b/packages/eslint-plugin-antfu/src/rules/import-dedupe.test.ts index 3341c44..8c3e6a0 100644 --- a/packages/eslint-plugin-antfu/src/rules/import-dedupe.test.ts +++ b/packages/eslint-plugin-antfu/src/rules/import-dedupe.test.ts @@ -1,5 +1,4 @@ -import { RuleTester } from '@typescript-eslint/utils/dist/ts-eslint' -import { it } from 'vitest' +import { RuleTester } from '@typescript-eslint/rule-tester' import rule, { RULE_NAME } from './import-dedupe' const valids = [ @@ -12,17 +11,15 @@ const invalids = [ ], ] -it('runs', () => { - const ruleTester: RuleTester = new RuleTester({ - parser: require.resolve('@typescript-eslint/parser'), - }) - - ruleTester.run(RULE_NAME, rule, { - valid: valids, - invalid: invalids.map(i => ({ - code: i[0], - output: i[1], - errors: [{ messageId: 'importDedupe' }, { messageId: 'importDedupe' }, { messageId: 'importDedupe' }], - })), - }) +const ruleTester: RuleTester = new RuleTester({ + parser: require.resolve('@typescript-eslint/parser'), +}) + +ruleTester.run(RULE_NAME, rule as any, { + valid: valids, + invalid: invalids.map(i => ({ + code: i[0], + output: i[1], + errors: [{ messageId: 'importDedupe' }, { messageId: 'importDedupe' }, { messageId: 'importDedupe' }], + })), }) diff --git a/packages/eslint-plugin-antfu/src/rules/import-dedupe.ts b/packages/eslint-plugin-antfu/src/rules/import-dedupe.ts index 3a4f4f5..8b77f5e 100644 --- a/packages/eslint-plugin-antfu/src/rules/import-dedupe.ts +++ b/packages/eslint-plugin-antfu/src/rules/import-dedupe.ts @@ -10,7 +10,7 @@ export default createEslintRule({ type: 'problem', docs: { description: 'Fix duplication in imports', - recommended: 'error', + recommended: 'strict', }, fixable: 'code', schema: [], diff --git a/packages/eslint-plugin-antfu/src/rules/named-tuple-spacing.test.ts b/packages/eslint-plugin-antfu/src/rules/named-tuple-spacing.test.ts index 073cf79..f105740 100644 --- a/packages/eslint-plugin-antfu/src/rules/named-tuple-spacing.test.ts +++ b/packages/eslint-plugin-antfu/src/rules/named-tuple-spacing.test.ts @@ -1,95 +1,98 @@ -import { RuleTester } from '@typescript-eslint/utils/dist/ts-eslint' -import { it } from 'vitest' +import { RuleTester } from '@typescript-eslint/rule-tester' import rule, { RULE_NAME } from './named-tuple-spacing' const valids = [ 'type T = [i: number]', 'type T = [i?: number]', 'type T = [i: number, j: number]', + 'type T = [i: number, j: () => string]', `const emit = defineEmits<{ change: [id: number] update: [value: string] }>()`, ] -it('runs', () => { - const ruleTester: RuleTester = new RuleTester({ - parser: require.resolve('@typescript-eslint/parser'), - }) +const ruleTester: RuleTester = new RuleTester({ + parser: require.resolve('@typescript-eslint/parser'), +}) - ruleTester.run(RULE_NAME, rule, { - valid: valids, - invalid: [ - { - code: 'type T = [i:number]', - output: 'type T = [i: number]', - errors: [{ messageId: 'expectedSpaceAfter' }], - }, - { - code: 'type T = [i: number]', - output: 'type T = [i: number]', - errors: [{ messageId: 'expectedSpaceAfter' }], - }, - { - code: 'type T = [i?:number]', - output: 'type T = [i?: number]', - errors: [{ messageId: 'expectedSpaceAfter' }], - }, - { - code: 'type T = [i? :number]', - output: 'type T = [i?: number]', - errors: [{ messageId: 'unexpectedSpaceBetween' }, { messageId: 'expectedSpaceAfter' }], - }, - { - code: 'type T = [i : number]', - output: 'type T = [i: number]', - errors: [{ messageId: 'unexpectedSpaceBefore' }], - }, - { - code: 'type T = [i : number]', - output: 'type T = [i: number]', - errors: [{ messageId: 'unexpectedSpaceBefore' }], - }, - { - code: 'type T = [i ? : number]', - output: 'type T = [i?: number]', - errors: [{ messageId: 'unexpectedSpaceBetween' }, { messageId: 'unexpectedSpaceBefore' }], - }, - { - code: 'type T = [i:number, j:number]', - output: 'type T = [i: number, j: number]', - errors: [{ messageId: 'expectedSpaceAfter' }, { messageId: 'expectedSpaceAfter' }], - }, - { - code: ` +ruleTester.run(RULE_NAME, rule as any, { + valid: valids, + invalid: [ + { + code: 'type T = [i:number]', + output: 'type T = [i: number]', + errors: [{ messageId: 'expectedSpaceAfter' }], + }, + { + code: 'type T = [i: number]', + output: 'type T = [i: number]', + errors: [{ messageId: 'expectedSpaceAfter' }], + }, + { + code: 'type T = [i?:number]', + output: 'type T = [i?: number]', + errors: [{ messageId: 'expectedSpaceAfter' }], + }, + { + code: 'type T = [i? :number]', + output: 'type T = [i?: number]', + errors: [{ messageId: 'unexpectedSpaceBetween' }, { messageId: 'expectedSpaceAfter' }], + }, + { + code: 'type T = [i : number]', + output: 'type T = [i: number]', + errors: [{ messageId: 'unexpectedSpaceBefore' }], + }, + { + code: 'type T = [i : number]', + output: 'type T = [i: number]', + errors: [{ messageId: 'unexpectedSpaceBefore' }], + }, + { + code: 'type T = [i ? : number]', + output: 'type T = [i?: number]', + errors: [{ messageId: 'unexpectedSpaceBetween' }, { messageId: 'unexpectedSpaceBefore' }], + }, + { + code: 'type T = [i:number, j:number]', + output: 'type T = [i: number, j: number]', + errors: [{ messageId: 'expectedSpaceAfter' }, { messageId: 'expectedSpaceAfter' }], + }, + { + code: 'type T = [i:()=>void, j:number]', + output: 'type T = [i: ()=>void, j: number]', + errors: [{ messageId: 'expectedSpaceAfter' }, { messageId: 'expectedSpaceAfter' }], + }, + { + code: ` const emit = defineEmits<{ change: [id:number] update: [value:string] }>() `, - output: ` + output: ` const emit = defineEmits<{ change: [id: number] update: [value: string] }>() `, - errors: [{ messageId: 'expectedSpaceAfter' }, { messageId: 'expectedSpaceAfter' }], - }, - { - code: ` + errors: [{ messageId: 'expectedSpaceAfter' }, { messageId: 'expectedSpaceAfter' }], + }, + { + code: ` const emit = defineEmits<{ change: [id? :number] update: [value:string] }>() `, - output: ` + output: ` const emit = defineEmits<{ change: [id?: number] update: [value: string] }>() `, - errors: [{ messageId: 'unexpectedSpaceBetween' }, { messageId: 'expectedSpaceAfter' }, { messageId: 'expectedSpaceAfter' }], - }, - ], - }) + errors: [{ messageId: 'unexpectedSpaceBetween' }, { messageId: 'expectedSpaceAfter' }, { messageId: 'expectedSpaceAfter' }], + }, + ], }) diff --git a/packages/eslint-plugin-antfu/src/rules/no-cjs-exports.test.ts b/packages/eslint-plugin-antfu/src/rules/no-cjs-exports.test.ts index 5adfd34..e1f30aa 100644 --- a/packages/eslint-plugin-antfu/src/rules/no-cjs-exports.test.ts +++ b/packages/eslint-plugin-antfu/src/rules/no-cjs-exports.test.ts @@ -1,5 +1,4 @@ -import { RuleTester } from '@typescript-eslint/utils/dist/ts-eslint' -import { it } from 'vitest' +import { RuleTester } from '@typescript-eslint/rule-tester' import rule, { RULE_NAME } from './no-cjs-exports' const valids = [ @@ -13,16 +12,14 @@ const invalids = [ { code: 'module.exports.a = {}', filename: 'test.ts' }, ] -it('runs', () => { - const ruleTester: RuleTester = new RuleTester({ - parser: require.resolve('@typescript-eslint/parser'), - }) - - ruleTester.run(RULE_NAME, rule, { - valid: valids, - invalid: invalids.map(i => ({ - ...i, - errors: [{ messageId: 'noCjsExports' }], - })), - }) +const ruleTester: RuleTester = new RuleTester({ + parser: require.resolve('@typescript-eslint/parser'), +}) + +ruleTester.run(RULE_NAME, rule as any, { + valid: valids, + invalid: invalids.map(i => ({ + ...i, + errors: [{ messageId: 'noCjsExports' }], + })), }) diff --git a/packages/eslint-plugin-antfu/src/rules/no-cjs-exports.ts b/packages/eslint-plugin-antfu/src/rules/no-cjs-exports.ts index 742a4a3..82fe189 100644 --- a/packages/eslint-plugin-antfu/src/rules/no-cjs-exports.ts +++ b/packages/eslint-plugin-antfu/src/rules/no-cjs-exports.ts @@ -10,7 +10,6 @@ export default createEslintRule({ type: 'problem', docs: { description: 'Do not use CJS exports', - recommended: false, }, schema: [], messages: { diff --git a/packages/eslint-plugin-antfu/src/rules/no-const-enum.test.ts b/packages/eslint-plugin-antfu/src/rules/no-const-enum.test.ts index 4759ab6..f2912ed 100644 --- a/packages/eslint-plugin-antfu/src/rules/no-const-enum.test.ts +++ b/packages/eslint-plugin-antfu/src/rules/no-const-enum.test.ts @@ -1,5 +1,4 @@ -import { RuleTester } from '@typescript-eslint/utils/dist/ts-eslint' -import { it } from 'vitest' +import { RuleTester } from '@typescript-eslint/rule-tester' import rule, { RULE_NAME } from './no-const-enum' const valids = [ @@ -10,16 +9,14 @@ const invalids = [ 'const enum E {}', ] -it('runs', () => { - const ruleTester: RuleTester = new RuleTester({ - parser: require.resolve('@typescript-eslint/parser'), - }) - - ruleTester.run(RULE_NAME, rule, { - valid: valids, - invalid: invalids.map(i => ({ - code: i, - errors: [{ messageId: 'noConstEnum' }], - })), - }) +const ruleTester: RuleTester = new RuleTester({ + parser: require.resolve('@typescript-eslint/parser'), +}) + +ruleTester.run(RULE_NAME, rule as any, { + valid: valids, + invalid: invalids.map(i => ({ + code: i, + errors: [{ messageId: 'noConstEnum' }], + })), }) diff --git a/packages/eslint-plugin-antfu/src/rules/no-const-enum.ts b/packages/eslint-plugin-antfu/src/rules/no-const-enum.ts index 694fc9b..a3a358a 100644 --- a/packages/eslint-plugin-antfu/src/rules/no-const-enum.ts +++ b/packages/eslint-plugin-antfu/src/rules/no-const-enum.ts @@ -10,7 +10,7 @@ export default createEslintRule({ type: 'problem', docs: { description: 'Disallow using `const enum` expression', - recommended: 'error', + recommended: 'recommended', }, schema: [], messages: { diff --git a/packages/eslint-plugin-antfu/src/rules/no-import-node-modules-by-path.test.ts b/packages/eslint-plugin-antfu/src/rules/no-import-node-modules-by-path.test.ts index 4d4e5cb..14e9d8b 100644 --- a/packages/eslint-plugin-antfu/src/rules/no-import-node-modules-by-path.test.ts +++ b/packages/eslint-plugin-antfu/src/rules/no-import-node-modules-by-path.test.ts @@ -1,5 +1,4 @@ -import { RuleTester } from '@typescript-eslint/utils/dist/ts-eslint' -import { it } from 'vitest' +import { RuleTester } from '@typescript-eslint/rule-tester' import rule, { RULE_NAME } from './no-import-node-modules-by-path' const valids = [ @@ -16,16 +15,14 @@ const invalids = [ 'require("../node_modules/d")', ] -it('runs', () => { - const ruleTester: RuleTester = new RuleTester({ - parser: require.resolve('@typescript-eslint/parser'), - }) - - ruleTester.run(RULE_NAME, rule, { - valid: valids, - invalid: invalids.map(i => ({ - code: i, - errors: [{ messageId: 'noImportNodeModulesByPath' }], - })), - }) +const ruleTester: RuleTester = new RuleTester({ + parser: require.resolve('@typescript-eslint/parser'), +}) + +ruleTester.run(RULE_NAME, rule as any, { + valid: valids, + invalid: invalids.map(i => ({ + code: i, + errors: [{ messageId: 'noImportNodeModulesByPath' }], + })), }) diff --git a/packages/eslint-plugin-antfu/src/rules/no-import-node-modules-by-path.ts b/packages/eslint-plugin-antfu/src/rules/no-import-node-modules-by-path.ts index 0c9f4eb..205f705 100644 --- a/packages/eslint-plugin-antfu/src/rules/no-import-node-modules-by-path.ts +++ b/packages/eslint-plugin-antfu/src/rules/no-import-node-modules-by-path.ts @@ -10,7 +10,7 @@ export default createEslintRule({ type: 'problem', docs: { description: 'Prevent importing modules in `node_modules` folder by relative or absolute path', - recommended: 'error', + recommended: 'recommended', }, schema: [], messages: { diff --git a/packages/eslint-plugin-antfu/src/rules/no-ts-export-equal.test.ts b/packages/eslint-plugin-antfu/src/rules/no-ts-export-equal.test.ts index 06dcfe0..0d1fb41 100644 --- a/packages/eslint-plugin-antfu/src/rules/no-ts-export-equal.test.ts +++ b/packages/eslint-plugin-antfu/src/rules/no-ts-export-equal.test.ts @@ -1,5 +1,4 @@ -import { RuleTester } from '@typescript-eslint/utils/dist/ts-eslint' -import { it } from 'vitest' +import { RuleTester } from '@typescript-eslint/rule-tester' import rule, { RULE_NAME } from './no-ts-export-equal' const valids = [ @@ -11,16 +10,14 @@ const invalids = [ { code: 'export = {}', filename: 'test.ts' }, ] -it('runs', () => { - const ruleTester: RuleTester = new RuleTester({ - parser: require.resolve('@typescript-eslint/parser'), - }) - - ruleTester.run(RULE_NAME, rule, { - valid: valids, - invalid: invalids.map(i => ({ - ...i, - errors: [{ messageId: 'noTsExportEqual' }], - })), - }) +const ruleTester: RuleTester = new RuleTester({ + parser: require.resolve('@typescript-eslint/parser'), +}) + +ruleTester.run(RULE_NAME, rule as any, { + valid: valids, + invalid: invalids.map(i => ({ + ...i, + errors: [{ messageId: 'noTsExportEqual' }], + })), }) diff --git a/packages/eslint-plugin-antfu/src/rules/no-ts-export-equal.ts b/packages/eslint-plugin-antfu/src/rules/no-ts-export-equal.ts index ca578e7..0efc0ec 100644 --- a/packages/eslint-plugin-antfu/src/rules/no-ts-export-equal.ts +++ b/packages/eslint-plugin-antfu/src/rules/no-ts-export-equal.ts @@ -10,7 +10,7 @@ export default createEslintRule({ type: 'problem', docs: { description: 'Do not use `exports =`', - recommended: false, + recommended: 'recommended', }, schema: [], messages: { diff --git a/packages/eslint-plugin-antfu/src/rules/prefer-inline-type-import.test.ts b/packages/eslint-plugin-antfu/src/rules/prefer-inline-type-import.test.ts index c4d93c2..b0c1e12 100644 --- a/packages/eslint-plugin-antfu/src/rules/prefer-inline-type-import.test.ts +++ b/packages/eslint-plugin-antfu/src/rules/prefer-inline-type-import.test.ts @@ -1,5 +1,4 @@ -import { RuleTester } from '@typescript-eslint/utils/dist/ts-eslint' -import { it } from 'vitest' +import { RuleTester } from '@typescript-eslint/rule-tester' import rule, { RULE_NAME } from './prefer-inline-type-import' const valids = [ @@ -12,17 +11,15 @@ const invalids = [ ['import type { Foo } from \'foo\'', 'import { type Foo } from \'foo\''], ] -it('runs', () => { - const ruleTester: RuleTester = new RuleTester({ - parser: require.resolve('@typescript-eslint/parser'), - }) - - ruleTester.run(RULE_NAME, rule, { - valid: valids, - invalid: invalids.map(i => ({ - code: i[0], - output: i[1].trim(), - errors: [{ messageId: 'preferInlineTypeImport' }], - })), - }) +const ruleTester: RuleTester = new RuleTester({ + parser: require.resolve('@typescript-eslint/parser'), +}) + +ruleTester.run(RULE_NAME, rule as any, { + valid: valids, + invalid: invalids.map(i => ({ + code: i[0], + output: i[1].trim(), + errors: [{ messageId: 'preferInlineTypeImport' }], + })), }) diff --git a/packages/eslint-plugin-antfu/src/rules/prefer-inline-type-import.ts b/packages/eslint-plugin-antfu/src/rules/prefer-inline-type-import.ts index 219a750..25c7c3f 100644 --- a/packages/eslint-plugin-antfu/src/rules/prefer-inline-type-import.ts +++ b/packages/eslint-plugin-antfu/src/rules/prefer-inline-type-import.ts @@ -1,7 +1,7 @@ // Ported from https://github.com/gajus/eslint-plugin-canonical/blob/master/src/rules/preferInlineTypeImport.js // by Gajus Kuizinas https://github.com/gajus import type { TSESTree } from '@typescript-eslint/utils' -import type { RuleFixer, SourceCode } from '@typescript-eslint/utils/dist/ts-eslint' +import type { RuleFixer, SourceCode } from '@typescript-eslint/utils/ts-eslint' import { createEslintRule } from '../utils' export const RULE_NAME = 'prefer-inline-type-import' @@ -14,7 +14,6 @@ export default createEslintRule({ type: 'suggestion', docs: { description: 'Inline type import', - recommended: 'error', }, fixable: 'code', schema: [], diff --git a/packages/eslint-plugin-antfu/src/rules/top-level-function.test.ts b/packages/eslint-plugin-antfu/src/rules/top-level-function.test.ts index 2b484d5..3c7c11d 100644 --- a/packages/eslint-plugin-antfu/src/rules/top-level-function.test.ts +++ b/packages/eslint-plugin-antfu/src/rules/top-level-function.test.ts @@ -1,5 +1,4 @@ -import { RuleTester } from '@typescript-eslint/utils/dist/ts-eslint' -import { it } from 'vitest' +import { RuleTester } from '@typescript-eslint/rule-tester' import rule, { RULE_NAME } from './top-level-function' const valids = [ @@ -51,17 +50,15 @@ const invalids = [ ], ] -it('runs', () => { - const ruleTester: RuleTester = new RuleTester({ - parser: require.resolve('@typescript-eslint/parser'), - }) - - ruleTester.run(RULE_NAME, rule, { - valid: valids, - invalid: invalids.map(i => ({ - code: i[0], - output: i[1], - errors: [{ messageId: 'topLevelFunctionDeclaration' }], - })), - }) +const ruleTester: RuleTester = new RuleTester({ + parser: require.resolve('@typescript-eslint/parser'), +}) + +ruleTester.run(RULE_NAME, rule as any, { + valid: valids, + invalid: invalids.map(i => ({ + code: i[0], + output: i[1], + errors: [{ messageId: 'topLevelFunctionDeclaration' }], + })), }) diff --git a/packages/eslint-plugin-antfu/src/rules/top-level-function.ts b/packages/eslint-plugin-antfu/src/rules/top-level-function.ts index db485c5..60e0f72 100644 --- a/packages/eslint-plugin-antfu/src/rules/top-level-function.ts +++ b/packages/eslint-plugin-antfu/src/rules/top-level-function.ts @@ -10,7 +10,7 @@ export default createEslintRule({ type: 'problem', docs: { description: 'Enforce top-level functions to be declared with function keyword', - recommended: 'error', + recommended: 'stylistic', }, fixable: 'code', schema: [], diff --git a/packages/eslint-plugin-antfu/vitest.config.ts b/packages/eslint-plugin-antfu/vitest.config.ts new file mode 100644 index 0000000..47cdb03 --- /dev/null +++ b/packages/eslint-plugin-antfu/vitest.config.ts @@ -0,0 +1,7 @@ +import { defineConfig } from 'vitest/config' + +export default defineConfig({ + test: { + globals: true, + }, +}) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9aae17d..67bee59 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,8 +15,8 @@ importers: specifier: ^9.1.1 version: 9.1.1 eslint: - specifier: ^8.45.0 - version: 8.45.0 + specifier: ^8.46.0 + version: 8.46.0 eslint-plugin-antfu: specifier: link:./packages/eslint-plugin-antfu version: link:packages/eslint-plugin-antfu @@ -33,38 +33,38 @@ importers: specifier: workspace:* version: link:../eslint-config-vue '@typescript-eslint/eslint-plugin': - specifier: ^6.0.0 - version: 6.0.0(@typescript-eslint/parser@6.0.0)(eslint@8.45.0)(typescript@5.1.6) + specifier: ^6.2.1 + version: 6.2.1(@typescript-eslint/parser@6.2.1)(eslint@8.46.0)(typescript@5.1.6) '@typescript-eslint/parser': - specifier: ^6.0.0 - version: 6.0.0(eslint@8.45.0)(typescript@5.1.6) + specifier: ^6.2.1 + version: 6.2.1(eslint@8.46.0)(typescript@5.1.6) eslint-plugin-eslint-comments: specifier: ^3.2.0 - version: 3.2.0(eslint@8.45.0) + version: 3.2.0(eslint@8.46.0) eslint-plugin-html: specifier: ^7.1.0 version: 7.1.0 eslint-plugin-import: - specifier: npm:eslint-plugin-i@2.27.5-4 - version: /eslint-plugin-i@2.27.5-4(@typescript-eslint/parser@6.0.0)(eslint@8.45.0) + specifier: npm:eslint-plugin-i@2.28.0 + version: /eslint-plugin-i@2.28.0(@typescript-eslint/parser@6.2.1)(eslint@8.46.0) eslint-plugin-jsonc: specifier: ^2.9.0 - version: 2.9.0(eslint@8.45.0) + version: 2.9.0(eslint@8.46.0) eslint-plugin-n: specifier: ^16.0.1 - version: 16.0.1(eslint@8.45.0) + version: 16.0.1(eslint@8.46.0) eslint-plugin-promise: specifier: ^6.1.1 - version: 6.1.1(eslint@8.45.0) + version: 6.1.1(eslint@8.46.0) eslint-plugin-unicorn: - specifier: ^48.0.0 - version: 48.0.0(eslint@8.45.0) + specifier: ^48.0.1 + version: 48.0.1(eslint@8.46.0) eslint-plugin-vue: - specifier: ^9.15.1 - version: 9.15.1(eslint@8.45.0) + specifier: ^9.16.1 + version: 9.16.1(eslint@8.46.0) eslint-plugin-yml: specifier: ^1.8.0 - version: 1.8.0(eslint@8.45.0) + version: 1.8.0(eslint@8.46.0) jsonc-eslint-parser: specifier: ^2.3.0 version: 2.3.0 @@ -73,8 +73,8 @@ importers: version: 1.2.2 devDependencies: eslint: - specifier: ^8.45.0 - version: 8.45.0 + specifier: ^8.46.0 + version: 8.46.0 packages/eslint-config-basic: dependencies: @@ -83,37 +83,37 @@ importers: version: link:../eslint-plugin-antfu eslint-plugin-eslint-comments: specifier: ^3.2.0 - version: 3.2.0(eslint@8.45.0) + version: 3.2.0(eslint@8.46.0) eslint-plugin-html: specifier: ^7.1.0 version: 7.1.0 eslint-plugin-import: - specifier: npm:eslint-plugin-i@2.27.5-4 - version: /eslint-plugin-i@2.27.5-4(@typescript-eslint/parser@6.0.0)(eslint@8.45.0) + specifier: npm:eslint-plugin-i@2.28.0 + version: /eslint-plugin-i@2.28.0(@typescript-eslint/parser@6.2.1)(eslint@8.46.0) eslint-plugin-jsonc: specifier: ^2.9.0 - version: 2.9.0(eslint@8.45.0) + version: 2.9.0(eslint@8.46.0) eslint-plugin-markdown: - specifier: ^3.0.0 - version: 3.0.0(eslint@8.45.0) + specifier: ^3.0.1 + version: 3.0.1(eslint@8.46.0) eslint-plugin-n: specifier: ^16.0.1 - version: 16.0.1(eslint@8.45.0) + version: 16.0.1(eslint@8.46.0) eslint-plugin-no-only-tests: specifier: ^3.1.0 version: 3.1.0 eslint-plugin-promise: specifier: ^6.1.1 - version: 6.1.1(eslint@8.45.0) + version: 6.1.1(eslint@8.46.0) eslint-plugin-unicorn: - specifier: ^48.0.0 - version: 48.0.0(eslint@8.45.0) + specifier: ^48.0.1 + version: 48.0.1(eslint@8.46.0) eslint-plugin-unused-imports: specifier: ^3.0.0 - version: 3.0.0(eslint@8.45.0) + version: 3.0.0(eslint@8.46.0) eslint-plugin-yml: specifier: ^1.8.0 - version: 1.8.0(eslint@8.45.0) + version: 1.8.0(eslint@8.46.0) jsonc-eslint-parser: specifier: ^2.3.0 version: 2.3.0 @@ -122,8 +122,8 @@ importers: version: 1.2.2 devDependencies: eslint: - specifier: ^8.45.0 - version: 8.45.0 + specifier: ^8.46.0 + version: 8.46.0 packages/eslint-config-react: dependencies: @@ -131,15 +131,15 @@ importers: specifier: workspace:* version: link:../eslint-config-ts eslint-plugin-react: - specifier: ^7.32.2 - version: 7.32.2(eslint@8.45.0) + specifier: ^7.33.1 + version: 7.33.1(eslint@8.46.0) eslint-plugin-react-hooks: specifier: ^4.6.0 - version: 4.6.0(eslint@8.45.0) + version: 4.6.0(eslint@8.46.0) devDependencies: eslint: - specifier: ^8.45.0 - version: 8.45.0 + specifier: ^8.46.0 + version: 8.46.0 react: specifier: ^18.2.0 version: 18.2.0 @@ -153,21 +153,21 @@ importers: specifier: workspace:* version: link:../eslint-config-basic '@typescript-eslint/eslint-plugin': - specifier: ^6.0.0 - version: 6.0.0(@typescript-eslint/parser@6.0.0)(eslint@8.45.0)(typescript@5.0.2) + specifier: ^6.2.1 + version: 6.2.1(@typescript-eslint/parser@6.2.1)(eslint@8.46.0)(typescript@5.0.2) '@typescript-eslint/parser': - specifier: ^6.0.0 - version: 6.0.0(eslint@8.45.0)(typescript@5.0.2) + specifier: ^6.2.1 + version: 6.2.1(eslint@8.46.0)(typescript@5.0.2) eslint-plugin-jest: specifier: ^27.2.3 - version: 27.2.3(@typescript-eslint/eslint-plugin@6.0.0)(eslint@8.45.0)(typescript@5.0.2) + version: 27.2.3(@typescript-eslint/eslint-plugin@6.2.1)(eslint@8.46.0)(typescript@5.0.2) typescript: specifier: '>=3.9' version: 5.0.2 devDependencies: eslint: - specifier: ^8.45.0 - version: 8.45.0 + specifier: ^8.46.0 + version: 8.46.0 packages/eslint-config-vue: dependencies: @@ -178,31 +178,34 @@ importers: specifier: workspace:* version: link:../eslint-config-ts eslint-plugin-vue: - specifier: ^9.15.1 - version: 9.15.1(eslint@8.45.0) + specifier: ^9.16.1 + version: 9.16.1(eslint@8.46.0) local-pkg: specifier: ^0.4.3 version: 0.4.3 devDependencies: eslint: - specifier: ^8.45.0 - version: 8.45.0 + specifier: ^8.46.0 + version: 8.46.0 packages/eslint-plugin-antfu: dependencies: '@typescript-eslint/utils': - specifier: ^6.0.0 - version: 6.0.0(eslint@8.45.0)(typescript@5.1.6) + specifier: ^6.2.1 + version: 6.2.1(eslint@8.46.0)(typescript@5.1.6) devDependencies: '@types/node': - specifier: ^20.4.2 - version: 20.4.2 + specifier: ^20.4.8 + version: 20.4.8 + '@typescript-eslint/rule-tester': + specifier: ^6.2.1 + version: 6.2.1(@eslint/eslintrc@2.1.0)(eslint@8.46.0)(typescript@5.1.6) unbuild: specifier: ^1.2.1 version: 1.2.1 vitest: - specifier: ^0.33.0 - version: 0.33.0 + specifier: ^0.34.1 + version: 0.34.1 packages: @@ -311,7 +314,7 @@ packages: '@babel/helper-module-imports': 7.18.6 '@babel/helper-simple-access': 7.20.2 '@babel/helper-split-export-declaration': 7.18.6 - '@babel/helper-validator-identifier': 7.19.1 + '@babel/helper-validator-identifier': 7.22.5 '@babel/template': 7.20.7 '@babel/traverse': 7.21.3 '@babel/types': 7.21.3 @@ -338,14 +341,9 @@ packages: engines: {node: '>=6.9.0'} dev: true - /@babel/helper-validator-identifier@7.19.1: - resolution: {integrity: sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==} - engines: {node: '>=6.9.0'} - /@babel/helper-validator-identifier@7.22.5: resolution: {integrity: sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ==} engines: {node: '>=6.9.0'} - dev: false /@babel/helper-validator-option@7.21.0: resolution: {integrity: sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ==} @@ -366,8 +364,9 @@ packages: /@babel/highlight@7.18.6: resolution: {integrity: sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==} engines: {node: '>=6.9.0'} + requiresBuild: true dependencies: - '@babel/helper-validator-identifier': 7.19.1 + '@babel/helper-validator-identifier': 7.22.5 chalk: 2.4.2 js-tokens: 4.0.0 @@ -416,7 +415,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/helper-string-parser': 7.19.4 - '@babel/helper-validator-identifier': 7.19.1 + '@babel/helper-validator-identifier': 7.22.5 to-fast-properties: 2.0.0 dev: true @@ -618,18 +617,23 @@ packages: dev: true optional: true - /@eslint-community/eslint-utils@4.4.0(eslint@8.45.0): + /@eslint-community/eslint-utils@4.4.0(eslint@8.46.0): resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 dependencies: - eslint: 8.45.0 + eslint: 8.46.0 eslint-visitor-keys: 3.4.1 /@eslint-community/regexpp@4.5.0: resolution: {integrity: sha512-vITaYzIcNmjn5tF5uxcZ/ft7/RXGrMUIS9HalWckEOF6ESiwXKoMzAQf2UW0aVd6rnOeExTJVd5hmWXucBKGXQ==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + dev: false + + /@eslint-community/regexpp@4.6.2: + resolution: {integrity: sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} /@eslint/eslintrc@2.1.0: resolution: {integrity: sha512-Lj7DECXqIVCqnqjjHMPna4vn6GJcMgul/wuS0je9OZ9gsL0zzDpKPVtcG1HaDVc+9y+qgXneTeUMbCqXJNpH1A==} @@ -646,9 +650,26 @@ packages: strip-json-comments: 3.1.1 transitivePeerDependencies: - supports-color + dev: true - /@eslint/js@8.44.0: - resolution: {integrity: sha512-Ag+9YM4ocKQx9AarydN0KY2j0ErMHNIocPDrVo8zAE44xLTjEtz81OdR68/cydGtk6m6jDb5Za3r2useMzYmSw==} + /@eslint/eslintrc@2.1.1: + resolution: {integrity: sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + ajv: 6.12.6 + debug: 4.3.4 + espree: 9.6.1 + globals: 13.20.0 + ignore: 5.2.4 + import-fresh: 3.3.0 + js-yaml: 4.1.0 + minimatch: 3.1.2 + strip-json-comments: 3.1.1 + transitivePeerDependencies: + - supports-color + + /@eslint/js@8.46.0: + resolution: {integrity: sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} /@humanwhocodes/config-array@0.11.10: @@ -680,7 +701,7 @@ packages: engines: {node: '>=6.0.0'} dependencies: '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.14 + '@jridgewell/sourcemap-codec': 1.4.15 dev: true /@jridgewell/gen-mapping@0.3.2: @@ -688,7 +709,7 @@ packages: engines: {node: '>=6.0.0'} dependencies: '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.14 + '@jridgewell/sourcemap-codec': 1.4.15 '@jridgewell/trace-mapping': 0.3.17 dev: true @@ -810,7 +831,7 @@ packages: deepmerge: 4.3.1 is-builtin-module: 3.2.1 is-module: 1.0.0 - resolve: 1.22.2 + resolve: 1.22.3 rollup: 3.20.2 dev: true @@ -865,14 +886,17 @@ packages: resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==} dev: false + /@types/json-schema@7.0.12: + resolution: {integrity: sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==} + /@types/mdast@3.0.11: resolution: {integrity: sha512-Y/uImid8aAwrEA24/1tcRZwpxX3pIFTSilcNDKSPn+Y2iDywSEachzRuvgAYYLR3wpGXAsMbv5lvKLDZLeYPAw==} dependencies: '@types/unist': 2.0.6 dev: false - /@types/node@20.4.2: - resolution: {integrity: sha512-Dd0BYtWgnWJKwO1jkmTrzofjK2QXXcai0dmtzvIBhcA+RsG5h8R3xlyta0kGOZRNfL9GuRtb1knmPEhQrePCEw==} + /@types/node@20.4.8: + resolution: {integrity: sha512-0mHckf6D2DiIAzh8fM8f3HQCvMKDpK94YQ0DSVkfWTG9BZleYIWudw9cJxX8oCk9bM+vAkDyujDV6dmKHbvQpg==} dev: true /@types/normalize-package-data@2.4.1: @@ -887,12 +911,15 @@ packages: resolution: {integrity: sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==} dev: false + /@types/semver@7.5.0: + resolution: {integrity: sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==} + /@types/unist@2.0.6: resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} dev: false - /@typescript-eslint/eslint-plugin@6.0.0(@typescript-eslint/parser@6.0.0)(eslint@8.45.0)(typescript@5.0.2): - resolution: {integrity: sha512-xuv6ghKGoiq856Bww/yVYnXGsKa588kY3M0XK7uUW/3fJNNULKRfZfSBkMTSpqGG/8ZCXCadfh8G/z/B4aqS/A==} + /@typescript-eslint/eslint-plugin@6.2.1(@typescript-eslint/parser@6.2.1)(eslint@8.46.0)(typescript@5.0.2): + resolution: {integrity: sha512-iZVM/ALid9kO0+I81pnp1xmYiFyqibAHzrqX4q5YvvVEyJqY+e6rfTXSCsc2jUxGNqJqTfFSSij/NFkZBiBzLw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha @@ -902,28 +929,27 @@ packages: typescript: optional: true dependencies: - '@eslint-community/regexpp': 4.5.0 - '@typescript-eslint/parser': 6.0.0(eslint@8.45.0)(typescript@5.0.2) - '@typescript-eslint/scope-manager': 6.0.0 - '@typescript-eslint/type-utils': 6.0.0(eslint@8.45.0)(typescript@5.0.2) - '@typescript-eslint/utils': 6.0.0(eslint@8.45.0)(typescript@5.0.2) - '@typescript-eslint/visitor-keys': 6.0.0 + '@eslint-community/regexpp': 4.6.2 + '@typescript-eslint/parser': 6.2.1(eslint@8.46.0)(typescript@5.0.2) + '@typescript-eslint/scope-manager': 6.2.1 + '@typescript-eslint/type-utils': 6.2.1(eslint@8.46.0)(typescript@5.0.2) + '@typescript-eslint/utils': 6.2.1(eslint@8.46.0)(typescript@5.0.2) + '@typescript-eslint/visitor-keys': 6.2.1 debug: 4.3.4 - eslint: 8.45.0 - grapheme-splitter: 1.0.4 + eslint: 8.46.0 graphemer: 1.4.0 ignore: 5.2.4 natural-compare: 1.4.0 natural-compare-lite: 1.4.0 - semver: 7.5.3 + semver: 7.5.4 ts-api-utils: 1.0.1(typescript@5.0.2) typescript: 5.0.2 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/eslint-plugin@6.0.0(@typescript-eslint/parser@6.0.0)(eslint@8.45.0)(typescript@5.1.6): - resolution: {integrity: sha512-xuv6ghKGoiq856Bww/yVYnXGsKa588kY3M0XK7uUW/3fJNNULKRfZfSBkMTSpqGG/8ZCXCadfh8G/z/B4aqS/A==} + /@typescript-eslint/eslint-plugin@6.2.1(@typescript-eslint/parser@6.2.1)(eslint@8.46.0)(typescript@5.1.6): + resolution: {integrity: sha512-iZVM/ALid9kO0+I81pnp1xmYiFyqibAHzrqX4q5YvvVEyJqY+e6rfTXSCsc2jUxGNqJqTfFSSij/NFkZBiBzLw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha @@ -933,28 +959,27 @@ packages: typescript: optional: true dependencies: - '@eslint-community/regexpp': 4.5.0 - '@typescript-eslint/parser': 6.0.0(eslint@8.45.0)(typescript@5.1.6) - '@typescript-eslint/scope-manager': 6.0.0 - '@typescript-eslint/type-utils': 6.0.0(eslint@8.45.0)(typescript@5.1.6) - '@typescript-eslint/utils': 6.0.0(eslint@8.45.0)(typescript@5.1.6) - '@typescript-eslint/visitor-keys': 6.0.0 + '@eslint-community/regexpp': 4.6.2 + '@typescript-eslint/parser': 6.2.1(eslint@8.46.0)(typescript@5.1.6) + '@typescript-eslint/scope-manager': 6.2.1 + '@typescript-eslint/type-utils': 6.2.1(eslint@8.46.0)(typescript@5.1.6) + '@typescript-eslint/utils': 6.2.1(eslint@8.46.0)(typescript@5.1.6) + '@typescript-eslint/visitor-keys': 6.2.1 debug: 4.3.4 - eslint: 8.45.0 - grapheme-splitter: 1.0.4 + eslint: 8.46.0 graphemer: 1.4.0 ignore: 5.2.4 natural-compare: 1.4.0 natural-compare-lite: 1.4.0 - semver: 7.5.3 + semver: 7.5.4 ts-api-utils: 1.0.1(typescript@5.1.6) typescript: 5.1.6 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/parser@6.0.0(eslint@8.45.0)(typescript@5.0.2): - resolution: {integrity: sha512-TNaufYSPrr1U8n+3xN+Yp9g31vQDJqhXzzPSHfQDLcaO4tU+mCfODPxCwf4H530zo7aUBE3QIdxCXamEnG04Tg==} + /@typescript-eslint/parser@6.2.1(eslint@8.46.0)(typescript@5.0.2): + resolution: {integrity: sha512-Ld+uL1kYFU8e6btqBFpsHkwQ35rw30IWpdQxgOqOh4NfxSDH6uCkah1ks8R/RgQqI5hHPXMaLy9fbFseIe+dIg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -963,19 +988,19 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.0.0 - '@typescript-eslint/types': 6.0.0 - '@typescript-eslint/typescript-estree': 6.0.0(typescript@5.0.2) - '@typescript-eslint/visitor-keys': 6.0.0 + '@typescript-eslint/scope-manager': 6.2.1 + '@typescript-eslint/types': 6.2.1 + '@typescript-eslint/typescript-estree': 6.2.1(typescript@5.0.2) + '@typescript-eslint/visitor-keys': 6.2.1 debug: 4.3.4 - eslint: 8.45.0 + eslint: 8.46.0 typescript: 5.0.2 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/parser@6.0.0(eslint@8.45.0)(typescript@5.1.6): - resolution: {integrity: sha512-TNaufYSPrr1U8n+3xN+Yp9g31vQDJqhXzzPSHfQDLcaO4tU+mCfODPxCwf4H530zo7aUBE3QIdxCXamEnG04Tg==} + /@typescript-eslint/parser@6.2.1(eslint@8.46.0)(typescript@5.1.6): + resolution: {integrity: sha512-Ld+uL1kYFU8e6btqBFpsHkwQ35rw30IWpdQxgOqOh4NfxSDH6uCkah1ks8R/RgQqI5hHPXMaLy9fbFseIe+dIg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -984,17 +1009,36 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.0.0 - '@typescript-eslint/types': 6.0.0 - '@typescript-eslint/typescript-estree': 6.0.0(typescript@5.1.6) - '@typescript-eslint/visitor-keys': 6.0.0 + '@typescript-eslint/scope-manager': 6.2.1 + '@typescript-eslint/types': 6.2.1 + '@typescript-eslint/typescript-estree': 6.2.1(typescript@5.1.6) + '@typescript-eslint/visitor-keys': 6.2.1 debug: 4.3.4 - eslint: 8.45.0 + eslint: 8.46.0 typescript: 5.1.6 transitivePeerDependencies: - supports-color dev: false + /@typescript-eslint/rule-tester@6.2.1(@eslint/eslintrc@2.1.0)(eslint@8.46.0)(typescript@5.1.6): + resolution: {integrity: sha512-coy6MNuLvqn/rj4dT83b452IzpQEdWJka2GNjivQmneoM/creUiAC54b4AaBu/cBKHc7UdkuhY2axPa4xDau8g==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + '@eslint/eslintrc': '>=2' + eslint: '>=8' + dependencies: + '@eslint/eslintrc': 2.1.0 + '@typescript-eslint/typescript-estree': 6.2.1(typescript@5.1.6) + '@typescript-eslint/utils': 6.2.1(eslint@8.46.0)(typescript@5.1.6) + ajv: 6.12.6 + eslint: 8.46.0 + lodash.merge: 4.6.2 + semver: 7.5.4 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + /@typescript-eslint/scope-manager@5.61.0: resolution: {integrity: sha512-W8VoMjoSg7f7nqAROEmTt6LoBpn81AegP7uKhhW5KzYlehs8VV0ZW0fIDVbcZRcaP3aPSW+JZFua+ysQN+m/Nw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1003,16 +1047,15 @@ packages: '@typescript-eslint/visitor-keys': 5.61.0 dev: false - /@typescript-eslint/scope-manager@6.0.0: - resolution: {integrity: sha512-o4q0KHlgCZTqjuaZ25nw5W57NeykZT9LiMEG4do/ovwvOcPnDO1BI5BQdCsUkjxFyrCL0cSzLjvIMfR9uo7cWg==} + /@typescript-eslint/scope-manager@6.2.1: + resolution: {integrity: sha512-UCqBF9WFqv64xNsIEPfBtenbfodPXsJ3nPAr55mGPkQIkiQvgoWNo+astj9ZUfJfVKiYgAZDMnM6dIpsxUMp3Q==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.0.0 - '@typescript-eslint/visitor-keys': 6.0.0 - dev: false + '@typescript-eslint/types': 6.2.1 + '@typescript-eslint/visitor-keys': 6.2.1 - /@typescript-eslint/type-utils@6.0.0(eslint@8.45.0)(typescript@5.0.2): - resolution: {integrity: sha512-ah6LJvLgkoZ/pyJ9GAdFkzeuMZ8goV6BH7eC9FPmojrnX9yNCIsfjB+zYcnex28YO3RFvBkV6rMV6WpIqkPvoQ==} + /@typescript-eslint/type-utils@6.2.1(eslint@8.46.0)(typescript@5.0.2): + resolution: {integrity: sha512-fTfCgomBMIgu2Dh2Or3gMYgoNAnQm3RLtRp+jP7A8fY+LJ2+9PNpi5p6QB5C4RSP+U3cjI0vDlI3mspAkpPVbQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1021,18 +1064,18 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.0.0(typescript@5.0.2) - '@typescript-eslint/utils': 6.0.0(eslint@8.45.0)(typescript@5.0.2) + '@typescript-eslint/typescript-estree': 6.2.1(typescript@5.0.2) + '@typescript-eslint/utils': 6.2.1(eslint@8.46.0)(typescript@5.0.2) debug: 4.3.4 - eslint: 8.45.0 + eslint: 8.46.0 ts-api-utils: 1.0.1(typescript@5.0.2) typescript: 5.0.2 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/type-utils@6.0.0(eslint@8.45.0)(typescript@5.1.6): - resolution: {integrity: sha512-ah6LJvLgkoZ/pyJ9GAdFkzeuMZ8goV6BH7eC9FPmojrnX9yNCIsfjB+zYcnex28YO3RFvBkV6rMV6WpIqkPvoQ==} + /@typescript-eslint/type-utils@6.2.1(eslint@8.46.0)(typescript@5.1.6): + resolution: {integrity: sha512-fTfCgomBMIgu2Dh2Or3gMYgoNAnQm3RLtRp+jP7A8fY+LJ2+9PNpi5p6QB5C4RSP+U3cjI0vDlI3mspAkpPVbQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -1041,10 +1084,10 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.0.0(typescript@5.1.6) - '@typescript-eslint/utils': 6.0.0(eslint@8.45.0)(typescript@5.1.6) + '@typescript-eslint/typescript-estree': 6.2.1(typescript@5.1.6) + '@typescript-eslint/utils': 6.2.1(eslint@8.46.0)(typescript@5.1.6) debug: 4.3.4 - eslint: 8.45.0 + eslint: 8.46.0 ts-api-utils: 1.0.1(typescript@5.1.6) typescript: 5.1.6 transitivePeerDependencies: @@ -1056,10 +1099,9 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: false - /@typescript-eslint/types@6.0.0: - resolution: {integrity: sha512-Zk9KDggyZM6tj0AJWYYKgF0yQyrcnievdhG0g5FqyU3Y2DRxJn4yWY21sJC0QKBckbsdKKjYDV2yVrrEvuTgxg==} + /@typescript-eslint/types@6.2.1: + resolution: {integrity: sha512-528bGcoelrpw+sETlyM91k51Arl2ajbNT9L4JwoXE2dvRe1yd8Q64E4OL7vHYw31mlnVsf+BeeLyAZUEQtqahQ==} engines: {node: ^16.0.0 || >=18.0.0} - dev: false /@typescript-eslint/typescript-estree@5.61.0(typescript@5.0.2): resolution: {integrity: sha512-Fud90PxONnnLZ36oR5ClJBLTLfU4pIWBmnvGwTbEa2cXIqj70AEDEmOmpkFComjBZ/037ueKrOdHuYmSFVD7Rw==} @@ -1075,15 +1117,15 @@ packages: debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 - semver: 7.5.3 + semver: 7.5.4 tsutils: 3.21.0(typescript@5.0.2) typescript: 5.0.2 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/typescript-estree@6.0.0(typescript@5.0.2): - resolution: {integrity: sha512-2zq4O7P6YCQADfmJ5OTDQTP3ktajnXIRrYAtHM9ofto/CJZV3QfJ89GEaM2BNGeSr1KgmBuLhEkz5FBkS2RQhQ==} + /@typescript-eslint/typescript-estree@6.2.1(typescript@5.0.2): + resolution: {integrity: sha512-G+UJeQx9AKBHRQBpmvr8T/3K5bJa485eu+4tQBxFq0KoT22+jJyzo1B50JDT9QdC1DEmWQfdKsa8ybiNWYsi0Q==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -1091,20 +1133,20 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.0.0 - '@typescript-eslint/visitor-keys': 6.0.0 + '@typescript-eslint/types': 6.2.1 + '@typescript-eslint/visitor-keys': 6.2.1 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 - semver: 7.5.3 + semver: 7.5.4 ts-api-utils: 1.0.1(typescript@5.0.2) typescript: 5.0.2 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/typescript-estree@6.0.0(typescript@5.1.6): - resolution: {integrity: sha512-2zq4O7P6YCQADfmJ5OTDQTP3ktajnXIRrYAtHM9ofto/CJZV3QfJ89GEaM2BNGeSr1KgmBuLhEkz5FBkS2RQhQ==} + /@typescript-eslint/typescript-estree@6.2.1(typescript@5.1.6): + resolution: {integrity: sha512-G+UJeQx9AKBHRQBpmvr8T/3K5bJa485eu+4tQBxFq0KoT22+jJyzo1B50JDT9QdC1DEmWQfdKsa8ybiNWYsi0Q==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -1112,77 +1154,73 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.0.0 - '@typescript-eslint/visitor-keys': 6.0.0 + '@typescript-eslint/types': 6.2.1 + '@typescript-eslint/visitor-keys': 6.2.1 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 - semver: 7.5.3 + semver: 7.5.4 ts-api-utils: 1.0.1(typescript@5.1.6) typescript: 5.1.6 transitivePeerDependencies: - supports-color - dev: false - /@typescript-eslint/utils@5.61.0(eslint@8.45.0)(typescript@5.0.2): + /@typescript-eslint/utils@5.61.0(eslint@8.46.0)(typescript@5.0.2): resolution: {integrity: sha512-mV6O+6VgQmVE6+xzlA91xifndPW9ElFW8vbSF0xCT/czPXVhwDewKila1jOyRwa9AE19zKnrr7Cg5S3pJVrTWQ==} 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.45.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.46.0) '@types/json-schema': 7.0.11 '@types/semver': 7.3.13 '@typescript-eslint/scope-manager': 5.61.0 '@typescript-eslint/types': 5.61.0 '@typescript-eslint/typescript-estree': 5.61.0(typescript@5.0.2) - eslint: 8.45.0 + eslint: 8.46.0 eslint-scope: 5.1.1 - semver: 7.5.3 + semver: 7.5.4 transitivePeerDependencies: - supports-color - typescript dev: false - /@typescript-eslint/utils@6.0.0(eslint@8.45.0)(typescript@5.0.2): - resolution: {integrity: sha512-SOr6l4NB6HE4H/ktz0JVVWNXqCJTOo/mHnvIte1ZhBQ0Cvd04x5uKZa3zT6tiodL06zf5xxdK8COiDvPnQ27JQ==} + /@typescript-eslint/utils@6.2.1(eslint@8.46.0)(typescript@5.0.2): + resolution: {integrity: sha512-eBIXQeupYmxVB6S7x+B9SdBeB6qIdXKjgQBge2J+Ouv8h9Cxm5dHf/gfAZA6dkMaag+03HdbVInuXMmqFB/lKQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.45.0) - '@types/json-schema': 7.0.11 - '@types/semver': 7.3.13 - '@typescript-eslint/scope-manager': 6.0.0 - '@typescript-eslint/types': 6.0.0 - '@typescript-eslint/typescript-estree': 6.0.0(typescript@5.0.2) - eslint: 8.45.0 - eslint-scope: 5.1.1 - semver: 7.5.3 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.46.0) + '@types/json-schema': 7.0.12 + '@types/semver': 7.5.0 + '@typescript-eslint/scope-manager': 6.2.1 + '@typescript-eslint/types': 6.2.1 + '@typescript-eslint/typescript-estree': 6.2.1(typescript@5.0.2) + eslint: 8.46.0 + semver: 7.5.4 transitivePeerDependencies: - supports-color - typescript dev: false - /@typescript-eslint/utils@6.0.0(eslint@8.45.0)(typescript@5.1.6): - resolution: {integrity: sha512-SOr6l4NB6HE4H/ktz0JVVWNXqCJTOo/mHnvIte1ZhBQ0Cvd04x5uKZa3zT6tiodL06zf5xxdK8COiDvPnQ27JQ==} + /@typescript-eslint/utils@6.2.1(eslint@8.46.0)(typescript@5.1.6): + resolution: {integrity: sha512-eBIXQeupYmxVB6S7x+B9SdBeB6qIdXKjgQBge2J+Ouv8h9Cxm5dHf/gfAZA6dkMaag+03HdbVInuXMmqFB/lKQ==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.45.0) - '@types/json-schema': 7.0.11 - '@types/semver': 7.3.13 - '@typescript-eslint/scope-manager': 6.0.0 - '@typescript-eslint/types': 6.0.0 - '@typescript-eslint/typescript-estree': 6.0.0(typescript@5.1.6) - eslint: 8.45.0 - eslint-scope: 5.1.1 - semver: 7.5.3 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.46.0) + '@types/json-schema': 7.0.12 + '@types/semver': 7.5.0 + '@typescript-eslint/scope-manager': 6.2.1 + '@typescript-eslint/types': 6.2.1 + '@typescript-eslint/typescript-estree': 6.2.1(typescript@5.1.6) + eslint: 8.46.0 + semver: 7.5.4 transitivePeerDependencies: - supports-color - typescript - dev: false /@typescript-eslint/visitor-keys@5.61.0: resolution: {integrity: sha512-50XQ5VdbWrX06mQXhy93WywSFZZGsv3EOjq+lqp6WC2t+j3mb6A9xYVdrRxafvK88vg9k9u+CT4l6D8PEatjKg==} @@ -1192,46 +1230,45 @@ packages: eslint-visitor-keys: 3.4.1 dev: false - /@typescript-eslint/visitor-keys@6.0.0: - resolution: {integrity: sha512-cvJ63l8c0yXdeT5POHpL0Q1cZoRcmRKFCtSjNGJxPkcP571EfZMcNbzWAc7oK3D1dRzm/V5EwtkANTZxqvuuUA==} + /@typescript-eslint/visitor-keys@6.2.1: + resolution: {integrity: sha512-iTN6w3k2JEZ7cyVdZJTVJx2Lv7t6zFA8DCrJEHD2mwfc16AEvvBWVhbFh34XyG2NORCd0viIgQY1+u7kPI0WpA==} engines: {node: ^16.0.0 || >=18.0.0} dependencies: - '@typescript-eslint/types': 6.0.0 + '@typescript-eslint/types': 6.2.1 eslint-visitor-keys: 3.4.1 - dev: false - /@vitest/expect@0.33.0: - resolution: {integrity: sha512-sVNf+Gla3mhTCxNJx+wJLDPp/WcstOe0Ksqz4Vec51MmgMth/ia0MGFEkIZmVGeTL5HtjYR4Wl/ZxBxBXZJTzQ==} + /@vitest/expect@0.34.1: + resolution: {integrity: sha512-q2CD8+XIsQ+tHwypnoCk8Mnv5e6afLFvinVGCq3/BOT4kQdVQmY6rRfyKkwcg635lbliLPqbunXZr+L1ssUWiQ==} dependencies: - '@vitest/spy': 0.33.0 - '@vitest/utils': 0.33.0 + '@vitest/spy': 0.34.1 + '@vitest/utils': 0.34.1 chai: 4.3.7 dev: true - /@vitest/runner@0.33.0: - resolution: {integrity: sha512-UPfACnmCB6HKRHTlcgCoBh6ppl6fDn+J/xR8dTufWiKt/74Y9bHci5CKB8tESSV82zKYtkBJo9whU3mNvfaisg==} + /@vitest/runner@0.34.1: + resolution: {integrity: sha512-YfQMpYzDsYB7yqgmlxZ06NI4LurHWfrH7Wy3Pvf/z/vwUSgq1zLAb1lWcItCzQG+NVox+VvzlKQrYEXb47645g==} dependencies: - '@vitest/utils': 0.33.0 + '@vitest/utils': 0.34.1 p-limit: 4.0.0 pathe: 1.1.1 dev: true - /@vitest/snapshot@0.33.0: - resolution: {integrity: sha512-tJjrl//qAHbyHajpFvr8Wsk8DIOODEebTu7pgBrP07iOepR5jYkLFiqLq2Ltxv+r0uptUb4izv1J8XBOwKkVYA==} + /@vitest/snapshot@0.34.1: + resolution: {integrity: sha512-0O9LfLU0114OqdF8lENlrLsnn024Tb1CsS9UwG0YMWY2oGTQfPtkW+B/7ieyv0X9R2Oijhi3caB1xgGgEgclSQ==} dependencies: magic-string: 0.30.1 pathe: 1.1.1 pretty-format: 29.5.0 dev: true - /@vitest/spy@0.33.0: - resolution: {integrity: sha512-Kv+yZ4hnH1WdiAkPUQTpRxW8kGtH8VRTnus7ZTGovFYM1ZezJpvGtb9nPIjPnptHbsyIAxYZsEpVPYgtpjGnrg==} + /@vitest/spy@0.34.1: + resolution: {integrity: sha512-UT4WcI3EAPUNO8n6y9QoEqynGGEPmmRxC+cLzneFFXpmacivjHZsNbiKD88KUScv5DCHVDgdBsLD7O7s1enFcQ==} dependencies: tinyspy: 2.1.1 dev: true - /@vitest/utils@0.33.0: - resolution: {integrity: sha512-pF1w22ic965sv+EN6uoePkAOTkAPWM03Ri/jXNyMIKBb/XHLDPfhLvf/Fa9g0YECevAIz56oVYXhodLvLQ/awA==} + /@vitest/utils@0.34.1: + resolution: {integrity: sha512-/ql9dsFi4iuEbiNcjNHQWXBum7aL8pyhxvfnD9gNtbjR9fUKAjxhj4AA3yfLXg6gJpMGGecvtF8Au2G9y3q47Q==} dependencies: diff-sequences: 29.4.3 loupe: 2.3.6 @@ -1262,6 +1299,7 @@ packages: resolution: {integrity: sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==} engines: {node: '>=0.4.0'} hasBin: true + dev: false /acorn@8.9.0: resolution: {integrity: sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==} @@ -1292,6 +1330,7 @@ packages: /ansi-styles@3.2.1: resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} engines: {node: '>=4'} + requiresBuild: true dependencies: color-convert: 1.9.3 @@ -1338,7 +1377,6 @@ packages: /array-union@2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} - dev: false /array.prototype.flatmap@1.3.1: resolution: {integrity: sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==} @@ -1417,7 +1455,7 @@ packages: /builtins@5.0.1: resolution: {integrity: sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==} dependencies: - semver: 7.5.3 + semver: 7.5.4 dev: false /bumpp@9.1.1: @@ -1493,6 +1531,7 @@ packages: /chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} + requiresBuild: true dependencies: ansi-styles: 3.2.1 escape-string-regexp: 1.0.5 @@ -1568,6 +1607,7 @@ packages: /color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} + requiresBuild: true dependencies: color-name: 1.1.3 @@ -1579,6 +1619,7 @@ packages: /color-name@1.1.3: resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} + requiresBuild: true /color-name@1.1.4: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} @@ -1856,12 +1897,12 @@ packages: dependencies: debug: 3.2.7 is-core-module: 2.12.1 - resolve: 1.22.2 + resolve: 1.22.3 transitivePeerDependencies: - supports-color dev: false - /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.0.0)(eslint-import-resolver-node@0.3.7)(eslint@8.45.0): + /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.2.1)(eslint-import-resolver-node@0.3.7)(eslint@8.46.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -1882,33 +1923,33 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.0.0(eslint@8.45.0)(typescript@5.1.6) + '@typescript-eslint/parser': 6.2.1(eslint@8.46.0)(typescript@5.1.6) debug: 3.2.7 - eslint: 8.45.0 + eslint: 8.46.0 eslint-import-resolver-node: 0.3.7 transitivePeerDependencies: - supports-color dev: false - /eslint-plugin-es-x@7.1.0(eslint@8.45.0): + /eslint-plugin-es-x@7.1.0(eslint@8.46.0): resolution: {integrity: sha512-AhiaF31syh4CCQ+C5ccJA0VG6+kJK8+5mXKKE7Qs1xcPRg02CDPOj3mWlQxuWS/AYtg7kxrDNgW9YW3vc0Q+Mw==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: eslint: '>=8' dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.45.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.46.0) '@eslint-community/regexpp': 4.5.0 - eslint: 8.45.0 + eslint: 8.46.0 dev: false - /eslint-plugin-eslint-comments@3.2.0(eslint@8.45.0): + /eslint-plugin-eslint-comments@3.2.0(eslint@8.46.0): resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==} engines: {node: '>=6.5.0'} peerDependencies: eslint: '>=4.19.1' dependencies: escape-string-regexp: 1.0.5 - eslint: 8.45.0 + eslint: 8.46.0 ignore: 5.2.4 dev: false @@ -1918,22 +1959,22 @@ packages: htmlparser2: 8.0.2 dev: false - /eslint-plugin-i@2.27.5-4(@typescript-eslint/parser@6.0.0)(eslint@8.45.0): - resolution: {integrity: sha512-X3Z+dp9nZw7d/y41EDO6JyFw4WVMOT91SFuoJvL0C0/4M1l6NxQ5mLTjXHuYhq0AazW75pAmj25yMk5wPMzjsw==} + /eslint-plugin-i@2.28.0(@typescript-eslint/parser@6.2.1)(eslint@8.46.0): + resolution: {integrity: sha512-dFK+YXLVmMfWZoQI7+qty+vCESIH91BT9p8ctvQXegwcq8TzGAf80JzPmwRdirfczcQOs51ikrJwAEmNqttC0g==} engines: {node: '>=12'} peerDependencies: eslint: ^7.2.0 || ^8 dependencies: debug: 3.2.7 doctrine: 2.1.0 - eslint: 8.45.0 + eslint: 8.46.0 eslint-import-resolver-node: 0.3.7 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.0.0)(eslint-import-resolver-node@0.3.7)(eslint@8.45.0) - get-tsconfig: 4.6.0 + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.2.1)(eslint-import-resolver-node@0.3.7)(eslint@8.46.0) + get-tsconfig: 4.6.2 is-glob: 4.0.3 minimatch: 3.1.2 resolve: 1.22.3 - semver: 7.5.3 + semver: 7.5.4 transitivePeerDependencies: - '@typescript-eslint/parser' - eslint-import-resolver-typescript @@ -1941,7 +1982,7 @@ packages: - supports-color dev: false - /eslint-plugin-jest@27.2.3(@typescript-eslint/eslint-plugin@6.0.0)(eslint@8.45.0)(typescript@5.0.2): + /eslint-plugin-jest@27.2.3(@typescript-eslint/eslint-plugin@6.2.1)(eslint@8.46.0)(typescript@5.0.2): resolution: {integrity: sha512-sRLlSCpICzWuje66Gl9zvdF6mwD5X86I4u55hJyFBsxYOsBCmT5+kSUjf+fkFWVMMgpzNEupjW8WzUqi83hJAQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: @@ -1954,48 +1995,48 @@ packages: jest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.0.0(@typescript-eslint/parser@6.0.0)(eslint@8.45.0)(typescript@5.0.2) - '@typescript-eslint/utils': 5.61.0(eslint@8.45.0)(typescript@5.0.2) - eslint: 8.45.0 + '@typescript-eslint/eslint-plugin': 6.2.1(@typescript-eslint/parser@6.2.1)(eslint@8.46.0)(typescript@5.0.2) + '@typescript-eslint/utils': 5.61.0(eslint@8.46.0)(typescript@5.0.2) + eslint: 8.46.0 transitivePeerDependencies: - supports-color - typescript dev: false - /eslint-plugin-jsonc@2.9.0(eslint@8.45.0): + /eslint-plugin-jsonc@2.9.0(eslint@8.46.0): resolution: {integrity: sha512-RK+LeONVukbLwT2+t7/OY54NJRccTXh/QbnXzPuTLpFMVZhPuq1C9E07+qWenGx7rrQl0kAalAWl7EmB+RjpGA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.45.0) - eslint: 8.45.0 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.46.0) + eslint: 8.46.0 jsonc-eslint-parser: 2.3.0 natural-compare: 1.4.0 dev: false - /eslint-plugin-markdown@3.0.0(eslint@8.45.0): - resolution: {integrity: sha512-hRs5RUJGbeHDLfS7ELanT0e29Ocyssf/7kBM+p7KluY5AwngGkDf8Oyu4658/NZSGTTq05FZeWbkxXtbVyHPwg==} + /eslint-plugin-markdown@3.0.1(eslint@8.46.0): + resolution: {integrity: sha512-8rqoc148DWdGdmYF6WSQFT3uQ6PO7zXYgeBpHAOAakX/zpq+NvFYbDA/H7PYzHajwtmaOzAwfxyl++x0g1/N9A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.45.0 + eslint: 8.46.0 mdast-util-from-markdown: 0.8.5 transitivePeerDependencies: - supports-color dev: false - /eslint-plugin-n@16.0.1(eslint@8.45.0): + /eslint-plugin-n@16.0.1(eslint@8.46.0): resolution: {integrity: sha512-CDmHegJN0OF3L5cz5tATH84RPQm9kG+Yx39wIqIwPR2C0uhBGMWfbbOtetR83PQjjidA5aXMu+LEFw1jaSwvTA==} engines: {node: '>=16.0.0'} peerDependencies: eslint: '>=7.0.0' dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.45.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.46.0) builtins: 5.0.1 - eslint: 8.45.0 - eslint-plugin-es-x: 7.1.0(eslint@8.45.0) + eslint: 8.46.0 + eslint-plugin-es-x: 7.1.0(eslint@8.46.0) ignore: 5.2.4 is-core-module: 2.12.1 minimatch: 3.1.2 @@ -2008,26 +2049,26 @@ packages: engines: {node: '>=5.0.0'} dev: false - /eslint-plugin-promise@6.1.1(eslint@8.45.0): + /eslint-plugin-promise@6.1.1(eslint@8.46.0): resolution: {integrity: sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 dependencies: - eslint: 8.45.0 + eslint: 8.46.0 dev: false - /eslint-plugin-react-hooks@4.6.0(eslint@8.45.0): + /eslint-plugin-react-hooks@4.6.0(eslint@8.46.0): resolution: {integrity: sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==} engines: {node: '>=10'} peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 dependencies: - eslint: 8.45.0 + eslint: 8.46.0 dev: false - /eslint-plugin-react@7.32.2(eslint@8.45.0): - resolution: {integrity: sha512-t2fBMa+XzonrrNkyVirzKlvn5RXzzPwRHtMvLAtVZrt8oxgnTQaYbU6SXTOO1mwQgp1y5+toMSKInnzGr0Knqg==} + /eslint-plugin-react@7.33.1(eslint@8.46.0): + resolution: {integrity: sha512-L093k0WAMvr6VhNwReB8VgOq5s2LesZmrpPdKz/kZElQDzqS7G7+DnKoqT+w4JwuiGeAhAvHO0fvy0Eyk4ejDA==} engines: {node: '>=4'} peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 @@ -2036,7 +2077,7 @@ packages: array.prototype.flatmap: 1.3.1 array.prototype.tosorted: 1.1.1 doctrine: 2.1.0 - eslint: 8.45.0 + eslint: 8.46.0 estraverse: 5.3.0 jsx-ast-utils: 3.3.3 minimatch: 3.1.2 @@ -2046,21 +2087,21 @@ packages: object.values: 1.1.6 prop-types: 15.8.1 resolve: 2.0.0-next.4 - semver: 6.3.0 + semver: 6.3.1 string.prototype.matchall: 4.0.8 dev: false - /eslint-plugin-unicorn@48.0.0(eslint@8.45.0): - resolution: {integrity: sha512-8fk/v3p1ro34JSVDBEmtOq6EEQRpMR0iTir79q69KnXFZ6DJyPkT3RAi+ZoTqhQMdDSpGh8BGR68ne1sP5cnAA==} + /eslint-plugin-unicorn@48.0.1(eslint@8.46.0): + resolution: {integrity: sha512-FW+4r20myG/DqFcCSzoumaddKBicIPeFnTrifon2mWIzlfyvzwyqZjqVP7m4Cqr/ZYisS2aiLghkUWaPg6vtCw==} engines: {node: '>=16'} peerDependencies: eslint: '>=8.44.0' dependencies: '@babel/helper-validator-identifier': 7.22.5 - '@eslint-community/eslint-utils': 4.4.0(eslint@8.45.0) + '@eslint-community/eslint-utils': 4.4.0(eslint@8.46.0) ci-info: 3.8.0 clean-regexp: 1.0.0 - eslint: 8.45.0 + eslint: 8.46.0 esquery: 1.5.0 indent-string: 4.0.0 is-builtin-module: 3.2.1 @@ -2074,7 +2115,7 @@ packages: strip-indent: 3.0.0 dev: false - /eslint-plugin-unused-imports@3.0.0(eslint@8.45.0): + /eslint-plugin-unused-imports@3.0.0(eslint@8.46.0): resolution: {integrity: sha512-sduiswLJfZHeeBJ+MQaG+xYzSWdRXoSw61DpU13mzWumCkR0ufD0HmO4kdNokjrkluMHpj/7PJeN35pgbhW3kw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: @@ -2084,36 +2125,36 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - eslint: 8.45.0 + eslint: 8.46.0 eslint-rule-composer: 0.3.0 dev: false - /eslint-plugin-vue@9.15.1(eslint@8.45.0): - resolution: {integrity: sha512-CJE/oZOslvmAR9hf8SClTdQ9JLweghT6JCBQNrT2Iel1uVw0W0OLJxzvPd6CxmABKCvLrtyDnqGV37O7KQv6+A==} + /eslint-plugin-vue@9.16.1(eslint@8.46.0): + resolution: {integrity: sha512-2FtnTqazA6aYONfDuOZTk0QzwhAwi7Z4+uJ7+GHeGxcKapjqWlDsRWDenvyG/utyOfAS5bVRmAG3cEWiYEz2bA==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.45.0) - eslint: 8.45.0 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.46.0) + eslint: 8.46.0 natural-compare: 1.4.0 nth-check: 2.1.1 - postcss-selector-parser: 6.0.11 - semver: 7.5.1 - vue-eslint-parser: 9.3.0(eslint@8.45.0) + postcss-selector-parser: 6.0.13 + semver: 7.5.4 + vue-eslint-parser: 9.3.1(eslint@8.46.0) xml-name-validator: 4.0.0 transitivePeerDependencies: - supports-color dev: false - /eslint-plugin-yml@1.8.0(eslint@8.45.0): + /eslint-plugin-yml@1.8.0(eslint@8.46.0): resolution: {integrity: sha512-fgBiJvXD0P2IN7SARDJ2J7mx8t0bLdG6Zcig4ufOqW5hOvSiFxeUyc2g5I1uIm8AExbo26NNYCcTGZT0MXTsyg==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: debug: 4.3.4 - eslint: 8.45.0 + eslint: 8.46.0 lodash: 4.17.21 natural-compare: 1.4.0 yaml-eslint-parser: 1.2.2 @@ -2140,6 +2181,14 @@ packages: dependencies: esrecurse: 4.3.0 estraverse: 5.3.0 + dev: false + + /eslint-scope@7.2.2: + resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + esrecurse: 4.3.0 + estraverse: 5.3.0 /eslint-visitor-keys@3.4.0: resolution: {integrity: sha512-HPpKPUBQcAsZOsHAFwTtIKcYlCje62XB7SEAcxjtmW6TD1WVpkS6i6/hOVtTZIl4zGj/mBqpFVGvaDneik+VoQ==} @@ -2150,15 +2199,19 @@ packages: resolution: {integrity: sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - /eslint@8.45.0: - resolution: {integrity: sha512-pd8KSxiQpdYRfYa9Wufvdoct3ZPQQuVuU5O6scNgMuOMYuxvH0IGaYK0wUFjo4UYYQQCUndlXiMbnxopwvvTiw==} + /eslint-visitor-keys@3.4.2: + resolution: {integrity: sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + + /eslint@8.46.0: + resolution: {integrity: sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.45.0) - '@eslint-community/regexpp': 4.5.0 - '@eslint/eslintrc': 2.1.0 - '@eslint/js': 8.44.0 + '@eslint-community/eslint-utils': 4.4.0(eslint@8.46.0) + '@eslint-community/regexpp': 4.6.2 + '@eslint/eslintrc': 2.1.1 + '@eslint/js': 8.46.0 '@humanwhocodes/config-array': 0.11.10 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 @@ -2168,9 +2221,9 @@ packages: debug: 4.3.4 doctrine: 3.0.0 escape-string-regexp: 4.0.0 - eslint-scope: 7.2.0 - eslint-visitor-keys: 3.4.1 - espree: 9.6.0 + eslint-scope: 7.2.2 + eslint-visitor-keys: 3.4.2 + espree: 9.6.1 esquery: 1.5.0 esutils: 2.0.3 fast-deep-equal: 3.1.3 @@ -2204,15 +2257,6 @@ packages: eslint-visitor-keys: 3.4.1 dev: false - /espree@9.5.2: - resolution: {integrity: sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - dependencies: - acorn: 8.8.2 - acorn-jsx: 5.3.2(acorn@8.8.2) - eslint-visitor-keys: 3.4.1 - dev: false - /espree@9.6.0: resolution: {integrity: sha512-1FH/IiruXZ84tpUlm0aCUEwMl2Ho5ilqVh0VvQXw+byAz/4SAciyHLlfmL5WYqsvD38oymdUwBss0LtK8m4s/A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -2221,6 +2265,14 @@ packages: acorn-jsx: 5.3.2(acorn@8.9.0) eslint-visitor-keys: 3.4.1 + /espree@9.6.1: + resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + acorn: 8.9.0 + acorn-jsx: 5.3.2(acorn@8.9.0) + eslint-visitor-keys: 3.4.2 + /esquery@1.5.0: resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} engines: {node: '>=0.10'} @@ -2399,8 +2451,8 @@ packages: get-intrinsic: 1.2.0 dev: false - /get-tsconfig@4.6.0: - resolution: {integrity: sha512-lgbo68hHTQnFddybKbbs/RDRJnJT5YyGy2kQzVwbq+g67X73i+5MVTval34QxGkOe9X5Ujf1UYpCaphLyltjEg==} + /get-tsconfig@4.6.2: + resolution: {integrity: sha512-E5XrT4CbbXcXWy+1jChlZmrmCwd5KGx502kDCXJJ7y898TtWW9FwoG5HfOLVRKmlmDGkWN2HM9Ho+/Y8F0sJDg==} dependencies: resolve-pkg-maps: 1.0.0 dev: false @@ -2493,7 +2545,6 @@ packages: ignore: 5.2.4 merge2: 1.4.1 slash: 3.0.0 - dev: false /globby@13.1.4: resolution: {integrity: sha512-iui/IiiW+QrJ1X1hKH5qwlMQyv34wJAYwH1vrf8b9kBA4sNiif3gKsMHa+BrdnOpEudWjpotfa7LrTzB1ERS/g==} @@ -2516,10 +2567,6 @@ packages: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} dev: true - /grapheme-splitter@1.0.4: - resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} - dev: false - /graphemer@1.4.0: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} @@ -2530,6 +2577,7 @@ packages: /has-flag@3.0.0: resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} engines: {node: '>=4'} + requiresBuild: true /has-flag@4.0.0: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} @@ -2684,12 +2732,6 @@ packages: engines: {node: '>= 0.4'} dev: false - /is-core-module@2.11.0: - resolution: {integrity: sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==} - dependencies: - has: 1.0.3 - dev: false - /is-core-module@2.12.1: resolution: {integrity: sha512-Q4ZuBAe2FUsKtyQJoQHlvP8OvBERxO3jEmy1I7hcRXcJBGGHFh/aJBswbXuS9sgrDH2QUO8ilkwNPHvHMd8clg==} dependencies: @@ -2962,14 +3004,14 @@ packages: resolution: {integrity: sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==} engines: {node: '>=12'} dependencies: - '@jridgewell/sourcemap-codec': 1.4.14 + '@jridgewell/sourcemap-codec': 1.4.15 dev: true /magic-string@0.30.0: resolution: {integrity: sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==} engines: {node: '>=12'} dependencies: - '@jridgewell/sourcemap-codec': 1.4.14 + '@jridgewell/sourcemap-codec': 1.4.15 dev: true /magic-string@0.30.1: @@ -3087,17 +3129,17 @@ packages: fs-extra: 11.1.1 globby: 13.1.4 jiti: 1.18.2 - mlly: 1.2.0 + mlly: 1.4.0 mri: 1.2.0 - pathe: 1.1.0 + pathe: 1.1.1 typescript: 5.1.6 dev: true /mlly@1.2.0: resolution: {integrity: sha512-+c7A3CV0KGdKcylsI6khWyts/CYrGTrRVo4R/I7u/cUsy0Conxa6LUhiEzVKIw14lc2L5aiO4+SeVe4TeGRKww==} dependencies: - acorn: 8.8.2 - pathe: 1.1.0 + acorn: 8.9.0 + pathe: 1.1.1 pkg-types: 1.0.2 ufo: 1.1.1 dev: true @@ -3148,7 +3190,7 @@ packages: resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} dependencies: hosted-git-info: 2.8.9 - resolve: 1.22.2 + resolve: 1.22.3 semver: 5.7.1 validate-npm-package-license: 3.0.4 dev: false @@ -3362,8 +3404,8 @@ packages: resolution: {integrity: sha512-hM58GKXOcj8WTqUXnsQyJYXdeAPbythQgEF3nTcEo+nkD49chjQ9IKm/QJy9xf6JakXptz86h7ecP2024rrLaQ==} dependencies: jsonc-parser: 3.2.0 - mlly: 1.2.0 - pathe: 1.1.0 + mlly: 1.4.0 + pathe: 1.1.1 dev: true /pkg-types@1.0.3: @@ -3379,8 +3421,8 @@ packages: engines: {node: '>=4'} dev: false - /postcss-selector-parser@6.0.11: - resolution: {integrity: sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g==} + /postcss-selector-parser@6.0.13: + resolution: {integrity: sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ==} engines: {node: '>=4'} dependencies: cssesc: 3.0.0 @@ -3522,6 +3564,7 @@ packages: is-core-module: 2.12.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 + dev: false /resolve@1.22.3: resolution: {integrity: sha512-P8ur/gp/AmbEzjr729bZnLjXK5Z+4P0zhIJgBgzqRih7hL7BOukHGtSTA3ACMY467GRFz3duQsi0bDZdR7DKdw==} @@ -3530,13 +3573,12 @@ packages: is-core-module: 2.12.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 - dev: false /resolve@2.0.0-next.4: resolution: {integrity: sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==} hasBin: true dependencies: - is-core-module: 2.11.0 + is-core-module: 2.12.1 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 dev: false @@ -3566,7 +3608,7 @@ packages: rollup: ^3.0.0 typescript: ^4.1 || ^5.0 dependencies: - magic-string: 0.30.0 + magic-string: 0.30.1 rollup: 3.20.2 typescript: 5.1.6 optionalDependencies: @@ -3606,6 +3648,12 @@ packages: /semver@6.3.0: resolution: {integrity: sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==} hasBin: true + dev: true + + /semver@6.3.1: + resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} + hasBin: true + dev: false /semver@7.3.8: resolution: {integrity: sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==} @@ -3621,6 +3669,7 @@ packages: hasBin: true dependencies: lru-cache: 6.0.0 + dev: true /semver@7.5.3: resolution: {integrity: sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==} @@ -3636,7 +3685,6 @@ packages: hasBin: true dependencies: lru-cache: 6.0.0 - dev: false /shebang-command@2.0.0: resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} @@ -3672,7 +3720,6 @@ packages: /slash@3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} - dev: false /slash@4.0.0: resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} @@ -3792,6 +3839,7 @@ packages: /supports-color@5.5.0: resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} engines: {node: '>=4'} + requiresBuild: true dependencies: has-flag: 3.0.0 @@ -3824,8 +3872,8 @@ packages: resolution: {integrity: sha512-kRwSG8Zx4tjF9ZiyH4bhaebu+EDz1BOx9hOigYHlUW4xxI/wKIUQUqo018UlU4ar6ATPBsaMrdbKZ+tmPdohFA==} dev: true - /tinypool@0.6.0: - resolution: {integrity: sha512-FdswUUo5SxRizcBc6b1GSuLpLjisa8N8qMyYoP3rl+bym+QauhtJP5bvZY1ytt8krKGmMLYIRl36HBZfeAoqhQ==} + /tinypool@0.7.0: + resolution: {integrity: sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==} engines: {node: '>=14.0.0'} dev: true @@ -3861,7 +3909,6 @@ packages: typescript: '>=4.2.0' dependencies: typescript: 5.1.6 - dev: false /tslib@1.14.1: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} @@ -4025,8 +4072,8 @@ packages: spdx-expression-parse: 3.0.1 dev: false - /vite-node@0.33.0(@types/node@20.4.2): - resolution: {integrity: sha512-19FpHYbwWWxDr73ruNahC+vtEdza52kA90Qb3La98yZ0xULqV8A5JLNPUff0f5zID4984tW7l3DH2przTJUZSw==} + /vite-node@0.34.1(@types/node@20.4.8): + resolution: {integrity: sha512-odAZAL9xFMuAg8aWd7nSPT+hU8u2r9gU3LRm9QKjxBEF2rRdWpMuqkrkjvyVQEdNFiBctqr2Gg4uJYizm5Le6w==} engines: {node: '>=v14.18.0'} hasBin: true dependencies: @@ -4035,7 +4082,7 @@ packages: mlly: 1.4.0 pathe: 1.1.1 picocolors: 1.0.0 - vite: 4.2.1(@types/node@20.4.2) + vite: 4.2.1(@types/node@20.4.8) transitivePeerDependencies: - '@types/node' - less @@ -4046,7 +4093,7 @@ packages: - terser dev: true - /vite@4.2.1(@types/node@20.4.2): + /vite@4.2.1(@types/node@20.4.8): resolution: {integrity: sha512-7MKhqdy0ISo4wnvwtqZkjke6XN4taqQ2TBaTccLIpOKv7Vp2h4Y+NpmWCnGDeSvvn45KxvWgGyb0MkHvY1vgbg==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true @@ -4071,17 +4118,17 @@ packages: terser: optional: true dependencies: - '@types/node': 20.4.2 + '@types/node': 20.4.8 esbuild: 0.17.17 postcss: 8.4.21 - resolve: 1.22.2 + resolve: 1.22.3 rollup: 3.20.2 optionalDependencies: fsevents: 2.3.2 dev: true - /vitest@0.33.0: - resolution: {integrity: sha512-1CxaugJ50xskkQ0e969R/hW47za4YXDUfWJDxip1hwbnhUjYolpfUn2AMOulqG/Dtd9WYAtkHmM/m3yKVrEejQ==} + /vitest@0.34.1: + resolution: {integrity: sha512-G1PzuBEq9A75XSU88yO5G4vPT20UovbC/2osB2KEuV/FisSIIsw7m5y2xMdB7RsAGHAfg2lPmp2qKr3KWliVlQ==} engines: {node: '>=v14.18.0'} hasBin: true peerDependencies: @@ -4113,12 +4160,12 @@ packages: dependencies: '@types/chai': 4.3.5 '@types/chai-subset': 1.3.3 - '@types/node': 20.4.2 - '@vitest/expect': 0.33.0 - '@vitest/runner': 0.33.0 - '@vitest/snapshot': 0.33.0 - '@vitest/spy': 0.33.0 - '@vitest/utils': 0.33.0 + '@types/node': 20.4.8 + '@vitest/expect': 0.34.1 + '@vitest/runner': 0.34.1 + '@vitest/snapshot': 0.34.1 + '@vitest/spy': 0.34.1 + '@vitest/utils': 0.34.1 acorn: 8.9.0 acorn-walk: 8.2.0 cac: 6.7.14 @@ -4131,9 +4178,9 @@ packages: std-env: 3.3.3 strip-literal: 1.0.1 tinybench: 2.5.0 - tinypool: 0.6.0 - vite: 4.2.1(@types/node@20.4.2) - vite-node: 0.33.0(@types/node@20.4.2) + tinypool: 0.7.0 + vite: 4.2.1(@types/node@20.4.8) + vite-node: 0.34.1(@types/node@20.4.8) why-is-node-running: 2.2.2 transitivePeerDependencies: - less @@ -4144,20 +4191,20 @@ packages: - terser dev: true - /vue-eslint-parser@9.3.0(eslint@8.45.0): - resolution: {integrity: sha512-48IxT9d0+wArT1+3wNIy0tascRoywqSUe2E1YalIC1L8jsUGe5aJQItWfRok7DVFGz3UYvzEI7n5wiTXsCMAcQ==} + /vue-eslint-parser@9.3.1(eslint@8.46.0): + resolution: {integrity: sha512-Clr85iD2XFZ3lJ52/ppmUDG/spxQu6+MAeHXjjyI4I1NUYZ9xmenQp4N0oaHJhrA8OOxltCVxMRfANGa70vU0g==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: '>=6.0.0' dependencies: debug: 4.3.4 - eslint: 8.45.0 + eslint: 8.46.0 eslint-scope: 7.2.0 eslint-visitor-keys: 3.4.1 - espree: 9.5.2 + espree: 9.6.0 esquery: 1.5.0 lodash: 4.17.21 - semver: 7.5.1 + semver: 7.5.4 transitivePeerDependencies: - supports-color dev: false diff --git a/tsconfig.json b/tsconfig.json index 847fe47..de2a6ad 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,8 @@ "baseUrl": ".", "target": "es2020", "module": "es2020", - "moduleResolution": "node" + "moduleResolution": "Bundler", + "esModuleInterop": true }, "include": [ "./packages/**/*.ts"