@eslint-react/core 2.0.0-next.171 → 2.0.0-next.172
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 +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -478,7 +478,7 @@ declare function resolveAttributeValue(context: RuleContext, attribute: AST.TSES
|
|
|
478
478
|
readonly toStatic: () => string | number | bigint | boolean | RegExp | null;
|
|
479
479
|
} | {
|
|
480
480
|
readonly kind: "expression";
|
|
481
|
-
readonly node: TSESTree.
|
|
481
|
+
readonly node: TSESTree.JSXEmptyExpression | TSESTree.Expression;
|
|
482
482
|
readonly toStatic: () => unknown;
|
|
483
483
|
} | {
|
|
484
484
|
readonly kind: "element";
|
|
@@ -486,7 +486,7 @@ declare function resolveAttributeValue(context: RuleContext, attribute: AST.TSES
|
|
|
486
486
|
readonly toStatic: () => undefined;
|
|
487
487
|
} | {
|
|
488
488
|
readonly kind: "spreadChild";
|
|
489
|
-
readonly node: TSESTree.
|
|
489
|
+
readonly node: TSESTree.JSXEmptyExpression | TSESTree.Expression;
|
|
490
490
|
readonly toStatic: () => undefined;
|
|
491
491
|
} | {
|
|
492
492
|
readonly kind: "spreadProps";
|
|
@@ -748,7 +748,7 @@ declare function getTypeVariants(types: ts.Type[]): Set<TypeVariant>;
|
|
|
748
748
|
* @param prev The previous AST node in the traversal (used for context)
|
|
749
749
|
* @internal
|
|
750
750
|
*/
|
|
751
|
-
declare function getInstanceId(node: TSESTree.Node, prev?: TSESTree.Node): TSESTree.
|
|
751
|
+
declare function getInstanceId(node: TSESTree.Node, prev?: TSESTree.Node): TSESTree.ArrayExpression | TSESTree.ArrayPattern | TSESTree.ArrowFunctionExpression | TSESTree.AssignmentExpression | TSESTree.AwaitExpression | TSESTree.BinaryExpression | 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.UnaryExpression | TSESTree.UpdateExpression | TSESTree.YieldExpression | undefined;
|
|
752
752
|
//#endregion
|
|
753
753
|
//#region src/utils/is-from-react.d.ts
|
|
754
754
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/core",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.172",
|
|
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": {
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"birecord": "^0.1.1",
|
|
35
35
|
"ts-api-utils": "^2.1.0",
|
|
36
36
|
"ts-pattern": "^5.8.0",
|
|
37
|
-
"@eslint-react/ast": "2.0.0-next.
|
|
38
|
-
"@eslint-react/eff": "2.0.0-next.
|
|
39
|
-
"@eslint-react/
|
|
40
|
-
"@eslint-react/
|
|
41
|
-
"@eslint-react/var": "2.0.0-next.
|
|
37
|
+
"@eslint-react/ast": "2.0.0-next.172",
|
|
38
|
+
"@eslint-react/eff": "2.0.0-next.172",
|
|
39
|
+
"@eslint-react/kit": "2.0.0-next.172",
|
|
40
|
+
"@eslint-react/shared": "2.0.0-next.172",
|
|
41
|
+
"@eslint-react/var": "2.0.0-next.172"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"tsdown": "^0.14.2",
|