diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fba83da23b5..0f73cc6ab546 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,25 @@ +## 7.10.0 (2024-05-20) + + +### 🚀 Features + +- **eslint-plugin:** [sort-type-constituents] support case sensitive sorting ([#8760](https://github.com/typescript-eslint/typescript-eslint/pull/8760)) + +### 🩹 Fixes + +- **eslint-plugin:** [prefer-regexp-exec] fix heuristic to check whether regex may contain global flag ([#8764](https://github.com/typescript-eslint/typescript-eslint/pull/8764)) +- **typescript-estree:** don't add in-project files to defaultProjectMatchedFiles ([#9097](https://github.com/typescript-eslint/typescript-eslint/pull/9097)) +- **utils:** remove function form type from flat config `files` and `ignores` ([#9111](https://github.com/typescript-eslint/typescript-eslint/pull/9111)) + +### ❤️ Thank You + +- auvred @auvred +- Emanuel Hoogeveen @ehoogeveen-medweb +- jsfm01 @jsfm01 +- Kirk Waiblinger + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) diff --git a/docs/Contributing.mdx b/docs/Contributing.mdx index eb6ee023934b..67f28ca8c34c 100644 --- a/docs/Contributing.mdx +++ b/docs/Contributing.mdx @@ -16,6 +16,6 @@ If you're new to open source, you may also find the [How to Contribute to Open S ## Next Steps -1. [Finding or opening an issue](https://typescript-eslint.io/contributing/issues): In the issue tab, find the pr currently tagged with `accepting prs` or create a new issue. -2. [Setting up a local environment](https://typescript-eslint.io/contributing/local-development): Let's learn how to set up the local environment to start development. -3. [Making a PR](https://typescript-eslint.io/contributing/pull-requests): you've got changes locally that address an issue, take a look at that topic. +1. [Finding or opening an issue](./contributing/Issues.mdx): In the issue tab, find the pr currently tagged with `accepting prs` or create a new issue. +2. [Setting up a local environment](./contributing/Local_Development.mdx): Let's learn how to set up the local environment to start development. +3. [Making a PR](./contributing/Pull_Requests.mdx): you've got changes locally that address an issue, take a look at that topic. diff --git a/package.json b/package.json index 7d56893b817f..1376ac74760f 100644 --- a/package.json +++ b/package.json @@ -115,7 +115,7 @@ "prettier": "3.2.5", "pretty-format": "^29.7.0", "rimraf": "^5.0.5", - "tmp": "^0.2.3", + "tmp": "^0.2.1", "tsx": "*", "typescript": ">=4.7.4 <5.5.0", "typescript-eslint": "workspace:^", @@ -138,6 +138,7 @@ "jest-util": "^29", "pretty-format": "^29", "react-split-pane@^0.1.92": "patch:react-split-pane@npm%3A0.1.92#./.yarn/patches/react-split-pane-npm-0.1.92-93dbf51dff.patch", + "tmp": "0.2.1", "tsx": "^4.7.2", "typescript": "5.4.3", "@nx/eslint@17.3.1": "patch:@nx/eslint@npm%3A17.3.1#./.yarn/patches/@nx-eslint-npm-17.3.1-a2f85d8c50.patch" diff --git a/packages/ast-spec/CHANGELOG.md b/packages/ast-spec/CHANGELOG.md index be4345a15879..be40a99d5f25 100644 --- a/packages/ast-spec/CHANGELOG.md +++ b/packages/ast-spec/CHANGELOG.md @@ -1,3 +1,9 @@ +## 7.10.0 (2024-05-20) + +This was a version bump only for ast-spec to align it with other projects, there were no code changes. + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) This was a version bump only for ast-spec to align it with other projects, there were no code changes. diff --git a/packages/ast-spec/package.json b/packages/ast-spec/package.json index 532b8ea083b9..4ba3751b6b85 100644 --- a/packages/ast-spec/package.json +++ b/packages/ast-spec/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/ast-spec", - "version": "7.9.0", + "version": "7.10.0", "description": "Complete specification for the TypeScript-ESTree AST", "private": true, "keywords": [ diff --git a/packages/ast-spec/src/declaration/VariableDeclaration/fixtures/_error_/missing-value-in-using/snapshots/2-Babel-Error.shot b/packages/ast-spec/src/declaration/VariableDeclaration/fixtures/_error_/missing-value-in-using/snapshots/2-Babel-Error.shot index 05e3f2fa460c..d261e20d3f43 100644 --- a/packages/ast-spec/src/declaration/VariableDeclaration/fixtures/_error_/missing-value-in-using/snapshots/2-Babel-Error.shot +++ b/packages/ast-spec/src/declaration/VariableDeclaration/fixtures/_error_/missing-value-in-using/snapshots/2-Babel-Error.shot @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`AST Fixtures declaration VariableDeclaration _error_ missing-value-in-using Babel - Error 1`] = `"NO ERROR"`; +exports[`AST Fixtures declaration VariableDeclaration _error_ missing-value-in-using Babel - Error 1`] = `[SyntaxError: Missing initializer in using declaration. (1:7)]`; diff --git a/packages/ast-spec/src/declaration/VariableDeclaration/fixtures/_error_/missing-value-in-using/snapshots/3-Alignment-Error.shot b/packages/ast-spec/src/declaration/VariableDeclaration/fixtures/_error_/missing-value-in-using/snapshots/3-Alignment-Error.shot index 71344766bf98..62b811d2845c 100644 --- a/packages/ast-spec/src/declaration/VariableDeclaration/fixtures/_error_/missing-value-in-using/snapshots/3-Alignment-Error.shot +++ b/packages/ast-spec/src/declaration/VariableDeclaration/fixtures/_error_/missing-value-in-using/snapshots/3-Alignment-Error.shot @@ -1,3 +1,3 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`AST Fixtures declaration VariableDeclaration _error_ missing-value-in-using Error Alignment 1`] = `"TSESTree errored but Babel didn't"`; +exports[`AST Fixtures declaration VariableDeclaration _error_ missing-value-in-using Error Alignment 1`] = `"Both errored"`; diff --git a/packages/ast-spec/tests/fixtures-with-differences-errors.shot b/packages/ast-spec/tests/fixtures-with-differences-errors.shot index 0fa210c07219..3baa5a85efca 100644 --- a/packages/ast-spec/tests/fixtures-with-differences-errors.shot +++ b/packages/ast-spec/tests/fixtures-with-differences-errors.shot @@ -49,7 +49,6 @@ exports[`AST Fixtures List fixtures with Error differences 1`] = ` "TSESTree errored but Babel didn't": [ "declaration/ExportAllDeclaration/fixtures/_error_/named-non-identifier/fixture.ts", "declaration/ExportNamedDeclaration/fixtures/_error_/aliased-literal/fixture.ts", - "declaration/VariableDeclaration/fixtures/_error_/missing-value-in-using/fixture.ts", "element/AccessorProperty/fixtures/_error_/modifier-abstract-accessor-with-value/fixture.ts", "legacy-fixtures/basics/fixtures/_error_/abstract-class-with-abstract-constructor/fixture.ts", "legacy-fixtures/expressions/fixtures/_error_/instantiation-expression/fixture.ts", diff --git a/packages/eslint-plugin-internal/CHANGELOG.md b/packages/eslint-plugin-internal/CHANGELOG.md index 35f68499b9d0..a5894b814265 100644 --- a/packages/eslint-plugin-internal/CHANGELOG.md +++ b/packages/eslint-plugin-internal/CHANGELOG.md @@ -1,3 +1,9 @@ +## 7.10.0 (2024-05-20) + +This was a version bump only for eslint-plugin-internal to align it with other projects, there were no code changes. + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) This was a version bump only for eslint-plugin-internal to align it with other projects, there were no code changes. diff --git a/packages/eslint-plugin-internal/package.json b/packages/eslint-plugin-internal/package.json index 92476c2e0767..216b5d38335e 100644 --- a/packages/eslint-plugin-internal/package.json +++ b/packages/eslint-plugin-internal/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin-internal", - "version": "7.9.0", + "version": "7.10.0", "private": true, "main": "dist/index.js", "types": "index.d.ts", @@ -15,10 +15,10 @@ }, "dependencies": { "@prettier/sync": "^0.5.1", - "@typescript-eslint/rule-tester": "7.9.0", - "@typescript-eslint/scope-manager": "7.9.0", - "@typescript-eslint/type-utils": "7.9.0", - "@typescript-eslint/utils": "7.9.0", + "@typescript-eslint/rule-tester": "7.10.0", + "@typescript-eslint/scope-manager": "7.10.0", + "@typescript-eslint/type-utils": "7.10.0", + "@typescript-eslint/utils": "7.10.0", "prettier": "^3.2.5" }, "devDependencies": { diff --git a/packages/eslint-plugin/CHANGELOG.md b/packages/eslint-plugin/CHANGELOG.md index 65f276cd215c..af486790403a 100644 --- a/packages/eslint-plugin/CHANGELOG.md +++ b/packages/eslint-plugin/CHANGELOG.md @@ -1,3 +1,25 @@ +## 7.10.0 (2024-05-20) + + +### 🚀 Features + +- **eslint-plugin:** [sort-type-constituents] support case sensitive sorting + + +### 🩹 Fixes + +- **eslint-plugin:** [prefer-regexp-exec] fix heuristic to check whether regex may contain global flag + + +### ❤️ Thank You + +- auvred +- Emanuel Hoogeveen +- jsfm01 +- Kirk Waiblinger + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) diff --git a/packages/eslint-plugin/docs/rules/no-floating-promises.mdx b/packages/eslint-plugin/docs/rules/no-floating-promises.mdx index 9ef3c839825e..3caca81896c5 100644 --- a/packages/eslint-plugin/docs/rules/no-floating-promises.mdx +++ b/packages/eslint-plugin/docs/rules/no-floating-promises.mdx @@ -100,7 +100,7 @@ With this option set to `true`, and if you are using `no-void`, you should turn ### `ignoreIIFE` -This allows you to skip checking of async IIFEs (Immediately Invoked function Expressions). +This allows you to skip checking of async IIFEs (Immediately Invoked Function Expressions). Examples of **correct** code for this rule with `{ ignoreIIFE: true }`: diff --git a/packages/eslint-plugin/docs/rules/sort-type-constituents.mdx b/packages/eslint-plugin/docs/rules/sort-type-constituents.mdx index 1f83c0e77ed8..a4e29c2cdc43 100644 --- a/packages/eslint-plugin/docs/rules/sort-type-constituents.mdx +++ b/packages/eslint-plugin/docs/rules/sort-type-constituents.mdx @@ -97,6 +97,29 @@ type T4 = ## Options +### `caseSensitive` + +Whether to sort using case sensitive string comparisons. + +Examples of code with `{ "caseSensitive": true }`: + + + + +```ts option='{ "caseSensitive": true }' +type T = 'DeletedAt' | 'DeleteForever'; +``` + + + + +```ts option='{ "caseSensitive": true }' +type T = 'DeleteForever' | 'DeletedAt'; +``` + + + + ### `checkIntersections` Whether to check intersection types (`&`). diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index c41a520661f9..7ea9c7a9b65d 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin", - "version": "7.9.0", + "version": "7.10.0", "description": "TypeScript plugin for ESLint", "files": [ "dist", @@ -62,10 +62,10 @@ }, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "7.9.0", - "@typescript-eslint/type-utils": "7.9.0", - "@typescript-eslint/utils": "7.9.0", - "@typescript-eslint/visitor-keys": "7.9.0", + "@typescript-eslint/scope-manager": "7.10.0", + "@typescript-eslint/type-utils": "7.10.0", + "@typescript-eslint/utils": "7.10.0", + "@typescript-eslint/visitor-keys": "7.10.0", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -76,8 +76,8 @@ "@types/marked": "^5.0.2", "@types/mdast": "^4.0.3", "@types/natural-compare": "*", - "@typescript-eslint/rule-schema-to-typescript-types": "7.9.0", - "@typescript-eslint/rule-tester": "7.9.0", + "@typescript-eslint/rule-schema-to-typescript-types": "7.10.0", + "@typescript-eslint/rule-tester": "7.10.0", "ajv": "^6.12.6", "cross-env": "^7.0.3", "cross-fetch": "*", diff --git a/packages/eslint-plugin/src/rules/prefer-regexp-exec.ts b/packages/eslint-plugin/src/rules/prefer-regexp-exec.ts index 1b8109f87a5b..9f9e0a1dfb26 100644 --- a/packages/eslint-plugin/src/rules/prefer-regexp-exec.ts +++ b/packages/eslint-plugin/src/rules/prefer-regexp-exec.ts @@ -72,22 +72,29 @@ export default createRule({ return result; } - function isLikelyToContainGlobalFlag( + /** + * Returns true if and only if we have syntactic proof that the /g flag is + * absent. Returns false in all other cases (i.e. it still might or might + * not contain the global flag). + */ + function definitelyDoesNotContainGlobalFlag( node: TSESTree.CallExpressionArgument, ): boolean { if ( - node.type === AST_NODE_TYPES.CallExpression || - node.type === AST_NODE_TYPES.NewExpression + (node.type === AST_NODE_TYPES.CallExpression || + node.type === AST_NODE_TYPES.NewExpression) && + node.callee.type === AST_NODE_TYPES.Identifier && + node.callee.name === 'RegExp' ) { const flags = node.arguments.at(1); - return !!( + return !( flags?.type === AST_NODE_TYPES.Literal && typeof flags.value === 'string' && flags.value.includes('g') ); } - return node.type === AST_NODE_TYPES.Identifier; + return false; } return { @@ -105,7 +112,8 @@ export default createRule({ // Don't report regular expressions with global flag. if ( - (!argumentValue && isLikelyToContainGlobalFlag(argumentNode)) || + (!argumentValue && + !definitelyDoesNotContainGlobalFlag(argumentNode)) || (argumentValue && argumentValue.value instanceof RegExp && argumentValue.value.flags.includes('g')) diff --git a/packages/eslint-plugin/src/rules/sort-type-constituents.ts b/packages/eslint-plugin/src/rules/sort-type-constituents.ts index 909af8c59bf0..2f1b8f5cbd34 100644 --- a/packages/eslint-plugin/src/rules/sort-type-constituents.ts +++ b/packages/eslint-plugin/src/rules/sort-type-constituents.ts @@ -95,10 +95,20 @@ function getGroup(node: TSESTree.TypeNode): Group { } } +function caseSensitiveSort(a: string, b: string): number { + if (a < b) { + return -1; + } else if (a > b) { + return 1; + } + return 0; +} + export type Options = [ { checkIntersections?: boolean; checkUnions?: boolean; + caseSensitive?: boolean; groupOrder?: string[]; }, ]; @@ -132,6 +142,10 @@ export default createRule({ description: 'Whether to check union types.', type: 'boolean', }, + caseSensitive: { + description: 'Whether to sort using case sensitive sorting.', + type: 'boolean', + }, groupOrder: { description: 'Ordering of the groups.', type: 'array', @@ -148,6 +162,7 @@ export default createRule({ { checkIntersections: true, checkUnions: true, + caseSensitive: false, groupOrder: [ Group.named, Group.keyword, @@ -164,7 +179,10 @@ export default createRule({ ], }, ], - create(context, [{ checkIntersections, checkUnions, groupOrder }]) { + create( + context, + [{ checkIntersections, checkUnions, caseSensitive, groupOrder }], + ) { const collator = new Intl.Collator('en', { sensitivity: 'base', numeric: true, @@ -186,6 +204,10 @@ export default createRule({ return a.group - b.group; } + if (caseSensitive) { + return caseSensitiveSort(a.text, b.text); + } + return ( collator.compare(a.text, b.text) || (a.text < b.text ? -1 : a.text > b.text ? 1 : 0) diff --git a/packages/eslint-plugin/tests/docs-eslint-output-snapshots/sort-type-constituents.shot b/packages/eslint-plugin/tests/docs-eslint-output-snapshots/sort-type-constituents.shot index 5f814b118459..6cb7d94ae0d1 100644 --- a/packages/eslint-plugin/tests/docs-eslint-output-snapshots/sort-type-constituents.shot +++ b/packages/eslint-plugin/tests/docs-eslint-output-snapshots/sort-type-constituents.shot @@ -85,6 +85,23 @@ type T4 = exports[`Validating rule docs sort-type-constituents.mdx code examples ESLint output 3`] = ` "Incorrect +Options: { "caseSensitive": true } + +type T = 'DeletedAt' | 'DeleteForever'; + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Union type T constituents must be sorted. +" +`; + +exports[`Validating rule docs sort-type-constituents.mdx code examples ESLint output 4`] = ` +"Correct +Options: { "caseSensitive": true } + +type T = 'DeleteForever' | 'DeletedAt'; +" +`; + +exports[`Validating rule docs sort-type-constituents.mdx code examples ESLint output 5`] = ` +"Incorrect Options: { "checkIntersections": true } type ExampleIntersection = B & A; @@ -92,7 +109,7 @@ type ExampleIntersection = B & A; " `; -exports[`Validating rule docs sort-type-constituents.mdx code examples ESLint output 4`] = ` +exports[`Validating rule docs sort-type-constituents.mdx code examples ESLint output 6`] = ` "Correct Options: { "checkIntersections": true } @@ -100,7 +117,7 @@ type ExampleIntersection = A & B; " `; -exports[`Validating rule docs sort-type-constituents.mdx code examples ESLint output 5`] = ` +exports[`Validating rule docs sort-type-constituents.mdx code examples ESLint output 7`] = ` "Incorrect Options: { "checkUnions": true } @@ -109,7 +126,7 @@ type ExampleUnion = B | A; " `; -exports[`Validating rule docs sort-type-constituents.mdx code examples ESLint output 6`] = ` +exports[`Validating rule docs sort-type-constituents.mdx code examples ESLint output 8`] = ` "Correct Options: { "checkUnions": true } @@ -117,7 +134,7 @@ type ExampleUnion = A | B; " `; -exports[`Validating rule docs sort-type-constituents.mdx code examples ESLint output 7`] = ` +exports[`Validating rule docs sort-type-constituents.mdx code examples ESLint output 9`] = ` "Incorrect Options: { "groupOrder": ["literal", "nullish" ]} @@ -126,7 +143,7 @@ type ExampleGroup = null | 123; " `; -exports[`Validating rule docs sort-type-constituents.mdx code examples ESLint output 8`] = ` +exports[`Validating rule docs sort-type-constituents.mdx code examples ESLint output 10`] = ` "Correct Options: { "groupOrder": ["literal", "nullish" ]} diff --git a/packages/eslint-plugin/tests/rules/prefer-regexp-exec.test.ts b/packages/eslint-plugin/tests/rules/prefer-regexp-exec.test.ts index dca08379827e..cca411a362da 100644 --- a/packages/eslint-plugin/tests/rules/prefer-regexp-exec.test.ts +++ b/packages/eslint-plugin/tests/rules/prefer-regexp-exec.test.ts @@ -82,6 +82,28 @@ function test(str: string) { str.match('[a-z'); } `, + { + code: ` +const text = 'something'; +declare const search: RegExp; +text.match(search); + `, + }, + // https://github.com/typescript-eslint/typescript-eslint/issues/8614 + { + code: ` +const text = 'something'; +declare const obj: { search: RegExp }; +text.match(obj.search); + `, + }, + { + code: ` +const text = 'something'; +declare function returnsRegexp(): RegExp; +text.match(returnsRegexp()); + `, + }, ], invalid: [ { diff --git a/packages/eslint-plugin/tests/rules/sort-type-constituents.test.ts b/packages/eslint-plugin/tests/rules/sort-type-constituents.test.ts index e1a2afc38288..c020f5a18d39 100644 --- a/packages/eslint-plugin/tests/rules/sort-type-constituents.test.ts +++ b/packages/eslint-plugin/tests/rules/sort-type-constituents.test.ts @@ -327,6 +327,22 @@ ruleTester.run('sort-type-constituents', rule, { }, ], }, + { + code: "type T = 'DeleteForever' | 'DeletedAt';", + options: [ + { + caseSensitive: true, + }, + ], + }, + { + code: 'type T = { A: string } | { B: string } | { a: string };', + options: [ + { + caseSensitive: true, + }, + ], + }, ...valid('&'), { @@ -337,6 +353,14 @@ ruleTester.run('sort-type-constituents', rule, { }, ], }, + { + code: "type T = 'DeleteForever' & 'DeleteForever';", + options: [ + { + caseSensitive: true, + }, + ], + }, { code: noFormat` @@ -390,5 +414,41 @@ type T = 1 | string | {} | A; }, ], }, + { + code: "type T = 'DeletedAt' | 'DeleteForever';", + output: "type T = 'DeleteForever' | 'DeletedAt';", + errors: [ + { + messageId: 'notSortedNamed', + data: { + type: 'Union', + name: 'T', + }, + }, + ], + options: [ + { + caseSensitive: true, + }, + ], + }, + { + code: 'type T = { a: string } | { A: string } | { B: string };', + output: 'type T = { A: string } | { B: string } | { a: string };', + errors: [ + { + messageId: 'notSortedNamed', + data: { + type: 'Union', + name: 'T', + }, + }, + ], + options: [ + { + caseSensitive: true, + }, + ], + }, ], }); diff --git a/packages/eslint-plugin/tests/schema-snapshots/sort-type-constituents.shot b/packages/eslint-plugin/tests/schema-snapshots/sort-type-constituents.shot index 3384c8b4d50e..2b5fe0203a1a 100644 --- a/packages/eslint-plugin/tests/schema-snapshots/sort-type-constituents.shot +++ b/packages/eslint-plugin/tests/schema-snapshots/sort-type-constituents.shot @@ -8,6 +8,10 @@ exports[`Rule schemas should be convertible to TS types for documentation purpos { "additionalProperties": false, "properties": { + "caseSensitive": { + "description": "Whether to sort using case sensitive sorting.", + "type": "boolean" + }, "checkIntersections": { "description": "Whether to check intersection types.", "type": "boolean" @@ -47,6 +51,8 @@ exports[`Rule schemas should be convertible to TS types for documentation purpos type Options = [ { + /** Whether to sort using case sensitive sorting. */ + caseSensitive?: boolean; /** Whether to check intersection types. */ checkIntersections?: boolean; /** Whether to check union types. */ diff --git a/packages/integration-tests/CHANGELOG.md b/packages/integration-tests/CHANGELOG.md index a9b7cb5d6867..f2b8dd4ba132 100644 --- a/packages/integration-tests/CHANGELOG.md +++ b/packages/integration-tests/CHANGELOG.md @@ -1,3 +1,9 @@ +## 7.10.0 (2024-05-20) + +This was a version bump only for integration-tests to align it with other projects, there were no code changes. + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) This was a version bump only for integration-tests to align it with other projects, there were no code changes. diff --git a/packages/integration-tests/package.json b/packages/integration-tests/package.json index 229b85bbf755..0a7d0b2eb8cc 100644 --- a/packages/integration-tests/package.json +++ b/packages/integration-tests/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/integration-tests", - "version": "7.9.0", + "version": "7.10.0", "private": true, "scripts": { "format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore", diff --git a/packages/parser/CHANGELOG.md b/packages/parser/CHANGELOG.md index eef254c79eeb..3f71e9da0856 100644 --- a/packages/parser/CHANGELOG.md +++ b/packages/parser/CHANGELOG.md @@ -1,3 +1,9 @@ +## 7.10.0 (2024-05-20) + +This was a version bump only for parser to align it with other projects, there were no code changes. + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) This was a version bump only for parser to align it with other projects, there were no code changes. diff --git a/packages/parser/package.json b/packages/parser/package.json index d8bbc3e686f8..516235296a95 100644 --- a/packages/parser/package.json +++ b/packages/parser/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/parser", - "version": "7.9.0", + "version": "7.10.0", "description": "An ESLint custom parser which leverages TypeScript ESTree", "files": [ "dist", @@ -52,10 +52,10 @@ "eslint": "^8.56.0" }, "dependencies": { - "@typescript-eslint/scope-manager": "7.9.0", - "@typescript-eslint/types": "7.9.0", - "@typescript-eslint/typescript-estree": "7.9.0", - "@typescript-eslint/visitor-keys": "7.9.0", + "@typescript-eslint/scope-manager": "7.10.0", + "@typescript-eslint/types": "7.10.0", + "@typescript-eslint/typescript-estree": "7.10.0", + "@typescript-eslint/visitor-keys": "7.10.0", "debug": "^4.3.4" }, "devDependencies": { diff --git a/packages/repo-tools/CHANGELOG.md b/packages/repo-tools/CHANGELOG.md index fed0b7c4288c..c354f1647275 100644 --- a/packages/repo-tools/CHANGELOG.md +++ b/packages/repo-tools/CHANGELOG.md @@ -1,3 +1,9 @@ +## 7.10.0 (2024-05-20) + +This was a version bump only for repo-tools to align it with other projects, there were no code changes. + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) This was a version bump only for repo-tools to align it with other projects, there were no code changes. diff --git a/packages/repo-tools/package.json b/packages/repo-tools/package.json index 41b1cb49dd32..c5e243d64e14 100644 --- a/packages/repo-tools/package.json +++ b/packages/repo-tools/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/repo-tools", - "version": "7.9.0", + "version": "7.10.0", "private": true, "//": "NOTE: intentionally no build step in this package", "scripts": { @@ -18,11 +18,11 @@ "devDependencies": { "@jest/types": "29.6.3", "@nx/devkit": "*", - "@typescript-eslint/eslint-plugin": "7.9.0", - "@typescript-eslint/scope-manager": "7.9.0", - "@typescript-eslint/types": "7.9.0", - "@typescript-eslint/typescript-estree": "7.9.0", - "@typescript-eslint/utils": "7.9.0", + "@typescript-eslint/eslint-plugin": "7.10.0", + "@typescript-eslint/scope-manager": "7.10.0", + "@typescript-eslint/types": "7.10.0", + "@typescript-eslint/typescript-estree": "7.10.0", + "@typescript-eslint/utils": "7.10.0", "cross-fetch": "*", "execa": "*", "prettier": "^3.2.5", diff --git a/packages/rule-schema-to-typescript-types/CHANGELOG.md b/packages/rule-schema-to-typescript-types/CHANGELOG.md index ba73ffbb365e..b12215bef65b 100644 --- a/packages/rule-schema-to-typescript-types/CHANGELOG.md +++ b/packages/rule-schema-to-typescript-types/CHANGELOG.md @@ -1,3 +1,9 @@ +## 7.10.0 (2024-05-20) + +This was a version bump only for rule-schema-to-typescript-types to align it with other projects, there were no code changes. + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) This was a version bump only for rule-schema-to-typescript-types to align it with other projects, there were no code changes. diff --git a/packages/rule-schema-to-typescript-types/package.json b/packages/rule-schema-to-typescript-types/package.json index 3397d0ea757e..31c338bf8122 100644 --- a/packages/rule-schema-to-typescript-types/package.json +++ b/packages/rule-schema-to-typescript-types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/rule-schema-to-typescript-types", - "version": "7.9.0", + "version": "7.10.0", "private": true, "type": "commonjs", "exports": { @@ -34,8 +34,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/type-utils": "7.9.0", - "@typescript-eslint/utils": "7.9.0", + "@typescript-eslint/type-utils": "7.10.0", + "@typescript-eslint/utils": "7.10.0", "natural-compare": "^1.4.0", "prettier": "^3.2.5" }, diff --git a/packages/rule-tester/CHANGELOG.md b/packages/rule-tester/CHANGELOG.md index 5eecde9662f5..15c97b1d620e 100644 --- a/packages/rule-tester/CHANGELOG.md +++ b/packages/rule-tester/CHANGELOG.md @@ -1,3 +1,9 @@ +## 7.10.0 (2024-05-20) + +This was a version bump only for rule-tester to align it with other projects, there were no code changes. + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) diff --git a/packages/rule-tester/package.json b/packages/rule-tester/package.json index 2e448716464c..1f453d413196 100644 --- a/packages/rule-tester/package.json +++ b/packages/rule-tester/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/rule-tester", - "version": "7.9.0", + "version": "7.10.0", "description": "Tooling to test ESLint rules", "files": [ "dist", @@ -48,8 +48,8 @@ }, "//": "NOTE - AJV is out-of-date, but it's intentionally synced with ESLint - https://github.com/eslint/eslint/blob/ad9dd6a933fd098a0d99c6a9aa059850535c23ee/package.json#L70", "dependencies": { - "@typescript-eslint/typescript-estree": "7.9.0", - "@typescript-eslint/utils": "7.9.0", + "@typescript-eslint/typescript-estree": "7.10.0", + "@typescript-eslint/utils": "7.10.0", "ajv": "^6.12.6", "lodash.merge": "4.6.2", "semver": "^7.6.0" @@ -61,7 +61,7 @@ "devDependencies": { "@jest/types": "29.6.3", "@types/lodash.merge": "4.6.9", - "@typescript-eslint/parser": "7.9.0", + "@typescript-eslint/parser": "7.10.0", "chai": "^4.4.1", "eslint-visitor-keys": "^4.0.0", "espree": "^10.0.1", diff --git a/packages/scope-manager/CHANGELOG.md b/packages/scope-manager/CHANGELOG.md index 2730019df342..8a108ac02d67 100644 --- a/packages/scope-manager/CHANGELOG.md +++ b/packages/scope-manager/CHANGELOG.md @@ -1,3 +1,9 @@ +## 7.10.0 (2024-05-20) + +This was a version bump only for scope-manager to align it with other projects, there were no code changes. + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) This was a version bump only for scope-manager to align it with other projects, there were no code changes. diff --git a/packages/scope-manager/package.json b/packages/scope-manager/package.json index 4093438ccf9a..850abf29c363 100644 --- a/packages/scope-manager/package.json +++ b/packages/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "7.9.0", + "version": "7.10.0", "description": "TypeScript scope analyser for ESLint", "files": [ "dist", @@ -46,13 +46,13 @@ "typecheck": "npx nx typecheck" }, "dependencies": { - "@typescript-eslint/types": "7.9.0", - "@typescript-eslint/visitor-keys": "7.9.0" + "@typescript-eslint/types": "7.10.0", + "@typescript-eslint/visitor-keys": "7.10.0" }, "devDependencies": { "@jest/types": "29.6.3", "@types/glob": "*", - "@typescript-eslint/typescript-estree": "7.9.0", + "@typescript-eslint/typescript-estree": "7.10.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/packages/type-utils/CHANGELOG.md b/packages/type-utils/CHANGELOG.md index 5cb2ed1619fe..16980ba6f7b5 100644 --- a/packages/type-utils/CHANGELOG.md +++ b/packages/type-utils/CHANGELOG.md @@ -1,3 +1,9 @@ +## 7.10.0 (2024-05-20) + +This was a version bump only for type-utils to align it with other projects, there were no code changes. + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) This was a version bump only for type-utils to align it with other projects, there were no code changes. diff --git a/packages/type-utils/package.json b/packages/type-utils/package.json index 744d4d12c502..d9a7bc635f37 100644 --- a/packages/type-utils/package.json +++ b/packages/type-utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/type-utils", - "version": "7.9.0", + "version": "7.10.0", "description": "Type utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -46,14 +46,14 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/typescript-estree": "7.9.0", - "@typescript-eslint/utils": "7.9.0", + "@typescript-eslint/typescript-estree": "7.10.0", + "@typescript-eslint/utils": "7.10.0", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, "devDependencies": { "@jest/types": "29.6.3", - "@typescript-eslint/parser": "7.9.0", + "@typescript-eslint/parser": "7.10.0", "ajv": "^6.12.6", "downlevel-dts": "*", "jest": "29.7.0", diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 23de893c7747..38bcd37c9785 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,3 +1,9 @@ +## 7.10.0 (2024-05-20) + +This was a version bump only for types to align it with other projects, there were no code changes. + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) This was a version bump only for types to align it with other projects, there were no code changes. diff --git a/packages/types/package.json b/packages/types/package.json index 638bf71430c0..baaa09f1e399 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "7.9.0", + "version": "7.10.0", "description": "Types for the TypeScript-ESTree AST spec", "files": [ "dist", diff --git a/packages/typescript-eslint/CHANGELOG.md b/packages/typescript-eslint/CHANGELOG.md index a3ae1412d9d7..cebec6375baa 100644 --- a/packages/typescript-eslint/CHANGELOG.md +++ b/packages/typescript-eslint/CHANGELOG.md @@ -1,3 +1,9 @@ +## 7.10.0 (2024-05-20) + +This was a version bump only for typescript-eslint to align it with other projects, there were no code changes. + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) This was a version bump only for typescript-eslint to align it with other projects, there were no code changes. diff --git a/packages/typescript-eslint/package.json b/packages/typescript-eslint/package.json index 320209544678..20ca4dffde37 100644 --- a/packages/typescript-eslint/package.json +++ b/packages/typescript-eslint/package.json @@ -1,6 +1,6 @@ { "name": "typescript-eslint", - "version": "7.9.0", + "version": "7.10.0", "description": "Tooling which enables you to use TypeScript with ESLint", "files": [ "dist", @@ -55,9 +55,9 @@ "eslint": "^8.56.0" }, "dependencies": { - "@typescript-eslint/eslint-plugin": "7.9.0", - "@typescript-eslint/parser": "7.9.0", - "@typescript-eslint/utils": "7.9.0" + "@typescript-eslint/eslint-plugin": "7.10.0", + "@typescript-eslint/parser": "7.10.0", + "@typescript-eslint/utils": "7.10.0" }, "devDependencies": { "@jest/types": "29.6.3", diff --git a/packages/typescript-estree/CHANGELOG.md b/packages/typescript-estree/CHANGELOG.md index 2c968c5c2660..97f03d22692d 100644 --- a/packages/typescript-estree/CHANGELOG.md +++ b/packages/typescript-estree/CHANGELOG.md @@ -1,3 +1,20 @@ +## 7.10.0 (2024-05-20) + + +### 🩹 Fixes + +- **typescript-estree:** don't add in-project files to defaultProjectMatchedFiles + + +### ❤️ Thank You + +- auvred +- Emanuel Hoogeveen +- jsfm01 +- Kirk Waiblinger + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) diff --git a/packages/typescript-estree/package.json b/packages/typescript-estree/package.json index d7bd2b975e85..bdb975c355bd 100644 --- a/packages/typescript-estree/package.json +++ b/packages/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "7.9.0", + "version": "7.10.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "files": [ "dist", @@ -54,8 +54,8 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "7.9.0", - "@typescript-eslint/visitor-keys": "7.9.0", + "@typescript-eslint/types": "7.10.0", + "@typescript-eslint/visitor-keys": "7.10.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", diff --git a/packages/typescript-estree/src/useProgramFromProjectService.ts b/packages/typescript-estree/src/useProgramFromProjectService.ts index 8f18b08ed788..9cdfc52107ad 100644 --- a/packages/typescript-estree/src/useProgramFromProjectService.ts +++ b/packages/typescript-estree/src/useProgramFromProjectService.ts @@ -83,7 +83,9 @@ export function useProgramFromProjectService( return undefined; } - defaultProjectMatchedFiles.add(filePathAbsolute); + if (!opened.configFileName) { + defaultProjectMatchedFiles.add(filePathAbsolute); + } if (defaultProjectMatchedFiles.size > maximumDefaultProjectFileMatchCount) { throw new Error( `Too many files (>${maximumDefaultProjectFileMatchCount}) have matched the default project.${DEFAULT_PROJECT_FILES_ERROR_EXPLANATION} diff --git a/packages/typescript-estree/tests/lib/useProgramFromProjectService.test.ts b/packages/typescript-estree/tests/lib/useProgramFromProjectService.test.ts index 5b4a9b8cabba..26989c8779fc 100644 --- a/packages/typescript-estree/tests/lib/useProgramFromProjectService.test.ts +++ b/packages/typescript-estree/tests/lib/useProgramFromProjectService.test.ts @@ -220,4 +220,29 @@ If you absolutely need more files included, set parserOptions.EXPERIMENTAL_usePr expect(actual).toBe(program); }); + + it('returns a created program when hasFullTypeInformation is disabled, the file is in the project service, the service has a matching program, and no out-of-project files are allowed', () => { + const { service } = createMockProjectService(); + const program = { getSourceFile: jest.fn() }; + + mockGetProgram.mockReturnValueOnce(program); + + service.openClientFile.mockReturnValueOnce({ + configFileName: 'tsconfig.json', + }); + mockCreateProjectProgram.mockReturnValueOnce(program); + + const actual = useProgramFromProjectService( + createProjectServiceSettings({ + allowDefaultProjectForFiles: [], + maximumDefaultProjectFileMatchCount: 0, + service, + }), + mockParseSettings, + false, + new Set(), + ); + + expect(actual).toBe(program); + }); }); diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 382e4f0a6202..582ef2eeebd8 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,3 +1,20 @@ +## 7.10.0 (2024-05-20) + + +### 🩹 Fixes + +- **utils:** remove function form type from flat config `files` and `ignores` + + +### ❤️ Thank You + +- auvred +- Emanuel Hoogeveen +- jsfm01 +- Kirk Waiblinger + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) This was a version bump only for utils to align it with other projects, there were no code changes. diff --git a/packages/utils/package.json b/packages/utils/package.json index da92137bdbe7..1ac730feea0f 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/utils", - "version": "7.9.0", + "version": "7.10.0", "description": "Utilities for working with TypeScript + ESLint together", "files": [ "dist", @@ -68,9 +68,9 @@ }, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "7.9.0", - "@typescript-eslint/types": "7.9.0", - "@typescript-eslint/typescript-estree": "7.9.0" + "@typescript-eslint/scope-manager": "7.10.0", + "@typescript-eslint/types": "7.10.0", + "@typescript-eslint/typescript-estree": "7.10.0" }, "peerDependencies": { "eslint": "^8.56.0" diff --git a/packages/utils/src/ts-eslint/Config.ts b/packages/utils/src/ts-eslint/Config.ts index 6814c55c5fa9..0db4e73b2781 100644 --- a/packages/utils/src/ts-eslint/Config.ts +++ b/packages/utils/src/ts-eslint/Config.ts @@ -232,16 +232,6 @@ export namespace FlatConfig { sourceType?: SourceType; } - // The function form is undocumented but allowed: - // https://github.com/eslint/eslint/issues/18118 - // - // We have to support it as well because the DefinitelyTyped configs define it - // https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e26919eb3426f5ba85fed394c90c39efb217037a/types/eslint/index.d.ts#L1208-L1223 - // - // If we don't then users can't use shareable configs defined using the DT types - // https://github.com/typescript-eslint/typescript-eslint/issues/8467 - export type FileSpec = string | ((filePath: string) => boolean); - // it's not a json schema so it's nowhere near as nice to read and convert... // https://github.com/eslint/eslint/blob/v8.45.0/lib/config/flat-config-schema.js export interface Config { @@ -254,15 +244,15 @@ export namespace FlatConfig { * If not specified, the configuration object applies to all files matched by any other configuration object. */ files?: ( - | FileSpec + | string // yes, a single layer of array nesting is supported - | FileSpec[] + | string[] )[]; /** * An array of glob patterns indicating the files that the configuration object should not apply to. * If not specified, the configuration object applies to all files matched by files. */ - ignores?: FileSpec[]; + ignores?: string[]; /** * An object containing settings related to how JavaScript is configured for linting. */ diff --git a/packages/visitor-keys/CHANGELOG.md b/packages/visitor-keys/CHANGELOG.md index 8541dcb5a1a5..ff7e5ab12d76 100644 --- a/packages/visitor-keys/CHANGELOG.md +++ b/packages/visitor-keys/CHANGELOG.md @@ -1,3 +1,9 @@ +## 7.10.0 (2024-05-20) + +This was a version bump only for visitor-keys to align it with other projects, there were no code changes. + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) This was a version bump only for visitor-keys to align it with other projects, there were no code changes. diff --git a/packages/visitor-keys/package.json b/packages/visitor-keys/package.json index 927848b161b1..bf0e1473a0c2 100644 --- a/packages/visitor-keys/package.json +++ b/packages/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "7.9.0", + "version": "7.10.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "files": [ "dist", @@ -47,7 +47,7 @@ "typecheck": "tsc --noEmit" }, "dependencies": { - "@typescript-eslint/types": "7.9.0", + "@typescript-eslint/types": "7.10.0", "eslint-visitor-keys": "^3.4.3" }, "devDependencies": { diff --git a/packages/website-eslint/CHANGELOG.md b/packages/website-eslint/CHANGELOG.md index a3bf73cddafd..2f751879b1bb 100644 --- a/packages/website-eslint/CHANGELOG.md +++ b/packages/website-eslint/CHANGELOG.md @@ -1,3 +1,9 @@ +## 7.10.0 (2024-05-20) + +This was a version bump only for website-eslint to align it with other projects, there were no code changes. + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) This was a version bump only for website-eslint to align it with other projects, there were no code changes. diff --git a/packages/website-eslint/package.json b/packages/website-eslint/package.json index 537b5ebcc6dc..989769dc0f7f 100644 --- a/packages/website-eslint/package.json +++ b/packages/website-eslint/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/website-eslint", - "version": "7.9.0", + "version": "7.10.0", "private": true, "description": "ESLint which works in browsers.", "files": [ @@ -24,11 +24,11 @@ }, "devDependencies": { "@eslint/js": "*", - "@typescript-eslint/eslint-plugin": "7.9.0", - "@typescript-eslint/parser": "7.9.0", - "@typescript-eslint/scope-manager": "7.9.0", - "@typescript-eslint/typescript-estree": "7.9.0", - "@typescript-eslint/visitor-keys": "7.9.0", + "@typescript-eslint/eslint-plugin": "7.10.0", + "@typescript-eslint/parser": "7.10.0", + "@typescript-eslint/scope-manager": "7.10.0", + "@typescript-eslint/typescript-estree": "7.10.0", + "@typescript-eslint/visitor-keys": "7.10.0", "esbuild": "~0.20.2", "eslint": "*", "esquery": "*", diff --git a/packages/website/CHANGELOG.md b/packages/website/CHANGELOG.md index bf7a56394577..3d5595e32d9e 100644 --- a/packages/website/CHANGELOG.md +++ b/packages/website/CHANGELOG.md @@ -1,3 +1,9 @@ +## 7.10.0 (2024-05-20) + +This was a version bump only for website to align it with other projects, there were no code changes. + +You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. + ## 7.9.0 (2024-05-13) diff --git a/packages/website/data/sponsors.json b/packages/website/data/sponsors.json index 6c5e547d63b3..e591d37965c3 100644 --- a/packages/website/data/sponsors.json +++ b/packages/website/data/sponsors.json @@ -43,7 +43,7 @@ }, { "id": "JetBrains", - "image": "https://images.opencollective.com/jetbrains/eb04ddc/logo.png", + "image": "https://images.opencollective.com/jetbrains/fe76f99/logo.png", "name": "JetBrains", "totalDonations": 250000, "website": "https://www.jetbrains.com/" @@ -52,7 +52,7 @@ "id": "Airbnb", "image": "https://images.opencollective.com/airbnb/d327d66/logo.png", "name": "Airbnb", - "totalDonations": 235800, + "totalDonations": 230800, "website": "https://www.airbnb.com/" }, { @@ -220,7 +220,7 @@ "id": "Evil Martians", "image": "https://images.opencollective.com/evilmartians/707ab4d/logo.png", "name": "Evil Martians", - "totalDonations": 19500, + "totalDonations": 19000, "website": "https://evilmartians.com/" }, { diff --git a/packages/website/package.json b/packages/website/package.json index 8843df2e9bc7..40890148055c 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -1,6 +1,6 @@ { "name": "website", - "version": "7.9.0", + "version": "7.10.0", "private": true, "scripts": { "build": "docusaurus build", @@ -23,8 +23,8 @@ "@docusaurus/preset-classic": "^3.2.1", "@docusaurus/remark-plugin-npm2yarn": "^3.2.1", "@docusaurus/theme-common": "^3.2.1", - "@typescript-eslint/parser": "7.9.0", - "@typescript-eslint/website-eslint": "7.9.0", + "@typescript-eslint/parser": "7.10.0", + "@typescript-eslint/website-eslint": "7.10.0", "clsx": "^2.1.0", "eslint": "*", "json5": "^2.2.3", @@ -46,12 +46,12 @@ "@types/mdast": "^4.0.3", "@types/react": "*", "@types/unist": "^3.0.2", - "@typescript-eslint/eslint-plugin": "7.9.0", - "@typescript-eslint/rule-schema-to-typescript-types": "7.9.0", - "@typescript-eslint/scope-manager": "7.9.0", - "@typescript-eslint/types": "7.9.0", - "@typescript-eslint/typescript-estree": "7.9.0", - "@typescript-eslint/utils": "7.9.0", + "@typescript-eslint/eslint-plugin": "7.10.0", + "@typescript-eslint/rule-schema-to-typescript-types": "7.10.0", + "@typescript-eslint/scope-manager": "7.10.0", + "@typescript-eslint/types": "7.10.0", + "@typescript-eslint/typescript-estree": "7.10.0", + "@typescript-eslint/utils": "7.10.0", "copy-webpack-plugin": "^12.0.0", "cross-fetch": "*", "history": "^4.9.0", diff --git a/yarn.lock b/yarn.lock index 742feacbdcf6..c5a370903ff1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -266,30 +266,7 @@ __metadata: languageName: node linkType: hard -"@babel/core@npm:*, @babel/core@npm:^7.11.1, @babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.19.6, @babel/core@npm:^7.23.2, @babel/core@npm:^7.23.3": - version: 7.24.3 - resolution: "@babel/core@npm:7.24.3" - dependencies: - "@ampproject/remapping": ^2.2.0 - "@babel/code-frame": ^7.24.2 - "@babel/generator": ^7.24.1 - "@babel/helper-compilation-targets": ^7.23.6 - "@babel/helper-module-transforms": ^7.23.3 - "@babel/helpers": ^7.24.1 - "@babel/parser": ^7.24.1 - "@babel/template": ^7.24.0 - "@babel/traverse": ^7.24.1 - "@babel/types": ^7.24.0 - convert-source-map: ^2.0.0 - debug: ^4.1.0 - gensync: ^1.0.0-beta.2 - json5: ^2.2.3 - semver: ^6.3.1 - checksum: 1a33460794f4122cf255b656f4d6586913f41078a1afdf1bcf0365ddbd99c1ddb68f904062f9079445ab26b507c36bc297055192bc26e5c8e6e3def42195f9ab - languageName: node - linkType: hard - -"@babel/core@npm:^7.24.4": +"@babel/core@npm:*, @babel/core@npm:^7.11.1, @babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.19.6, @babel/core@npm:^7.23.2, @babel/core@npm:^7.23.3, @babel/core@npm:^7.24.4": version: 7.24.4 resolution: "@babel/core@npm:7.24.4" dependencies: @@ -326,19 +303,7 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:^7.23.3, @babel/generator@npm:^7.24.1, @babel/generator@npm:^7.7.2": - version: 7.24.1 - resolution: "@babel/generator@npm:7.24.1" - dependencies: - "@babel/types": ^7.24.0 - "@jridgewell/gen-mapping": ^0.3.5 - "@jridgewell/trace-mapping": ^0.3.25 - jsesc: ^2.5.1 - checksum: 98c6ce5ec7a1cba2bdf35cdf607273b90cf7cf82bbe75cd0227363fb84d7e1bd8efa74f40247d5900c8c009123f10132ad209a05283757698de918278c3c6700 - languageName: node - linkType: hard - -"@babel/generator@npm:^7.24.4": +"@babel/generator@npm:^7.23.3, @babel/generator@npm:^7.24.1, @babel/generator@npm:^7.24.4, @babel/generator@npm:^7.7.2": version: 7.24.4 resolution: "@babel/generator@npm:7.24.4" dependencies: @@ -588,17 +553,6 @@ __metadata: languageName: node linkType: hard -"@babel/helpers@npm:^7.24.1": - version: 7.24.1 - resolution: "@babel/helpers@npm:7.24.1" - dependencies: - "@babel/template": ^7.24.0 - "@babel/traverse": ^7.24.1 - "@babel/types": ^7.24.0 - checksum: 0643b8ccf3358682303aea65f0798e482b2c3642040d32ffe130a245f4a46d0d23fe575a5e06e3cda4e8ec4af89d52b94ff1c444a74465d47ccc27da6ddbbb9f - languageName: node - linkType: hard - "@babel/helpers@npm:^7.24.4": version: 7.24.4 resolution: "@babel/helpers@npm:7.24.4" @@ -622,16 +576,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.24.0, @babel/parser@npm:^7.24.1": - version: 7.24.1 - resolution: "@babel/parser@npm:7.24.1" - bin: - parser: ./bin/babel-parser.js - checksum: a1068941dddf82ffdf572565b8b7b2cddb963ff9ddf97e6e28f50e843d820b4285e6def8f59170104a94e2a91ae2e3b326489886d77a57ea29d468f6a5e79bf9 - languageName: node - linkType: hard - -"@babel/parser@npm:^7.24.4": +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.24.0, @babel/parser@npm:^7.24.1, @babel/parser@npm:^7.24.4": version: 7.24.4 resolution: "@babel/parser@npm:7.24.4" bin: @@ -1764,16 +1709,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.3, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.22.6, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.8.4": - version: 7.24.1 - resolution: "@babel/runtime@npm:7.24.1" - dependencies: - regenerator-runtime: ^0.14.0 - checksum: 5c8f3b912ba949865f03b3cf8395c60e1f4ebd1033fbd835bdfe81b6cac8a87d85bc3c7aded5fcdf07be044c9ab8c818f467abe0deca50020c72496782639572 - languageName: node - linkType: hard - -"@babel/runtime@npm:^7.24.4": +"@babel/runtime@npm:^7.1.2, @babel/runtime@npm:^7.10.3, @babel/runtime@npm:^7.11.2, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.22.6, @babel/runtime@npm:^7.23.2, @babel/runtime@npm:^7.24.4, @babel/runtime@npm:^7.7.2, @babel/runtime@npm:^7.8.4": version: 7.24.4 resolution: "@babel/runtime@npm:7.24.4" dependencies: @@ -5596,17 +5532,17 @@ __metadata: dependencies: "@jest/types": 29.6.3 "@prettier/sync": ^0.5.1 - "@typescript-eslint/rule-tester": 7.9.0 - "@typescript-eslint/scope-manager": 7.9.0 - "@typescript-eslint/type-utils": 7.9.0 - "@typescript-eslint/utils": 7.9.0 + "@typescript-eslint/rule-tester": 7.10.0 + "@typescript-eslint/scope-manager": 7.10.0 + "@typescript-eslint/type-utils": 7.10.0 + "@typescript-eslint/utils": 7.10.0 jest: 29.7.0 prettier: ^3.2.5 rimraf: "*" languageName: unknown linkType: soft -"@typescript-eslint/eslint-plugin@7.9.0, @typescript-eslint/eslint-plugin@workspace:packages/eslint-plugin": +"@typescript-eslint/eslint-plugin@7.10.0, @typescript-eslint/eslint-plugin@workspace:packages/eslint-plugin": version: 0.0.0-use.local resolution: "@typescript-eslint/eslint-plugin@workspace:packages/eslint-plugin" dependencies: @@ -5615,12 +5551,12 @@ __metadata: "@types/marked": ^5.0.2 "@types/mdast": ^4.0.3 "@types/natural-compare": "*" - "@typescript-eslint/rule-schema-to-typescript-types": 7.9.0 - "@typescript-eslint/rule-tester": 7.9.0 - "@typescript-eslint/scope-manager": 7.9.0 - "@typescript-eslint/type-utils": 7.9.0 - "@typescript-eslint/utils": 7.9.0 - "@typescript-eslint/visitor-keys": 7.9.0 + "@typescript-eslint/rule-schema-to-typescript-types": 7.10.0 + "@typescript-eslint/rule-tester": 7.10.0 + "@typescript-eslint/scope-manager": 7.10.0 + "@typescript-eslint/type-utils": 7.10.0 + "@typescript-eslint/utils": 7.10.0 + "@typescript-eslint/visitor-keys": 7.10.0 ajv: ^6.12.6 cross-env: ^7.0.3 cross-fetch: "*" @@ -5665,16 +5601,16 @@ __metadata: languageName: unknown linkType: soft -"@typescript-eslint/parser@7.9.0, @typescript-eslint/parser@workspace:packages/parser": +"@typescript-eslint/parser@7.10.0, @typescript-eslint/parser@workspace:packages/parser": version: 0.0.0-use.local resolution: "@typescript-eslint/parser@workspace:packages/parser" dependencies: "@jest/types": 29.6.3 "@types/glob": "*" - "@typescript-eslint/scope-manager": 7.9.0 - "@typescript-eslint/types": 7.9.0 - "@typescript-eslint/typescript-estree": 7.9.0 - "@typescript-eslint/visitor-keys": 7.9.0 + "@typescript-eslint/scope-manager": 7.10.0 + "@typescript-eslint/types": 7.10.0 + "@typescript-eslint/typescript-estree": 7.10.0 + "@typescript-eslint/visitor-keys": 7.10.0 debug: ^4.3.4 downlevel-dts: "*" glob: "*" @@ -5696,11 +5632,11 @@ __metadata: dependencies: "@jest/types": 29.6.3 "@nx/devkit": "*" - "@typescript-eslint/eslint-plugin": 7.9.0 - "@typescript-eslint/scope-manager": 7.9.0 - "@typescript-eslint/types": 7.9.0 - "@typescript-eslint/typescript-estree": 7.9.0 - "@typescript-eslint/utils": 7.9.0 + "@typescript-eslint/eslint-plugin": 7.10.0 + "@typescript-eslint/scope-manager": 7.10.0 + "@typescript-eslint/types": 7.10.0 + "@typescript-eslint/typescript-estree": 7.10.0 + "@typescript-eslint/utils": 7.10.0 cross-fetch: "*" execa: "*" prettier: ^3.2.5 @@ -5710,27 +5646,27 @@ __metadata: languageName: unknown linkType: soft -"@typescript-eslint/rule-schema-to-typescript-types@7.9.0, @typescript-eslint/rule-schema-to-typescript-types@workspace:packages/rule-schema-to-typescript-types": +"@typescript-eslint/rule-schema-to-typescript-types@7.10.0, @typescript-eslint/rule-schema-to-typescript-types@workspace:packages/rule-schema-to-typescript-types": version: 0.0.0-use.local resolution: "@typescript-eslint/rule-schema-to-typescript-types@workspace:packages/rule-schema-to-typescript-types" dependencies: "@jest/types": 29.6.3 - "@typescript-eslint/type-utils": 7.9.0 - "@typescript-eslint/utils": 7.9.0 + "@typescript-eslint/type-utils": 7.10.0 + "@typescript-eslint/utils": 7.10.0 natural-compare: ^1.4.0 prettier: ^3.2.5 languageName: unknown linkType: soft -"@typescript-eslint/rule-tester@7.9.0, @typescript-eslint/rule-tester@workspace:packages/rule-tester": +"@typescript-eslint/rule-tester@7.10.0, @typescript-eslint/rule-tester@workspace:packages/rule-tester": version: 0.0.0-use.local resolution: "@typescript-eslint/rule-tester@workspace:packages/rule-tester" dependencies: "@jest/types": 29.6.3 "@types/lodash.merge": 4.6.9 - "@typescript-eslint/parser": 7.9.0 - "@typescript-eslint/typescript-estree": 7.9.0 - "@typescript-eslint/utils": 7.9.0 + "@typescript-eslint/parser": 7.10.0 + "@typescript-eslint/typescript-estree": 7.10.0 + "@typescript-eslint/utils": 7.10.0 ajv: ^6.12.6 chai: ^4.4.1 eslint-visitor-keys: ^4.0.0 @@ -5748,15 +5684,15 @@ __metadata: languageName: unknown linkType: soft -"@typescript-eslint/scope-manager@7.9.0, @typescript-eslint/scope-manager@workspace:packages/scope-manager": +"@typescript-eslint/scope-manager@7.10.0, @typescript-eslint/scope-manager@workspace:packages/scope-manager": version: 0.0.0-use.local resolution: "@typescript-eslint/scope-manager@workspace:packages/scope-manager" dependencies: "@jest/types": 29.6.3 "@types/glob": "*" - "@typescript-eslint/types": 7.9.0 - "@typescript-eslint/typescript-estree": 7.9.0 - "@typescript-eslint/visitor-keys": 7.9.0 + "@typescript-eslint/types": 7.10.0 + "@typescript-eslint/typescript-estree": 7.10.0 + "@typescript-eslint/visitor-keys": 7.10.0 glob: "*" jest-specific-snapshot: "*" make-dir: "*" @@ -5785,14 +5721,14 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@7.9.0, @typescript-eslint/type-utils@workspace:packages/type-utils": +"@typescript-eslint/type-utils@7.10.0, @typescript-eslint/type-utils@workspace:packages/type-utils": version: 0.0.0-use.local resolution: "@typescript-eslint/type-utils@workspace:packages/type-utils" dependencies: "@jest/types": 29.6.3 - "@typescript-eslint/parser": 7.9.0 - "@typescript-eslint/typescript-estree": 7.9.0 - "@typescript-eslint/utils": 7.9.0 + "@typescript-eslint/parser": 7.10.0 + "@typescript-eslint/typescript-estree": 7.10.0 + "@typescript-eslint/utils": 7.10.0 ajv: ^6.12.6 debug: ^4.3.4 downlevel-dts: "*" @@ -5809,7 +5745,7 @@ __metadata: languageName: unknown linkType: soft -"@typescript-eslint/types@7.9.0, @typescript-eslint/types@workspace:packages/types": +"@typescript-eslint/types@7.10.0, @typescript-eslint/types@workspace:packages/types": version: 0.0.0-use.local resolution: "@typescript-eslint/types@workspace:packages/types" dependencies: @@ -5900,7 +5836,7 @@ __metadata: prettier: 3.2.5 pretty-format: ^29.7.0 rimraf: ^5.0.5 - tmp: ^0.2.3 + tmp: ^0.2.1 tsx: "*" typescript: ">=4.7.4 <5.5.0" typescript-eslint: "workspace:^" @@ -5908,13 +5844,13 @@ __metadata: languageName: unknown linkType: soft -"@typescript-eslint/typescript-estree@7.9.0, @typescript-eslint/typescript-estree@workspace:packages/typescript-estree": +"@typescript-eslint/typescript-estree@7.10.0, @typescript-eslint/typescript-estree@workspace:packages/typescript-estree": version: 0.0.0-use.local resolution: "@typescript-eslint/typescript-estree@workspace:packages/typescript-estree" dependencies: "@jest/types": 29.6.3 - "@typescript-eslint/types": 7.9.0 - "@typescript-eslint/visitor-keys": 7.9.0 + "@typescript-eslint/types": 7.10.0 + "@typescript-eslint/visitor-keys": 7.10.0 debug: ^4.3.4 glob: "*" globby: ^11.1.0 @@ -5970,14 +5906,14 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@7.9.0, @typescript-eslint/utils@workspace:packages/utils": +"@typescript-eslint/utils@7.10.0, @typescript-eslint/utils@workspace:packages/utils": version: 0.0.0-use.local resolution: "@typescript-eslint/utils@workspace:packages/utils" dependencies: "@eslint-community/eslint-utils": ^4.4.0 - "@typescript-eslint/scope-manager": 7.9.0 - "@typescript-eslint/types": 7.9.0 - "@typescript-eslint/typescript-estree": 7.9.0 + "@typescript-eslint/scope-manager": 7.10.0 + "@typescript-eslint/types": 7.10.0 + "@typescript-eslint/typescript-estree": 7.10.0 downlevel-dts: "*" jest: 29.7.0 prettier: ^3.2.5 @@ -6023,13 +5959,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@7.9.0, @typescript-eslint/visitor-keys@workspace:packages/visitor-keys": +"@typescript-eslint/visitor-keys@7.10.0, @typescript-eslint/visitor-keys@workspace:packages/visitor-keys": version: 0.0.0-use.local resolution: "@typescript-eslint/visitor-keys@workspace:packages/visitor-keys" dependencies: "@jest/types": 29.6.3 "@types/eslint-visitor-keys": "*" - "@typescript-eslint/types": 7.9.0 + "@typescript-eslint/types": 7.10.0 downlevel-dts: "*" eslint-visitor-keys: ^3.4.3 jest: 29.7.0 @@ -6059,16 +5995,16 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/website-eslint@7.9.0, @typescript-eslint/website-eslint@workspace:packages/website-eslint": +"@typescript-eslint/website-eslint@7.10.0, @typescript-eslint/website-eslint@workspace:packages/website-eslint": version: 0.0.0-use.local resolution: "@typescript-eslint/website-eslint@workspace:packages/website-eslint" dependencies: "@eslint/js": "*" - "@typescript-eslint/eslint-plugin": 7.9.0 - "@typescript-eslint/parser": 7.9.0 - "@typescript-eslint/scope-manager": 7.9.0 - "@typescript-eslint/typescript-estree": 7.9.0 - "@typescript-eslint/visitor-keys": 7.9.0 + "@typescript-eslint/eslint-plugin": 7.10.0 + "@typescript-eslint/parser": 7.10.0 + "@typescript-eslint/scope-manager": 7.10.0 + "@typescript-eslint/typescript-estree": 7.10.0 + "@typescript-eslint/visitor-keys": 7.10.0 esbuild: ~0.20.2 eslint: "*" esquery: "*" @@ -10412,7 +10348,7 @@ __metadata: languageName: node linkType: hard -"fastq@npm:^1.15.0": +"fastq@npm:^1.15.0, fastq@npm:^1.6.0": version: 1.17.1 resolution: "fastq@npm:1.17.1" dependencies: @@ -10421,15 +10357,6 @@ __metadata: languageName: node linkType: hard -"fastq@npm:^1.6.0": - version: 1.15.0 - resolution: "fastq@npm:1.15.0" - dependencies: - reusify: ^1.0.4 - checksum: 0170e6bfcd5d57a70412440b8ef600da6de3b2a6c5966aeaf0a852d542daff506a0ee92d6de7679d1de82e644bce69d7a574a6c93f0b03964b5337eed75ada1a - languageName: node - linkType: hard - "fault@npm:^2.0.0": version: 2.0.1 resolution: "fault@npm:2.0.1" @@ -16631,7 +16558,7 @@ __metadata: languageName: node linkType: hard -"postcss-selector-parser@npm:^6.0.16": +"postcss-selector-parser@npm:^6.0.16, postcss-selector-parser@npm:^6.0.2, postcss-selector-parser@npm:^6.0.4, postcss-selector-parser@npm:^6.0.5, postcss-selector-parser@npm:^6.0.9": version: 6.0.16 resolution: "postcss-selector-parser@npm:6.0.16" dependencies: @@ -16641,16 +16568,6 @@ __metadata: languageName: node linkType: hard -"postcss-selector-parser@npm:^6.0.2, postcss-selector-parser@npm:^6.0.4, postcss-selector-parser@npm:^6.0.5, postcss-selector-parser@npm:^6.0.9": - version: 6.0.13 - resolution: "postcss-selector-parser@npm:6.0.13" - dependencies: - cssesc: ^3.0.0 - util-deprecate: ^1.0.2 - checksum: f89163338a1ce3b8ece8e9055cd5a3165e79a15e1c408e18de5ad8f87796b61ec2d48a2902d179ae0c4b5de10fccd3a325a4e660596549b040bc5ad1b465f096 - languageName: node - linkType: hard - "postcss-sort-media-queries@npm:^4.4.1": version: 4.4.1 resolution: "postcss-sort-media-queries@npm:4.4.1" @@ -16710,18 +16627,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.4.17, postcss@npm:^8.4.21, postcss@npm:^8.4.26, postcss@npm:^8.4.32, postcss@npm:^8.4.33": - version: 8.4.35 - resolution: "postcss@npm:8.4.35" - dependencies: - nanoid: ^3.3.7 - picocolors: ^1.0.0 - source-map-js: ^1.0.2 - checksum: cf3c3124d3912a507603f6d9a49b3783f741075e9aa73eb592a6dd9194f9edab9d20a8875d16d137d4f779fe7b6fbd1f5727e39bfd1c3003724980ee4995e1da - languageName: node - linkType: hard - -"postcss@npm:^8.4.38": +"postcss@npm:^8.4.17, postcss@npm:^8.4.21, postcss@npm:^8.4.26, postcss@npm:^8.4.32, postcss@npm:^8.4.33, postcss@npm:^8.4.38": version: 8.4.38 resolution: "postcss@npm:8.4.38" dependencies: @@ -18424,14 +18330,7 @@ __metadata: languageName: node linkType: hard -"source-map-js@npm:^1.0.1, source-map-js@npm:^1.0.2": - version: 1.0.2 - resolution: "source-map-js@npm:1.0.2" - checksum: c049a7fc4deb9a7e9b481ae3d424cc793cb4845daa690bc5a05d428bf41bf231ced49b4cf0c9e77f9d42fdb3d20d6187619fc586605f5eabe995a316da8d377c - languageName: node - linkType: hard - -"source-map-js@npm:^1.2.0": +"source-map-js@npm:^1.0.1, source-map-js@npm:^1.2.0": version: 1.2.0 resolution: "source-map-js@npm:1.2.0" checksum: 791a43306d9223792e84293b00458bf102a8946e7188f3db0e4e22d8d530b5f80a4ce468eb5ec0bf585443ad55ebbd630bf379c98db0b1f317fd902500217f97 @@ -19242,7 +19141,7 @@ __metadata: languageName: node linkType: hard -"tmp@npm:*, tmp@npm:~0.2.1": +"tmp@npm:0.2.1": version: 0.2.1 resolution: "tmp@npm:0.2.1" dependencies: @@ -19251,13 +19150,6 @@ __metadata: languageName: node linkType: hard -"tmp@npm:^0.2.3": - version: 0.2.3 - resolution: "tmp@npm:0.2.3" - checksum: 73b5c96b6e52da7e104d9d44afb5d106bb1e16d9fa7d00dbeb9e6522e61b571fbdb165c756c62164be9a3bbe192b9b268c236d370a2a0955c7689cd2ae377b95 - languageName: node - linkType: hard - "tmpl@npm:1.0.5": version: 1.0.5 resolution: "tmpl@npm:1.0.5" @@ -19616,9 +19508,9 @@ __metadata: resolution: "typescript-eslint@workspace:packages/typescript-eslint" dependencies: "@jest/types": 29.6.3 - "@typescript-eslint/eslint-plugin": 7.9.0 - "@typescript-eslint/parser": 7.9.0 - "@typescript-eslint/utils": 7.9.0 + "@typescript-eslint/eslint-plugin": 7.10.0 + "@typescript-eslint/parser": 7.10.0 + "@typescript-eslint/utils": 7.10.0 downlevel-dts: "*" jest: 29.7.0 prettier: ^3.2.5 @@ -20337,14 +20229,14 @@ __metadata: "@types/mdast": ^4.0.3 "@types/react": "*" "@types/unist": ^3.0.2 - "@typescript-eslint/eslint-plugin": 7.9.0 - "@typescript-eslint/parser": 7.9.0 - "@typescript-eslint/rule-schema-to-typescript-types": 7.9.0 - "@typescript-eslint/scope-manager": 7.9.0 - "@typescript-eslint/types": 7.9.0 - "@typescript-eslint/typescript-estree": 7.9.0 - "@typescript-eslint/utils": 7.9.0 - "@typescript-eslint/website-eslint": 7.9.0 + "@typescript-eslint/eslint-plugin": 7.10.0 + "@typescript-eslint/parser": 7.10.0 + "@typescript-eslint/rule-schema-to-typescript-types": 7.10.0 + "@typescript-eslint/scope-manager": 7.10.0 + "@typescript-eslint/types": 7.10.0 + "@typescript-eslint/typescript-estree": 7.10.0 + "@typescript-eslint/utils": 7.10.0 + "@typescript-eslint/website-eslint": 7.10.0 clsx: ^2.1.0 copy-webpack-plugin: ^12.0.0 cross-fetch: "*"