@eslint-react/core 5.9.0 → 5.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/package.json +16 -16
package/dist/index.d.ts
CHANGED
|
@@ -305,7 +305,7 @@ type FunctionSemanticNode = ClientFunctionSemanticNode | ServerFunctionSemanticN
|
|
|
305
305
|
* @param node - The function node to analyze.
|
|
306
306
|
* @returns The identifier node if found, `null` otherwise.
|
|
307
307
|
*/
|
|
308
|
-
declare function getFunctionId(node: TSESTree.Expression | TSESTreeFunction): TSESTree.ArrayExpression | TSESTree.ArrayPattern | TSESTree.
|
|
308
|
+
declare function getFunctionId(node: TSESTree.Expression | TSESTreeFunction): TSESTree.ArrayExpression | TSESTree.ArrayPattern | TSESTree.ArrowFunctionExpressionWithBlockBody | TSESTree.ArrowFunctionExpressionWithExpressionBody | TSESTree.AssignmentExpression | TSESTree.AwaitExpression | TSESTree.PrivateInExpression | TSESTree.SymmetricBinaryExpression | TSESTree.CallExpression | TSESTree.ChainExpression | TSESTree.ClassExpression | TSESTree.ConditionalExpression | TSESTree.FunctionExpression | TSESTree.Identifier | TSESTree.ImportExpression | TSESTree.JSXElement | TSESTree.JSXFragment | TSESTree.BigIntLiteral | TSESTree.BooleanLiteral | TSESTree.NullLiteral | TSESTree.NumberLiteral | TSESTree.RegExpLiteral | TSESTree.StringLiteral | TSESTree.LogicalExpression | TSESTree.MemberExpressionComputedName | TSESTree.MemberExpressionNonComputedName | TSESTree.MetaProperty | TSESTree.NewExpression | TSESTree.ObjectExpression | TSESTree.ObjectPattern | TSESTree.PrivateIdentifier | TSESTree.SequenceExpression | TSESTree.Super | TSESTree.TaggedTemplateExpression | TSESTree.TemplateLiteral | TSESTree.ThisExpression | TSESTree.TSAsExpression | TSESTree.TSInstantiationExpression | TSESTree.TSNonNullExpression | TSESTree.TSSatisfiesExpression | TSESTree.TSTypeAssertion | TSESTree.UnaryExpressionBitwiseNot | TSESTree.UnaryExpressionDelete | TSESTree.UnaryExpressionMinus | TSESTree.UnaryExpressionNot | TSESTree.UnaryExpressionPlus | TSESTree.UnaryExpressionTypeof | TSESTree.UnaryExpressionVoid | TSESTree.UpdateExpression | TSESTree.YieldNoStarExpression | TSESTree.YieldStarExpression | null;
|
|
309
309
|
/**
|
|
310
310
|
* Identifies the initialization path of a function node in the AST.
|
|
311
311
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/core",
|
|
3
|
-
"version": "5.9.
|
|
3
|
+
"version": "5.9.2",
|
|
4
4
|
"description": "ESLint React's ESLint utility module for static analysis of React core APIs and patterns.",
|
|
5
5
|
"homepage": "https://github.com/Rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -29,25 +29,25 @@
|
|
|
29
29
|
"dist"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@typescript-eslint/scope-manager": "^8.61.
|
|
33
|
-
"@typescript-eslint/types": "^8.61.
|
|
34
|
-
"@typescript-eslint/utils": "^8.61.
|
|
32
|
+
"@typescript-eslint/scope-manager": "^8.61.1",
|
|
33
|
+
"@typescript-eslint/types": "^8.61.1",
|
|
34
|
+
"@typescript-eslint/utils": "^8.61.1",
|
|
35
35
|
"ts-pattern": "^5.9.0",
|
|
36
|
-
"@eslint-react/ast": "5.9.
|
|
37
|
-
"@eslint-react/
|
|
38
|
-
"@eslint-react/
|
|
39
|
-
"@eslint-react/jsx": "5.9.
|
|
40
|
-
"@eslint-react/var": "5.9.
|
|
36
|
+
"@eslint-react/ast": "5.9.2",
|
|
37
|
+
"@eslint-react/eslint": "5.9.2",
|
|
38
|
+
"@eslint-react/shared": "5.9.2",
|
|
39
|
+
"@eslint-react/jsx": "5.9.2",
|
|
40
|
+
"@eslint-react/var": "5.9.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@typescript-eslint/parser": "^8.61.
|
|
44
|
-
"@typescript-eslint/typescript-estree": "^8.61.
|
|
45
|
-
"eslint": "^10.
|
|
46
|
-
"tsdown": "^0.22.
|
|
43
|
+
"@typescript-eslint/parser": "^8.61.1",
|
|
44
|
+
"@typescript-eslint/typescript-estree": "^8.61.1",
|
|
45
|
+
"eslint": "^10.5.0",
|
|
46
|
+
"tsdown": "^0.22.3",
|
|
47
47
|
"typescript": "6.0.3",
|
|
48
|
-
"vitest": "^4.1.
|
|
49
|
-
"@local/
|
|
50
|
-
"@local/
|
|
48
|
+
"vitest": "^4.1.9",
|
|
49
|
+
"@local/configs": "0.0.0",
|
|
50
|
+
"@local/eff": "0.0.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"eslint": "*",
|