diff --git a/package.json b/package.json index 8dff886..d390824 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "prepare": "husky" }, "devDependencies": { - "@antfu/eslint-config": "^4.16.1", + "@antfu/eslint-config": "^4.16.2", "@types/node": "^24.0.3", "eslint": "^9.29.0", "husky": "^9.1.7", diff --git a/yarn.lock b/yarn.lock index a624bf2..65042b3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15,18 +15,18 @@ __metadata: languageName: node linkType: hard -"@antfu/eslint-config@npm:^4.16.1": - version: 4.16.1 - resolution: "@antfu/eslint-config@npm:4.16.1" +"@antfu/eslint-config@npm:^4.16.2": + version: 4.16.2 + resolution: "@antfu/eslint-config@npm:4.16.2" dependencies: "@antfu/install-pkg": "npm:^1.1.0" "@clack/prompts": "npm:^0.11.0" "@eslint-community/eslint-plugin-eslint-comments": "npm:^4.5.0" "@eslint/markdown": "npm:^6.6.0" - "@stylistic/eslint-plugin": "npm:^5.0.0" - "@typescript-eslint/eslint-plugin": "npm:^8.34.1" - "@typescript-eslint/parser": "npm:^8.34.1" - "@vitest/eslint-plugin": "npm:^1.2.7" + "@stylistic/eslint-plugin": "npm:^5.1.0" + "@typescript-eslint/eslint-plugin": "npm:^8.35.1" + "@typescript-eslint/parser": "npm:^8.35.1" + "@vitest/eslint-plugin": "npm:^1.3.4" ansis: "npm:^4.1.0" cac: "npm:^6.7.14" eslint-config-flat-gitignore: "npm:^2.1.0" @@ -35,7 +35,7 @@ __metadata: eslint-plugin-antfu: "npm:^3.1.1" eslint-plugin-command: "npm:^3.3.1" eslint-plugin-import-lite: "npm:^0.3.0" - eslint-plugin-jsdoc: "npm:^51.2.1" + eslint-plugin-jsdoc: "npm:^51.3.2" eslint-plugin-jsonc: "npm:^2.20.1" eslint-plugin-n: "npm:^17.20.0" eslint-plugin-no-only-tests: "npm:^3.3.0" @@ -48,12 +48,12 @@ __metadata: eslint-plugin-vue: "npm:^10.2.0" eslint-plugin-yml: "npm:^1.18.0" eslint-processor-vue-blocks: "npm:^2.0.0" - globals: "npm:^16.2.0" + globals: "npm:^16.3.0" jsonc-eslint-parser: "npm:^2.4.0" local-pkg: "npm:^1.1.1" parse-gitignore: "npm:^2.0.0" toml-eslint-parser: "npm:^0.10.0" - vue-eslint-parser: "npm:^10.1.3" + vue-eslint-parser: "npm:^10.2.0" yaml-eslint-parser: "npm:^1.3.0" peerDependencies: "@eslint-react/eslint-plugin": ^1.38.4 @@ -102,7 +102,7 @@ __metadata: optional: true bin: eslint-config: bin/index.js - checksum: 10c0/d75032a042c574011e9187f37f8673d73a63c60cf979daf60d66824a70dbc6fa89a54fa003302fde92be51a5e07c163333aaac80c956587616696cb32edfe77d + checksum: 10c0/9e7ed79bd3e70916471a076122cea2470c81c74b12fbef377ddf8df939078f597a7ee1553f75746588ffdd4746a7910e786ee199b294be2933b359893f39de5d languageName: node linkType: hard @@ -1096,9 +1096,9 @@ __metadata: languageName: node linkType: hard -"@stylistic/eslint-plugin@npm:^5.0.0": - version: 5.0.0 - resolution: "@stylistic/eslint-plugin@npm:5.0.0" +"@stylistic/eslint-plugin@npm:^5.1.0": + version: 5.1.0 + resolution: "@stylistic/eslint-plugin@npm:5.1.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.7.0" "@typescript-eslint/types": "npm:^8.34.1" @@ -1108,7 +1108,7 @@ __metadata: picomatch: "npm:^4.0.2" peerDependencies: eslint: ">=9.0.0" - checksum: 10c0/3827a350a12456dd2d02d53a01377a5848ea7ecf66e23671c8ec8e5f41173b68decfd462022bdb5042fee0cf1c2f1496ada7042e240dc6d3ba4bece414142d0f + checksum: 10c0/a56555c14859e4a9c7abf9667d047b6289d93be0e0bdf4eee118bdbe96bb164d7453ef397cd7623a139147dc643382493df6eb2c5431142edb1f17db73fa9058 languageName: node linkType: hard @@ -1206,40 +1206,40 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^8.34.1": - version: 8.35.0 - resolution: "@typescript-eslint/eslint-plugin@npm:8.35.0" +"@typescript-eslint/eslint-plugin@npm:^8.35.1": + version: 8.35.1 + resolution: "@typescript-eslint/eslint-plugin@npm:8.35.1" dependencies: "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:8.35.0" - "@typescript-eslint/type-utils": "npm:8.35.0" - "@typescript-eslint/utils": "npm:8.35.0" - "@typescript-eslint/visitor-keys": "npm:8.35.0" + "@typescript-eslint/scope-manager": "npm:8.35.1" + "@typescript-eslint/type-utils": "npm:8.35.1" + "@typescript-eslint/utils": "npm:8.35.1" + "@typescript-eslint/visitor-keys": "npm:8.35.1" graphemer: "npm:^1.4.0" ignore: "npm:^7.0.0" natural-compare: "npm:^1.4.0" ts-api-utils: "npm:^2.1.0" peerDependencies: - "@typescript-eslint/parser": ^8.35.0 + "@typescript-eslint/parser": ^8.35.1 eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <5.9.0" - checksum: 10c0/27391f1b168a175fdc62370e5afe51317d4433115abbbff8ee0aea8ecd7bf6dd541a76f8e0cc94119750ae3146863204862640acb45394f0b92809e88d39f881 + checksum: 10c0/0f369be24644ebea30642512ddae0e602e4ca6bc55ae09d9860f16a3baae6aee1a376c182c61b43d12bc137156e3931f6bac3c73919c9c81b32c962bb5bc544e languageName: node linkType: hard -"@typescript-eslint/parser@npm:^8.34.1": - version: 8.35.0 - resolution: "@typescript-eslint/parser@npm:8.35.0" +"@typescript-eslint/parser@npm:^8.35.1": + version: 8.35.1 + resolution: "@typescript-eslint/parser@npm:8.35.1" dependencies: - "@typescript-eslint/scope-manager": "npm:8.35.0" - "@typescript-eslint/types": "npm:8.35.0" - "@typescript-eslint/typescript-estree": "npm:8.35.0" - "@typescript-eslint/visitor-keys": "npm:8.35.0" + "@typescript-eslint/scope-manager": "npm:8.35.1" + "@typescript-eslint/types": "npm:8.35.1" + "@typescript-eslint/typescript-estree": "npm:8.35.1" + "@typescript-eslint/visitor-keys": "npm:8.35.1" debug: "npm:^4.3.4" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <5.9.0" - checksum: 10c0/8f1cda98f8bee3d79266974e5e5c831a0ca473e928fb16f1dc1c85ee24f2cb9c0fcf3c1bcbbef9d6044cf063f6e59d3198b766a27000776830fe591043e11625 + checksum: 10c0/949383d74f6db1b91f90923d50f0ecbacaa972fd56e70553c803a8f64131345afdaf096cf1c1fc4a833ddc06ee44b241811edb5d516d769e244560f5b7f0e0af languageName: node linkType: hard @@ -1269,6 +1269,19 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/project-service@npm:8.35.1": + version: 8.35.1 + resolution: "@typescript-eslint/project-service@npm:8.35.1" + dependencies: + "@typescript-eslint/tsconfig-utils": "npm:^8.35.1" + "@typescript-eslint/types": "npm:^8.35.1" + debug: "npm:^4.3.4" + peerDependencies: + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/f8e88d773d7e9f193a05b4daeca1e7571fa0059b36ffad291fc6d83c9df94fbe38c935e076ae29e755bcb6008c4ee5c1073ebb2077258c5c0b53c76a23eb3c16 + languageName: node + linkType: hard + "@typescript-eslint/scope-manager@npm:8.34.0": version: 8.34.0 resolution: "@typescript-eslint/scope-manager@npm:8.34.0" @@ -1289,6 +1302,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/scope-manager@npm:8.35.1": + version: 8.35.1 + resolution: "@typescript-eslint/scope-manager@npm:8.35.1" + dependencies: + "@typescript-eslint/types": "npm:8.35.1" + "@typescript-eslint/visitor-keys": "npm:8.35.1" + checksum: 10c0/ddfa0b81f47402874efcdd8e0857142600d90fc4e827243ed0fd058731e77e4beb8f5a60425117d1d4146d84437f538cf303f7bfebbd0f02733b202aa30a8393 + languageName: node + linkType: hard + "@typescript-eslint/tsconfig-utils@npm:8.34.0, @typescript-eslint/tsconfig-utils@npm:^8.34.0": version: 8.34.0 resolution: "@typescript-eslint/tsconfig-utils@npm:8.34.0" @@ -1307,18 +1330,27 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:8.35.0": - version: 8.35.0 - resolution: "@typescript-eslint/type-utils@npm:8.35.0" +"@typescript-eslint/tsconfig-utils@npm:8.35.1, @typescript-eslint/tsconfig-utils@npm:^8.35.1": + version: 8.35.1 + resolution: "@typescript-eslint/tsconfig-utils@npm:8.35.1" + peerDependencies: + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/a11b53e05fbc59eff3f95619847fb7222d8b2aa613e602524c9b700be3ce0d48bcf5e5932869df4658f514bd2cdc87c857d484472af3f3f3adf88b6e7e1c26f3 + languageName: node + linkType: hard + +"@typescript-eslint/type-utils@npm:8.35.1": + version: 8.35.1 + resolution: "@typescript-eslint/type-utils@npm:8.35.1" dependencies: - "@typescript-eslint/typescript-estree": "npm:8.35.0" - "@typescript-eslint/utils": "npm:8.35.0" + "@typescript-eslint/typescript-estree": "npm:8.35.1" + "@typescript-eslint/utils": "npm:8.35.1" debug: "npm:^4.3.4" ts-api-utils: "npm:^2.1.0" peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: ">=4.8.4 <5.9.0" - checksum: 10c0/9e23a332484a055eb73ba8918f95a981e0cec8fa623ba9ee0b57328af052628d630a415e32e0dbe95318574e62d4066f8aecc994728b3cedd906f36c616ec362 + checksum: 10c0/09041dd64684823da169c0668e6187d237c728bf54771003dc6ddaa895cbd11ad401ff14f096451c689e37815a791ef77beaf80d1f8bbf6b92ee3edbf346bc7c languageName: node linkType: hard @@ -1336,6 +1368,13 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/types@npm:8.35.1, @typescript-eslint/types@npm:^8.35.1": + version: 8.35.1 + resolution: "@typescript-eslint/types@npm:8.35.1" + checksum: 10c0/136dd1c7a39685baa398406423a97a4b6a66e6aed7cbd6ae698a89b0fde92c76f1415294bec612791d67d7917fda280caa65b9d761e2744e8143506d1f417fb2 + languageName: node + linkType: hard + "@typescript-eslint/typescript-estree@npm:8.34.0": version: 8.34.0 resolution: "@typescript-eslint/typescript-estree@npm:8.34.0" @@ -1376,7 +1415,42 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:8.35.0, @typescript-eslint/utils@npm:^8.24.1, @typescript-eslint/utils@npm:^8.34.1": +"@typescript-eslint/typescript-estree@npm:8.35.1": + version: 8.35.1 + resolution: "@typescript-eslint/typescript-estree@npm:8.35.1" + dependencies: + "@typescript-eslint/project-service": "npm:8.35.1" + "@typescript-eslint/tsconfig-utils": "npm:8.35.1" + "@typescript-eslint/types": "npm:8.35.1" + "@typescript-eslint/visitor-keys": "npm:8.35.1" + debug: "npm:^4.3.4" + fast-glob: "npm:^3.3.2" + is-glob: "npm:^4.0.3" + minimatch: "npm:^9.0.4" + semver: "npm:^7.6.0" + ts-api-utils: "npm:^2.1.0" + peerDependencies: + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/6ef093cf9d7a54a323b3d112c78309b2c24c0f94e2c5b61401db9390eb7ffa3ab1da066c497907d58f0bba6986984ac73a478febd91f0bf11598108cc49f6e02 + languageName: node + linkType: hard + +"@typescript-eslint/utils@npm:8.35.1": + version: 8.35.1 + resolution: "@typescript-eslint/utils@npm:8.35.1" + dependencies: + "@eslint-community/eslint-utils": "npm:^4.7.0" + "@typescript-eslint/scope-manager": "npm:8.35.1" + "@typescript-eslint/types": "npm:8.35.1" + "@typescript-eslint/typescript-estree": "npm:8.35.1" + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: ">=4.8.4 <5.9.0" + checksum: 10c0/1fa4877caae48961d160b88fc974bb7bfe355ca2f8f6915987427354ca23621698041678adab5964caf9ad62c17b349110136890688f13b10ab1aaad74ae63d9 + languageName: node + linkType: hard + +"@typescript-eslint/utils@npm:^8.24.1, @typescript-eslint/utils@npm:^8.34.1": version: 8.35.0 resolution: "@typescript-eslint/utils@npm:8.35.0" dependencies: @@ -1426,6 +1500,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/visitor-keys@npm:8.35.1": + version: 8.35.1 + resolution: "@typescript-eslint/visitor-keys@npm:8.35.1" + dependencies: + "@typescript-eslint/types": "npm:8.35.1" + eslint-visitor-keys: "npm:^4.2.1" + checksum: 10c0/55b9eb15842a5d5dca11375e436340c731e01b07190c741d2656330f3e4d88b59e1bf3d677681dd091460be2b6e5f2c42e92faea36f947d25382ead5e8118108 + languageName: node + linkType: hard + "@ungap/structured-clone@npm:^1.0.0": version: 1.3.0 resolution: "@ungap/structured-clone@npm:1.3.0" @@ -1460,9 +1544,9 @@ __metadata: languageName: node linkType: hard -"@vitest/eslint-plugin@npm:^1.2.7": - version: 1.2.7 - resolution: "@vitest/eslint-plugin@npm:1.2.7" +"@vitest/eslint-plugin@npm:^1.3.4": + version: 1.3.4 + resolution: "@vitest/eslint-plugin@npm:1.3.4" dependencies: "@typescript-eslint/utils": "npm:^8.24.1" peerDependencies: @@ -1474,7 +1558,7 @@ __metadata: optional: true vitest: optional: true - checksum: 10c0/85f71e977ed898345fbe32aaa3c149a5ec62b447a021978c002ce8c10494249f5d47f84eee7e5ee68df323fe893dd7a5fe2a04dab8daa6bd3e3f898196bdc340 + checksum: 10c0/26ee3fabfcbd37d55ccf4912bf0e12ee85320c362096ff9537f70dc094364419f25e626c62e7b94d93f758fb732d34811438c669ad58ea080c29d5a4ac459c05 languageName: node linkType: hard @@ -2567,9 +2651,9 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-jsdoc@npm:^51.2.1": - version: 51.2.3 - resolution: "eslint-plugin-jsdoc@npm:51.2.3" +"eslint-plugin-jsdoc@npm:^51.3.2": + version: 51.3.3 + resolution: "eslint-plugin-jsdoc@npm:51.3.3" dependencies: "@es-joy/jsdoccomment": "npm:~0.52.0" are-docs-informative: "npm:^0.0.2" @@ -2583,7 +2667,7 @@ __metadata: spdx-expression-parse: "npm:^4.0.0" peerDependencies: eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 - checksum: 10c0/6683aacf8b19cc59e78912932cfd9a1bf9587323e701a6a1d93c11c611a8785d777a4eb5b07a153bc6e59d836b65dd5deaef872e9af5d68bb623245a00b10c0d + checksum: 10c0/ff3f6a930ac6e158299d5b805102699baf74895c52e9716f91c6b8a511a018ea728045d0ddf04afb0a406e71eacd27dd419eb9a6f08b577f9694624b6e73c1f7 languageName: node linkType: hard @@ -3242,13 +3326,20 @@ __metadata: languageName: node linkType: hard -"globals@npm:^16.0.0, globals@npm:^16.2.0": +"globals@npm:^16.0.0": version: 16.2.0 resolution: "globals@npm:16.2.0" checksum: 10c0/c2b3ea163faa6f8a38076b471b12f4bda891f7df7f7d2e8294fb4801d735a51a73431bf4c1696c5bf5dbca5e0a0db894698acfcbd3068730c6b12eef185dea25 languageName: node linkType: hard +"globals@npm:^16.3.0": + version: 16.3.0 + resolution: "globals@npm:16.3.0" + checksum: 10c0/c62dc20357d1c0bf2be4545d6c4141265d1a229bf1c3294955efb5b5ef611145391895e3f2729f8603809e81b30b516c33e6c2597573844449978606aad6eb38 + languageName: node + linkType: hard + "graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" @@ -3580,7 +3671,7 @@ __metadata: version: 0.0.0-use.local resolution: "jianjia@workspace:." dependencies: - "@antfu/eslint-config": "npm:^4.16.1" + "@antfu/eslint-config": "npm:^4.16.2" "@types/node": "npm:^24.0.3" eslint: "npm:^9.29.0" husky: "npm:^9.1.7" @@ -3764,7 +3855,7 @@ __metadata: languageName: node linkType: hard -"lodash@npm:^4.17.19, lodash@npm:^4.17.21, lodash@npm:~4.17.15": +"lodash@npm:^4.17.19, lodash@npm:~4.17.15": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: 10c0/d8cbea072bb08655bb4c989da418994b073a608dffa608b09ac04b43a791b12aeae7cd7ad919aa4c925f33b48490b5cfe6c1f71d827956071dae2e7bb3a6b74c @@ -6109,20 +6200,19 @@ __metadata: languageName: node linkType: hard -"vue-eslint-parser@npm:^10.1.3": - version: 10.1.3 - resolution: "vue-eslint-parser@npm:10.1.3" +"vue-eslint-parser@npm:^10.2.0": + version: 10.2.0 + resolution: "vue-eslint-parser@npm:10.2.0" dependencies: debug: "npm:^4.4.0" eslint-scope: "npm:^8.2.0" eslint-visitor-keys: "npm:^4.2.0" espree: "npm:^10.3.0" esquery: "npm:^1.6.0" - lodash: "npm:^4.17.21" semver: "npm:^7.6.3" peerDependencies: eslint: ^8.57.0 || ^9.0.0 - checksum: 10c0/b4a045113966a90d0b8248a9e9eb67db65e654335cedab5d8a2dd01e0d4f1d95caf4135fe9d6a2739cc8cef1ff6f4da9457ea7ba118176d5a5b6a22862661f58 + checksum: 10c0/44424733b9a75cde2c7c3ad03427264cc39eb0c1300f3157d4476b7faf9ff3d567b725b17a60bcfb03f42eb6c32a190473d27f4e1866081e019b3e1cd0e53799 languageName: node linkType: hard