@eslint-react/core 1.43.2-next.2 → 1.45.0-beta.3

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.mts CHANGED
@@ -449,6 +449,7 @@ declare function isReactAPI(name: string): ReturnType<typeof isFromReact>;
449
449
  declare function isReactAPI(objectName: string, propertyName: string): ReturnType<typeof isFromReactObject>;
450
450
  declare function isReactAPICall(name: string): ReturnType<typeof isCallFromReact>;
451
451
  declare function isReactAPICall(objectName: string, propertyName: string): ReturnType<typeof isCallFromReactObject>;
452
+ declare const isCaptureOwnerStack: isFromReact.ReturnType;
452
453
  declare const isChildrenCount: isFromReact.ReturnType;
453
454
  declare const isChildrenForEach: isFromReact.ReturnType;
454
455
  declare const isChildrenMap: isFromReact.ReturnType;
@@ -460,6 +461,8 @@ declare const isCreateElement: isFromReact.ReturnType;
460
461
  declare const isCreateRef: isFromReact.ReturnType;
461
462
  declare const isForwardRef: isFromReact.ReturnType;
462
463
  declare const isMemo: isFromReact.ReturnType;
464
+ declare const isLazy: isFromReact.ReturnType;
465
+ declare const isCaptureOwnerStackCall: isCallFromReact.ReturnType;
463
466
  declare const isChildrenCountCall: isCallFromReact.ReturnType;
464
467
  declare const isChildrenForEachCall: isCallFromReact.ReturnType;
465
468
  declare const isChildrenMapCall: isCallFromReact.ReturnType;
@@ -471,5 +474,6 @@ declare const isCreateElementCall: isCallFromReact.ReturnType;
471
474
  declare const isCreateRefCall: isCallFromReact.ReturnType;
472
475
  declare const isForwardRefCall: isCallFromReact.ReturnType;
473
476
  declare const isMemoCall: isCallFromReact.ReturnType;
477
+ declare const isLazyCall: isCallFromReact.ReturnType;
474
478
 
