From a3320c490c5d9625020a5576b0f1287c729d0904 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Thu, 16 Nov 2023 09:49:34 +0100 Subject: [PATCH] chore: enable a couple more ESLint rules (#14686) --- .eslintrc.cjs | 11 +- .yarnrc.yml | 15 +- .../errorOnDeprecated.test.ts.snap | 28 +-- .../moduleNameMapper.test.ts.snap | 4 +- .../requireMissingExt.test.ts.snap | 2 +- .../resolveNoFileExtensions.test.ts.snap | 2 +- e2e/coverage-report/sumDependency.js | 2 +- .../__tests__/fail.test.js | 1 + .../__tests__/pending.test.js | 1 + packages/jest-resolve/src/fileWalkers.ts | 1 + packages/jest-worker/src/PriorityQueue.ts | 1 + .../__tests__/__fixtures__/EdgeCasesWorker.js | 1 + yarn.lock | 176 +++++++++--------- 13 files changed, 132 insertions(+), 113 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index fc2da5925ce5..5f417dceed58 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -156,6 +156,13 @@ module.exports = { ], }, }, + { + files: 'e2e/coverage-remapping/covered.ts', + rules: { + 'no-constant-binary-expression': 'off', + 'no-constant-condition': 'off', + }, + }, // 'eslint-plugin-jest' rules for test and test related files { @@ -218,6 +225,7 @@ module.exports = { 'jest/no-focused-tests': 'off', 'jest/require-to-throw-message': 'off', 'no-console': 'off', + 'no-constant-condition': 'off', 'no-undef': 'off', 'no-unused-vars': 'off', 'sort-keys': 'off', @@ -489,7 +497,8 @@ module.exports = { {allow: ['warn', 'error', 'time', 'timeEnd', 'timeStamp']}, ], 'no-const-assign': 'error', - 'no-constant-condition': 'off', + 'no-constant-condition': 'error', + 'no-constant-binary-expression': 'error', 'no-continue': 'off', 'no-control-regex': 'off', 'no-debugger': 'error', diff --git a/.yarnrc.yml b/.yarnrc.yml index c09c4c49849e..85c029199d2e 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -7,15 +7,20 @@ logFilters: nodeLinker: node-modules packageExtensions: + "@algolia/autocomplete-core@*": + peerDependencies: + "@algolia/client-search": ^4.9.1 + algoliasearch: ^4.18.0 + "@algolia/autocomplete-plugin-algolia-insights@*": + peerDependencies: + "@algolia/client-search": ^4.9.1 + algoliasearch: ^4.18.0 "@docsearch/react@*": dependencies: "@algolia/client-search": ^4.9.1 - "@svgr/core@*": + babel-plugin-transform-flow-enums@*: peerDependencies: - "@babel/core": ^7.1.6 - psl@*: - dependencies: - punycode: ^2.1.1 + "@babel/core": ^7.0.0 react-native@*: peerDependencies: "@babel/preset-env": ^7.1.6 diff --git a/e2e/__tests__/__snapshots__/errorOnDeprecated.test.ts.snap b/e2e/__tests__/__snapshots__/errorOnDeprecated.test.ts.snap index 2b7a60046b57..7164d4bef7ab 100644 --- a/e2e/__tests__/__snapshots__/errorOnDeprecated.test.ts.snap +++ b/e2e/__tests__/__snapshots__/errorOnDeprecated.test.ts.snap @@ -27,15 +27,15 @@ exports[`fail.test.js errors in errorOnDeprecated mode 1`] = ` Illegal usage of global \`fail\`, prefer throwing an error, or the \`done.fail\` callback. - 9 | test('fail', () => { - 10 | if (true) { - > 11 | fail('The truth hurts!'); + 10 | // eslint-disable-next-line no-constant-condition + 11 | if (true) { + > 12 | fail('The truth hurts!'); | ^ - 12 | } - 13 | }); - 14 | + 13 | } + 14 | }); + 15 | - at Object.fail (__tests__/fail.test.js:11:5)" + at Object.fail (__tests__/fail.test.js:12:5)" `; exports[`jasmine.addMatchers.test.js errors in errorOnDeprecated mode 1`] = ` @@ -173,15 +173,15 @@ exports[`pending.test.js errors in errorOnDeprecated mode 1`] = ` Illegal usage of global \`pending\`, prefer explicitly skipping a test using \`test.skip\` - 9 | test('pending', () => { - 10 | if (true) { - > 11 | pending('This test is pending.'); + 10 | // eslint-disable-next-line no-constant-condition + 11 | if (true) { + > 12 | pending('This test is pending.'); | ^ - 12 | } - 13 | expect(false).toBe(true); - 14 | }); + 13 | } + 14 | expect(false).toBe(true); + 15 | }); - at Object.pending (__tests__/pending.test.js:11:5)" + at Object.pending (__tests__/pending.test.js:12:5)" `; exports[`spyOn.test.js errors in errorOnDeprecated mode 1`] = ` diff --git a/e2e/__tests__/__snapshots__/moduleNameMapper.test.ts.snap b/e2e/__tests__/__snapshots__/moduleNameMapper.test.ts.snap index c8d8b0a2d976..fe1ba57c9a9b 100644 --- a/e2e/__tests__/__snapshots__/moduleNameMapper.test.ts.snap +++ b/e2e/__tests__/__snapshots__/moduleNameMapper.test.ts.snap @@ -41,7 +41,7 @@ exports[`moduleNameMapper wrong array configuration 1`] = ` 12 | module.exports = () => 'test'; 13 | - at createNoMappedModuleFoundError (../../packages/jest-resolve/build/index.js:1172:17) + at createNoMappedModuleFoundError (../../packages/jest-resolve/build/index.js:1174:17) at Object.require (index.js:10:1) at Object.require (__tests__/index.js:10:20)" `; @@ -71,7 +71,7 @@ exports[`moduleNameMapper wrong configuration 1`] = ` 12 | module.exports = () => 'test'; 13 | - at createNoMappedModuleFoundError (../../packages/jest-resolve/build/index.js:1172:17) + at createNoMappedModuleFoundError (../../packages/jest-resolve/build/index.js:1174:17) at Object.require (index.js:10:1) at Object.require (__tests__/index.js:10:20)" `; diff --git a/e2e/__tests__/__snapshots__/requireMissingExt.test.ts.snap b/e2e/__tests__/__snapshots__/requireMissingExt.test.ts.snap index 2fbdb214626f..f7e4f8985ce3 100644 --- a/e2e/__tests__/__snapshots__/requireMissingExt.test.ts.snap +++ b/e2e/__tests__/__snapshots__/requireMissingExt.test.ts.snap @@ -26,7 +26,7 @@ exports[`shows a proper error from deep requires 1`] = ` 12 | test('dummy', () => { 13 | expect(1).toBe(1); - at Resolver._throwModNotFoundError (../../packages/jest-resolve/build/index.js:927:11) + at Resolver._throwModNotFoundError (../../packages/jest-resolve/build/index.js:929:11) at Object. (node_modules/discord.js/src/index.js:21:12) at Object.require (__tests__/test.js:10:1)" `; diff --git a/e2e/__tests__/__snapshots__/resolveNoFileExtensions.test.ts.snap b/e2e/__tests__/__snapshots__/resolveNoFileExtensions.test.ts.snap index 1372c981269c..a5439509e3da 100644 --- a/e2e/__tests__/__snapshots__/resolveNoFileExtensions.test.ts.snap +++ b/e2e/__tests__/__snapshots__/resolveNoFileExtensions.test.ts.snap @@ -37,7 +37,7 @@ exports[`show error message with matching files 1`] = ` | ^ 9 | - at Resolver._throwModNotFoundError (../../packages/jest-resolve/build/index.js:927:11) + at Resolver._throwModNotFoundError (../../packages/jest-resolve/build/index.js:929:11) at Object.require (index.js:8:18) at Object.require (__tests__/test.js:8:11)" `; diff --git a/e2e/coverage-report/sumDependency.js b/e2e/coverage-report/sumDependency.js index 72da2f5c6acf..9f2fe41cc641 100644 --- a/e2e/coverage-report/sumDependency.js +++ b/e2e/coverage-report/sumDependency.js @@ -7,7 +7,7 @@ require('path'); -// eslint-disable-next-line prefer-template +// eslint-disable-next-line prefer-template, no-constant-condition const uncoveredFunction = () => (true ? 1 + '5' : '999'); module.exports = { diff --git a/e2e/error-on-deprecated/__tests__/fail.test.js b/e2e/error-on-deprecated/__tests__/fail.test.js index 6fc4851b3c12..d2c9d2c28d0f 100644 --- a/e2e/error-on-deprecated/__tests__/fail.test.js +++ b/e2e/error-on-deprecated/__tests__/fail.test.js @@ -7,6 +7,7 @@ 'use strict'; test('fail', () => { + // eslint-disable-next-line no-constant-condition if (true) { fail('The truth hurts!'); } diff --git a/e2e/error-on-deprecated/__tests__/pending.test.js b/e2e/error-on-deprecated/__tests__/pending.test.js index 4aaaf2b3d014..e8cf95d52e81 100644 --- a/e2e/error-on-deprecated/__tests__/pending.test.js +++ b/e2e/error-on-deprecated/__tests__/pending.test.js @@ -7,6 +7,7 @@ 'use strict'; test('pending', () => { + // eslint-disable-next-line no-constant-condition if (true) { pending('This test is pending.'); } diff --git a/packages/jest-resolve/src/fileWalkers.ts b/packages/jest-resolve/src/fileWalkers.ts index 6821310439fb..35d4d08a63fb 100644 --- a/packages/jest-resolve/src/fileWalkers.ts +++ b/packages/jest-resolve/src/fileWalkers.ts @@ -95,6 +95,7 @@ export function findClosestPackageJson(start: string): string | undefined { dir = dirname(dir); } + // eslint-disable-next-line no-constant-condition while (true) { const pkgJsonFile = resolve(dir, './package.json'); const hasPackageJson = isFile(pkgJsonFile); diff --git a/packages/jest-worker/src/PriorityQueue.ts b/packages/jest-worker/src/PriorityQueue.ts index be6f7b2ace28..39f3a2dc05b0 100644 --- a/packages/jest-worker/src/PriorityQueue.ts +++ b/packages/jest-worker/src/PriorityQueue.ts @@ -133,6 +133,7 @@ class MinHeap { nodes[0] = lastElement ?? null; const element = nodes[0]!; + // eslint-disable-next-line no-constant-condition while (true) { let swapIndex = null; const rightChildIndex = (index + 1) * 2; diff --git a/packages/jest-worker/src/workers/__tests__/__fixtures__/EdgeCasesWorker.js b/packages/jest-worker/src/workers/__tests__/__fixtures__/EdgeCasesWorker.js index 99311ef7cf3f..d447c2252519 100644 --- a/packages/jest-worker/src/workers/__tests__/__fixtures__/EdgeCasesWorker.js +++ b/packages/jest-worker/src/workers/__tests__/__fixtures__/EdgeCasesWorker.js @@ -20,6 +20,7 @@ async function leakMemory() { ); let i = Number.MAX_SAFE_INTEGER / 2; + // eslint-disable-next-line no-constant-condition while (true) { i++; diff --git a/yarn.lock b/yarn.lock index bb626b37d65b..384aa44d8a4e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2667,9 +2667,9 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.1.2": - version: 2.1.2 - resolution: "@eslint/eslintrc@npm:2.1.2" +"@eslint/eslintrc@npm:^2.1.3": + version: 2.1.3 + resolution: "@eslint/eslintrc@npm:2.1.3" dependencies: ajv: ^6.12.4 debug: ^4.3.2 @@ -2680,14 +2680,14 @@ __metadata: js-yaml: ^4.1.0 minimatch: ^3.1.2 strip-json-comments: ^3.1.1 - checksum: bc742a1e3b361f06fedb4afb6bf32cbd27171292ef7924f61c62f2aed73048367bcc7ac68f98c06d4245cd3fabc43270f844e3c1699936d4734b3ac5398814a7 + checksum: 5c6c3878192fe0ddffa9aff08b4e2f3bcc8f1c10d6449b7295a5f58b662019896deabfc19890455ffd7e60a5bd28d25d0eaefb2f78b2d230aae3879af92b89e5 languageName: node linkType: hard -"@eslint/js@npm:8.52.0": - version: 8.52.0 - resolution: "@eslint/js@npm:8.52.0" - checksum: 490893b8091a66415f4ac98b963d23eb287264ea3bd6af7ec788f0570705cf64fd6ab84b717785980f55e39d08ff5c7fde6d8e4391ccb507169370ce3a6d091a +"@eslint/js@npm:8.53.0": + version: 8.53.0 + resolution: "@eslint/js@npm:8.53.0" + checksum: e0d5cfb0000aaee237c8e6d6d6e366faa60b1ef7f928ce17778373aa44d3b886368f6d5e1f97f913f0f16801aad016db8b8df78418c9d18825c15590328028af languageName: node linkType: hard @@ -4924,38 +4924,38 @@ __metadata: linkType: hard "@types/eslint-scope@npm:^3.7.3": - version: 3.7.6 - resolution: "@types/eslint-scope@npm:3.7.6" + version: 3.7.7 + resolution: "@types/eslint-scope@npm:3.7.7" dependencies: "@types/eslint": "*" "@types/estree": "*" - checksum: a2339e312949ae7f96bca52cde89a3d2218d4505746a78a0ba1aa56573e43b3d52ce9662b86ab785663a62fa8f2bd2fb61b990398785b40f2efc91be3fd246f8 + checksum: e2889a124aaab0b89af1bab5959847c5bec09809209255de0e63b9f54c629a94781daa04adb66bffcdd742f5e25a17614fb933965093c0eea64aacda4309380e languageName: node linkType: hard "@types/eslint@npm:*": - version: 8.44.6 - resolution: "@types/eslint@npm:8.44.6" + version: 8.44.7 + resolution: "@types/eslint@npm:8.44.7" dependencies: "@types/estree": "*" "@types/json-schema": "*" - checksum: ed8de582ab3dbd7ec0bf97d41f4f3de28dd8a37fc48bc423e1c406bbb70d1fd8c4175ba17ad6495ef9ef99a43df71421277b7a2a0355097489c4c4cf6bb266ff + checksum: 72a52f74477fbe7cc95ad290b491f51f0bc547cb7ea3672c68da3ffd3fb21ba86145bc36823a37d0a186caedeaee15b2d2a6b4c02c6c55819ff746053bd28310 languageName: node linkType: hard "@types/estree-jsx@npm:^1.0.0": - version: 1.0.2 - resolution: "@types/estree-jsx@npm:1.0.2" + version: 1.0.3 + resolution: "@types/estree-jsx@npm:1.0.3" dependencies: "@types/estree": "*" - checksum: b6d6da4029f3e620e635ca2f3bad990ddb1e136bfa14c343d937fb65d02fcaa2188b89122b044a9cac91185eb688da20041337445ecf09dbb2f84a3c238249f8 + checksum: 6887a134308b6db4a33a147b56c9d0a47c17ea7e810bdd7c498c306a0fd00bcf2619cb0f57f74009d03dda974b3cd7e414767f85332b1d1b2be30a3ef9e1cca9 languageName: node linkType: hard "@types/estree@npm:*, @types/estree@npm:^1.0.0": - version: 1.0.4 - resolution: "@types/estree@npm:1.0.4" - checksum: dcd08e6e967def3afff745774b6b9b912d6394ddacbb3e8be05bb291c1803f5f03f1ab0eeb852bf8a85ca14842663f461f3dac82179dcdccbf45fbc067673bbc + version: 1.0.5 + resolution: "@types/estree@npm:1.0.5" + checksum: dd8b5bed28e6213b7acd0fb665a84e693554d850b0df423ac8076cc3ad5823a6bc26b0251d080bdc545af83179ede51dd3f6fa78cad2c46ed1f29624ddf3e41a languageName: node linkType: hard @@ -4967,44 +4967,44 @@ __metadata: linkType: hard "@types/exit@npm:^0.1.30": - version: 0.1.32 - resolution: "@types/exit@npm:0.1.32" + version: 0.1.33 + resolution: "@types/exit@npm:0.1.33" dependencies: "@types/node": "*" - checksum: 86a6e3d619dd328ae9b013c1df95a3ec4e5c24164a20d3dbb45ee6558ee90a49b70e3c103f63c18715ec451ee1622a4588c6a34c78ee7fda8878e11fb7c9c775 + checksum: 74e8e74ea3ce2c2a0ebc7dbf1ac06a93bc99a073872db203ced3de7b439985a932dce5bc63b6841b21f34929b1e2f5f7db28c11c39fe43c0b09c3d4fb6bb7eec languageName: node linkType: hard "@types/express-serve-static-core@npm:*, @types/express-serve-static-core@npm:^4.17.33": - version: 4.17.39 - resolution: "@types/express-serve-static-core@npm:4.17.39" + version: 4.17.41 + resolution: "@types/express-serve-static-core@npm:4.17.41" dependencies: "@types/node": "*" "@types/qs": "*" "@types/range-parser": "*" "@types/send": "*" - checksum: 4227b96a53f0cf19d01fdb77a74252660f8e70650b79167e591b04c66ec9c7330d0a00038939415f96664a67312b21798bbac150fe81bf613380849b96546c37 + checksum: 12750f6511dd870bbaccfb8208ad1e79361cf197b147f62a3bedc19ec642f3a0f9926ace96705f4bc88ec2ae56f61f7ca8c2438e6b22f5540842b5569c28a121 languageName: node linkType: hard "@types/express@npm:*, @types/express@npm:^4.17.13": - version: 4.17.20 - resolution: "@types/express@npm:4.17.20" + version: 4.17.21 + resolution: "@types/express@npm:4.17.21" dependencies: "@types/body-parser": "*" "@types/express-serve-static-core": ^4.17.33 "@types/qs": "*" "@types/serve-static": "*" - checksum: bf8a97d283128e5129f9ccabbeef728ff3f0484465e0ae74a304bd0588fa6cb715ae68845650caba9a641944b7791ba125d02ddbd47a7e62aaefdd036570c6c5 + checksum: fb238298630370a7392c7abdc80f495ae6c716723e114705d7e3fb67e3850b3859bbfd29391463a3fb8c0b32051847935933d99e719c0478710f8098ee7091c5 languageName: node linkType: hard "@types/fb-watchman@npm:^2.0.0": - version: 2.0.3 - resolution: "@types/fb-watchman@npm:2.0.3" + version: 2.0.4 + resolution: "@types/fb-watchman@npm:2.0.4" dependencies: "@types/node": "*" - checksum: 8ecf6d01fb76f8fa5d7a695a83110d2f5397a36582d18c25d9bef9612ba8d3cd2a16f2aa9c76c9ec7b79c5b955133b7d13f35399c1fd069e4e25de9a69d0ce85 + checksum: 7d024396d0ab6609cd5825de7cccde17a8615257417caa93ee894df48312ec2dcba773a623b4102ffc7bdc77ae85275c5673b3e884eaeb9a052721731adab41b languageName: node linkType: hard @@ -5019,11 +5019,11 @@ __metadata: linkType: hard "@types/graceful-fs@npm:^4.1.3": - version: 4.1.8 - resolution: "@types/graceful-fs@npm:4.1.8" + version: 4.1.9 + resolution: "@types/graceful-fs@npm:4.1.9" dependencies: "@types/node": "*" - checksum: 6e1ee9c119e075134696171b680fee7b627f3e077ec5e5ad9ba9359f1688a84fa35ea6804f96922c43ca30ab8d4ca9531a526b64f57fa13e1d721bf741884829 + checksum: 79d746a8f053954bba36bd3d94a90c78de995d126289d656fb3271dd9f1229d33f678da04d10bce6be440494a5a73438e2e363e92802d16b8315b051036c5256 languageName: node linkType: hard @@ -5616,14 +5616,14 @@ __metadata: linkType: hard "@typescript-eslint/eslint-plugin@npm:^6.6.0": - version: 6.9.1 - resolution: "@typescript-eslint/eslint-plugin@npm:6.9.1" + version: 6.10.0 + resolution: "@typescript-eslint/eslint-plugin@npm:6.10.0" dependencies: "@eslint-community/regexpp": ^4.5.1 - "@typescript-eslint/scope-manager": 6.9.1 - "@typescript-eslint/type-utils": 6.9.1 - "@typescript-eslint/utils": 6.9.1 - "@typescript-eslint/visitor-keys": 6.9.1 + "@typescript-eslint/scope-manager": 6.10.0 + "@typescript-eslint/type-utils": 6.10.0 + "@typescript-eslint/utils": 6.10.0 + "@typescript-eslint/visitor-keys": 6.10.0 debug: ^4.3.4 graphemer: ^1.4.0 ignore: ^5.2.4 @@ -5636,25 +5636,25 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 71ad2487ab3ce23dc8ac58e8f402c0bd23883dbcb045d049b8adf126d1f7c4f386655f0e25d316db256f91663d436683cbf101e45aed9e1d248cd843b7fa22f9 + checksum: eaf1f66ae1915426dad8d229c8cb80d2b320572a30c3fbc57d560d40edc2d17d004101a2fcbe331bc458df19a00f8b705f2442ee02e028bb595f4e9f9152e99d languageName: node linkType: hard "@typescript-eslint/parser@npm:^6.6.0": - version: 6.9.1 - resolution: "@typescript-eslint/parser@npm:6.9.1" + version: 6.10.0 + resolution: "@typescript-eslint/parser@npm:6.10.0" dependencies: - "@typescript-eslint/scope-manager": 6.9.1 - "@typescript-eslint/types": 6.9.1 - "@typescript-eslint/typescript-estree": 6.9.1 - "@typescript-eslint/visitor-keys": 6.9.1 + "@typescript-eslint/scope-manager": 6.10.0 + "@typescript-eslint/types": 6.10.0 + "@typescript-eslint/typescript-estree": 6.10.0 + "@typescript-eslint/visitor-keys": 6.10.0 debug: ^4.3.4 peerDependencies: eslint: ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: aabca4e9751c0caf48477a75a811e1f96176ddea26465d5654579a1a5288d1bb959bf4426207ee22f7dcfb2f1ab50ade2bbf49fee555e1b4ca8abebd47fe26fb + checksum: c4b140932d639b3f3eac892497aa700bcc9101ef268285020757dc9bee670d122de107e936320af99a5c06569e4eb93bccf87f14a9970ceab708c432e748423a languageName: node linkType: hard @@ -5668,22 +5668,22 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:6.9.1": - version: 6.9.1 - resolution: "@typescript-eslint/scope-manager@npm:6.9.1" +"@typescript-eslint/scope-manager@npm:6.10.0": + version: 6.10.0 + resolution: "@typescript-eslint/scope-manager@npm:6.10.0" dependencies: - "@typescript-eslint/types": 6.9.1 - "@typescript-eslint/visitor-keys": 6.9.1 - checksum: 3b48f7c939ab4668e150360756b84310467306700b874d028614b337e894d1db79f9898e3d20b9d60ef40c219160d653791ed61058c8857059c310c904a4c6a8 + "@typescript-eslint/types": 6.10.0 + "@typescript-eslint/visitor-keys": 6.10.0 + checksum: c9b9483082ae853f10b888cf04d4a14f666ac55e749bfdb7b7f726fc51127a6340b5e2f50d93f134a8854ddcc41f7b116b214753251a8b033d0d84c600439c54 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:6.9.1": - version: 6.9.1 - resolution: "@typescript-eslint/type-utils@npm:6.9.1" +"@typescript-eslint/type-utils@npm:6.10.0": + version: 6.10.0 + resolution: "@typescript-eslint/type-utils@npm:6.10.0" dependencies: - "@typescript-eslint/typescript-estree": 6.9.1 - "@typescript-eslint/utils": 6.9.1 + "@typescript-eslint/typescript-estree": 6.10.0 + "@typescript-eslint/utils": 6.10.0 debug: ^4.3.4 ts-api-utils: ^1.0.1 peerDependencies: @@ -5691,7 +5691,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 39cf4831ebe3618ffd47f85b2425d8fba746cf2087d16f99e021a66a148c3c52034f68854acfde9c01816e363e699e59e16606482937051418b86a60593f850a + checksum: cfe9520cf0c0f50b115d2591acb2abf99ffe5789b3536268ca65b624c8498812d91f187e80c41bea7cf2cebad9c38f69ef27440f872a20fb53c59856d8f5df38 languageName: node linkType: hard @@ -5702,10 +5702,10 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:6.9.1": - version: 6.9.1 - resolution: "@typescript-eslint/types@npm:6.9.1" - checksum: f9208af83e8117cdeb48655bbb436339b8b2369421cda0cc7ae7c7bb44a2743a5b2702c9c9f7ccbe261fbac63083c6e357a015a20903cb8dfed3e754f8fb40e3 +"@typescript-eslint/types@npm:6.10.0": + version: 6.10.0 + resolution: "@typescript-eslint/types@npm:6.10.0" + checksum: e63a9e05eb3d736d02a09131627d5cb89394bf0d9d6b46fb4b620be902d89d73554720be65acbc194787bff9ffcd518c9a6cf88fd63e418232b4181e8d8438df languageName: node linkType: hard @@ -5727,12 +5727,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:6.9.1": - version: 6.9.1 - resolution: "@typescript-eslint/typescript-estree@npm:6.9.1" +"@typescript-eslint/typescript-estree@npm:6.10.0": + version: 6.10.0 + resolution: "@typescript-eslint/typescript-estree@npm:6.10.0" dependencies: - "@typescript-eslint/types": 6.9.1 - "@typescript-eslint/visitor-keys": 6.9.1 + "@typescript-eslint/types": 6.10.0 + "@typescript-eslint/visitor-keys": 6.10.0 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 @@ -5741,24 +5741,24 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 3824629963e05a70944788da00711e35ac9ba72be690add5b3d771b2aa5a7d1f9bcf974e0170e6ee644090c96b9e0496d781dd4f4893e6e24652e7dae876c293 + checksum: 15bd8d9239a557071d6b03e7aa854b769fcc2dbdff587ed94be7ee8060dabdb05bcae4251df22432f625f82087e7f6986e9aab04f7eea35af694d4edd76a21af languageName: node linkType: hard -"@typescript-eslint/utils@npm:6.9.1": - version: 6.9.1 - resolution: "@typescript-eslint/utils@npm:6.9.1" +"@typescript-eslint/utils@npm:6.10.0": + version: 6.10.0 + resolution: "@typescript-eslint/utils@npm:6.10.0" dependencies: "@eslint-community/eslint-utils": ^4.4.0 "@types/json-schema": ^7.0.12 "@types/semver": ^7.5.0 - "@typescript-eslint/scope-manager": 6.9.1 - "@typescript-eslint/types": 6.9.1 - "@typescript-eslint/typescript-estree": 6.9.1 + "@typescript-eslint/scope-manager": 6.10.0 + "@typescript-eslint/types": 6.10.0 + "@typescript-eslint/typescript-estree": 6.10.0 semver: ^7.5.4 peerDependencies: eslint: ^7.0.0 || ^8.0.0 - checksum: 124db80dbe849cfb951d97a3b2dd04a8dd4d7be2f6db7d2782943e84bbf3fad210f884a16ffa8ead48fd4c43b22c3132abcd9a4f2da9d94a99c473a7bb04f2e7 + checksum: b6bd4d68623fb8d616ae63a88f2954258411a0cc113029fba801d1e74b4c0319fdfbcac0070527afe5cc38c012c8718e4faecd1603000924d7b89e8fefc3f24d languageName: node linkType: hard @@ -5790,13 +5790,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:6.9.1": - version: 6.9.1 - resolution: "@typescript-eslint/visitor-keys@npm:6.9.1" +"@typescript-eslint/visitor-keys@npm:6.10.0": + version: 6.10.0 + resolution: "@typescript-eslint/visitor-keys@npm:6.10.0" dependencies: - "@typescript-eslint/types": 6.9.1 + "@typescript-eslint/types": 6.10.0 eslint-visitor-keys: ^3.4.1 - checksum: 4262055a71d9f54d576df915a80050ad1ad01ef13301e67a1494ca34712a73b9f31f0d06830c582d8dd7483681368aa769575f9db03cb5a8e910efc435f0e78a + checksum: 9640bfae41e6109ffba31e68b1720382de0538d021261e2fc9e514c83c703084393c0818ca77ed26b950273e45e593371120281e8d4bbd09cb8c2d46c9fe4f03 languageName: node linkType: hard @@ -9677,13 +9677,13 @@ __metadata: linkType: hard "eslint@npm:^8.8.0": - version: 8.52.0 - resolution: "eslint@npm:8.52.0" + version: 8.53.0 + resolution: "eslint@npm:8.53.0" dependencies: "@eslint-community/eslint-utils": ^4.2.0 "@eslint-community/regexpp": ^4.6.1 - "@eslint/eslintrc": ^2.1.2 - "@eslint/js": 8.52.0 + "@eslint/eslintrc": ^2.1.3 + "@eslint/js": 8.53.0 "@humanwhocodes/config-array": ^0.11.13 "@humanwhocodes/module-importer": ^1.0.1 "@nodelib/fs.walk": ^1.2.8 @@ -9720,7 +9720,7 @@ __metadata: text-table: ^0.2.0 bin: eslint: bin/eslint.js - checksum: fd22d1e9bd7090e31b00cbc7a3b98f3b76020a4c4641f987ae7d0c8f52e1b88c3b268bdfdabac2e1a93513e5d11339b718ff45cbff48a44c35d7e52feba510ed + checksum: 2da808655c7aa4b33f8970ba30d96b453c3071cc4d6cd60d367163430677e32ff186b65270816b662d29139283138bff81f28dddeb2e73265495245a316ed02c languageName: node linkType: hard