@eslint-react/core 2.6.1-beta.0 → 2.6.1-next.0
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 +3 -3
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -579,7 +579,7 @@ declare function resolveJsxAttributeValue(context: RuleContext, attribute: AST.T
|
|
|
579
579
|
readonly toStatic: () => string | number | bigint | boolean | RegExp | null;
|
|
580
580
|
} | {
|
|
581
581
|
readonly kind: "expression";
|
|
582
|
-
readonly node: TSESTree.
|
|
582
|
+
readonly node: TSESTree.JSXEmptyExpression | TSESTree.Expression;
|
|
583
583
|
readonly toStatic: () => unknown;
|
|
584
584
|
} | {
|
|
585
585
|
readonly kind: "element";
|
|
@@ -587,7 +587,7 @@ declare function resolveJsxAttributeValue(context: RuleContext, attribute: AST.T
|
|
|
587
587
|
readonly toStatic: () => undefined;
|
|
588
588
|
} | {
|
|
589
589
|
readonly kind: "spreadChild";
|
|
590
|
-
readonly node: TSESTree.
|
|
590
|
+
readonly node: TSESTree.JSXEmptyExpression | TSESTree.Expression;
|
|
591
591
|
readonly toStatic: () => undefined;
|
|
592
592
|
} | {
|
|
593
593
|
readonly kind: "spreadProps";
|
|
@@ -734,7 +734,7 @@ declare function stringifyJsx(node: TSESTree$1.JSXIdentifier | TSESTree$1.JSXNam
|
|
|
734
734
|
* @param node The starting node
|
|
735
735
|
* @returns The enclosing assignment target node, or undefined if not found
|
|
736
736
|
*/
|
|
737
|
-
declare function findEnclosingAssignmentTarget(node: TSESTree.Node): TSESTree.
|
|
737
|
+
declare function findEnclosingAssignmentTarget(node: TSESTree.Node): TSESTree.ArrayExpression | TSESTree.ArrayPattern | TSESTree.ArrowFunctionExpression | 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.YieldExpression | undefined;
|
|
738
738
|
/**
|
|
739
739
|
* Type representing the possible assignment targets returned by `findEnclosingAssignmentTarget`
|
|
740
740
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/core",
|
|
3
|
-
"version": "2.6.1-
|
|
3
|
+
"version": "2.6.1-next.0",
|
|
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": {
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"@typescript-eslint/utils": "^8.53.0",
|
|
36
36
|
"birecord": "^0.1.1",
|
|
37
37
|
"ts-pattern": "^5.9.0",
|
|
38
|
-
"@eslint-react/ast": "2.6.1-
|
|
39
|
-
"@eslint-react/
|
|
40
|
-
"@eslint-react/
|
|
41
|
-
"@eslint-react/
|
|
38
|
+
"@eslint-react/ast": "2.6.1-next.0",
|
|
39
|
+
"@eslint-react/shared": "2.6.1-next.0",
|
|
40
|
+
"@eslint-react/eff": "2.6.1-next.0",
|
|
41
|
+
"@eslint-react/var": "2.6.1-next.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"tsdown": "^0.20.0-beta.2",
|