475
- export { type ClassComponent, type Component, ComponentDetectionHint, type ComponentEffectPhaseKind, ComponentFlag, type ComponentKind, type ComponentLifecyclePhaseKind, type ComponentPhaseKind, ComponentPhaseRelevance, type ComponentStateKind, DEFAULT_COMPONENT_DETECTION_HINT, type EffectKind, type FunctionComponent, type Hook, type HookKind, type SemanticEntry, type SemanticNode, getComponentFlagFromInitPath, getComponentNameFromId, getFunctionComponentId, getInstanceId, hasNoneOrLooseComponentName, isAssignmentToThisState, isCallFromReact, isCallFromReactObject, isChildrenCount, isChildrenCountCall, isChildrenForEach, isChildrenForEachCall, isChildrenMap, isChildrenMapCall, isChildrenOfCreateElement, isChildrenOnly, isChildrenOnlyCall, isChildrenToArray, isChildrenToArrayCall, isClassComponent, isCloneElement, isCloneElementCall, isComponentDidCatch, isComponentDidMount, isComponentDidUpdate, isComponentName, isComponentNameLoose, isComponentWillMount, isComponentWillReceiveProps, isComponentWillUnmount, isComponentWillUpdate, isComponentWrapperCall, isComponentWrapperCallLoose, isCreateContext, isCreateContextCall, isCreateElement, isCreateElementCall, isCreateRef, isCreateRefCall, isDeclaredInRenderPropLoose, isDirectValueOfRenderPropertyLoose, isForwardRef, isForwardRefCall, isFromReact, isFromReactLoose, isFromReactObject, isFromReactStrict, isFunctionOfComponentDidMount, isFunctionOfComponentWillUnmount, isFunctionOfRender, isFunctionOfRenderMethod, isFunctionOfUseEffectCleanup, isFunctionOfUseEffectSetup, isGetChildContext, isGetDefaultProps, isGetDerivedStateFromError, isGetDerivedStateFromProps, isGetInitialState, isGetSnapshotBeforeUpdate, isInitializedFromReact, isInsideRenderMethod, isInstanceIdEqual, isInversePhase, isMemo, isMemoCall, isPureComponent, isReactAPI, isReactAPICall, isReactHook, isReactHookCall, isReactHookCallWithName, isReactHookCallWithNameAlias, isReactHookCallWithNameLoose, isReactHookName, isRenderFunctionLoose, isRenderLike, isRenderMethodLike, isRenderPropLoose, isShouldComponentUpdate, isThisSetState, isUnsafeComponentWillMount, isUnsafeComponentWillReceiveProps, isUnsafeComponentWillUpdate, isUseActionStateCall, isUseCall, isUseCallbackCall, isUseContextCall, isUseDebugValueCall, isUseDeferredValueCall, isUseEffectCall, isUseEffectCallLoose, isUseFormStatusCall, isUseIdCall, isUseImperativeHandleCall, isUseInsertionEffectCall, isUseLayoutEffectCall, isUseMemoCall, isUseOptimisticCall, isUseReducerCall, isUseRefCall, isUseStateCall, isUseSyncExternalStoreCall, isUseTransitionCall, isValidComponentDefinition, useComponentCollector, useComponentCollectorLegacy, useHookCollector };
479
+ export { type ClassComponent, type Component, ComponentDetectionHint, type ComponentEffectPhaseKind, ComponentFlag, type ComponentKind, type ComponentLifecyclePhaseKind, type ComponentPhaseKind, ComponentPhaseRelevance, type ComponentStateKind, DEFAULT_COMPONENT_DETECTION_HINT, type EffectKind, type FunctionComponent, type Hook, type HookKind, type SemanticEntry, type SemanticNode, getComponentFlagFromInitPath, getComponentNameFromId, getFunctionComponentId, getInstanceId, hasNoneOrLooseComponentName, isAssignmentToThisState, isCallFromReact, isCallFromReactObject, isCaptureOwnerStack, isCaptureOwnerStackCall, isChildrenCount, isChildrenCountCall, isChildrenForEach, isChildrenForEachCall, isChildrenMap, isChildrenMapCall, isChildrenOfCreateElement, isChildrenOnly, isChildrenOnlyCall, isChildrenToArray, isChildrenToArrayCall, isClassComponent, isCloneElement, isCloneElementCall, isComponentDidCatch, isComponentDidMount, isComponentDidUpdate, isComponentName, isComponentNameLoose, isComponentWillMount, isComponentWillReceiveProps, isComponentWillUnmount, isComponentWillUpdate, isComponentWrapperCall, isComponentWrapperCallLoose, isCreateContext, isCreateContextCall, isCreateElement, isCreateElementCall, isCreateRef, isCreateRefCall, isDeclaredInRenderPropLoose, isDirectValueOfRenderPropertyLoose, isForwardRef, isForwardRefCall, isFromReact, isFromReactLoose, isFromReactObject, isFromReactStrict, isFunctionOfComponentDidMount, isFunctionOfComponentWillUnmount, isFunctionOfRender, isFunctionOfRenderMethod, isFunctionOfUseEffectCleanup, isFunctionOfUseEffectSetup, isGetChildContext, isGetDefaultProps, isGetDerivedStateFromError, isGetDerivedStateFromProps, isGetInitialState, isGetSnapshotBeforeUpdate, isInitializedFromReact, isInsideRenderMethod, isInstanceIdEqual, isInversePhase, isLazy, isLazyCall, isMemo, isMemoCall, isPureComponent, isReactAPI, isReactAPICall, isReactHook, isReactHookCall, isReactHookCallWithName, isReactHookCallWithNameAlias, isReactHookCallWithNameLoose, isReactHookName, isRenderFunctionLoose, isRenderLike, isRenderMethodLike, isRenderPropLoose, isShouldComponentUpdate, isThisSetState, isUnsafeComponentWillMount, isUnsafeComponentWillReceiveProps, isUnsafeComponentWillUpdate, isUseActionStateCall, isUseCall, isUseCallbackCall, isUseContextCall, isUseDebugValueCall, isUseDeferredValueCall, isUseEffectCall, isUseEffectCallLoose, isUseFormStatusCall, isUseIdCall, isUseImperativeHandleCall, isUseInsertionEffectCall, isUseLayoutEffectCall, isUseMemoCall, isUseOptimisticCall, isUseReducerCall, isUseRefCall, isUseStateCall, isUseSyncExternalStoreCall, isUseTransitionCall, isValidComponentDefinition, useComponentCollector, useComponentCollectorLegacy, useHookCollector };
package/dist/index.d.ts CHANGED
@@ -449,6 +449,7 @@ declare function isReactAPI(name: string): ReturnType<typeof isFromReact>;
449
449
  declare function isReactAPI(objectName: string, propertyName: string): ReturnType<typeof isFromReactObject>;
