diff --git a/.gitignore b/.gitignore index 8d67a86..385f17c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .DS_Store node_modules dist +tsconfig.tsbuildinfo diff --git a/package.json b/package.json index b4b5329..7db4939 100644 --- a/package.json +++ b/package.json @@ -32,9 +32,8 @@ ], "dependencies": { "@stylistic/eslint-plugin-ts": "^2.2.2", - "@typescript-eslint/eslint-plugin": "^8.0.0-alpha.30", - "@typescript-eslint/parser": "^8.0.0-alpha.30", - "@typescript-eslint/utils": "^8.0.0-alpha.30", + "@typescript-eslint/parser": "^8.58.0", + "@typescript-eslint/utils": "^8.58.0", "common-tags": "^1.8.2", "eslint": "^9.5.0", "eslint-config-prettier": "^9.1.0", @@ -42,21 +41,16 @@ "eslint-plugin-jsonc": "^2.16.0", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-unicorn": "^55.0.0", - "globals": "^15.6.0", - "typescript-eslint": "^8.0.0-alpha.30" + "typescript-eslint": "^8.58.0" }, "devDependencies": { "@blitz/eslint-plugin": "link:./", "@types/common-tags": "^1.8.4", "@types/eslint": "^8.56.10", "@types/node": "^20.14.8", - "@typescript-eslint/rule-tester": "^8.0.0-alpha.30", "eslint-vitest-rule-tester": "^0.3.2", "prettier": "^3.3.2", - "typescript": "~5.4.5", + "typescript": "~6.0.0", "vitest": "^1.6.0" - }, - "resolutions": { - "@typescript-eslint/utils": "^8.0.0-alpha.30" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4a645ea..343cf74 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,22 +4,16 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false -overrides: - '@typescript-eslint/utils': ^8.0.0-alpha.30 - dependencies: '@stylistic/eslint-plugin-ts': specifier: ^2.2.2 - version: 2.3.0(eslint@9.7.0)(typescript@5.4.5) - '@typescript-eslint/eslint-plugin': - specifier: ^8.0.0-alpha.30 - version: 8.0.0-alpha.45(@typescript-eslint/parser@8.0.0-alpha.45)(eslint@9.7.0)(typescript@5.4.5) + version: 2.3.0(eslint@9.7.0)(typescript@6.0.3) '@typescript-eslint/parser': - specifier: ^8.0.0-alpha.30 - version: 8.0.0-alpha.45(eslint@9.7.0)(typescript@5.4.5) + specifier: ^8.58.0 + version: 8.74.0(eslint@9.7.0)(typescript@6.0.3) '@typescript-eslint/utils': - specifier: ^8.0.0-alpha.30 - version: 8.0.0-alpha.45(eslint@9.7.0)(typescript@5.4.5) + specifier: ^8.58.0 + version: 8.74.0(eslint@9.7.0)(typescript@6.0.3) common-tags: specifier: ^1.8.2 version: 1.8.2 @@ -31,7 +25,7 @@ dependencies: version: 9.1.0(eslint@9.7.0) eslint-plugin-import-x: specifier: ^3.0.1 - version: 3.0.1(eslint@9.7.0)(typescript@5.4.5) + version: 3.0.1(eslint@9.7.0)(typescript@6.0.3) eslint-plugin-jsonc: specifier: ^2.16.0 version: 2.16.0(eslint@9.7.0) @@ -41,12 +35,9 @@ dependencies: eslint-plugin-unicorn: specifier: ^55.0.0 version: 55.0.0(eslint@9.7.0) - globals: - specifier: ^15.6.0 - version: 15.8.0 typescript-eslint: - specifier: ^8.0.0-alpha.30 - version: 8.0.0-alpha.45(eslint@9.7.0)(typescript@5.4.5) + specifier: ^8.58.0 + version: 8.74.0(eslint@9.7.0)(typescript@6.0.3) devDependencies: '@blitz/eslint-plugin': @@ -61,18 +52,15 @@ devDependencies: '@types/node': specifier: ^20.14.8 version: 20.14.11 - '@typescript-eslint/rule-tester': - specifier: ^8.0.0-alpha.30 - version: 8.0.0-alpha.45(@eslint/eslintrc@3.1.0)(eslint@9.7.0)(typescript@5.4.5) eslint-vitest-rule-tester: specifier: ^0.3.2 - version: 0.3.3(eslint@9.7.0)(typescript@5.4.5)(vitest@1.6.0) + version: 0.3.3(eslint@9.7.0)(typescript@6.0.3)(vitest@1.6.0) prettier: specifier: ^3.3.2 version: 3.3.3 typescript: - specifier: ~5.4.5 - version: 5.4.5 + specifier: ~6.0.0 + version: 6.0.3 vitest: specifier: ^1.6.0 version: 1.6.0(@types/node@20.14.11) @@ -313,6 +301,16 @@ packages: dev: true optional: true + /@eslint-community/eslint-utils@4.10.1(eslint@9.7.0): + resolution: {integrity: sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + dependencies: + eslint: 9.7.0 + eslint-visitor-keys: 3.4.3 + dev: false + /@eslint-community/eslint-utils@4.4.0(eslint@9.7.0): resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -326,6 +324,11 @@ packages: resolution: {integrity: sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + /@eslint-community/regexpp@4.12.3: + resolution: {integrity: sha512-R76UKbvsqI68DJJVTVyqFKqU98CN4+B+acxNfEA2IFarSzP0SjtKf/3+fFiXzTyv5Fj3PxLkGHe2wnVWWMxobQ==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + dev: false + /@eslint/config-array@0.17.0: resolution: {integrity: sha512-A68TBu6/1mHHuc5YJL0U0VVeGNiklLAL6rRmhTCP2B5XjWLMnrX+HkO+IAXyHvks5cyyY1jjK5ITPQ1HGS2EVA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -368,6 +371,10 @@ packages: resolution: {integrity: sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==} engines: {node: '>=18.18'} + /@isaacs/nonrecursive-glob-match@1.1.0: + resolution: {integrity: sha512-GPm/Dbvk5RLmhRnxXIa7nTpK0xtl4E0wj0MslsuNiJ1FIROU+2+9lgUC/dgF7Ey4QCWhfEsgxilMRMCdHPfDfw==} + dev: false + /@jest/schemas@29.6.3: resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -551,7 +558,7 @@ packages: espree: 10.1.0 dev: false - /@stylistic/eslint-plugin-ts@2.3.0(eslint@9.7.0)(typescript@5.4.5): + /@stylistic/eslint-plugin-ts@2.3.0(eslint@9.7.0)(typescript@6.0.3): resolution: {integrity: sha512-wqOR38/uz/0XPnHX68ftp8sNMSAqnYGjovOTN7w00xnjS6Lxr3Sk7q6AaxWWqbMvOj7V2fQiMC5HWAbTruJsCg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: @@ -559,7 +566,7 @@ packages: dependencies: '@stylistic/eslint-plugin-js': 2.3.0(eslint@9.7.0) '@types/eslint': 8.56.10 - '@typescript-eslint/utils': 8.0.0-alpha.45(eslint@9.7.0)(typescript@5.4.5) + '@typescript-eslint/utils': 7.18.0(eslint@9.7.0)(typescript@6.0.3) eslint: 9.7.0 transitivePeerDependencies: - supports-color @@ -592,147 +599,208 @@ packages: resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} dev: false - /@typescript-eslint/eslint-plugin@8.0.0-alpha.45(@typescript-eslint/parser@8.0.0-alpha.45)(eslint@9.7.0)(typescript@5.4.5): - resolution: {integrity: sha512-h+pGHKWu+i5D6BmzpggG8bDj/fVVhxzQLE2CPsKtH1ab0QvUz+eyT/lIfz0xs8NF/lQS7tmlU5AYnQdKe1yAQw==} + /@typescript-eslint/eslint-plugin@8.74.0(@typescript-eslint/parser@8.74.0)(eslint@9.7.0)(typescript@6.0.3): + resolution: {integrity: sha512-z3KXk1+Vm+d82ZRplOoC89ho4Rf1da5ju6sx8//92GnN532U62DGPjECXkkVqtYzIv0zoJlpO39SX2Z9tk6LVw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 - eslint: ^8.57.0 || ^9.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 8.0.0-alpha.45(eslint@9.7.0)(typescript@5.4.5) - '@typescript-eslint/scope-manager': 8.0.0-alpha.45 - '@typescript-eslint/type-utils': 8.0.0-alpha.45(eslint@9.7.0)(typescript@5.4.5) - '@typescript-eslint/utils': 8.0.0-alpha.45(eslint@9.7.0)(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 8.0.0-alpha.45 + '@typescript-eslint/parser': ^8.74.0 + eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 + typescript: '>=4.8.4 <6.1.0' + dependencies: + '@eslint-community/regexpp': 4.12.3 + '@typescript-eslint/parser': 8.74.0(eslint@9.7.0)(typescript@6.0.3) + '@typescript-eslint/scope-manager': 8.74.0 + '@typescript-eslint/type-utils': 8.74.0(eslint@9.7.0)(typescript@6.0.3) + '@typescript-eslint/utils': 8.74.0(eslint@9.7.0)(typescript@6.0.3) + '@typescript-eslint/visitor-keys': 8.74.0 eslint: 9.7.0 - graphemer: 1.4.0 - ignore: 5.3.1 + ignore: 7.0.17 natural-compare: 1.4.0 - ts-api-utils: 1.3.0(typescript@5.4.5) - typescript: 5.4.5 + ts-api-utils: 2.5.0(typescript@6.0.3) + typescript: 6.0.3 transitivePeerDependencies: + - '@typescript/native' - supports-color dev: false - /@typescript-eslint/parser@8.0.0-alpha.45(eslint@9.7.0)(typescript@5.4.5): - resolution: {integrity: sha512-iFm6dmGX2rBiqHLfu7PShqhhHuuaDPzej05KbTIGJVGgdj2Xit4GYP35uDpe/YPcMTO8DZ9dOmUYfMGLBKS9Og==} + /@typescript-eslint/parser@8.74.0(eslint@9.7.0)(typescript@6.0.3): + resolution: {integrity: sha512-ecr8AYdig7avVkxaHdQvxHnIJ/mOyliO4Gv/uWF8q69vBew/z3sexqBwHUZX5Vql+Ns0w4sH6gBLkICGbOvJkA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@typescript-eslint/scope-manager': 8.0.0-alpha.45 - '@typescript-eslint/types': 8.0.0-alpha.45 - '@typescript-eslint/typescript-estree': 8.0.0-alpha.45(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 8.0.0-alpha.45 - debug: 4.3.5 + eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 + typescript: '>=4.8.4 <6.1.0' + dependencies: + '@typescript-eslint/scope-manager': 8.74.0 + '@typescript-eslint/types': 8.74.0 + '@typescript-eslint/typescript-estree': 8.74.0(typescript@6.0.3) + '@typescript-eslint/visitor-keys': 8.74.0 + debug: 4.4.3 eslint: 9.7.0 - typescript: 5.4.5 + typescript: 6.0.3 transitivePeerDependencies: + - '@typescript/native' - supports-color dev: false - /@typescript-eslint/rule-tester@8.0.0-alpha.45(@eslint/eslintrc@3.1.0)(eslint@9.7.0)(typescript@5.4.5): - resolution: {integrity: sha512-iEZcR7Nsm4YUTAcLUcAwOeu0q2uSm7WmSTIv6+8rahAUAKLRrW1TouI3wd+PWYm4oGAJ19e/X01lhXQ3XoZCGw==} + /@typescript-eslint/project-service@8.74.0(typescript@6.0.3): + resolution: {integrity: sha512-z/mymuE+JlEeSFIv3Mo70EvgG1Zz74Hl0IDfExfXutARAP834bt+MppTD7mVAwmZO0GdxdOAi0jbTam749eH6g==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - '@eslint/eslintrc': '>=2' - eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4 <6.1.0' dependencies: - '@eslint/eslintrc': 3.1.0 - '@typescript-eslint/typescript-estree': 8.0.0-alpha.45(typescript@5.4.5) - '@typescript-eslint/utils': 8.0.0-alpha.45(eslint@9.7.0)(typescript@5.4.5) - ajv: 6.12.6 - eslint: 9.7.0 - json-stable-stringify-without-jsonify: 1.0.1 - lodash.merge: 4.6.2 - semver: 7.6.3 + '@typescript-eslint/tsconfig-utils': 8.74.0(typescript@6.0.3) + '@typescript-eslint/types': 8.74.0 + debug: 4.4.3 + typescript: 6.0.3 transitivePeerDependencies: - supports-color - - typescript - dev: true + dev: false + + /@typescript-eslint/scope-manager@7.18.0: + resolution: {integrity: sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==} + engines: {node: ^18.18.0 || >=20.0.0} + dependencies: + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/visitor-keys': 7.18.0 - /@typescript-eslint/scope-manager@8.0.0-alpha.45: - resolution: {integrity: sha512-zmfZYLH6Oaq1drf99idktn1/m4SZvBXFUKdl8B2A1SrBc6E57wtRW9OwFBnROgM4gHeG1wb89DLhQ/UeqcUmMQ==} + /@typescript-eslint/scope-manager@8.74.0: + resolution: {integrity: sha512-kpOdpu4CpWN5U38ox3f727DwWRBtUAVhyUJtqTBYe5gf2wYoxac7PgKP14txrxN7ICVtcjlLdzjqfRgpSnDKvQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} dependencies: - '@typescript-eslint/types': 8.0.0-alpha.45 - '@typescript-eslint/visitor-keys': 8.0.0-alpha.45 + '@typescript-eslint/types': 8.74.0 + '@typescript-eslint/visitor-keys': 8.74.0 + dev: false - /@typescript-eslint/type-utils@8.0.0-alpha.45(eslint@9.7.0)(typescript@5.4.5): - resolution: {integrity: sha512-JsX5S7Pda8XTJ/y49ksnN3ScptnEnrEJpecc97l6JiVDMHENWeNVHsbfLmYhjGb0jWKI2IdEOmsVvpOIpj1jUg==} + /@typescript-eslint/tsconfig-utils@8.74.0(typescript@6.0.3): + resolution: {integrity: sha512-p07wAuaS6BjCYgOSXKJi4YhvTnAf7fiG37e9THcpnYaQEt2QiTTYZWKwUFNgeRiywiMudazhzgddAirZ0GgHtQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true + typescript: '>=4.8.4 <6.1.0' dependencies: - '@typescript-eslint/typescript-estree': 8.0.0-alpha.45(typescript@5.4.5) - '@typescript-eslint/utils': 8.0.0-alpha.45(eslint@9.7.0)(typescript@5.4.5) - debug: 4.3.5 - ts-api-utils: 1.3.0(typescript@5.4.5) - typescript: 5.4.5 + typescript: 6.0.3 + dev: false + + /@typescript-eslint/type-utils@8.74.0(eslint@9.7.0)(typescript@6.0.3): + resolution: {integrity: sha512-CV3Y3la8l3F9ANfxcfpgSSiQgJTe4IeLEoZV4O/gcW86Ugp8X6SKiQ0vm+QegXaRIbbDMokZZSF3A1CgiU/kPw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 + typescript: '>=4.8.4 <6.1.0' + dependencies: + '@typescript-eslint/types': 8.74.0 + '@typescript-eslint/typescript-estree': 8.74.0(typescript@6.0.3) + '@typescript-eslint/utils': 8.74.0(eslint@9.7.0)(typescript@6.0.3) + debug: 4.4.3 + eslint: 9.7.0 + ts-api-utils: 2.5.0(typescript@6.0.3) + typescript: 6.0.3 transitivePeerDependencies: - - eslint + - '@typescript/native' - supports-color dev: false - /@typescript-eslint/types@8.0.0-alpha.45: - resolution: {integrity: sha512-yjTlmcSnkFV8IoqE0vinmWo+fl7TjkaGyGX/g9gKN/b2IO8g+AimB7BhilmlBqvZupvo2AfiHqcnZEVhQAXI8w==} - engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + /@typescript-eslint/types@7.18.0: + resolution: {integrity: sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==} + engines: {node: ^18.18.0 || >=20.0.0} - /@typescript-eslint/typescript-estree@8.0.0-alpha.45(typescript@5.4.5): - resolution: {integrity: sha512-FcvtdTxahvP+qlZ1XXF+m0GVqomklKtkG6cIHLdBvTOHgIBILtahU7yyRE5rOHDdGoAFu8AzItJI12rtf9TRyA==} + /@typescript-eslint/types@8.74.0: + resolution: {integrity: sha512-MpnMrJCVNpP1iVL8NiHkQZgQqIMBH5ewDGUPBh1pqQXwFtMFjsl1M03QcYPXmv6stCKEiF0PN7CGbU1ZbXFzEA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + dev: false + + /@typescript-eslint/typescript-estree@7.18.0(typescript@6.0.3): + resolution: {integrity: sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==} + engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/types': 8.0.0-alpha.45 - '@typescript-eslint/visitor-keys': 8.0.0-alpha.45 + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/visitor-keys': 7.18.0 debug: 4.3.5 globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.4.5) - typescript: 5.4.5 + ts-api-utils: 1.3.0(typescript@6.0.3) + typescript: 6.0.3 transitivePeerDependencies: - supports-color - /@typescript-eslint/utils@8.0.0-alpha.45(eslint@9.7.0)(typescript@5.4.5): - resolution: {integrity: sha512-5YVHji5bovAKsDdT3mV7vjDEUhPJvmsh7LXY+/ixHyZJDE52TmsobBGSEBmijeqYWfz2vuNJyyvFGJTo70UikA==} + /@typescript-eslint/typescript-estree@8.74.0(typescript@6.0.3): + resolution: {integrity: sha512-wL348k6l92DNG+kPP5rVpKwNBoz7a3xRZy3TPKc1uymQttd7u7gcMv3eENmcuh4CjC4mO3FTM0DYstFXMyDLuw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^8.57.0 || ^9.0.0 + '@typescript/native': npm:typescript@>=7.1.0-dev.20261009.1 || >=7.1.0-beta <7.1.0-dev + typescript: '>=4.8.4 <6.1.0' + peerDependenciesMeta: + '@typescript/native': + optional: true + dependencies: + '@typescript-eslint/project-service': 8.74.0(typescript@6.0.3) + '@typescript-eslint/tsconfig-utils': 8.74.0(typescript@6.0.3) + '@typescript-eslint/types': 8.74.0 + '@typescript-eslint/visitor-keys': 8.74.0 + debug: 4.4.3 + minimatch: 11.0.9 + semver: 7.8.6 + tinyglobby: 0.2.17 + ts-api-utils: 2.5.0(typescript@6.0.3) + typescript: 6.0.3 + transitivePeerDependencies: + - supports-color + dev: false + + /@typescript-eslint/utils@7.18.0(eslint@9.7.0)(typescript@6.0.3): + resolution: {integrity: sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==} + engines: {node: ^18.18.0 || >=20.0.0} + peerDependencies: + eslint: ^8.56.0 dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.7.0) - '@typescript-eslint/scope-manager': 8.0.0-alpha.45 - '@typescript-eslint/types': 8.0.0-alpha.45 - '@typescript-eslint/typescript-estree': 8.0.0-alpha.45(typescript@5.4.5) + '@typescript-eslint/scope-manager': 7.18.0 + '@typescript-eslint/types': 7.18.0 + '@typescript-eslint/typescript-estree': 7.18.0(typescript@6.0.3) eslint: 9.7.0 transitivePeerDependencies: - supports-color - typescript - /@typescript-eslint/visitor-keys@8.0.0-alpha.45: - resolution: {integrity: sha512-SZmtknee9MzeT41tCpvh5vUyji0Zr4OyfERJqDmfg5YZwkm3BRdTeexrBKK9C8da97ULR1SUSeLUTqttC77vJw==} + /@typescript-eslint/utils@8.74.0(eslint@9.7.0)(typescript@6.0.3): + resolution: {integrity: sha512-IpWXPxXXomzxyTcvjhZJexgdvtTR1TooLAPpuxzaGqQ8BHll1lf4Ysp/BTE/l0U5TJ+x1j7B4bEM8pLRrvY+XA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 + typescript: '>=4.8.4 <6.1.0' + dependencies: + '@eslint-community/eslint-utils': 4.10.1(eslint@9.7.0) + '@typescript-eslint/scope-manager': 8.74.0 + '@typescript-eslint/types': 8.74.0 + '@typescript-eslint/typescript-estree': 8.74.0(typescript@6.0.3) + eslint: 9.7.0 + typescript: 6.0.3 + transitivePeerDependencies: + - '@typescript/native' + - supports-color + dev: false + + /@typescript-eslint/visitor-keys@7.18.0: + resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==} + engines: {node: ^18.18.0 || >=20.0.0} dependencies: - '@typescript-eslint/types': 8.0.0-alpha.45 + '@typescript-eslint/types': 7.18.0 eslint-visitor-keys: 3.4.3 + /@typescript-eslint/visitor-keys@8.74.0: + resolution: {integrity: sha512-XSZmOtMUbWCBIM+2BK134FyMFxmll1mW2mPLk/PSwYQYzGIPMgJAqL929U4qXVizLv7Xq5b7r41/o7Ombuwk0g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + dependencies: + '@typescript-eslint/types': 8.74.0 + eslint-visitor-keys: 5.0.1 + dev: false + /@vitest/expect@1.6.0: resolution: {integrity: sha512-ixEvFVQjycy/oNgHjqsL6AZCDduC+tflRluaHIzKIsdbzkLn2U/iBnVeJwB6HsIjQBdfMR8Z0tRxKUsvFJEeWQ==} dependencies: @@ -835,6 +903,11 @@ packages: /balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + /balanced-match@4.0.4: + resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==} + engines: {node: 18 || 20 || >=22} + dev: false + /brace-expansion@1.1.11: resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} dependencies: @@ -846,6 +919,13 @@ packages: dependencies: balanced-match: 1.0.2 + /brace-expansion@5.1.0: + resolution: {integrity: sha512-aa11Dv491GKnYqxaul3aRJ0szew7yMJMfZPnqD44NjGrZXoj62l41OEDDpdpC4eE2P88vBFfLuSyRhpG91NUvg==} + engines: {node: 20 || >=22} + dependencies: + balanced-match: 4.0.4 + dev: false + /braces@3.0.3: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} @@ -995,6 +1075,18 @@ packages: dependencies: ms: 2.1.2 + /debug@4.4.3: + resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.1.3 + dev: false + /deep-eql@4.1.4: resolution: {integrity: sha512-SUwdGfqdKOwxCPeVYjwSyRpJ7Z+fhpwIAtmCUdZIWZ/YP5R9WAsyuSgpLVDi9bjWoN2LXHNss/dk3urXtdQxGg==} engines: {node: '>=6'} @@ -1107,14 +1199,14 @@ packages: - supports-color dev: false - /eslint-plugin-import-x@3.0.1(eslint@9.7.0)(typescript@5.4.5): + /eslint-plugin-import-x@3.0.1(eslint@9.7.0)(typescript@6.0.3): resolution: {integrity: sha512-jzQgJuE4ssxwNi0aMBkOL8whd4eHb0Z/uFWsk8uEoYB7xwTkAptSKojLzRswxgf/1bhH6QgcLjgabUBQqluBIg==} engines: {node: '>=16'} peerDependencies: eslint: ^8.56.0 || ^9.0.0-0 dependencies: '@rtsao/scc': 1.1.0 - '@typescript-eslint/utils': 8.0.0-alpha.45(eslint@9.7.0)(typescript@5.4.5) + '@typescript-eslint/utils': 7.18.0(eslint@9.7.0)(typescript@6.0.3) debug: 4.3.5 doctrine: 3.0.0 eslint: 9.7.0 @@ -1208,7 +1300,12 @@ packages: resolution: {integrity: sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - /eslint-vitest-rule-tester@0.3.3(eslint@9.7.0)(typescript@5.4.5)(vitest@1.6.0): + /eslint-visitor-keys@5.0.1: + resolution: {integrity: sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==} + engines: {node: ^20.19.0 || ^22.13.0 || >=24} + dev: false + + /eslint-vitest-rule-tester@0.3.3(eslint@9.7.0)(typescript@6.0.3)(vitest@1.6.0): resolution: {integrity: sha512-JVKpK8RaPhE0AYOHIUY9GVb/XKTT7oEHWLY4CLZ2fyI8IQXs/qesqCTkLwC42txOxvndZjrp8HW1lShpRPEKww==} peerDependencies: eslint: ^9.0.0 @@ -1216,7 +1313,7 @@ packages: dependencies: '@antfu/utils': 0.7.10 '@types/eslint': 8.56.10 - '@typescript-eslint/utils': 8.0.0-alpha.45(eslint@9.7.0)(typescript@5.4.5) + '@typescript-eslint/utils': 7.18.0(eslint@9.7.0)(typescript@6.0.3) eslint: 9.7.0 vitest: 1.6.0(@types/node@20.14.11) transitivePeerDependencies: @@ -1352,6 +1449,18 @@ packages: dependencies: reusify: 1.0.4 + /fdir@6.5.0(picomatch@4.0.7): + resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==} + engines: {node: '>=12.0.0'} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + dependencies: + picomatch: 4.0.7 + dev: false + /file-entry-cache@8.0.0: resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} engines: {node: '>=16.0.0'} @@ -1481,6 +1590,11 @@ packages: resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} engines: {node: '>= 4'} + /ignore@7.0.17: + resolution: {integrity: sha512-0c3zcBRlWmcKhcIQWckzkYncJRv5HHB8O32wO/FcWL8DDXWDJgiEF6SX9ThbTv5h/eZ+xJK+VvDjjQ+cQJhp3Q==} + engines: {node: '>= 4'} + dev: false + /import-fresh@3.3.0: resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} engines: {node: '>=6'} @@ -1666,6 +1780,14 @@ packages: engines: {node: '>=4'} dev: false + /minimatch@11.0.9: + resolution: {integrity: sha512-KCFkfyjqerNlSstjlhIGNXIKZGA/6O4V4RlhZ+Dsr621SPPw0mzlypE9D9ZOoPiVefHID+j7/XuMMlqfD/F60Q==} + engines: {node: 20 || >=22} + dependencies: + '@isaacs/nonrecursive-glob-match': 1.1.0 + brace-expansion: 5.1.0 + dev: false + /minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} dependencies: @@ -1689,6 +1811,10 @@ packages: /ms@2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + /ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + dev: false + /nanoid@3.3.7: resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -1826,6 +1952,11 @@ packages: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} + /picomatch@4.0.7: + resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==} + engines: {node: '>=12'} + dev: false + /pkg-types@1.1.3: resolution: {integrity: sha512-+JrgthZG6m3ckicaOB74TwQ+tBWsFl3qVQg7mN8ulwSOElJ7gBhKzj2VkCPnZ4NlF6kEquYU+RIYNVAvzd54UA==} dependencies: @@ -1977,6 +2108,12 @@ packages: engines: {node: '>=10'} hasBin: true + /semver@7.8.6: + resolution: {integrity: sha512-9lpSSU4Mly3mrtruwLs1eLK6+gzbzqeBFwRNjIjE+9LuDpWdYctrQlQ3ej1Ilgi7gknpsTRnPoLP8DpCHqHIJw==} + engines: {node: '>=10'} + hasBin: true + dev: false + /shebang-command@2.0.0: resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} engines: {node: '>=8'} @@ -2107,6 +2244,14 @@ packages: resolution: {integrity: sha512-1/eK7zUnIklz4JUUlL+658n58XO2hHLQfSk1Zf2LKieUjxidN16eKFEoDEfjHc3ohofSSqK3X5yO6VGb6iW8Lw==} dev: true + /tinyglobby@0.2.17: + resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} + engines: {node: '>=12.0.0'} + dependencies: + fdir: 6.5.0(picomatch@4.0.7) + picomatch: 4.0.7 + dev: false + /tinypool@0.8.4: resolution: {integrity: sha512-i11VH5gS6IFeLY3gMBQ00/MmLncVP7JLXOw1vlgkytLmJK7QnEr7NXf0LBdxfmNPAeyetukOk0bOYrJrFGjYJQ==} engines: {node: '>=14.0.0'} @@ -2123,13 +2268,22 @@ packages: dependencies: is-number: 7.0.0 - /ts-api-utils@1.3.0(typescript@5.4.5): + /ts-api-utils@1.3.0(typescript@6.0.3): resolution: {integrity: sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==} engines: {node: '>=16'} peerDependencies: typescript: '>=4.2.0' dependencies: - typescript: 5.4.5 + typescript: 6.0.3 + + /ts-api-utils@2.5.0(typescript@6.0.3): + resolution: {integrity: sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==} + engines: {node: '>=18.12'} + peerDependencies: + typescript: '>=4.8.4' + dependencies: + typescript: 6.0.3 + dev: false /tslib@2.6.3: resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} @@ -2156,26 +2310,26 @@ packages: engines: {node: '>=8'} dev: false - /typescript-eslint@8.0.0-alpha.45(eslint@9.7.0)(typescript@5.4.5): - resolution: {integrity: sha512-Iw8MpAxWE0UBrtJjHsGxEiY2tHT1hkfrt6tWcnHotVyDAhsNVMYXcucxtWMYdnNf5fKQCRHM51RA84nuQgB1Bw==} + /typescript-eslint@8.74.0(eslint@9.7.0)(typescript@6.0.3): + resolution: {integrity: sha512-OsWQlsedt1ZpZXfZZMNK3m4SoQONFFcy4h/uRznsCeRfVuEic3gh4KGUs2pJJ5o0Jj0Jr7keUHQGN1Ns9aDw7Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true + eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 + typescript: '>=4.8.4 <6.1.0' dependencies: - '@typescript-eslint/eslint-plugin': 8.0.0-alpha.45(@typescript-eslint/parser@8.0.0-alpha.45)(eslint@9.7.0)(typescript@5.4.5) - '@typescript-eslint/parser': 8.0.0-alpha.45(eslint@9.7.0)(typescript@5.4.5) - '@typescript-eslint/utils': 8.0.0-alpha.45(eslint@9.7.0)(typescript@5.4.5) - typescript: 5.4.5 + '@typescript-eslint/eslint-plugin': 8.74.0(@typescript-eslint/parser@8.74.0)(eslint@9.7.0)(typescript@6.0.3) + '@typescript-eslint/parser': 8.74.0(eslint@9.7.0)(typescript@6.0.3) + '@typescript-eslint/typescript-estree': 8.74.0(typescript@6.0.3) + '@typescript-eslint/utils': 8.74.0(eslint@9.7.0)(typescript@6.0.3) + eslint: 9.7.0 + typescript: 6.0.3 transitivePeerDependencies: - - eslint + - '@typescript/native' - supports-color dev: false - /typescript@5.4.5: - resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==} + /typescript@6.0.3: + resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==} engines: {node: '>=14.17'} hasBin: true diff --git a/tsconfig.json b/tsconfig.json index 2071853..f6770b9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,6 +13,7 @@ "strict": true, "target": "ES2021", "lib": ["ES2021"], + "types": ["node"], "module": "Node16", "esModuleInterop": true, "declaration": false,