Skip to content

Commit

Permalink
[chore] Upgrade typescript-eslint to v8 (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei authored Jan 16, 2025
1 parent 5c9a516 commit 561c434
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 140 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"@types/tar": "6.1.13",
"@types/tmp": "^0.2.6",
"@types/wait-on": "^5.3.4",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "^8.20.0",
"electron": "31.3.1",
"electron-builder": "^25.1.8",
"eslint": "^9.17.0",
Expand Down
234 changes: 96 additions & 138 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ __metadata:
"@types/tar": "npm:6.1.13"
"@types/tmp": "npm:^0.2.6"
"@types/wait-on": "npm:^5.3.4"
"@typescript-eslint/eslint-plugin": "npm:^5.0.0"
"@typescript-eslint/parser": "npm:^5.0.0"
"@typescript-eslint/eslint-plugin": "npm:^8.20.0"
"@typescript-eslint/parser": "npm:^8.20.0"
adm-zip: "npm:^0.5.15"
axios: "npm:^1.7.7"
dotenv: "npm:^16.4.5"
Expand Down Expand Up @@ -746,13 +746,6 @@ __metadata:
languageName: node
linkType: hard

"@eslint-community/regexpp@npm:^4.4.0":
version: 4.11.1
resolution: "@eslint-community/regexpp@npm:4.11.1"
checksum: 10c0/fbcc1cb65ef5ed5b92faa8dc542e035269065e7ebcc0b39c81a4fe98ad35cfff20b3c8df048641de15a7757e07d69f85e2579c1a5055f993413ba18c055654f8
languageName: node
linkType: hard

"@eslint/config-array@npm:^0.19.0":
version: 0.19.1
resolution: "@eslint/config-array@npm:0.19.1"
Expand Down Expand Up @@ -3001,7 +2994,7 @@ __metadata:
languageName: node
linkType: hard

"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.15, @types/json-schema@npm:^7.0.9":
"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.15":
version: 7.0.15
resolution: "@types/json-schema@npm:7.0.15"
checksum: 10c0/a996a745e6c5d60292f36731dd41341339d4eeed8180bb09226e5c8d23759067692b1d88e5d91d72ee83dfc00d3aca8e7bd43ea120516c17922cbcb7c3e252db
Expand Down Expand Up @@ -3138,7 +3131,7 @@ __metadata:
languageName: node
linkType: hard

"@types/semver@npm:^7.3.12, @types/semver@npm:^7.3.6":
"@types/semver@npm:^7.3.6":
version: 7.5.8
resolution: "@types/semver@npm:7.5.8"
checksum: 10c0/8663ff927234d1c5fcc04b33062cb2b9fcfbe0f5f351ed26c4d1e1581657deebd506b41ff7fdf89e787e3d33ce05854bc01686379b89e9c49b564c4cfa988efa
Expand Down Expand Up @@ -3229,27 +3222,24 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/eslint-plugin@npm:^5.0.0":
version: 5.62.0
resolution: "@typescript-eslint/eslint-plugin@npm:5.62.0"
"@typescript-eslint/eslint-plugin@npm:^8.20.0":
version: 8.20.0
resolution: "@typescript-eslint/eslint-plugin@npm:8.20.0"
dependencies:
"@eslint-community/regexpp": "npm:^4.4.0"
"@typescript-eslint/scope-manager": "npm:5.62.0"
"@typescript-eslint/type-utils": "npm:5.62.0"
"@typescript-eslint/utils": "npm:5.62.0"
debug: "npm:^4.3.4"
"@eslint-community/regexpp": "npm:^4.10.0"
"@typescript-eslint/scope-manager": "npm:8.20.0"
"@typescript-eslint/type-utils": "npm:8.20.0"
"@typescript-eslint/utils": "npm:8.20.0"
"@typescript-eslint/visitor-keys": "npm:8.20.0"
graphemer: "npm:^1.4.0"
ignore: "npm:^5.2.0"
natural-compare-lite: "npm:^1.4.0"
semver: "npm:^7.3.7"
tsutils: "npm:^3.21.0"
ignore: "npm:^5.3.1"
natural-compare: "npm:^1.4.0"
ts-api-utils: "npm:^2.0.0"
peerDependencies:
"@typescript-eslint/parser": ^5.0.0
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 10c0/3f40cb6bab5a2833c3544e4621b9fdacd8ea53420cadc1c63fac3b89cdf5c62be1e6b7bcf56976dede5db4c43830de298ced3db60b5494a3b961ca1b4bff9f2a
"@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0
eslint: ^8.57.0 || ^9.0.0
typescript: ">=4.8.4 <5.8.0"
checksum: 10c0/c68d0dc5419db93c38eea8adecac19e27f8b023d015a944ffded112d584e87fa7fe512070a6a1085899cab2e12e1c8db276e10412b74bf639ca6b04052bbfedc
languageName: node
linkType: hard

Expand All @@ -3269,30 +3259,19 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/parser@npm:^5.0.0":
version: 5.62.0
resolution: "@typescript-eslint/parser@npm:5.62.0"
"@typescript-eslint/parser@npm:^8.20.0":
version: 8.20.0
resolution: "@typescript-eslint/parser@npm:8.20.0"
dependencies:
"@typescript-eslint/scope-manager": "npm:5.62.0"
"@typescript-eslint/types": "npm:5.62.0"
"@typescript-eslint/typescript-estree": "npm:5.62.0"
"@typescript-eslint/scope-manager": "npm:8.20.0"
"@typescript-eslint/types": "npm:8.20.0"
"@typescript-eslint/typescript-estree": "npm:8.20.0"
"@typescript-eslint/visitor-keys": "npm:8.20.0"
debug: "npm:^4.3.4"
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
peerDependenciesMeta:
typescript:
optional: true
checksum: 10c0/315194b3bf39beb9bd16c190956c46beec64b8371e18d6bb72002108b250983eb1e186a01d34b77eb4045f4941acbb243b16155fbb46881105f65e37dc9e24d4
languageName: node
linkType: hard

"@typescript-eslint/scope-manager@npm:5.62.0":
version: 5.62.0
resolution: "@typescript-eslint/scope-manager@npm:5.62.0"
dependencies:
"@typescript-eslint/types": "npm:5.62.0"
"@typescript-eslint/visitor-keys": "npm:5.62.0"
checksum: 10c0/861253235576c1c5c1772d23cdce1418c2da2618a479a7de4f6114a12a7ca853011a1e530525d0931c355a8fd237b9cd828fac560f85f9623e24054fd024726f
eslint: ^8.57.0 || ^9.0.0
typescript: ">=4.8.4 <5.8.0"
checksum: 10c0/fff4a86be27f603ad8d6f7dd9758c46b04a254828f0c6d8a34869c1cf30b5828b60a1dc088f72680a7b65cc5fc696848df4605de19e59a18467306d7ca56c11d
languageName: node
linkType: hard

Expand All @@ -3306,20 +3285,13 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/type-utils@npm:5.62.0":
version: 5.62.0
resolution: "@typescript-eslint/type-utils@npm:5.62.0"
"@typescript-eslint/scope-manager@npm:8.20.0":
version: 8.20.0
resolution: "@typescript-eslint/scope-manager@npm:8.20.0"
dependencies:
"@typescript-eslint/typescript-estree": "npm:5.62.0"
"@typescript-eslint/utils": "npm:5.62.0"
debug: "npm:^4.3.4"
tsutils: "npm:^3.21.0"
peerDependencies:
eslint: "*"
peerDependenciesMeta:
typescript:
optional: true
checksum: 10c0/93112e34026069a48f0484b98caca1c89d9707842afe14e08e7390af51cdde87378df29d213d3bbd10a7cfe6f91b228031b56218515ce077bdb62ddea9d9f474
"@typescript-eslint/types": "npm:8.20.0"
"@typescript-eslint/visitor-keys": "npm:8.20.0"
checksum: 10c0/a8074768d06c863169294116624a45c19377ff0b8635ad5fa4ae673b43cf704d1b9b79384ceef0ff0abb78b107d345cd90fe5572354daf6ad773fe462ee71e6a
languageName: node
linkType: hard

Expand All @@ -3338,10 +3310,18 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/types@npm:5.62.0":
version: 5.62.0
resolution: "@typescript-eslint/types@npm:5.62.0"
checksum: 10c0/7febd3a7f0701c0b927e094f02e82d8ee2cada2b186fcb938bc2b94ff6fbad88237afc304cbaf33e82797078bbbb1baf91475f6400912f8b64c89be79bfa4ddf
"@typescript-eslint/type-utils@npm:8.20.0":
version: 8.20.0
resolution: "@typescript-eslint/type-utils@npm:8.20.0"
dependencies:
"@typescript-eslint/typescript-estree": "npm:8.20.0"
"@typescript-eslint/utils": "npm:8.20.0"
debug: "npm:^4.3.4"
ts-api-utils: "npm:^2.0.0"
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
typescript: ">=4.8.4 <5.8.0"
checksum: 10c0/7d46143f26ec606b71d20f0f5535b16abba2ba7a5a2daecd2584ddb61d1284dd8404f34265cc1fdfd541068b24b0211f7ad94801c94e4c60869d9f26bf3c0b9b
languageName: node
linkType: hard

Expand All @@ -3352,21 +3332,10 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/typescript-estree@npm:5.62.0":
version: 5.62.0
resolution: "@typescript-eslint/typescript-estree@npm:5.62.0"
dependencies:
"@typescript-eslint/types": "npm:5.62.0"
"@typescript-eslint/visitor-keys": "npm:5.62.0"
debug: "npm:^4.3.4"
globby: "npm:^11.1.0"
is-glob: "npm:^4.0.3"
semver: "npm:^7.3.7"
tsutils: "npm:^3.21.0"
peerDependenciesMeta:
typescript:
optional: true
checksum: 10c0/d7984a3e9d56897b2481940ec803cb8e7ead03df8d9cfd9797350be82ff765dfcf3cfec04e7355e1779e948da8f02bc5e11719d07a596eb1cb995c48a95e38cf
"@typescript-eslint/types@npm:8.20.0":
version: 8.20.0
resolution: "@typescript-eslint/types@npm:8.20.0"
checksum: 10c0/21292d4ca089897015d2bf5ab99909a7b362902f63f4ba10696676823b50d00c7b4cd093b4b43fba01d12bc3feca3852d2c28528c06d8e45446b7477887dbee7
languageName: node
linkType: hard

Expand All @@ -3388,21 +3357,21 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/utils@npm:5.62.0":
version: 5.62.0
resolution: "@typescript-eslint/utils@npm:5.62.0"
"@typescript-eslint/typescript-estree@npm:8.20.0":
version: 8.20.0
resolution: "@typescript-eslint/typescript-estree@npm:8.20.0"
dependencies:
"@eslint-community/eslint-utils": "npm:^4.2.0"
"@types/json-schema": "npm:^7.0.9"
"@types/semver": "npm:^7.3.12"
"@typescript-eslint/scope-manager": "npm:5.62.0"
"@typescript-eslint/types": "npm:5.62.0"
"@typescript-eslint/typescript-estree": "npm:5.62.0"
eslint-scope: "npm:^5.1.1"
semver: "npm:^7.3.7"
"@typescript-eslint/types": "npm:8.20.0"
"@typescript-eslint/visitor-keys": "npm:8.20.0"
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.0.0"
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
checksum: 10c0/f09b7d9952e4a205eb1ced31d7684dd55cee40bf8c2d78e923aa8a255318d97279825733902742c09d8690f37a50243f4c4d383ab16bd7aefaf9c4b438f785e1
typescript: ">=4.8.4 <5.8.0"
checksum: 10c0/54a2c1da7d1c5f7e865b941e8a3c98eb4b5f56ed8741664a84065173bde9602cdb8866b0984b26816d6af885c1528311c11e7286e869ed424483b74366514cbd
languageName: node
linkType: hard

Expand All @@ -3421,13 +3390,18 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/visitor-keys@npm:5.62.0":
version: 5.62.0
resolution: "@typescript-eslint/visitor-keys@npm:5.62.0"
"@typescript-eslint/utils@npm:8.20.0":
version: 8.20.0
resolution: "@typescript-eslint/utils@npm:8.20.0"
dependencies:
"@typescript-eslint/types": "npm:5.62.0"
eslint-visitor-keys: "npm:^3.3.0"
checksum: 10c0/7c3b8e4148e9b94d9b7162a596a1260d7a3efc4e65199693b8025c71c4652b8042501c0bc9f57654c1e2943c26da98c0f77884a746c6ae81389fcb0b513d995d
"@eslint-community/eslint-utils": "npm:^4.4.0"
"@typescript-eslint/scope-manager": "npm:8.20.0"
"@typescript-eslint/types": "npm:8.20.0"
"@typescript-eslint/typescript-estree": "npm:8.20.0"
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
typescript: ">=4.8.4 <5.8.0"
checksum: 10c0/dd36c3b22a2adde1e1462aed0c8b4720f61859b4ebb0c3ef935a786a6b1cb0ec21eb0689f5a8debe8db26d97ebb979bab68d6f8fe7b0098e6200a485cfe2991b
languageName: node
linkType: hard

Expand All @@ -3441,6 +3415,16 @@ __metadata:
languageName: node
linkType: hard

"@typescript-eslint/visitor-keys@npm:8.20.0":
version: 8.20.0
resolution: "@typescript-eslint/visitor-keys@npm:8.20.0"
dependencies:
"@typescript-eslint/types": "npm:8.20.0"
eslint-visitor-keys: "npm:^4.2.0"
checksum: 10c0/e95d8b2685e8beb6637bf2e9d06e4177a400d3a2b142ba749944690f969ee3186b750082fd9bf34ada82acf1c5dd5970201dfd97619029c8ecca85fb4b50dbd8
languageName: node
linkType: hard

"@vitest/expect@npm:2.1.8":
version: 2.1.8
resolution: "@vitest/expect@npm:2.1.8"
Expand Down Expand Up @@ -6149,16 +6133,6 @@ __metadata:
languageName: node
linkType: hard

"eslint-scope@npm:^5.1.1":
version: 5.1.1
resolution: "eslint-scope@npm:5.1.1"
dependencies:
esrecurse: "npm:^4.3.0"
estraverse: "npm:^4.1.1"
checksum: 10c0/d30ef9dc1c1cbdece34db1539a4933fe3f9b14e1ffb27ecc85987902ee663ad7c9473bbd49a9a03195a373741e62e2f807c4938992e019b511993d163450e70a
languageName: node
linkType: hard

"eslint-scope@npm:^8.2.0":
version: 8.2.0
resolution: "eslint-scope@npm:8.2.0"
Expand Down Expand Up @@ -6271,13 +6245,6 @@ __metadata:
languageName: node
linkType: hard

"estraverse@npm:^4.1.1":
version: 4.3.0
resolution: "estraverse@npm:4.3.0"
checksum: 10c0/9cb46463ef8a8a4905d3708a652d60122a0c20bb58dec7e0e12ab0e7235123d74214fc0141d743c381813e1b992767e2708194f6f6e0f9fd00c1b4e0887b8b6d
languageName: node
linkType: hard

"estraverse@npm:^5.1.0, estraverse@npm:^5.2.0":
version: 5.3.0
resolution: "estraverse@npm:5.3.0"
Expand Down Expand Up @@ -7066,7 +7033,7 @@ __metadata:
languageName: node
linkType: hard

"globby@npm:^11.0.1, globby@npm:^11.1.0":
"globby@npm:^11.0.1":
version: 11.1.0
resolution: "globby@npm:11.1.0"
dependencies:
Expand Down Expand Up @@ -9157,13 +9124,6 @@ __metadata:
languageName: node
linkType: hard

"natural-compare-lite@npm:^1.4.0":
version: 1.4.0
resolution: "natural-compare-lite@npm:1.4.0"
checksum: 10c0/f6cef26f5044515754802c0fc475d81426f3b90fe88c20fabe08771ce1f736ce46e0397c10acb569a4dd0acb84c7f1ee70676122f95d5bfdd747af3a6c6bbaa8
languageName: node
linkType: hard

"natural-compare@npm:^1.4.0":
version: 1.4.0
resolution: "natural-compare@npm:1.4.0"
Expand Down Expand Up @@ -11728,6 +11688,15 @@ __metadata:
languageName: node
linkType: hard

"ts-api-utils@npm:^2.0.0":
version: 2.0.0
resolution: "ts-api-utils@npm:2.0.0"
peerDependencies:
typescript: ">=4.8.4"
checksum: 10c0/6165e29a5b75bd0218e3cb0f9ee31aa893dbd819c2e46dbb086c841121eb0436ed47c2c18a20cb3463d74fd1fb5af62e2604ba5971cc48e5b38ebbdc56746dfc
languageName: node
linkType: hard

"ts-node@npm:^10.0.0":
version: 10.9.2
resolution: "ts-node@npm:10.9.2"
Expand Down Expand Up @@ -11778,7 +11747,7 @@ __metadata:
languageName: node
linkType: hard

"tslib@npm:^1.11.1, tslib@npm:^1.8.1, tslib@npm:^1.9.0":
"tslib@npm:^1.11.1, tslib@npm:^1.9.0":
version: 1.14.1
resolution: "tslib@npm:1.14.1"
checksum: 10c0/69ae09c49eea644bc5ebe1bca4fa4cc2c82b7b3e02f43b84bd891504edf66dbc6b2ec0eef31a957042de2269139e4acff911e6d186a258fb14069cd7f6febce2
Expand All @@ -11799,17 +11768,6 @@ __metadata:
languageName: node
linkType: hard

"tsutils@npm:^3.21.0":
version: 3.21.0
resolution: "tsutils@npm:3.21.0"
dependencies:
tslib: "npm:^1.8.1"
peerDependencies:
typescript: ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta"
checksum: 10c0/02f19e458ec78ead8fffbf711f834ad8ecd2cc6ade4ec0320790713dccc0a412b99e7fd907c4cda2a1dc602c75db6f12e0108e87a5afad4b2f9e90a24cabd5a2
languageName: node
linkType: hard

"type-check@npm:^0.4.0, type-check@npm:~0.4.0":
version: 0.4.0
resolution: "type-check@npm:0.4.0"
Expand Down

0 comments on commit 561c434

Please sign in to comment.