From eb6aae640f140c40f53503247007e179f6f7ba12 Mon Sep 17 00:00:00 2001 From: "C. T. Lin" Date: Tue, 12 Dec 2023 18:27:15 +0800 Subject: [PATCH] chore: bump typescript-eslint to 6.14 (#59514) --- package.json | 4 +- pnpm-lock.yaml | 125 ++++++++++++++++++++++++++++--------------------- 2 files changed, 74 insertions(+), 55 deletions(-) diff --git a/package.json b/package.json index d7f2939cbfa14..65733d31b6e49 100644 --- a/package.json +++ b/package.json @@ -107,8 +107,8 @@ "@types/sharp": "0.29.3", "@types/string-hash": "1.1.1", "@types/trusted-types": "2.0.3", - "@typescript-eslint/eslint-plugin": "6.1.0", - "@typescript-eslint/parser": "6.1.0", + "@typescript-eslint/eslint-plugin": "6.14.0", + "@typescript-eslint/parser": "6.14.0", "@vercel/fetch": "6.1.1", "@vercel/og": "0.5.15", "abort-controller": "3.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b5a15812ebfcb..ac6ae63b8f51b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -168,11 +168,11 @@ importers: specifier: 2.0.3 version: 2.0.3 '@typescript-eslint/eslint-plugin': - specifier: 6.1.0 - version: 6.1.0(@typescript-eslint/parser@6.1.0)(eslint@7.24.0)(typescript@5.2.2) + specifier: 6.14.0 + version: 6.14.0(@typescript-eslint/parser@6.14.0)(eslint@7.24.0)(typescript@5.2.2) '@typescript-eslint/parser': - specifier: 6.1.0 - version: 6.1.0(eslint@7.24.0)(typescript@5.2.2) + specifier: 6.14.0 + version: 6.14.0(eslint@7.24.0)(typescript@5.2.2) '@vercel/fetch': specifier: 6.1.1 version: 6.1.1(@types/node-fetch@2.6.1)(node-fetch@2.6.7) @@ -244,10 +244,10 @@ importers: version: 4.3.0(eslint@7.24.0) eslint-plugin-import: specifier: 2.22.1 - version: 2.22.1(@typescript-eslint/parser@6.1.0)(eslint@7.24.0) + version: 2.22.1(@typescript-eslint/parser@6.14.0)(eslint@7.24.0) eslint-plugin-jest: specifier: 24.3.5 - version: 24.3.5(@typescript-eslint/eslint-plugin@6.1.0)(eslint@7.24.0)(typescript@5.2.2) + version: 24.3.5(@typescript-eslint/eslint-plugin@6.14.0)(eslint@7.24.0)(typescript@5.2.2) eslint-plugin-jsdoc: specifier: 39.6.4 version: 39.6.4(eslint@7.24.0) @@ -6871,8 +6871,8 @@ packages: '@types/yargs-parser': 21.0.0 dev: true - /@typescript-eslint/eslint-plugin@6.1.0(@typescript-eslint/parser@6.1.0)(eslint@7.24.0)(typescript@5.2.2): - resolution: {integrity: sha512-qg7Bm5TyP/I7iilGyp6DRqqkt8na00lI6HbjWZObgk3FFSzH5ypRwAHXJhJkwiRtTcfn+xYQIMOR5kJgpo6upw==} + /@typescript-eslint/eslint-plugin@6.14.0(@typescript-eslint/parser@6.14.0)(eslint@7.24.0)(typescript@5.2.2): + resolution: {integrity: sha512-1ZJBykBCXaSHG94vMMKmiHoL0MhNHKSVlcHVYZNw+BKxufhqQVTOawNpwwI1P5nIFZ/4jLVop0mcY6mJJDFNaw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha @@ -6883,17 +6883,16 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.5.1 - '@typescript-eslint/parser': 6.1.0(eslint@7.24.0)(typescript@5.2.2) - '@typescript-eslint/scope-manager': 6.1.0 - '@typescript-eslint/type-utils': 6.1.0(eslint@7.24.0)(typescript@5.2.2) - '@typescript-eslint/utils': 6.1.0(eslint@7.24.0)(typescript@5.2.2) - '@typescript-eslint/visitor-keys': 6.1.0 + '@typescript-eslint/parser': 6.14.0(eslint@7.24.0)(typescript@5.2.2) + '@typescript-eslint/scope-manager': 6.14.0 + '@typescript-eslint/type-utils': 6.14.0(eslint@7.24.0)(typescript@5.2.2) + '@typescript-eslint/utils': 6.14.0(eslint@7.24.0)(typescript@5.2.2) + '@typescript-eslint/visitor-keys': 6.14.0 debug: 4.3.4 eslint: 7.24.0 graphemer: 1.4.0 ignore: 5.2.4 natural-compare: 1.4.0 - natural-compare-lite: 1.4.0 semver: 7.5.4 ts-api-utils: 1.0.1(typescript@5.2.2) typescript: 5.2.2 @@ -6919,7 +6918,7 @@ packages: - typescript dev: true - /@typescript-eslint/parser@6.1.0(eslint@7.24.0)(typescript@5.2.2): + /@typescript-eslint/parser@6.1.0(eslint@8.31.0)(typescript@4.8.2): resolution: {integrity: sha512-hIzCPvX4vDs4qL07SYzyomamcs2/tQYXg5DtdAfj35AyJ5PIUqhsLf4YrEIFzZcND7R2E8tpQIZKayxg8/6Wbw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: @@ -6931,17 +6930,17 @@ packages: dependencies: '@typescript-eslint/scope-manager': 6.1.0 '@typescript-eslint/types': 6.1.0 - '@typescript-eslint/typescript-estree': 6.1.0(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 6.1.0(typescript@4.8.2) '@typescript-eslint/visitor-keys': 6.1.0 debug: 4.3.4 - eslint: 7.24.0 - typescript: 5.2.2 + eslint: 8.31.0 + typescript: 4.8.2 transitivePeerDependencies: - supports-color - dev: true + dev: false - /@typescript-eslint/parser@6.1.0(eslint@8.31.0)(typescript@4.8.2): - resolution: {integrity: sha512-hIzCPvX4vDs4qL07SYzyomamcs2/tQYXg5DtdAfj35AyJ5PIUqhsLf4YrEIFzZcND7R2E8tpQIZKayxg8/6Wbw==} + /@typescript-eslint/parser@6.14.0(eslint@7.24.0)(typescript@5.2.2): + resolution: {integrity: sha512-QjToC14CKacd4Pa7JK4GeB/vHmWFJckec49FR4hmIRf97+KXole0T97xxu9IFiPxVQ1DBWrQ5wreLwAGwWAVQA==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -6950,16 +6949,16 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 6.1.0 - '@typescript-eslint/types': 6.1.0 - '@typescript-eslint/typescript-estree': 6.1.0(typescript@4.8.2) - '@typescript-eslint/visitor-keys': 6.1.0 + '@typescript-eslint/scope-manager': 6.14.0 + '@typescript-eslint/types': 6.14.0 + '@typescript-eslint/typescript-estree': 6.14.0(typescript@5.2.2) + '@typescript-eslint/visitor-keys': 6.14.0 debug: 4.3.4 - eslint: 8.31.0 - typescript: 4.8.2 + eslint: 7.24.0 + typescript: 5.2.2 transitivePeerDependencies: - supports-color - dev: false + dev: true /@typescript-eslint/scope-manager@4.29.1: resolution: {integrity: sha512-Hzv/uZOa9zrD/W5mftZa54Jd5Fed3tL6b4HeaOpwVSabJK8CJ+2MkDasnX/XK4rqP5ZTWngK1ZDeCi6EnxPQ7A==} @@ -6975,9 +6974,18 @@ packages: dependencies: '@typescript-eslint/types': 6.1.0 '@typescript-eslint/visitor-keys': 6.1.0 + dev: false + + /@typescript-eslint/scope-manager@6.14.0: + resolution: {integrity: sha512-VT7CFWHbZipPncAZtuALr9y3EuzY1b1t1AEkIq2bTXUPKw+pHoXflGNG5L+Gv6nKul1cz1VH8fz16IThIU0tdg==} + engines: {node: ^16.0.0 || >=18.0.0} + dependencies: + '@typescript-eslint/types': 6.14.0 + '@typescript-eslint/visitor-keys': 6.14.0 + dev: true - /@typescript-eslint/type-utils@6.1.0(eslint@7.24.0)(typescript@5.2.2): - resolution: {integrity: sha512-kFXBx6QWS1ZZ5Ni89TyT1X9Ag6RXVIVhqDs0vZE/jUeWlBv/ixq2diua6G7ece6+fXw3TvNRxP77/5mOMusx2w==} + /@typescript-eslint/type-utils@6.14.0(eslint@7.24.0)(typescript@5.2.2): + resolution: {integrity: sha512-x6OC9Q7HfYKqjnuNu5a7kffIYs3No30isapRBJl1iCHLitD8O0lFbRcVGiOcuyN837fqXzPZ1NS10maQzZMKqw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -6986,8 +6994,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 6.1.0(typescript@5.2.2) - '@typescript-eslint/utils': 6.1.0(eslint@7.24.0)(typescript@5.2.2) + '@typescript-eslint/typescript-estree': 6.14.0(typescript@5.2.2) + '@typescript-eslint/utils': 6.14.0(eslint@7.24.0)(typescript@5.2.2) debug: 4.3.4 eslint: 7.24.0 ts-api-utils: 1.0.1(typescript@5.2.2) @@ -7004,6 +7012,12 @@ packages: /@typescript-eslint/types@6.1.0: resolution: {integrity: sha512-+Gfd5NHCpDoHDOaU/yIF3WWRI2PcBRKKpP91ZcVbL0t5tQpqYWBs3z/GGhvU+EV1D0262g9XCnyqQh19prU0JQ==} engines: {node: ^16.0.0 || >=18.0.0} + dev: false + + /@typescript-eslint/types@6.14.0: + resolution: {integrity: sha512-uty9H2K4Xs8E47z3SnXEPRNDfsis8JO27amp2GNCnzGETEW3yTqEIVg5+AI7U276oGF/tw6ZA+UesxeQ104ceA==} + engines: {node: ^16.0.0 || >=18.0.0} + dev: true /@typescript-eslint/typescript-estree@4.29.1(typescript@5.2.2): resolution: {integrity: sha512-lIkkrR9E4lwZkzPiRDNq0xdC3f2iVCUjw/7WPJ4S2Sl6C3nRWkeE1YXCQ0+KsiaQRbpY16jNaokdWnm9aUIsfw==} @@ -7047,8 +7061,8 @@ packages: - supports-color dev: false - /@typescript-eslint/typescript-estree@6.1.0(typescript@5.2.2): - resolution: {integrity: sha512-nUKAPWOaP/tQjU1IQw9sOPCDavs/iU5iYLiY/6u7gxS7oKQoi4aUxXS1nrrVGTyBBaGesjkcwwHkbkiD5eBvcg==} + /@typescript-eslint/typescript-estree@6.14.0(typescript@5.2.2): + resolution: {integrity: sha512-yPkaLwK0yH2mZKFE/bXkPAkkFgOv15GJAUzgUVonAbv0Hr4PK/N2yaA/4XQbTZQdygiDkpt5DkxPELqHguNvyw==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: typescript: '*' @@ -7056,8 +7070,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 6.1.0 - '@typescript-eslint/visitor-keys': 6.1.0 + '@typescript-eslint/types': 6.14.0 + '@typescript-eslint/visitor-keys': 6.14.0 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -7068,8 +7082,8 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@6.1.0(eslint@7.24.0)(typescript@5.2.2): - resolution: {integrity: sha512-wp652EogZlKmQoMS5hAvWqRKplXvkuOnNzZSE0PVvsKjpexd/XznRVHAtrfHFYmqaJz0DFkjlDsGYC9OXw+OhQ==} + /@typescript-eslint/utils@6.14.0(eslint@7.24.0)(typescript@5.2.2): + resolution: {integrity: sha512-XwRTnbvRr7Ey9a1NT6jqdKX8y/atWG+8fAIu3z73HSP8h06i3r/ClMhmaF/RGWGW1tHJEwij1uEg2GbEmPYvYg==} engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 @@ -7077,9 +7091,9 @@ packages: '@eslint-community/eslint-utils': 4.4.0(eslint@7.24.0) '@types/json-schema': 7.0.12 '@types/semver': 7.5.0 - '@typescript-eslint/scope-manager': 6.1.0 - '@typescript-eslint/types': 6.1.0 - '@typescript-eslint/typescript-estree': 6.1.0(typescript@5.2.2) + '@typescript-eslint/scope-manager': 6.14.0 + '@typescript-eslint/types': 6.14.0 + '@typescript-eslint/typescript-estree': 6.14.0(typescript@5.2.2) eslint: 7.24.0 semver: 7.5.4 transitivePeerDependencies: @@ -7101,6 +7115,15 @@ packages: dependencies: '@typescript-eslint/types': 6.1.0 eslint-visitor-keys: 3.4.1 + dev: false + + /@typescript-eslint/visitor-keys@6.14.0: + resolution: {integrity: sha512-fB5cw6GRhJUz03MrROVuj5Zm/Q+XWlVdIsFj+Zb1Hvqouc8t+XP2H5y53QYU/MGtd2dPg6/vJJlhoX3xc2ehfw==} + engines: {node: ^16.0.0 || >=18.0.0} + dependencies: + '@typescript-eslint/types': 6.14.0 + eslint-visitor-keys: 3.4.1 + dev: true /@vercel/fetch-cached-dns@2.0.2(node-fetch@2.6.7): resolution: {integrity: sha512-gDqKEV8CeY2YmCdZpP1rn3tFK1L07Vw2+HYkCK8zpRHOVGr/sP8yhBsW+C/yqGVj0i9z/rIvqIHe5emvRvxwgw==} @@ -11183,7 +11206,7 @@ packages: - supports-color dev: false - /eslint-module-utils@2.7.3(@typescript-eslint/parser@6.1.0)(eslint-import-resolver-node@0.3.6): + /eslint-module-utils@2.7.3(@typescript-eslint/parser@6.14.0)(eslint-import-resolver-node@0.3.6): resolution: {integrity: sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ==} engines: {node: '>=4'} peerDependencies: @@ -11201,7 +11224,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 6.1.0(eslint@7.24.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.14.0(eslint@7.24.0)(typescript@5.2.2) debug: 3.2.7 eslint-import-resolver-node: 0.3.6 find-up: 2.1.0 @@ -11250,7 +11273,7 @@ packages: estraverse: 5.3.0 dev: true - /eslint-plugin-import@2.22.1(@typescript-eslint/parser@6.1.0)(eslint@7.24.0): + /eslint-plugin-import@2.22.1(@typescript-eslint/parser@6.14.0)(eslint@7.24.0): resolution: {integrity: sha512-8K7JjINHOpH64ozkAhpT3sd+FswIZTfMZTjdx052pnWrgRCVfp8op9tbjpAk3DdUeI/Ba4C8OjdC0r90erHEOw==} engines: {node: '>=4'} peerDependencies: @@ -11260,7 +11283,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 6.1.0(eslint@7.24.0)(typescript@5.2.2) + '@typescript-eslint/parser': 6.14.0(eslint@7.24.0)(typescript@5.2.2) array-includes: 3.1.4 array.prototype.flat: 1.2.5 contains-path: 0.1.0 @@ -11268,7 +11291,7 @@ packages: doctrine: 1.5.0 eslint: 7.24.0 eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.7.3(@typescript-eslint/parser@6.1.0)(eslint-import-resolver-node@0.3.6) + eslint-module-utils: 2.7.3(@typescript-eslint/parser@6.14.0)(eslint-import-resolver-node@0.3.6) has: 1.0.3 minimatch: 3.1.2 object.values: 1.1.5 @@ -11316,7 +11339,7 @@ packages: - supports-color dev: false - /eslint-plugin-jest@24.3.5(@typescript-eslint/eslint-plugin@6.1.0)(eslint@7.24.0)(typescript@5.2.2): + /eslint-plugin-jest@24.3.5(@typescript-eslint/eslint-plugin@6.14.0)(eslint@7.24.0)(typescript@5.2.2): resolution: {integrity: sha512-XG4rtxYDuJykuqhsOqokYIR84/C8pRihRtEpVskYLbIIKGwPNW2ySxdctuVzETZE+MbF/e7wmsnbNVpzM0rDug==} engines: {node: '>=10'} peerDependencies: @@ -11326,7 +11349,7 @@ packages: '@typescript-eslint/eslint-plugin': optional: true dependencies: - '@typescript-eslint/eslint-plugin': 6.1.0(@typescript-eslint/parser@6.1.0)(eslint@7.24.0)(typescript@5.2.2) + '@typescript-eslint/eslint-plugin': 6.14.0(@typescript-eslint/parser@6.14.0)(eslint@7.24.0)(typescript@5.2.2) '@typescript-eslint/experimental-utils': 4.29.1(eslint@7.24.0)(typescript@5.2.2) eslint: 7.24.0 transitivePeerDependencies: @@ -13530,7 +13553,7 @@ packages: engines: {node: '>= 6'} dependencies: agent-base: 6.0.2 - debug: 4.3.4 + debug: 4.1.1 transitivePeerDependencies: - supports-color dev: true @@ -17277,10 +17300,6 @@ packages: querystring: 0.2.0 dev: true - /natural-compare-lite@1.4.0: - resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} - dev: true - /natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}