@eslint-react/core 2.6.4-beta.0 → 2.6.4
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
|
@@ -573,7 +573,7 @@ declare function resolveJsxAttributeValue(context: RuleContext, attribute: AST.T
|
|
|
573
573
|
readonly toStatic: () => string | number | bigint | boolean | RegExp | null;
|
|
574
574
|
} | {
|
|
575
575
|
readonly kind: "expression";
|
|
576
|
-
readonly node: TSESTree.
|
|
576
|
+
readonly node: TSESTree.JSXEmptyExpression | TSESTree.Expression;
|
|
577
577
|
readonly toStatic: () => unknown;
|
|
578
578
|
} | {
|
|
579
579
|
readonly kind: "element";
|
|
@@ -581,7 +581,7 @@ declare function resolveJsxAttributeValue(context: RuleContext, attribute: AST.T
|
|
|
581
581
|
readonly toStatic: () => undefined;
|
|
582
582
|
} | {
|
|
583
583
|
readonly kind: "spreadChild";
|
|
584
|
-
readonly node: TSESTree.
|
|
584
|
+
readonly node: TSESTree.JSXEmptyExpression | TSESTree.Expression;
|
|
585
585
|
readonly toStatic: () => undefined;
|
|
586
586
|
} | {
|
|
587
587
|
readonly kind: "spreadProps";
|
|
@@ -728,7 +728,7 @@ declare function stringifyJsx(node: TSESTree$1.JSXIdentifier | TSESTree$1.JSXNam
|
|
|
728
728
|
* @param node The starting node
|
|
729
729
|
* @returns The enclosing assignment target node, or undefined if not found
|
|
730
730
|
*/
|
|
731
|
-
declare function findEnclosingAssignmentTarget(node: TSESTree.Node): TSESTree.
|
|
731
|
+
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;
|
|
732
732
|
/**
|
|
733
733
|
* Type representing the possible assignment targets returned by `findEnclosingAssignmentTarget`
|
|
734
734
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/core",
|
|
3
|
-
"version": "2.6.4
|
|
3
|
+
"version": "2.6.4",
|
|
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.4
|
|
39
|
-
"@eslint-react/eff": "2.6.4
|
|
40
|
-
"@eslint-react/shared": "2.6.4
|
|
41
|
-
"@eslint-react/var": "2.6.4
|
|
38
|
+
"@eslint-react/ast": "2.6.4",
|
|
39
|
+
"@eslint-react/eff": "2.6.4",
|
|
40
|
+
"@eslint-react/shared": "2.6.4",
|
|
41
|
+
"@eslint-react/var": "2.6.4"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"tsdown": "^0.20.0-beta.3",
|