450
450
  declare function isReactAPICall(name: string): ReturnType<typeof isCallFromReact>;
451
451
  declare function isReactAPICall(objectName: string, propertyName: string): ReturnType<typeof isCallFromReactObject>;
452
+ declare const isCaptureOwnerStack: isFromReact.ReturnType;
452
453
  declare const isChildrenCount: isFromReact.ReturnType;
453
454
  declare const isChildrenForEach: isFromReact.ReturnType;
454
455
  declare const isChildrenMap: isFromReact.ReturnType;
@@ -460,6 +461,8 @@ declare const isCreateElement: isFromReact.ReturnType;
460
461
  declare const isCreateRef: isFromReact.ReturnType;
461
462
  declare const isForwardRef: isFromReact.ReturnType;
462
463
  declare const isMemo: isFromReact.ReturnType;
464
+ declare const isLazy: isFromReact.ReturnType;
465
+ declare const isCaptureOwnerStackCall: isCallFromReact.ReturnType;
463
466
  declare const isChildrenCountCall: isCallFromReact.ReturnType;
464
467
  declare const isChildrenForEachCall: isCallFromReact.ReturnType;
465
468
  declare const isChildrenMapCall: isCallFromReact.ReturnType;
@@ -471,5 +474,6 @@ declare const isCreateElementCall: isCallFromReact.ReturnType;
471
474
  declare const isCreateRefCall: isCallFromReact.ReturnType;
472
475
  declare const isForwardRefCall: isCallFromReact.ReturnType;
473
476
  declare const isMemoCall: isCallFromReact.ReturnType;
477
+ declare const isLazyCall: isCallFromReact.ReturnType;
474
478
 
