From 179f8af84cf5ca57bd5b8b6d7446672b9c072585 Mon Sep 17 00:00:00 2001 From: Katsuyuki-Karasawa <4ranci0ne@gmail.com> Date: Tue, 28 May 2024 21:19:54 +0900 Subject: [PATCH 1/2] upgrade typescript --- package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 317290f0..bb939c97 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "sass": "^1.49.8", "stackdriver-errors-js": "^0.8.0", "tss-react": "^3.3.1", - "typescript": "^4.7.4", + "typescript": "^5.4.5", "web-vitals": "^1.1.0" }, "scripts": { diff --git a/yarn.lock b/yarn.lock index bb29c537..0ebdd51d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5815,7 +5815,7 @@ __metadata: sinon: "npm:^11.1.2" stackdriver-errors-js: "npm:^0.8.0" tss-react: "npm:^3.3.1" - typescript: "npm:^4.7.4" + typescript: "npm:^5.4.5" web-vitals: "npm:^1.1.0" languageName: unknown linkType: soft @@ -20669,23 +20669,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^4.7.4": - version: 4.7.4 - resolution: "typescript@npm:4.7.4" +"typescript@npm:^5.4.5": + version: 5.4.5 + resolution: "typescript@npm:5.4.5" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/8c1c4007b6ce5b24c49f0e89173ab9e82687cc6ae54418d1140bb63b82d6598d085ac0f993fe3d3d1fbf87a2c76f1f81d394dc76315bc72c7a9f8561c5d8d205 + checksum: 10c0/2954022ada340fd3d6a9e2b8e534f65d57c92d5f3989a263754a78aba549f7e6529acc1921913560a4b816c46dce7df4a4d29f9f11a3dc0d4213bb76d043251e languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^4.7.4#optional!builtin": - version: 4.7.4 - resolution: "typescript@patch:typescript@npm%3A4.7.4#optional!builtin::version=4.7.4&hash=65a307" +"typescript@patch:typescript@npm%3A^5.4.5#optional!builtin": + version: 5.4.5 + resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin::version=5.4.5&hash=5adc0c" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 10c0/2eb6e31b04fabec84a4d07b5d567deb5ef0a2971d89d9adb16895f148f7d8508adfb12074abc2efc6966805d3664e68ab67925060e5b0ebd8da616db4b151906 + checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9 languageName: node linkType: hard From f20bbc2bfcf5002e37b608bf01ce465c3276b46f Mon Sep 17 00:00:00 2001 From: Katsuyuki-Karasawa <4ranci0ne@gmail.com> Date: Tue, 28 May 2024 21:29:12 +0900 Subject: [PATCH 2/2] upgrade @typescript-eslint/parser and fix originalKeywordKind error --- package.json | 2 +- yarn.lock | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 93 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index bb939c97..d2f582c6 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,7 @@ "@types/w3c-web-usb": "^1.0.5", "@types/wicg-file-system-access": "^2020.9.7", "@typescript-eslint/eslint-plugin": "^4.10.0", - "@typescript-eslint/parser": "^4.10.0", + "@typescript-eslint/parser": "^7.11.0", "babel-eslint": "^10.1.0", "eslint-config-prettier": "^7.0.0", "eslint-plugin-prettier": "^5.1.3", diff --git a/yarn.lock b/yarn.lock index 0ebdd51d..04c8fbb9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5446,7 +5446,7 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/parser@npm:^4.10.0, @typescript-eslint/parser@npm:^4.5.0": +"@typescript-eslint/parser@npm:^4.5.0": version: 4.33.0 resolution: "@typescript-eslint/parser@npm:4.33.0" dependencies: @@ -5463,6 +5463,24 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/parser@npm:^7.11.0": + version: 7.11.0 + resolution: "@typescript-eslint/parser@npm:7.11.0" + dependencies: + "@typescript-eslint/scope-manager": "npm:7.11.0" + "@typescript-eslint/types": "npm:7.11.0" + "@typescript-eslint/typescript-estree": "npm:7.11.0" + "@typescript-eslint/visitor-keys": "npm:7.11.0" + debug: "npm:^4.3.4" + peerDependencies: + eslint: ^8.56.0 + peerDependenciesMeta: + typescript: + optional: true + checksum: 10c0/f5d1343fae90ccd91aea8adf194e22ed3eb4b2ea79d03d8a9ca6e7b669a6db306e93138ec64f7020c5b3128619d50304dea1f06043eaff6b015071822cad4972 + languageName: node + linkType: hard + "@typescript-eslint/scope-manager@npm:4.33.0": version: 4.33.0 resolution: "@typescript-eslint/scope-manager@npm:4.33.0" @@ -5473,6 +5491,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/scope-manager@npm:7.11.0": + version: 7.11.0 + resolution: "@typescript-eslint/scope-manager@npm:7.11.0" + dependencies: + "@typescript-eslint/types": "npm:7.11.0" + "@typescript-eslint/visitor-keys": "npm:7.11.0" + checksum: 10c0/35f9d88f38f2366017b15c9ee752f2605afa8009fa1eaf81c8b2b71fc22ddd2a33fff794a02015c8991a5fa99f315c3d6d76a5957d3fad1ccbb4cd46735c98b5 + languageName: node + linkType: hard + "@typescript-eslint/types@npm:3.10.1": version: 3.10.1 resolution: "@typescript-eslint/types@npm:3.10.1" @@ -5487,6 +5515,13 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/types@npm:7.11.0": + version: 7.11.0 + resolution: "@typescript-eslint/types@npm:7.11.0" + checksum: 10c0/c5d6c517124017eb44aa180c8ea1fad26ec8e47502f92fd12245ba3141560e69d7f7e35b8aa160ddd5df63a2952af407e2f62cc58b663c86e1f778ffb5b01789 + languageName: node + linkType: hard + "@typescript-eslint/typescript-estree@npm:3.10.1": version: 3.10.1 resolution: "@typescript-eslint/typescript-estree@npm:3.10.1" @@ -5524,6 +5559,25 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/typescript-estree@npm:7.11.0": + version: 7.11.0 + resolution: "@typescript-eslint/typescript-estree@npm:7.11.0" + dependencies: + "@typescript-eslint/types": "npm:7.11.0" + "@typescript-eslint/visitor-keys": "npm:7.11.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: 10c0/a4eda43f352d20edebae0c1c221c4fd9de0673a94988cf1ae3f5e4917ef9cdb9ead8d3673ea8dd6e80d9cf3523a47c295be1326a3fae017b277233f4c4b4026b + languageName: node + linkType: hard + "@typescript-eslint/visitor-keys@npm:3.10.1": version: 3.10.1 resolution: "@typescript-eslint/visitor-keys@npm:3.10.1" @@ -5543,6 +5597,16 @@ __metadata: languageName: node linkType: hard +"@typescript-eslint/visitor-keys@npm:7.11.0": + version: 7.11.0 + resolution: "@typescript-eslint/visitor-keys@npm:7.11.0" + dependencies: + "@typescript-eslint/types": "npm:7.11.0" + eslint-visitor-keys: "npm:^3.4.3" + checksum: 10c0/664e558d9645896484b7ffc9381837f0d52443bf8d121a5586d02d42ca4d17dc35faf526768c4b1beb52c57c43fae555898eb087651eb1c7a3d60f1085effea1 + languageName: node + linkType: hard + "@webassemblyjs/ast@npm:1.9.0": version: 1.9.0 resolution: "@webassemblyjs/ast@npm:1.9.0" @@ -5778,7 +5842,7 @@ __metadata: "@types/w3c-web-usb": "npm:^1.0.5" "@types/wicg-file-system-access": "npm:^2020.9.7" "@typescript-eslint/eslint-plugin": "npm:^4.10.0" - "@typescript-eslint/parser": "npm:^4.10.0" + "@typescript-eslint/parser": "npm:^7.11.0" ajv: "npm:^7.0.3" axios: "npm:^0.21.1" babel-eslint: "npm:^10.1.0" @@ -9965,6 +10029,13 @@ __metadata: languageName: node linkType: hard +"eslint-visitor-keys@npm:^3.4.3": + version: 3.4.3 + resolution: "eslint-visitor-keys@npm:3.4.3" + checksum: 10c0/92708e882c0a5ffd88c23c0b404ac1628cf20104a108c745f240a13c332a11aac54f49a22d5762efbffc18ecbc9a580d1b7ad034bf5f3cc3307e5cbff2ec9820 + languageName: node + linkType: hard + "eslint-webpack-plugin@npm:^2.5.2": version: 2.6.0 resolution: "eslint-webpack-plugin@npm:2.6.0" @@ -11232,7 +11303,7 @@ __metadata: languageName: node linkType: hard -"globby@npm:^11.0.2, globby@npm:^11.0.3": +"globby@npm:^11.0.2, globby@npm:^11.0.3, globby@npm:^11.1.0": version: 11.1.0 resolution: "globby@npm:11.1.0" dependencies: @@ -18960,6 +19031,15 @@ __metadata: languageName: node linkType: hard +"semver@npm:^7.6.0": + version: 7.6.2 + resolution: "semver@npm:7.6.2" + bin: + semver: bin/semver.js + checksum: 10c0/97d3441e97ace8be4b1976433d1c32658f6afaff09f143e52c593bae7eef33de19e3e369c88bd985ce1042c6f441c80c6803078d1de2a9988080b66684cbb30c + languageName: node + linkType: hard + "send@npm:0.17.2": version: 0.17.2 resolution: "send@npm:0.17.2" @@ -20489,6 +20569,15 @@ __metadata: languageName: node linkType: hard +"ts-api-utils@npm:^1.3.0": + version: 1.3.0 + resolution: "ts-api-utils@npm:1.3.0" + peerDependencies: + typescript: ">=4.2.0" + checksum: 10c0/f54a0ba9ed56ce66baea90a3fa087a484002e807f28a8ccb2d070c75e76bde64bd0f6dce98b3802834156306050871b67eec325cb4e918015a360a3f0868c77c + languageName: node + linkType: hard + "ts-dedent@npm:^2.0.0": version: 2.2.0 resolution: "ts-dedent@npm:2.2.0"