From a72a87fc5f4261466db1ebff99e7f9d557980218 Mon Sep 17 00:00:00 2001 From: yifanwww Date: Tue, 5 Sep 2023 23:43:22 +0800 Subject: [PATCH] chore(deps): bump @typescript-eslint/eslint-plugin to v6 --- packages/app-common/src/apis/types.ts | 4 +- packages/app-main/src/main/apis/utils.ts | 4 +- .../app-renderer/src/utils/redux/types.ts | 8 +- packages/eslint-config/.eslintrc.basic.js | 26 +-- packages/eslint-config/.eslintrc.react.js | 8 +- packages/eslint-config/package.json | 6 +- .../src/webpack/webpack.main.config.ts | 2 +- pnpm-lock.yaml | 168 ++++++++++++------ 8 files changed, 145 insertions(+), 81 deletions(-) diff --git a/packages/app-common/src/apis/types.ts b/packages/app-common/src/apis/types.ts index 678d748b..47de7a75 100644 --- a/packages/app-common/src/apis/types.ts +++ b/packages/app-common/src/apis/types.ts @@ -29,7 +29,7 @@ export type IpcRendererListener = ( // For Defining APIs -export type IpcRendererInvokerAPI = { +export interface IpcRendererInvokerAPI { main: IpcMainHandler; renderer: IpcRendererInvoker; -}; +} diff --git a/packages/app-main/src/main/apis/utils.ts b/packages/app-main/src/main/apis/utils.ts index 9cbf8804..f9d4a07c 100644 --- a/packages/app-main/src/main/apis/utils.ts +++ b/packages/app-main/src/main/apis/utils.ts @@ -2,9 +2,7 @@ import type { IpcMainHandler } from '@ter/app-common/apis/types'; import type { AnyFn } from '@ter/app-common/types'; import { ipcMain } from 'electron'; -interface Handlers { - [windowId: string]: Handler; -} +type Handlers = Record; export class HandlerRegister> { private readonly _channel: string; diff --git a/packages/app-renderer/src/utils/redux/types.ts b/packages/app-renderer/src/utils/redux/types.ts index 49b34559..c3127ac3 100644 --- a/packages/app-renderer/src/utils/redux/types.ts +++ b/packages/app-renderer/src/utils/redux/types.ts @@ -22,9 +22,7 @@ export type ThunkFn = ( // -------------------------------------------------------------------------------------------------- DispatchingActions -export interface ReduxActions { - readonly [key: string]: ActionCreator; -} +export type ReduxActions = Readonly>; // eslint-disable-next-line @typescript-eslint/no-explicit-any type ActionCreator = ActionCreatorWithPayload | ActionCreatorWithoutPayload; @@ -41,9 +39,7 @@ export type DispatchingActions = { // --------------------------------------------------------------------------------------------------- DispatchingThunks -export interface ReduxThunks { - readonly [key: string]: (...args: never[]) => ReduxThunkAction; -} +export type ReduxThunks = Readonly ReduxThunkAction>>; // prettier-ignore export type DispatchingThunks = { diff --git a/packages/eslint-config/.eslintrc.basic.js b/packages/eslint-config/.eslintrc.basic.js index cf844a84..9294ce32 100644 --- a/packages/eslint-config/.eslintrc.basic.js +++ b/packages/eslint-config/.eslintrc.basic.js @@ -54,10 +54,10 @@ module.exports = { }, extends: [ 'airbnb-base', - 'plugin:@typescript-eslint/recommended', - 'plugin:@typescript-eslint/recommended-requiring-type-checking', - // TODO: may enable this configuration set in the future - // 'plugin:@typescript-eslint/strict', + 'plugin:@typescript-eslint/recommended-type-checked', + // TODO: may extends stricter rule configurations in the future + // 'plugin:@typescript-eslint/strict-type-checked', + 'plugin:@typescript-eslint/stylistic-type-checked', 'prettier', 'prettier/prettier', 'plugin:jest/recommended', @@ -121,7 +121,16 @@ module.exports = { // This rule is disabled by `eslint-config-prettier`, enable it here for better eslint error information. // https://github.com/prettier/eslint-config-prettier/#max-len // https://eslint.org/docs/latest/rules/max-len - 'max-len': ['error', { code: 120, ignoreUrls: true }], + 'max-len': [ + 'error', + { + code: 120, + ignoreUrls: true, + ignoreStrings: true, + ignoreTemplateLiterals: true, + ignoreRegExpLiterals: true, + }, + ], // https://eslint.org/docs/latest/rules/no-await-in-loop 'no-await-in-loop': 'off', @@ -255,9 +264,6 @@ module.exports = { // https://typescript-eslint.io/rules/no-empty-interface '@typescript-eslint/no-empty-interface': ['error', { allowSingleExtends: true }], - // https://typescript-eslint.io/rules/no-floating-promises - '@typescript-eslint/no-floating-promises': ['error', { ignoreVoid: true }], - // https://typescript-eslint.io/rules/no-loop-func '@typescript-eslint/no-loop-func': 'error', @@ -283,11 +289,11 @@ module.exports = { // https://typescript-eslint.io/rules/restrict-template-expressions '@typescript-eslint/restrict-template-expressions': [ 'error', - { allowNumber: true, allowBoolean: true, allowAny: false, allowNullish: true, allowRegExp: true }, + { allowAny: false, allowBoolean: true, allowNullish: true, allowNumber: true, allowRegExp: true }, ], // https://typescript-eslint.io/rules/return-await - '@typescript-eslint/return-await': ['error', 'in-try-catch'], + '@typescript-eslint/return-await': 'error', // -------------------- Eslint-Plugin-Import Rules -------------------- diff --git a/packages/eslint-config/.eslintrc.react.js b/packages/eslint-config/.eslintrc.react.js index 8a1f7980..7e1698d1 100644 --- a/packages/eslint-config/.eslintrc.react.js +++ b/packages/eslint-config/.eslintrc.react.js @@ -8,10 +8,10 @@ module.exports = { extends: [ 'airbnb', 'airbnb/hooks', - 'plugin:@typescript-eslint/recommended', - 'plugin:@typescript-eslint/recommended-requiring-type-checking', - // TODO: may enable this configuration set in the future - // 'plugin:@typescript-eslint/strict', + 'plugin:@typescript-eslint/recommended-type-checked', + // TODO: may extends stricter rule configurations in the future + // 'plugin:@typescript-eslint/strict-type-checked', + 'plugin:@typescript-eslint/stylistic-type-checked', 'prettier', 'prettier/prettier', 'plugin:jest/recommended', diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index a6988e4e..83f03558 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -18,12 +18,12 @@ "format": "prettier --write \"**/*.{cjs,css,html,js,jsx,mjs,json,less,scss,ts,tsx,yaml,yml}\"" }, "dependencies": { - "@typescript-eslint/eslint-plugin": "^5.59.11", - "@typescript-eslint/parser": "^5.59.11", + "@typescript-eslint/eslint-plugin": "^6.6.0", + "@typescript-eslint/parser": "^6.6.0", "eslint-config-airbnb": "^19.0.4", "eslint-config-prettier": "^8.8.0", "eslint-plugin-import": "^2.27.5", - "eslint-plugin-jest": "^27.2.1", + "eslint-plugin-jest": "^27.2.3", "eslint-plugin-jsx-a11y": "^6.7.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^4.2.1", diff --git a/packages/scripts/src/webpack/webpack.main.config.ts b/packages/scripts/src/webpack/webpack.main.config.ts index bfa17a08..63317a69 100644 --- a/packages/scripts/src/webpack/webpack.main.config.ts +++ b/packages/scripts/src/webpack/webpack.main.config.ts @@ -72,7 +72,7 @@ const factory: ConfigurationFactory = (env, argv) => { cache: { type: 'filesystem', - version: createEnvironmentHash({ NODE_ENV: process.env.NODE_ENV || 'development' }), + version: createEnvironmentHash({ NODE_ENV: process.env.NODE_ENV ?? 'development' }), cacheDirectory: appMainPaths.webpackCache, store: 'pack', buildDependencies: { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 661906df..74ac3c69 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -263,11 +263,11 @@ importers: packages/eslint-config: dependencies: '@typescript-eslint/eslint-plugin': - specifier: ^5.59.11 - version: 5.59.11(@typescript-eslint/parser@5.59.11)(eslint@8.42.0)(typescript@5.1.3) + specifier: ^6.6.0 + version: 6.6.0(@typescript-eslint/parser@6.6.0)(eslint@8.42.0)(typescript@5.1.3) '@typescript-eslint/parser': - specifier: ^5.59.11 - version: 5.59.11(eslint@8.42.0)(typescript@5.1.3) + specifier: ^6.6.0 + version: 6.6.0(eslint@8.42.0)(typescript@5.1.3) eslint-config-airbnb: specifier: ^19.0.4 version: 19.0.4(eslint-plugin-import@2.27.5)(eslint-plugin-jsx-a11y@6.7.1)(eslint-plugin-react-hooks@4.6.0)(eslint-plugin-react@7.32.2)(eslint@8.42.0) @@ -276,10 +276,10 @@ importers: version: 8.8.0(eslint@8.42.0) eslint-plugin-import: specifier: ^2.27.5 - version: 2.27.5(@typescript-eslint/parser@5.59.11)(eslint@8.42.0) + version: 2.27.5(@typescript-eslint/parser@6.6.0)(eslint@8.42.0) eslint-plugin-jest: - specifier: ^27.2.1 - version: 27.2.1(@typescript-eslint/eslint-plugin@5.59.11)(eslint@8.42.0)(typescript@5.1.3) + specifier: ^27.2.3 + version: 27.2.3(@typescript-eslint/eslint-plugin@6.6.0)(eslint@8.42.0)(typescript@5.1.3) eslint-plugin-jsx-a11y: specifier: ^6.7.1 version: 6.7.1(eslint@8.42.0) @@ -2170,47 +2170,49 @@ packages: dev: true optional: true - /@typescript-eslint/eslint-plugin@5.59.11(@typescript-eslint/parser@5.59.11)(eslint@8.42.0)(typescript@5.1.3): - resolution: {integrity: sha512-XxuOfTkCUiOSyBWIvHlUraLw/JT/6Io1365RO6ZuI88STKMavJZPNMU0lFcUTeQXEhHiv64CbxYxBNoDVSmghg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /@typescript-eslint/eslint-plugin@6.6.0(@typescript-eslint/parser@6.6.0)(eslint@8.42.0)(typescript@5.1.3): + resolution: {integrity: sha512-CW9YDGTQnNYMIo5lMeuiIG08p4E0cXrXTbcZ2saT/ETE7dWUrNxlijsQeU04qAAKkILiLzdQz+cGFxCJjaZUmA==} + engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: - '@typescript-eslint/parser': ^5.0.0 - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + '@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha + eslint: ^7.0.0 || ^8.0.0 typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: '@eslint-community/regexpp': 4.5.1 - '@typescript-eslint/parser': 5.59.11(eslint@8.42.0)(typescript@5.1.3) - '@typescript-eslint/scope-manager': 5.59.11 - '@typescript-eslint/type-utils': 5.59.11(eslint@8.42.0)(typescript@5.1.3) - '@typescript-eslint/utils': 5.59.11(eslint@8.42.0)(typescript@5.1.3) + '@typescript-eslint/parser': 6.6.0(eslint@8.42.0)(typescript@5.1.3) + '@typescript-eslint/scope-manager': 6.6.0 + '@typescript-eslint/type-utils': 6.6.0(eslint@8.42.0)(typescript@5.1.3) + '@typescript-eslint/utils': 6.6.0(eslint@8.42.0)(typescript@5.1.3) + '@typescript-eslint/visitor-keys': 6.6.0 debug: 4.3.4 eslint: 8.42.0 - grapheme-splitter: 1.0.4 + graphemer: 1.4.0 ignore: 5.2.4 - natural-compare-lite: 1.4.0 + natural-compare: 1.4.0 semver: 7.5.4 - tsutils: 3.21.0(typescript@5.1.3) + ts-api-utils: 1.0.2(typescript@5.1.3) typescript: 5.1.3 transitivePeerDependencies: - supports-color dev: false - /@typescript-eslint/parser@5.59.11(eslint@8.42.0)(typescript@5.1.3): - resolution: {integrity: sha512-s9ZF3M+Nym6CAZEkJJeO2TFHHDsKAM3ecNkLuH4i4s8/RCPnF5JRip2GyviYkeEAcwGMJxkqG9h2dAsnA1nZpA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /@typescript-eslint/parser@6.6.0(eslint@8.42.0)(typescript@5.1.3): + resolution: {integrity: sha512-setq5aJgUwtzGrhW177/i+DMLqBaJbdwGj2CPIVFFLE0NCliy5ujIdLHd2D1ysmlmsjdL2GWW+hR85neEfc12w==} + engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 + eslint: ^7.0.0 || ^8.0.0 typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 5.59.11 - '@typescript-eslint/types': 5.59.11 - '@typescript-eslint/typescript-estree': 5.59.11(typescript@5.1.3) + '@typescript-eslint/scope-manager': 6.6.0 + '@typescript-eslint/types': 6.6.0 + '@typescript-eslint/typescript-estree': 6.6.0(typescript@5.1.3) + '@typescript-eslint/visitor-keys': 6.6.0 debug: 4.3.4 eslint: 8.42.0 typescript: 5.1.3 @@ -2226,21 +2228,29 @@ packages: '@typescript-eslint/visitor-keys': 5.59.11 dev: false - /@typescript-eslint/type-utils@5.59.11(eslint@8.42.0)(typescript@5.1.3): - resolution: {integrity: sha512-LZqVY8hMiVRF2a7/swmkStMYSoXMFlzL6sXV6U/2gL5cwnLWQgLEG8tjWPpaE4rMIdZ6VKWwcffPlo1jPfk43g==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + /@typescript-eslint/scope-manager@6.6.0: + resolution: {integrity: sha512-pT08u5W/GT4KjPUmEtc2kSYvrH8x89cVzkA0Sy2aaOUIw6YxOIjA8ilwLr/1fLjOedX1QAuBpG9XggWqIIfERw==} + engines: {node: ^16.0.0 || >=18.0.0} + dependencies: + '@typescript-eslint/types': 6.6.0 + '@typescript-eslint/visitor-keys': 6.6.0 + dev: false + + /@typescript-eslint/type-utils@6.6.0(eslint@8.42.0)(typescript@5.1.3): + resolution: {integrity: sha512-8m16fwAcEnQc69IpeDyokNO+D5spo0w1jepWWY2Q6y5ZKNuj5EhVQXjtVAeDDqvW6Yg7dhclbsz6rTtOvcwpHg==} + engines: {node: ^16.0.0 || >=18.0.0} peerDependencies: - eslint: '*' + eslint: ^7.0.0 || ^8.0.0 typescript: '*' peerDependenciesMeta: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.59.11(typescript@5.1.3) - '@typescript-eslint/utils': 5.59.11(eslint@8.42.0)(typescript@5.1.3) + '@typescript-eslint/typescript-estree': 6.6.0(typescript@5.1.3) + '@typescript-eslint/utils': 6.6.0(eslint@8.42.0)(typescript@5.1.3) debug: 4.3.4 eslint: 8.42.0 - tsutils: 3.21.0(typescript@5.1.3) + ts-api-utils: 1.0.2(typescript@5.1.3) typescript: 5.1.3 transitivePeerDependencies: - supports-color @@ -2251,6 +2261,11 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: false + /@typescript-eslint/types@6.6.0: + resolution: {integrity: sha512-CB6QpJQ6BAHlJXdwUmiaXDBmTqIE2bzGTDLADgvqtHWuhfNP3rAOK7kAgRMAET5rDRr9Utt+qAzRBdu3AhR3sg==} + engines: {node: ^16.0.0 || >=18.0.0} + dev: false + /@typescript-eslint/typescript-estree@5.59.11(typescript@5.1.3): resolution: {integrity: sha512-YupOpot5hJO0maupJXixi6l5ETdrITxeo5eBOeuV7RSKgYdU3G5cxO49/9WRnJq9EMrB7AuTSLH/bqOsXi7wPA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -2272,6 +2287,27 @@ packages: - supports-color dev: false + /@typescript-eslint/typescript-estree@6.6.0(typescript@5.1.3): + resolution: {integrity: sha512-hMcTQ6Al8MP2E6JKBAaSxSVw5bDhdmbCEhGW/V8QXkb9oNsFkA4SBuOMYVPxD3jbtQ4R/vSODBsr76R6fP3tbA==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/types': 6.6.0 + '@typescript-eslint/visitor-keys': 6.6.0 + debug: 4.3.4 + globby: 11.1.0 + is-glob: 4.0.3 + semver: 7.5.4 + ts-api-utils: 1.0.2(typescript@5.1.3) + typescript: 5.1.3 + transitivePeerDependencies: + - supports-color + dev: false + /@typescript-eslint/utils@5.59.11(eslint@8.42.0)(typescript@5.1.3): resolution: {integrity: sha512-didu2rHSOMUdJThLk4aZ1Or8IcO3HzCw/ZvEjTTIfjIrcdd5cvSIwwDy2AOlE7htSNp7QIZ10fLMyRCveesMLg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -2292,6 +2328,25 @@ packages: - typescript dev: false + /@typescript-eslint/utils@6.6.0(eslint@8.42.0)(typescript@5.1.3): + resolution: {integrity: sha512-mPHFoNa2bPIWWglWYdR0QfY9GN0CfvvXX1Sv6DlSTive3jlMTUy+an67//Gysc+0Me9pjitrq0LJp0nGtLgftw==} + engines: {node: ^16.0.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.42.0) + '@types/json-schema': 7.0.12 + '@types/semver': 7.5.0 + '@typescript-eslint/scope-manager': 6.6.0 + '@typescript-eslint/types': 6.6.0 + '@typescript-eslint/typescript-estree': 6.6.0(typescript@5.1.3) + eslint: 8.42.0 + semver: 7.5.4 + transitivePeerDependencies: + - supports-color + - typescript + dev: false + /@typescript-eslint/visitor-keys@5.59.11: resolution: {integrity: sha512-KGYniTGG3AMTuKF9QBD7EIrvufkB6O6uX3knP73xbKLMpH+QRPcgnCxjWXSHjMRuOxFLovljqQgQpR0c7GvjoA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -2300,6 +2355,14 @@ packages: eslint-visitor-keys: 3.4.1 dev: false + /@typescript-eslint/visitor-keys@6.6.0: + resolution: {integrity: sha512-L61uJT26cMOfFQ+lMZKoJNbAEckLe539VhTxiGHrWl5XSKQgA0RTBZJW2HFPy5T0ZvPVSD93QsrTKDkfNwJGyQ==} + engines: {node: ^16.0.0 || >=18.0.0} + dependencies: + '@typescript-eslint/types': 6.6.0 + eslint-visitor-keys: 3.4.1 + dev: false + /@vitejs/plugin-react@4.0.1(vite@4.4.0): resolution: {integrity: sha512-g25lL98essfeSj43HJ0o4DMp0325XK0ITkxpgChzJU/CyemgyChtlxfnRbjfwxDGCTRxTiXtQAsdebQXKMRSOA==} engines: {node: ^14.18.0 || >=16.0.0} @@ -4013,7 +4076,7 @@ packages: dependencies: confusing-browser-globals: 1.0.11 eslint: 8.42.0 - eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.11)(eslint@8.42.0) + eslint-plugin-import: 2.27.5(@typescript-eslint/parser@6.6.0)(eslint@8.42.0) object.assign: 4.1.4 object.entries: 1.1.6 semver: 6.3.1 @@ -4031,7 +4094,7 @@ packages: dependencies: eslint: 8.42.0 eslint-config-airbnb-base: 15.0.0(eslint-plugin-import@2.27.5)(eslint@8.42.0) - eslint-plugin-import: 2.27.5(@typescript-eslint/parser@5.59.11)(eslint@8.42.0) + eslint-plugin-import: 2.27.5(@typescript-eslint/parser@6.6.0)(eslint@8.42.0) eslint-plugin-jsx-a11y: 6.7.1(eslint@8.42.0) eslint-plugin-react: 7.32.2(eslint@8.42.0) eslint-plugin-react-hooks: 4.6.0(eslint@8.42.0) @@ -4058,7 +4121,7 @@ packages: - supports-color dev: false - /eslint-module-utils@2.8.0(@typescript-eslint/parser@5.59.11)(eslint-import-resolver-node@0.3.7)(eslint@8.42.0): + /eslint-module-utils@2.8.0(@typescript-eslint/parser@6.6.0)(eslint-import-resolver-node@0.3.7)(eslint@8.42.0): resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -4079,7 +4142,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.59.11(eslint@8.42.0)(typescript@5.1.3) + '@typescript-eslint/parser': 6.6.0(eslint@8.42.0)(typescript@5.1.3) debug: 3.2.7 eslint: 8.42.0 eslint-import-resolver-node: 0.3.7 @@ -4098,7 +4161,7 @@ packages: regexpp: 3.2.0 dev: false - /eslint-plugin-import@2.27.5(@typescript-eslint/parser@5.59.11)(eslint@8.42.0): + /eslint-plugin-import@2.27.5(@typescript-eslint/parser@6.6.0)(eslint@8.42.0): resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} engines: {node: '>=4'} peerDependencies: @@ -4108,7 +4171,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.59.11(eslint@8.42.0)(typescript@5.1.3) + '@typescript-eslint/parser': 6.6.0(eslint@8.42.0)(typescript@5.1.3) array-includes: 3.1.6 array.prototype.flat: 1.3.1 array.prototype.flatmap: 1.3.1 @@ -4116,7 +4179,7 @@ packages: doctrine: 2.1.0 eslint: 8.42.0 eslint-import-resolver-node: 0.3.7 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.59.11)(eslint-import-resolver-node@0.3.7)(eslint@8.42.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.6.0)(eslint-import-resolver-node@0.3.7)(eslint@8.42.0) has: 1.0.3 is-core-module: 2.12.1 is-glob: 4.0.3 @@ -4131,11 +4194,11 @@ packages: - supports-color dev: false - /eslint-plugin-jest@27.2.1(@typescript-eslint/eslint-plugin@5.59.11)(eslint@8.42.0)(typescript@5.1.3): - resolution: {integrity: sha512-l067Uxx7ZT8cO9NJuf+eJHvt6bqJyz2Z29wykyEdz/OtmcELQl2MQGQLX8J94O1cSJWAwUSEvCjwjA7KEK3Hmg==} + /eslint-plugin-jest@27.2.3(@typescript-eslint/eslint-plugin@6.6.0)(eslint@8.42.0)(typescript@5.1.3): + resolution: {integrity: sha512-sRLlSCpICzWuje66Gl9zvdF6mwD5X86I4u55hJyFBsxYOsBCmT5+kSUjf+fkFWVMMgpzNEupjW8WzUqi83hJAQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} peerDependencies: - '@typescript-eslint/eslint-plugin': ^5.0.0 + '@typescript-eslint/eslint-plugin': ^5.0.0 || ^6.0.0 eslint: ^7.0.0 || ^8.0.0 jest: '*' peerDependenciesMeta: @@ -4144,7 +4207,7 @@ packages: jest: optional: true dependencies: - '@typescript-eslint/eslint-plugin': 5.59.11(@typescript-eslint/parser@5.59.11)(eslint@8.42.0)(typescript@5.1.3) + '@typescript-eslint/eslint-plugin': 6.6.0(@typescript-eslint/parser@6.6.0)(eslint@8.42.0)(typescript@5.1.3) '@typescript-eslint/utils': 5.59.11(eslint@8.42.0)(typescript@5.1.3) eslint: 8.42.0 transitivePeerDependencies: @@ -4844,10 +4907,6 @@ packages: /graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - /grapheme-splitter@1.0.4: - resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} - dev: false - /graphemer@1.4.0: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} @@ -6534,10 +6593,6 @@ packages: hasBin: true dev: true - /natural-compare-lite@1.4.0: - resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} - dev: false - /natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} @@ -8337,6 +8392,15 @@ packages: utf8-byte-length: 1.0.4 dev: true + /ts-api-utils@1.0.2(typescript@5.1.3): + resolution: {integrity: sha512-Cbu4nIqnEdd+THNEsBdkolnOXhg0I8XteoHaEKgvsxpsbWda4IsUut2c187HxywQCvveojow0Dgw/amxtSKVkQ==} + engines: {node: '>=16.13.0'} + peerDependencies: + typescript: '>=4.2.0' + dependencies: + typescript: 5.1.3 + dev: false + /ts-pattern@5.0.5: resolution: {integrity: sha512-tL0w8U/pgaacOmkb9fRlYzWEUDCfVjjv9dD4wHTgZ61MjhuMt46VNWTG747NqW6vRzoWIKABVhFSOJ82FvXrfA==} dev: false