475
- export { type ClassComponent, type Component, ComponentDetectionHint, type ComponentEffectPhaseKind, ComponentFlag, type ComponentKind, type ComponentLifecyclePhaseKind, type ComponentPhaseKind, ComponentPhaseRelevance, type ComponentStateKind, DEFAULT_COMPONENT_DETECTION_HINT, type EffectKind, type FunctionComponent, type Hook, type HookKind, type SemanticEntry, type SemanticNode, getComponentFlagFromInitPath, getComponentNameFromId, getFunctionComponentId, getInstanceId, hasNoneOrLooseComponentName, isAssignmentToThisState, isCallFromReact, isCallFromReactObject, isChildrenCount, isChildrenCountCall, isChildrenForEach, isChildrenForEachCall, isChildrenMap, isChildrenMapCall, isChildrenOfCreateElement, isChildrenOnly, isChildrenOnlyCall, isChildrenToArray, isChildrenToArrayCall, isClassComponent, isCloneElement, isCloneElementCall, isComponentDidCatch, isComponentDidMount, isComponentDidUpdate, isComponentName, isComponentNameLoose, isComponentWillMount, isComponentWillReceiveProps, isComponentWillUnmount, isComponentWillUpdate, isComponentWrapperCall, isComponentWrapperCallLoose, isCreateContext, isCreateContextCall, isCreateElement, isCreateElementCall, isCreateRef, isCreateRefCall, isDeclaredInRenderPropLoose, isDirectValueOfRenderPropertyLoose, isForwardRef, isForwardRefCall, isFromReact, isFromReactLoose, isFromReactObject, isFromReactStrict, isFunctionOfComponentDidMount, isFunctionOfComponentWillUnmount, isFunctionOfRender, isFunctionOfRenderMethod, isFunctionOfUseEffectCleanup, isFunctionOfUseEffectSetup, isGetChildContext, isGetDefaultProps, isGetDerivedStateFromError, isGetDerivedStateFromProps, isGetInitialState, isGetSnapshotBeforeUpdate, isInitializedFromReact, isInsideRenderMethod, isInstanceIdEqual, isInversePhase, isMemo, isMemoCall, isPureComponent, isReactAPI, isReactAPICall, isReactHook, isReactHookCall, isReactHookCallWithName, isReactHookCallWithNameAlias, isReactHookCallWithNameLoose, isReactHookName, isRenderFunctionLoose, isRenderLike, isRenderMethodLike, isRenderPropLoose, isShouldComponentUpdate, isThisSetState, isUnsafeComponentWillMount, isUnsafeComponentWillReceiveProps, isUnsafeComponentWillUpdate, isUseActionStateCall, isUseCall, isUseCallbackCall, isUseContextCall, isUseDebugValueCall, isUseDeferredValueCall, isUseEffectCall, isUseEffectCallLoose, isUseFormStatusCall, isUseIdCall, isUseImperativeHandleCall, isUseInsertionEffectCall, isUseLayoutEffectCall, isUseMemoCall, isUseOptimisticCall, isUseReducerCall, isUseRefCall, isUseStateCall, isUseSyncExternalStoreCall, isUseTransitionCall, isValidComponentDefinition, useComponentCollector, useComponentCollectorLegacy, useHookCollector };
479
+ export { type ClassComponent, type Component, ComponentDetectionHint, type ComponentEffectPhaseKind, ComponentFlag, type ComponentKind, type ComponentLifecyclePhaseKind, type ComponentPhaseKind, ComponentPhaseRelevance, type ComponentStateKind, DEFAULT_COMPONENT_DETECTION_HINT, type EffectKind, type FunctionComponent, type Hook, type HookKind, type SemanticEntry, type SemanticNode, getComponentFlagFromInitPath, getComponentNameFromId, getFunctionComponentId, getInstanceId, hasNoneOrLooseComponentName, isAssignmentToThisState, isCallFromReact, isCallFromReactObject, isCaptureOwnerStack, isCaptureOwnerStackCall, isChildrenCount, isChildrenCountCall, isChildrenForEach, isChildrenForEachCall, isChildrenMap, isChildrenMapCall, isChildrenOfCreateElement, isChildrenOnly, isChildrenOnlyCall, isChildrenToArray, isChildrenToArrayCall, isClassComponent, isCloneElement, isCloneElementCall, isComponentDidCatch, isComponentDidMount, isComponentDidUpdate, isComponentName, isComponentNameLoose, isComponentWillMount, isComponentWillReceiveProps, isComponentWillUnmount, isComponentWillUpdate, isComponentWrapperCall, isComponentWrapperCallLoose, isCreateContext, isCreateContextCall, isCreateElement, isCreateElementCall, isCreateRef, isCreateRefCall, isDeclaredInRenderPropLoose, isDirectValueOfRenderPropertyLoose, isForwardRef, isForwardRefCall, isFromReact, isFromReactLoose, isFromReactObject, isFromReactStrict, isFunctionOfComponentDidMount, isFunctionOfComponentWillUnmount, isFunctionOfRender, isFunctionOfRenderMethod, isFunctionOfUseEffectCleanup, isFunctionOfUseEffectSetup, isGetChildContext, isGetDefaultProps, isGetDerivedStateFromError, isGetDerivedStateFromProps, isGetInitialState, isGetSnapshotBeforeUpdate, isInitializedFromReact, isInsideRenderMethod, isInstanceIdEqual, isInversePhase, isLazy, isLazyCall, isMemo, isMemoCall, isPureComponent, isReactAPI, isReactAPICall, isReactHook, isReactHookCall, isReactHookCallWithName, isReactHookCallWithNameAlias, isReactHookCallWithNameLoose, isReactHookName, isRenderFunctionLoose, isRenderLike, isRenderMethodLike, isRenderPropLoose, isShouldComponentUpdate, isThisSetState, isUnsafeComponentWillMount, isUnsafeComponentWillReceiveProps, isUnsafeComponentWillUpdate, isUseActionStateCall, isUseCall, isUseCallbackCall, isUseContextCall, isUseDebugValueCall, isUseDeferredValueCall, isUseEffectCall, isUseEffectCallLoose, isUseFormStatusCall, isUseIdCall, isUseImperativeHandleCall, isUseInsertionEffectCall, isUseLayoutEffectCall, isUseMemoCall, isUseOptimisticCall, isUseReducerCall, isUseRefCall, isUseStateCall, isUseSyncExternalStoreCall, isUseTransitionCall, isValidComponentDefinition, useComponentCollector, useComponentCollectorLegacy, useHookCollector };
package/dist/index.js CHANGED
@@ -1520,6 +1520,7 @@ function isReactAPI(arg0, arg1) {
1520
1520
  function isReactAPICall(arg0, arg1) {
1521
1521
  return arg1 == null ? isCallFromReact(arg0) : isCallFromReactObject(arg0, arg1);
1522
1522
  }
1523
+ var isCaptureOwnerStack = isReactAPI("captureOwnerStack");
1523
1524
  var isChildrenCount = isReactAPI("Children", "count");
1524
1525
  var isChildrenForEach = isReactAPI("Children", "forEach");
1525
1526
  var isChildrenMap = isReactAPI("Children", "map");
@@ -1531,6 +1532,8 @@ var isCreateElement = isReactAPI("createElement");
1531
1532
  var isCreateRef = isReactAPI("createRef");
1532
1533
  var isForwardRef = isReactAPI("forwardRef");
1533
1534
  var isMemo = isReactAPI("memo");
1535
+ var isLazy = isReactAPI("lazy");
1536
+ var isCaptureOwnerStackCall = isReactAPICall("captureOwnerStack");
1534
1537
  var isChildrenCountCall = isReactAPICall("Children", "count");
1535
1538
  var isChildrenForEachCall = isReactAPICall("Children", "forEach");
1536
1539
  var isChildrenMapCall = isReactAPICall("Children", "map");
@@ -1542,6 +1545,7 @@ var isCreateElementCall = isReactAPICall("createElement");
1542
1545
  var isCreateRefCall = isReactAPICall("createRef");
1543
1546
  var isForwardRefCall = isReactAPICall("forwardRef");
1544
1547
  var isMemoCall = isReactAPICall("memo");
1548
+ var isLazyCall = isReactAPICall("lazy");
1545
1549
 
1546
1550
  // src/hook/hook-name.ts
1547
1551
  function isReactHookName(name) {
@@ -1891,7 +1895,7 @@ function isValidComponentDefinition(context, node, hint) {
1891
1895
  if (hint & ComponentDetectionHint.SkipArrayMapArgument && AST6__namespace.isArrayMapCall(node.parent)) {
1892
1896
  return false;
1893
1897
  }
1894
- const boundaryNode = AST6__namespace.findParentNode(
1898
+ const significantParent = AST6__namespace.findParentNode(
1895
1899
  node,
1896
1900
  AST6__namespace.isOneOf([
1897
1901
  types.AST_NODE_TYPES.JSXExpressionContainer,
@@ -1901,7 +1905,7 @@ function isValidComponentDefinition(context, node, hint) {
1901
1905
  types.AST_NODE_TYPES.ClassBody
1902
1906
  ])
1903
1907
  );
1904
- return boundaryNode == null || boundaryNode.type !== types.AST_NODE_TYPES.JSXExpressionContainer;
1908
+ return significantParent == null || significantParent.type !== types.AST_NODE_TYPES.JSXExpressionContainer;
1905
1909
  }
1906
1910
  function isComponentWrapperCall(context, node) {
1907
1911
  if (node.type !== types.AST_NODE_TYPES.CallExpression) return false;
@@ -2168,6 +2172,8 @@ exports.hasNoneOrLooseComponentName = hasNoneOrLooseComponentName;
2168
2172
  exports.isAssignmentToThisState = isAssignmentToThisState;
2169
2173
  exports.isCallFromReact = isCallFromReact;
2170
2174
  exports.isCallFromReactObject = isCallFromReactObject;
2175
+ exports.isCaptureOwnerStack = isCaptureOwnerStack;
2176
+ exports.isCaptureOwnerStackCall = isCaptureOwnerStackCall;
2171
2177
  exports.isChildrenCount = isChildrenCount;
2172
2178
  exports.isChildrenCountCall = isChildrenCountCall;
2173
2179
  exports.isChildrenForEach = isChildrenForEach;
@@ -2223,6 +2229,8 @@ exports.isInitializedFromReact = isInitializedFromReact;
2223
2229
  exports.isInsideRenderMethod = isInsideRenderMethod;
2224
2230
  exports.isInstanceIdEqual = isInstanceIdEqual;
2225
2231
  exports.isInversePhase = isInversePhase;
2232
+ exports.isLazy = isLazy;
2233
+ exports.isLazyCall = isLazyCall;
2226
2234
  exports.isMemo = isMemo;
2227
2235
  exports.isMemoCall = isMemoCall;
2228
2236
  exports.isPureComponent = isPureComponent;
package/dist/index.mjs CHANGED
@@ -1493,6 +1493,7 @@ function isReactAPI(arg0, arg1) {
1493
1493
  function isReactAPICall(arg0, arg1) {
1494
1494
  return arg1 == null ? isCallFromReact(arg0) : isCallFromReactObject(arg0, arg1);
1495
1495
  }
1496
+ var isCaptureOwnerStack = isReactAPI("captureOwnerStack");
1496
1497
  var isChildrenCount = isReactAPI("Children", "count");
1497
1498
  var isChildrenForEach = isReactAPI("Children", "forEach");
1498
1499
  var isChildrenMap = isReactAPI("Children", "map");
@@ -1504,6 +1505,8 @@ var isCreateElement = isReactAPI("createElement");
1504
1505
  var isCreateRef = isReactAPI("createRef");
1505
1506
  var isForwardRef = isReactAPI("forwardRef");
1506
1507
  var isMemo = isReactAPI("memo");
1508
+ var isLazy = isReactAPI("lazy");
1509
+ var isCaptureOwnerStackCall = isReactAPICall("captureOwnerStack");
1507
1510
  var isChildrenCountCall = isReactAPICall("Children", "count");
1508
1511
  var isChildrenForEachCall = isReactAPICall("Children", "forEach");
1509
1512
  var isChildrenMapCall = isReactAPICall("Children", "map");
@@ -1515,6 +1518,7 @@ var isCreateElementCall = isReactAPICall("createElement");
1515
1518
  var isCreateRefCall = isReactAPICall("createRef");
1516
1519
  var isForwardRefCall = isReactAPICall("forwardRef");
1517
1520
  var isMemoCall = isReactAPICall("memo");
1521
+ var isLazyCall = isReactAPICall("lazy");
1518
1522
 
1519
1523
  // src/hook/hook-name.ts
1520
1524
  function isReactHookName(name) {
@@ -1864,7 +1868,7 @@ function isValidComponentDefinition(context, node, hint) {
1864
1868
  if (hint & ComponentDetectionHint.SkipArrayMapArgument && AST6.isArrayMapCall(node.parent)) {
1865
1869
  return false;
1866
1870
  }
1867
- const boundaryNode = AST6.findParentNode(
1871
+ const significantParent = AST6.findParentNode(
1868
1872
  node,
1869
1873
  AST6.isOneOf([
1870
1874
  AST_NODE_TYPES.JSXExpressionContainer,
@@ -1874,7 +1878,7 @@ function isValidComponentDefinition(context, node, hint) {
1874
1878
  AST_NODE_TYPES.ClassBody
1875
1879
  ])
1876
1880
  );
1877
- return boundaryNode == null || boundaryNode.type !== AST_NODE_TYPES.JSXExpressionContainer;
1881
+ return significantParent == null || significantParent.type !== AST_NODE_TYPES.JSXExpressionContainer;
1878
1882
  }
1879
1883
  function isComponentWrapperCall(context, node) {
1880
1884
  if (node.type !== AST_NODE_TYPES.CallExpression) return false;
@@ -2129,4 +2133,4 @@ function isAssignmentToThisState(node) {
2129
2133
  return left.type === AST_NODE_TYPES.MemberExpression && AST6.isThisExpression(left.object) && AST6.getPropertyName(left.property) === "state";
2130
2134
  }
2131
2135
 
2132
- export { ComponentDetectionHint, ComponentFlag, ComponentPhaseRelevance, DEFAULT_COMPONENT_DETECTION_HINT, getComponentFlagFromInitPath, getComponentNameFromId, getFunctionComponentId, getInstanceId, hasNoneOrLooseComponentName, isAssignmentToThisState, isCallFromReact, isCallFromReactObject, isChildrenCount, isChildrenCountCall, isChildrenForEach, isChildrenForEachCall, isChildrenMap, isChildrenMapCall, isChildrenOfCreateElement, isChildrenOnly, isChildrenOnlyCall, isChildrenToArray, isChildrenToArrayCall, isClassComponent, isCloneElement, isCloneElementCall, isComponentDidCatch, isComponentDidMount, isComponentDidUpdate, isComponentName, isComponentNameLoose, isComponentWillMount, isComponentWillReceiveProps, isComponentWillUnmount, isComponentWillUpdate, isComponentWrapperCall, isComponentWrapperCallLoose, isCreateContext, isCreateContextCall, isCreateElement, isCreateElementCall, isCreateRef, isCreateRefCall, isDeclaredInRenderPropLoose, isDirectValueOfRenderPropertyLoose, isForwardRef, isForwardRefCall, isFromReact, isFromReactLoose, isFromReactObject, isFromReactStrict, isFunctionOfComponentDidMount, isFunctionOfComponentWillUnmount, isFunctionOfRender, isFunctionOfRenderMethod, isFunctionOfUseEffectCleanup, isFunctionOfUseEffectSetup, isGetChildContext, isGetDefaultProps, isGetDerivedStateFromError, isGetDerivedStateFromProps, isGetInitialState, isGetSnapshotBeforeUpdate, isInitializedFromReact, isInsideRenderMethod, isInstanceIdEqual, isInversePhase, isMemo, isMemoCall, isPureComponent, isReactAPI, isReactAPICall, isReactHook, isReactHookCall, isReactHookCallWithName, isReactHookCallWithNameAlias, isReactHookCallWithNameLoose, isReactHookName, isRenderFunctionLoose, isRenderLike, isRenderMethodLike, isRenderPropLoose, isShouldComponentUpdate, isThisSetState, isUnsafeComponentWillMount, isUnsafeComponentWillReceiveProps, isUnsafeComponentWillUpdate, isUseActionStateCall, isUseCall, isUseCallbackCall, isUseContextCall, isUseDebugValueCall, isUseDeferredValueCall, isUseEffectCall, isUseEffectCallLoose, isUseFormStatusCall, isUseIdCall, isUseImperativeHandleCall, isUseInsertionEffectCall, isUseLayoutEffectCall, isUseMemoCall, isUseOptimisticCall, isUseReducerCall, isUseRefCall, isUseStateCall, isUseSyncExternalStoreCall, isUseTransitionCall, isValidComponentDefinition, useComponentCollector, useComponentCollectorLegacy, useHookCollector };
2136
+ export { ComponentDetectionHint, ComponentFlag, ComponentPhaseRelevance, DEFAULT_COMPONENT_DETECTION_HINT, getComponentFlagFromInitPath, getComponentNameFromId, getFunctionComponentId, getInstanceId, hasNoneOrLooseComponentName, isAssignmentToThisState, isCallFromReact, isCallFromReactObject, isCaptureOwnerStack, isCaptureOwnerStackCall, isChildrenCount, isChildrenCountCall, isChildrenForEach, isChildrenForEachCall, isChildrenMap, isChildrenMapCall, isChildrenOfCreateElement, isChildrenOnly, isChildrenOnlyCall, isChildrenToArray, isChildrenToArrayCall, isClassComponent, isCloneElement, isCloneElementCall, isComponentDidCatch, isComponentDidMount, isComponentDidUpdate, isComponentName, isComponentNameLoose, isComponentWillMount, isComponentWillReceiveProps, isComponentWillUnmount, isComponentWillUpdate, isComponentWrapperCall, isComponentWrapperCallLoose, isCreateContext, isCreateContextCall, isCreateElement, isCreateElementCall, isCreateRef, isCreateRefCall, isDeclaredInRenderPropLoose, isDirectValueOfRenderPropertyLoose, isForwardRef, isForwardRefCall, isFromReact, isFromReactLoose, isFromReactObject, isFromReactStrict, isFunctionOfComponentDidMount, isFunctionOfComponentWillUnmount, isFunctionOfRender, isFunctionOfRenderMethod, isFunctionOfUseEffectCleanup, isFunctionOfUseEffectSetup, isGetChildContext, isGetDefaultProps, isGetDerivedStateFromError, isGetDerivedStateFromProps, isGetInitialState, isGetSnapshotBeforeUpdate, isInitializedFromReact, isInsideRenderMethod, isInstanceIdEqual, isInversePhase, isLazy, isLazyCall, isMemo, isMemoCall, isPureComponent, isReactAPI, isReactAPICall, isReactHook, isReactHookCall, isReactHookCallWithName, isReactHookCallWithNameAlias, isReactHookCallWithNameLoose, isReactHookName, isRenderFunctionLoose, isRenderLike, isRenderMethodLike, isRenderPropLoose, isShouldComponentUpdate, isThisSetState, isUnsafeComponentWillMount, isUnsafeComponentWillReceiveProps, isUnsafeComponentWillUpdate, isUseActionStateCall, isUseCall, isUseCallbackCall, isUseContextCall, isUseDebugValueCall, isUseDeferredValueCall, isUseEffectCall, isUseEffectCallLoose, isUseFormStatusCall, isUseIdCall, isUseImperativeHandleCall, isUseInsertionEffectCall, isUseLayoutEffectCall, isUseMemoCall, isUseOptimisticCall, isUseReducerCall, isUseRefCall, isUseStateCall, isUseSyncExternalStoreCall, isUseTransitionCall, isValidComponentDefinition, useComponentCollector, useComponentCollectorLegacy, useHookCollector };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/core",
3
- "version": "1.43.2-next.2",
3
+ "version": "1.45.0-beta.3",
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": {
@@ -41,12 +41,12 @@
41
41
  "@typescript-eslint/utils": "^8.29.1",
42
42
  "birecord": "^0.1.1",
43
43
  "ts-pattern": "^5.7.0",
44
- "@eslint-react/ast": "1.43.2-next.2",
45
- "@eslint-react/eff": "1.43.2-next.2",
46
- "@eslint-react/kit": "1.43.2-next.2",
47
- "@eslint-react/shared": "1.43.2-next.2",
48
- "@eslint-react/var": "1.43.2-next.2",
49
- "@eslint-react/jsx": "1.43.2-next.2"
44
+ "@eslint-react/ast": "1.45.0-beta.3",
45
+ "@eslint-react/jsx": "1.45.0-beta.3",
46
+ "@eslint-react/kit": "1.45.0-beta.3",
47
+ "@eslint-react/eff": "1.45.0-beta.3",
48
+ "@eslint-react/var": "1.45.0-beta.3",
49
+ "@eslint-react/shared": "1.45.0-beta.3"
50
50
  },
51
51
  "devDependencies": {
52
52
  "tsup": "^8.4.0",