diff --git a/package.json b/package.json index 8cfb24efb..9af88ac6b 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ }, "devDependencies": { "@exercism/babel-preset-typescript": "^0.6.0", - "@exercism/eslint-config-typescript": "^0.7.1", + "@exercism/eslint-config-typescript": "^0.8.0", "@jest/globals": "^29.7.0", "@tsconfig/node20": "^20.1.4", "@types/node": "~22.0.2", diff --git a/yarn.lock b/yarn.lock index 14993c857..0191e2b35 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1503,20 +1503,20 @@ __metadata: languageName: node linkType: hard -"@exercism/eslint-config-typescript@npm:^0.7.1": - version: 0.7.1 - resolution: "@exercism/eslint-config-typescript@npm:0.7.1" +"@exercism/eslint-config-typescript@npm:^0.8.0": + version: 0.8.0 + resolution: "@exercism/eslint-config-typescript@npm:0.8.0" dependencies: "@eslint/js": "npm:^9.8.0" - "@stylistic/eslint-plugin-ts": "npm:^2.4.0" + "@stylistic/eslint-plugin-ts": "npm:^2.6.1" eslint-config-prettier: "npm:^9.1.0" - eslint-plugin-jest: "npm:^28.6.0" - globals: "npm:^15.8.0" - typescript-eslint: "npm:^7.17.0" + eslint-plugin-jest: "npm:^28.8.0" + globals: "npm:^15.9.0" + typescript-eslint: "npm:^8.0.1" peerDependencies: eslint: ">= 9.8" typescript: ">= 5.5" - checksum: 10/ebe3bc01cf1735174864c1856fbdf9c3149f86637d477f22f76df670dcf5969a7c43d161f2987478601578d91accd488cf73a083731e23b174f47c6fc9a6ad2d + checksum: 10/5d0048c39ebc35c90c509df08f983e2847099aab819503e3937df0b64ee143b4c65a78497c71d6ec9243c7fb97dda43f25273acfb0bae500d2f5dbc756ccb2c7 languageName: node linkType: hard @@ -1525,7 +1525,7 @@ __metadata: resolution: "@exercism/typescript-track@workspace:." dependencies: "@exercism/babel-preset-typescript": "npm:^0.6.0" - "@exercism/eslint-config-typescript": "npm:^0.7.1" + "@exercism/eslint-config-typescript": "npm:^0.8.0" "@jest/globals": "npm:^29.7.0" "@tsconfig/node20": "npm:^20.1.4" "@types/node": "npm:~22.0.2" @@ -1946,9 +1946,9 @@ __metadata: languageName: node linkType: hard -"@stylistic/eslint-plugin-js@npm:2.6.0": - version: 2.6.0 - resolution: "@stylistic/eslint-plugin-js@npm:2.6.0" +"@stylistic/eslint-plugin-js@npm:2.6.3": + version: 2.6.3 + resolution: "@stylistic/eslint-plugin-js@npm:2.6.3" dependencies: "@types/eslint": "npm:^9.6.0" acorn: "npm:^8.12.1" @@ -1956,20 +1956,20 @@ __metadata: espree: "npm:^10.1.0" peerDependencies: eslint: ">=8.40.0" - checksum: 10/95e7604769cc9a914c50ac52dc9b136c8e66cb2f183b64acf4571b91dc272e2170bfd7293d937a60a2a5c5892f617a233eeca009af32263e305f53b8a14077d3 + checksum: 10/fe46dc52288a296322cfca1cbc88bf31a0d25afa6cf4e991087d5f00c4a6a1516d3e4253fe58801f7a7fec429f6fea692b803110fd7a57d684151b20e794c8f6 languageName: node linkType: hard -"@stylistic/eslint-plugin-ts@npm:^2.4.0": - version: 2.6.0 - resolution: "@stylistic/eslint-plugin-ts@npm:2.6.0" +"@stylistic/eslint-plugin-ts@npm:^2.6.1": + version: 2.6.3 + resolution: "@stylistic/eslint-plugin-ts@npm:2.6.3" dependencies: - "@stylistic/eslint-plugin-js": "npm:2.6.0" + "@stylistic/eslint-plugin-js": "npm:2.6.3" "@types/eslint": "npm:^9.6.0" - "@typescript-eslint/utils": "npm:^8.0.0" + "@typescript-eslint/utils": "npm:^8.1.0" peerDependencies: eslint: ">=8.40.0" - checksum: 10/ca88e326b9c3f107191aec49d299e0bbb5c29ad1703c00b0ada22c7457a331b8c6f5a3431b06918b006a6bf1bd30e36633c80ca61ce9f21ee23571b886849122 + checksum: 10/f6fa1563ce009672f9b962b72b96719f1ff40e360c9f5245fc90d667de387abe01c42531c7e6d80d9fb41b46599e46623a8bd83f5268e3da165187d470a26674 languageName: node linkType: hard @@ -2111,29 +2111,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:7.18.0": - version: 7.18.0 - resolution: "@typescript-eslint/eslint-plugin@npm:7.18.0" - dependencies: - "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:7.18.0" - "@typescript-eslint/type-utils": "npm:7.18.0" - "@typescript-eslint/utils": "npm:7.18.0" - "@typescript-eslint/visitor-keys": "npm:7.18.0" - graphemer: "npm:^1.4.0" - ignore: "npm:^5.3.1" - natural-compare: "npm:^1.4.0" - ts-api-utils: "npm:^1.3.0" - peerDependencies: - "@typescript-eslint/parser": ^7.0.0 - eslint: ^8.56.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10/6ee4c61f145dc05f0a567b8ac01b5399ef9c75f58bc6e9a3ffca8927b15e2be2d4c3fd32a2c1a7041cc0848fdeadac30d9cb0d3bcd3835d301847a88ffd19c4d - languageName: node - linkType: hard - "@typescript-eslint/eslint-plugin@npm:8.1.0": version: 8.1.0 resolution: "@typescript-eslint/eslint-plugin@npm:8.1.0" @@ -2157,24 +2134,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:7.18.0": - version: 7.18.0 - resolution: "@typescript-eslint/parser@npm:7.18.0" - dependencies: - "@typescript-eslint/scope-manager": "npm:7.18.0" - "@typescript-eslint/types": "npm:7.18.0" - "@typescript-eslint/typescript-estree": "npm:7.18.0" - "@typescript-eslint/visitor-keys": "npm:7.18.0" - debug: "npm:^4.3.4" - peerDependencies: - eslint: ^8.56.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10/36b00e192a96180220ba100fcce3c777fc3e61a6edbdead4e6e75a744d9f0cbe3fabb5f1c94a31cce6b28a4e4d5de148098eec01296026c3c8e16f7f0067cb1e - languageName: node - linkType: hard - "@typescript-eslint/parser@npm:8.1.0": version: 8.1.0 resolution: "@typescript-eslint/parser@npm:8.1.0" @@ -2193,26 +2152,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:7.18.0": - version: 7.18.0 - resolution: "@typescript-eslint/scope-manager@npm:7.18.0" - dependencies: - "@typescript-eslint/types": "npm:7.18.0" - "@typescript-eslint/visitor-keys": "npm:7.18.0" - checksum: 10/9eb2ae5d69d9f723e706c16b2b97744fc016996a5473bed596035ac4d12429b3d24e7340a8235d704efa57f8f52e1b3b37925ff7c2e3384859d28b23a99b8bcc - languageName: node - linkType: hard - -"@typescript-eslint/scope-manager@npm:8.0.0": - version: 8.0.0 - resolution: "@typescript-eslint/scope-manager@npm:8.0.0" - dependencies: - "@typescript-eslint/types": "npm:8.0.0" - "@typescript-eslint/visitor-keys": "npm:8.0.0" - checksum: 10/444dbc156d9d6d2aa4f82e35ab171aed85d1818c5adf70f955f69d6d0591d9a0668f645d38bf5b759098849aa4114340ca128a673be5525a94fba9a048751d0c - languageName: node - linkType: hard - "@typescript-eslint/scope-manager@npm:8.1.0": version: 8.1.0 resolution: "@typescript-eslint/scope-manager@npm:8.1.0" @@ -2223,23 +2162,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:7.18.0": - version: 7.18.0 - resolution: "@typescript-eslint/type-utils@npm:7.18.0" - dependencies: - "@typescript-eslint/typescript-estree": "npm:7.18.0" - "@typescript-eslint/utils": "npm:7.18.0" - debug: "npm:^4.3.4" - ts-api-utils: "npm:^1.3.0" - peerDependencies: - eslint: ^8.56.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10/bcc7958a4ecdddad8c92e17265175773e7dddf416a654c1a391e69cb16e43960b39d37b6ffa349941bf3635e050f0ca7cd8f56ec9dd774168f2bbe7afedc9676 - languageName: node - linkType: hard - "@typescript-eslint/type-utils@npm:8.1.0": version: 8.1.0 resolution: "@typescript-eslint/type-utils@npm:8.1.0" @@ -2255,20 +2177,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:7.18.0": - version: 7.18.0 - resolution: "@typescript-eslint/types@npm:7.18.0" - checksum: 10/0e30c73a3cc3c67dd06360a5a12fd12cee831e4092750eec3d6c031bdc4feafcb0ab1d882910a73e66b451a4f6e1dd015e9e2c4d45bf6bf716a474e5d123ddf0 - languageName: node - linkType: hard - -"@typescript-eslint/types@npm:8.0.0": - version: 8.0.0 - resolution: "@typescript-eslint/types@npm:8.0.0" - checksum: 10/e28e79d8b7acfa42c90781fa63e90e56807ae018a0a92fc71c8e441d2bb3a250527c9d44ff6450ff1d47ceed0c3df28de6599f97f6c4c65ac554088867fc3517 - languageName: node - linkType: hard - "@typescript-eslint/types@npm:8.1.0": version: 8.1.0 resolution: "@typescript-eslint/types@npm:8.1.0" @@ -2276,44 +2184,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:7.18.0": - version: 7.18.0 - resolution: "@typescript-eslint/typescript-estree@npm:7.18.0" - dependencies: - "@typescript-eslint/types": "npm:7.18.0" - "@typescript-eslint/visitor-keys": "npm:7.18.0" - debug: "npm:^4.3.4" - globby: "npm:^11.1.0" - is-glob: "npm:^4.0.3" - minimatch: "npm:^9.0.4" - semver: "npm:^7.6.0" - ts-api-utils: "npm:^1.3.0" - peerDependenciesMeta: - typescript: - optional: true - checksum: 10/b01e66235a91aa4439d02081d4a5f8b4a7cf9cb24f26b334812f657e3c603493e5f41e5c1e89cf4efae7d64509fa1f73affc16afc5e15cb7f83f724577c82036 - languageName: node - linkType: hard - -"@typescript-eslint/typescript-estree@npm:8.0.0": - version: 8.0.0 - resolution: "@typescript-eslint/typescript-estree@npm:8.0.0" - dependencies: - "@typescript-eslint/types": "npm:8.0.0" - "@typescript-eslint/visitor-keys": "npm:8.0.0" - debug: "npm:^4.3.4" - globby: "npm:^11.1.0" - is-glob: "npm:^4.0.3" - minimatch: "npm:^9.0.4" - semver: "npm:^7.6.0" - ts-api-utils: "npm:^1.3.0" - peerDependenciesMeta: - typescript: - optional: true - checksum: 10/99a80fb43d1e9cbd49a3dfdd264e7e361ffd4e19970d2b04b86a551fc730cc4f19202c3323d0d6bbfd7ce4672bf205cb7b756ba2e20c95729b24e878b96e66f3 - languageName: node - linkType: hard - "@typescript-eslint/typescript-estree@npm:8.1.0": version: 8.1.0 resolution: "@typescript-eslint/typescript-estree@npm:8.1.0" @@ -2333,21 +2203,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:7.18.0, @typescript-eslint/utils@npm:^6.0.0 || ^7.0.0": - version: 7.18.0 - resolution: "@typescript-eslint/utils@npm:7.18.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:7.18.0" - "@typescript-eslint/types": "npm:7.18.0" - "@typescript-eslint/typescript-estree": "npm:7.18.0" - peerDependencies: - eslint: ^8.56.0 - checksum: 10/f43fedb4f4d2e3836bdf137889449063a55c0ece74fdb283929cd376197b992313be8ef4df920c1c801b5c3076b92964c84c6c3b9b749d263b648d0011f5926e - languageName: node - linkType: hard - -"@typescript-eslint/utils@npm:8.1.0": +"@typescript-eslint/utils@npm:8.1.0, @typescript-eslint/utils@npm:^6.0.0 || ^7.0.0 || ^8.0.0, @typescript-eslint/utils@npm:^8.1.0": version: 8.1.0 resolution: "@typescript-eslint/utils@npm:8.1.0" dependencies: @@ -2361,40 +2217,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:^8.0.0": - version: 8.0.0 - resolution: "@typescript-eslint/utils@npm:8.0.0" - dependencies: - "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:8.0.0" - "@typescript-eslint/types": "npm:8.0.0" - "@typescript-eslint/typescript-estree": "npm:8.0.0" - peerDependencies: - eslint: ^8.57.0 || ^9.0.0 - checksum: 10/f76e65763725d944d3c6f0e78ea566cdb08247fa7ee9e2ec15310527f3e2325c92cb67c80a63e4a6dd29a5a7d96db3839aebd0a2e98810dcc248f6762414c995 - languageName: node - linkType: hard - -"@typescript-eslint/visitor-keys@npm:7.18.0": - version: 7.18.0 - resolution: "@typescript-eslint/visitor-keys@npm:7.18.0" - dependencies: - "@typescript-eslint/types": "npm:7.18.0" - eslint-visitor-keys: "npm:^3.4.3" - checksum: 10/b7cfe6fdeae86c507357ac6b2357813c64fb2fbf1aaf844393ba82f73a16e2599b41981b34200d9fc7765d70bc3a8181d76b503051e53f04bcb7c9afef637eab - languageName: node - linkType: hard - -"@typescript-eslint/visitor-keys@npm:8.0.0": - version: 8.0.0 - resolution: "@typescript-eslint/visitor-keys@npm:8.0.0" - dependencies: - "@typescript-eslint/types": "npm:8.0.0" - eslint-visitor-keys: "npm:^3.4.3" - checksum: 10/328106878ed42f1543590317477275a3c95c0455ba8203355fede94b0970844ec430cc5e090d4e1f48d805ac40ab1bd339270514e256b0810cabd423c6b2d52a - languageName: node - linkType: hard - "@typescript-eslint/visitor-keys@npm:8.1.0": version: 8.1.0 resolution: "@typescript-eslint/visitor-keys@npm:8.1.0" @@ -3384,13 +3206,13 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-jest@npm:^28.6.0": - version: 28.6.0 - resolution: "eslint-plugin-jest@npm:28.6.0" +"eslint-plugin-jest@npm:^28.8.0": + version: 28.8.0 + resolution: "eslint-plugin-jest@npm:28.8.0" dependencies: - "@typescript-eslint/utils": "npm:^6.0.0 || ^7.0.0" + "@typescript-eslint/utils": "npm:^6.0.0 || ^7.0.0 || ^8.0.0" peerDependencies: - "@typescript-eslint/eslint-plugin": ^6.0.0 || ^7.0.0 + "@typescript-eslint/eslint-plugin": ^6.0.0 || ^7.0.0 || ^8.0.0 eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 jest: "*" peerDependenciesMeta: @@ -3398,7 +3220,7 @@ __metadata: optional: true jest: optional: true - checksum: 10/32232dbf54d3be0853a6f702504a9af82e9fd503ce5644c97e1cec0f17f3262d56e418dc41763ba6ed079aec401c4ce066c6c32e618403b7b5235c3e0952bdb0 + checksum: 10/0da6aba90067845ef723f70f40ab7f79fabf3465e46014b8aafee15c2cb4ce648a0f7b57c758127d770928994ee2a0f4c68dbcfbce582dd021d6a8e240f69f9d languageName: node linkType: hard @@ -3902,13 +3724,6 @@ __metadata: languageName: node linkType: hard -"globals@npm:^15.8.0": - version: 15.8.0 - resolution: "globals@npm:15.8.0" - checksum: 10/fbca69cc1084c28a5155fea06224f6f0fcd9a371d8b8057db9c1851adc4bf2aad8016dd0db4e161e0ad1da0953e4286b90c826ff9ef5dbfb864493f2bba806df - languageName: node - linkType: hard - "globals@npm:^15.9.0": version: 15.9.0 resolution: "globals@npm:15.9.0" @@ -6464,23 +6279,7 @@ __metadata: languageName: node linkType: hard -"typescript-eslint@npm:^7.17.0": - version: 7.18.0 - resolution: "typescript-eslint@npm:7.18.0" - dependencies: - "@typescript-eslint/eslint-plugin": "npm:7.18.0" - "@typescript-eslint/parser": "npm:7.18.0" - "@typescript-eslint/utils": "npm:7.18.0" - peerDependencies: - eslint: ^8.56.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 10/7c1ad00ecd7141d8631a99ff602cfabdab3d9f8a9be5b0282b8b3291125df1fc37c4baa13d1ef26562de8ed1393a5851a7e861ded0224127fe670ffae6fed6aa - languageName: node - linkType: hard - -"typescript-eslint@npm:^8.1.0": +"typescript-eslint@npm:^8.0.1, typescript-eslint@npm:^8.1.0": version: 8.1.0 resolution: "typescript-eslint@npm:8.1.0" dependencies: