@eslint-react/core 5.3.4-beta.0 → 5.3.4-beta.1

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 CHANGED
@@ -315,7 +315,7 @@ type FunctionSemanticNode = ClientFunctionSemanticNode | ServerFunctionSemanticN
315
315
  * @param node - The function node to analyze.
316
316
  * @returns The identifier node if found, `null` otherwise.
317
317
  */
318
- declare function getFunctionId(node: TSESTree.Expression | TSESTreeFunction): 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.TemplateLiteral | TSESTree.LogicalExpression | TSESTree.MemberExpressionComputedName | TSESTree.MemberExpressionNonComputedName | TSESTree.MetaProperty | TSESTree.NewExpression | TSESTree.ObjectExpression | TSESTree.ObjectPattern | TSESTree.SequenceExpression | TSESTree.Super | TSESTree.TaggedTemplateExpression | 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 | TSESTree.PrivateIdentifier | null;
318
+ declare function getFunctionId(node: TSESTree.Expression | TSESTreeFunction): 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 | null;
319
319
  /**
320
320
  * Identifies the initialization path of a function node in the AST.
321
321
  *
package/dist/index.js CHANGED
@@ -555,10 +555,15 @@ const SEL_FUNCTION_DISPLAY_NAME_ASSIGNMENT = [
555
555
  * Component flag constants
556
556
  */
557
557
  const FunctionComponentFlag = {
558
+ /** No flags set */
558
559
  None: 0n,
560
+ /** Indicates the component is a pure component (ex: extends PureComponent) */
559
561
  PureComponent: 1n << 0n,
562
+ /** Indicates the component creates elements using `createElement` instead of JSX */
560
563
  CreateElement: 1n << 1n,
564
+ /** Indicates the component is memoized (ex: React.memo) */
561
565
  Memo: 1n << 2n,
566
+ /** Indicates the component forwards a ref (ex: React.forwardRef) */
562
567
  ForwardRef: 1n << 3n
563
568
  };
564
569
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/core",
3
- "version": "5.3.4-beta.0",
3
+ "version": "5.3.4-beta.1",
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,15 +34,15 @@
34
34
  "@typescript-eslint/types": "^8.59.0",
35
35
  "@typescript-eslint/utils": "^8.59.0",
36
36
  "ts-pattern": "^5.9.0",
37
- "@eslint-react/eslint": "5.3.4-beta.0",
38
- "@eslint-react/jsx": "5.3.4-beta.0",
39
- "@eslint-react/shared": "5.3.4-beta.0",
40
- "@eslint-react/var": "5.3.4-beta.0",
41
- "@eslint-react/ast": "5.3.4-beta.0"
37
+ "@eslint-react/ast": "5.3.4-beta.1",
38
+ "@eslint-react/eslint": "5.3.4-beta.1",
39
+ "@eslint-react/jsx": "5.3.4-beta.1",
40
+ "@eslint-react/shared": "5.3.4-beta.1",
41
+ "@eslint-react/var": "5.3.4-beta.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@typescript-eslint/typescript-estree": "^8.59.0",
45
- "tsdown": "^0.21.9",
45
+ "tsdown": "^0.21.10",
46
46
  "@local/configs": "0.0.0",
47
47
  "@local/eff": "3.0.0-beta.72"
48
48
  },