@eslint-react/core 1.23.1 → 1.23.2-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.mts CHANGED
@@ -299,6 +299,8 @@ declare function isThisSetState(node: TSESTree.CallExpression): boolean;
299
299
 
300
300
  type ERStateKind = "actionState" | "state";
301
301
 
302
+ declare const getId: () => string;
303
+
302
304
  /**
303
305
  * Checks if the given node is a call expression to the given function or method of the pragma
304
306
  * @param name The name of the function or method to check
@@ -2558,11 +2560,4 @@ declare const isMemoCall: {
2558
2560
  (node: Node, context: _eslint_react_types.RuleContext): node is CallExpression;
2559
2561
  };
2560
2562
 
2561
- declare function next(): bigint;
2562
-
2563
- declare const uid_next: typeof next;
2564
- declare namespace uid {
2565
- export { uid_next as next };
2566
- }
2567
-
2568
- export { DEFAULT_COMPONENT_HINT, type ERClassComponent, ERClassComponentFlag, type ERComponent, ERComponentHint, type ERComponentKind, type EREffectKind, type EREffectMethodKind, type EREffectPhaseKind, type ERFunctionComponent, ERFunctionComponentFlag, type ERHook, type ERHookKind, type ERLifecycleMethodKind, type ERLifecyclePhaseKind, type ERPhaseKind, ERPhaseRelevance, type ERSemanticEntry, type ERSemanticNode, type ERStateKind, RE_COMPONENT_NAME, RE_HOOK_NAME, getComponentNameFromIdentifier, getElementRepresentName, getFunctionComponentIdentifier, hasNoneOrValidComponentName, isCallFromReact, isCallFromReactMember, isChildrenCount, isChildrenCountCall, isChildrenForEach, isChildrenForEachCall, isChildrenMap, isChildrenMapCall, isChildrenOfCreateElement, isChildrenOnly, isChildrenOnlyCall, isChildrenToArray, isChildrenToArrayCall, isClassComponent, isCleanupFunction, isCloneElement, isCloneElementCall, isComponentDidMount, isComponentDidMountFunction, isComponentName, isComponentWillUnmount, isComponentWillUnmountFunction, isCreateContext, isCreateContextCall, isCreateElement, isCreateElementCall, isCreateRef, isCreateRefCall, isDeclaredInRenderPropLoose, isDirectValueOfRenderPropertyLoose, isForwardRef, isForwardRefCall, isFromReact, isFromReactMember, isFunctionOfRenderMethod, isInitializedFromReact, isInsideCreateElementProps, isInsideReactHook, isInsideRenderMethod, isInversePhase, isMemo, isMemoCall, isPureComponent, isReactAPICallWithName, isReactAPIWithName, isReactHook, isReactHookCall, isReactHookCallWithName, isReactHookCallWithNameAlias, isReactHookCallWithNameLoose, isReactHookName, isRenderFunctionLoose, isRenderPropLoose, isSetupFunction, isThisSetState, isUseCallbackCall, isUseContextCall, isUseDebugValueCall, isUseDeferredValueCall, isUseEffectCall, isUseEffectCallLoose, isUseIdCall, isUseImperativeHandleCall, isUseInsertionEffectCall, isUseLayoutEffectCall, isUseMemoCall, isUseReducerCall, isUseRefCall, isUseStateCall, isUseSyncExternalStoreCall, isUseTransitionCall, uid, useComponentCollector, useComponentCollectorLegacy, useHookCollector };
2563
+ export { DEFAULT_COMPONENT_HINT, type ERClassComponent, ERClassComponentFlag, type ERComponent, ERComponentHint, type ERComponentKind, type EREffectKind, type EREffectMethodKind, type EREffectPhaseKind, type ERFunctionComponent, ERFunctionComponentFlag, type ERHook, type ERHookKind, type ERLifecycleMethodKind, type ERLifecyclePhaseKind, type ERPhaseKind, ERPhaseRelevance, type ERSemanticEntry, type ERSemanticNode, type ERStateKind, RE_COMPONENT_NAME, RE_HOOK_NAME, getComponentNameFromIdentifier, getElementRepresentName, getFunctionComponentIdentifier, getId, hasNoneOrValidComponentName, isCallFromReact, isCallFromReactMember, isChildrenCount, isChildrenCountCall, isChildrenForEach, isChildrenForEachCall, isChildrenMap, isChildrenMapCall, isChildrenOfCreateElement, isChildrenOnly, isChildrenOnlyCall, isChildrenToArray, isChildrenToArrayCall, isClassComponent, isCleanupFunction, isCloneElement, isCloneElementCall, isComponentDidMount, isComponentDidMountFunction, isComponentName, isComponentWillUnmount, isComponentWillUnmountFunction, isCreateContext, isCreateContextCall, isCreateElement, isCreateElementCall, isCreateRef, isCreateRefCall, isDeclaredInRenderPropLoose, isDirectValueOfRenderPropertyLoose, isForwardRef, isForwardRefCall, isFromReact, isFromReactMember, isFunctionOfRenderMethod, isInitializedFromReact, isInsideCreateElementProps, isInsideReactHook, isInsideRenderMethod, isInversePhase, isMemo, isMemoCall, isPureComponent, isReactAPICallWithName, isReactAPIWithName, isReactHook, isReactHookCall, isReactHookCallWithName, isReactHookCallWithNameAlias, isReactHookCallWithNameLoose, isReactHookName, isRenderFunctionLoose, isRenderPropLoose, isSetupFunction, isThisSetState, isUseCallbackCall, isUseContextCall, isUseDebugValueCall, isUseDeferredValueCall, isUseEffectCall, isUseEffectCallLoose, isUseIdCall, isUseImperativeHandleCall, isUseInsertionEffectCall, isUseLayoutEffectCall, isUseMemoCall, isUseReducerCall, isUseRefCall, isUseStateCall, isUseSyncExternalStoreCall, isUseTransitionCall, useComponentCollector, useComponentCollectorLegacy, useHookCollector };
package/dist/index.d.ts CHANGED
@@ -299,6 +299,8 @@ declare function isThisSetState(node: TSESTree.CallExpression): boolean;
299
299
 
300
300
  type ERStateKind = "actionState" | "state";
301
301
 
302
+ declare const getId: () => string;
303
+
302
304
  /**
303
305
  * Checks if the given node is a call expression to the given function or method of the pragma
304
306
  * @param name The name of the function or method to check
@@ -2558,11 +2560,4 @@ declare const isMemoCall: {
2558
2560
  (node: Node, context: _eslint_react_types.RuleContext): node is CallExpression;
2559
2561
  };
2560
2562
 
2561
- declare function next(): bigint;
2562
-
2563
- declare const uid_next: typeof next;
2564
- declare namespace uid {
2565
- export { uid_next as next };
2566
- }
2567
-
2568
- export { DEFAULT_COMPONENT_HINT, type ERClassComponent, ERClassComponentFlag, type ERComponent, ERComponentHint, type ERComponentKind, type EREffectKind, type EREffectMethodKind, type EREffectPhaseKind, type ERFunctionComponent, ERFunctionComponentFlag, type ERHook, type ERHookKind, type ERLifecycleMethodKind, type ERLifecyclePhaseKind, type ERPhaseKind, ERPhaseRelevance, type ERSemanticEntry, type ERSemanticNode, type ERStateKind, RE_COMPONENT_NAME, RE_HOOK_NAME, getComponentNameFromIdentifier, getElementRepresentName, getFunctionComponentIdentifier, hasNoneOrValidComponentName, isCallFromReact, isCallFromReactMember, isChildrenCount, isChildrenCountCall, isChildrenForEach, isChildrenForEachCall, isChildrenMap, isChildrenMapCall, isChildrenOfCreateElement, isChildrenOnly, isChildrenOnlyCall, isChildrenToArray, isChildrenToArrayCall, isClassComponent, isCleanupFunction, isCloneElement, isCloneElementCall, isComponentDidMount, isComponentDidMountFunction, isComponentName, isComponentWillUnmount, isComponentWillUnmountFunction, isCreateContext, isCreateContextCall, isCreateElement, isCreateElementCall, isCreateRef, isCreateRefCall, isDeclaredInRenderPropLoose, isDirectValueOfRenderPropertyLoose, isForwardRef, isForwardRefCall, isFromReact, isFromReactMember, isFunctionOfRenderMethod, isInitializedFromReact, isInsideCreateElementProps, isInsideReactHook, isInsideRenderMethod, isInversePhase, isMemo, isMemoCall, isPureComponent, isReactAPICallWithName, isReactAPIWithName, isReactHook, isReactHookCall, isReactHookCallWithName, isReactHookCallWithNameAlias, isReactHookCallWithNameLoose, isReactHookName, isRenderFunctionLoose, isRenderPropLoose, isSetupFunction, isThisSetState, isUseCallbackCall, isUseContextCall, isUseDebugValueCall, isUseDeferredValueCall, isUseEffectCall, isUseEffectCallLoose, isUseIdCall, isUseImperativeHandleCall, isUseInsertionEffectCall, isUseLayoutEffectCall, isUseMemoCall, isUseReducerCall, isUseRefCall, isUseStateCall, isUseSyncExternalStoreCall, isUseTransitionCall, uid, useComponentCollector, useComponentCollectorLegacy, useHookCollector };
2563
+ export { DEFAULT_COMPONENT_HINT, type ERClassComponent, ERClassComponentFlag, type ERComponent, ERComponentHint, type ERComponentKind, type EREffectKind, type EREffectMethodKind, type EREffectPhaseKind, type ERFunctionComponent, ERFunctionComponentFlag, type ERHook, type ERHookKind, type ERLifecycleMethodKind, type ERLifecyclePhaseKind, type ERPhaseKind, ERPhaseRelevance, type ERSemanticEntry, type ERSemanticNode, type ERStateKind, RE_COMPONENT_NAME, RE_HOOK_NAME, getComponentNameFromIdentifier, getElementRepresentName, getFunctionComponentIdentifier, getId, hasNoneOrValidComponentName, isCallFromReact, isCallFromReactMember, isChildrenCount, isChildrenCountCall, isChildrenForEach, isChildrenForEachCall, isChildrenMap, isChildrenMapCall, isChildrenOfCreateElement, isChildrenOnly, isChildrenOnlyCall, isChildrenToArray, isChildrenToArrayCall, isClassComponent, isCleanupFunction, isCloneElement, isCloneElementCall, isComponentDidMount, isComponentDidMountFunction, isComponentName, isComponentWillUnmount, isComponentWillUnmountFunction, isCreateContext, isCreateContextCall, isCreateElement, isCreateElementCall, isCreateRef, isCreateRefCall, isDeclaredInRenderPropLoose, isDirectValueOfRenderPropertyLoose, isForwardRef, isForwardRefCall, isFromReact, isFromReactMember, isFunctionOfRenderMethod, isInitializedFromReact, isInsideCreateElementProps, isInsideReactHook, isInsideRenderMethod, isInversePhase, isMemo, isMemoCall, isPureComponent, isReactAPICallWithName, isReactAPIWithName, isReactHook, isReactHookCall, isReactHookCallWithName, isReactHookCallWithNameAlias, isReactHookCallWithNameLoose, isReactHookName, isRenderFunctionLoose, isRenderPropLoose, isSetupFunction, isThisSetState, isUseCallbackCall, isUseContextCall, isUseDebugValueCall, isUseDeferredValueCall, isUseEffectCall, isUseEffectCallLoose, isUseIdCall, isUseImperativeHandleCall, isUseInsertionEffectCall, isUseLayoutEffectCall, isUseMemoCall, isUseReducerCall, isUseRefCall, isUseStateCall, isUseSyncExternalStoreCall, isUseTransitionCall, useComponentCollector, useComponentCollectorLegacy, useHookCollector };
package/dist/index.js CHANGED
@@ -31,11 +31,7 @@ var AST9__namespace = /*#__PURE__*/_interopNamespace(AST9);
31
31
  var JSX4__namespace = /*#__PURE__*/_interopNamespace(JSX4);
32
32
  var VAR__namespace = /*#__PURE__*/_interopNamespace(VAR);
33
33
 
34
- var __defProp = Object.defineProperty;
35
- var __export = (target, all) => {
36
- for (var name in all)
37
- __defProp(target, name, { get: all[name], enumerable: true });
38
- };
34
+ // src/component/component-collector.ts
39
35
  function getElementRepresentName(node, context) {
40
36
  const rawElementName = JSX4__namespace.getElementName(node);
41
37
  if (rawElementName === rawElementName.toLowerCase()) return rawElementName;
@@ -50,6 +46,10 @@ function getElementRepresentName(node, context) {
50
46
  eff.O.getOrElse(() => rawElementName)
51
47
  );
52
48
  }
49
+
50
+ // src/utils/get-id.ts
51
+ var id = 0n;
52
+ var getId = () => (id++).toString();
53
53
  function isInitializedFromReact(name, initialScope, settings) {
54
54
  if (!settings.strictImportCheck) return true;
55
55
  if (name.toLowerCase() === "react") return true;
@@ -128,16 +128,6 @@ var isCreateRefCall = isReactAPICallWithName("createRef");
128
128
  var isForwardRefCall = isReactAPICallWithName("forwardRef");
129
129
  var isMemoCall = isReactAPICallWithName("memo");
130
130
 
131
- // src/utils/uid.ts
132
- var uid_exports = {};
133
- __export(uid_exports, {
134
- next: () => next
135
- });
136
- var id = 0n;
137
- function next() {
138
- return id++;
139
- }
140
-
141
131
  // src/element/hierarchy.ts
142
132
  function isInsideCreateElementProps(node, context) {
143
133
  return eff.F.pipe(
@@ -259,7 +249,7 @@ function useHookCollector() {
259
249
  const id2 = AST9__namespace.getFunctionIdentifier(node);
260
250
  const name = eff.O.flatMapNullable(id2, (id3) => id3.name);
261
251
  if (eff.O.isSome(id2) && eff.O.isSome(name) && isReactHookName(name.value)) {
262
- const key = uid_exports.next().toString();
252
+ const key = getId();
263
253
  fStack.push([node, eff.O.some(key)]);
264
254
  hooks.set(key, {
265
255
  _: key,
@@ -417,7 +407,7 @@ function useComponentCollectorLegacy() {
417
407
  const collect = (node) => {
418
408
  if (!isClassComponent(node)) return;
419
409
  const id2 = AST9__namespace.getClassIdentifier(node);
420
- const key = uid_exports.next().toString();
410
+ const key = getId();
421
411
  const flag = isPureComponent(node) ? ERClassComponentFlag.PureComponent : ERClassComponentFlag.None;
422
412
  components.set(
423
413
  key,
@@ -526,7 +516,7 @@ function useComponentCollector(context, hint = DEFAULT_COMPONENT_HINT) {
526
516
  const functionStack = [];
527
517
  const getCurrentFunction = () => eff.O.fromNullable(functionStack.at(-1));
528
518
  const onFunctionEnter = (node) => {
529
- const key = uid_exports.next().toString();
519
+ const key = getId();
530
520
  functionStack.push([key, node, false, []]);
531
521
  };
532
522
  const onFunctionExit = () => {
@@ -560,7 +550,7 @@ function useComponentCollector(context, hint = DEFAULT_COMPONENT_HINT) {
560
550
  const initPath = AST9__namespace.getFunctionInitPath(currentFn);
561
551
  const id2 = getFunctionComponentIdentifier(currentFn, context);
562
552
  const name = eff.O.flatMapNullable(id2, getComponentNameFromIdentifier);
563
- const key = uid_exports.next().toString();
553
+ const key = getId();
564
554
  components.set(key, {
565
555
  _: key,
566
556
  id: id2,
@@ -696,6 +686,7 @@ exports.RE_HOOK_NAME = RE_HOOK_NAME;
696
686
  exports.getComponentNameFromIdentifier = getComponentNameFromIdentifier;
697
687
  exports.getElementRepresentName = getElementRepresentName;
698
688
  exports.getFunctionComponentIdentifier = getFunctionComponentIdentifier;
689
+ exports.getId = getId;
699
690
  exports.hasNoneOrValidComponentName = hasNoneOrValidComponentName;
700
691
  exports.isCallFromReact = isCallFromReact;
701
692
  exports.isCallFromReactMember = isCallFromReactMember;
@@ -768,7 +759,6 @@ exports.isUseRefCall = isUseRefCall;
768
759
  exports.isUseStateCall = isUseStateCall;
769
760
  exports.isUseSyncExternalStoreCall = isUseSyncExternalStoreCall;
770
761
  exports.isUseTransitionCall = isUseTransitionCall;
771
- exports.uid = uid_exports;
772
762
  exports.useComponentCollector = useComponentCollector;
773
763
  exports.useComponentCollectorLegacy = useComponentCollectorLegacy;
774
764
  exports.useHookCollector = useHookCollector;
package/dist/index.mjs CHANGED
@@ -7,11 +7,7 @@ import { normalizeSettings, decodeSettings, unsafeReadSettings } from '@eslint-r
7
7
  import * as VAR from '@eslint-react/var';
8
8
  import { birecord } from '@eslint-react/types';
9
9
 
10
- var __defProp = Object.defineProperty;
11
- var __export = (target, all) => {
12
- for (var name in all)
13
- __defProp(target, name, { get: all[name], enumerable: true });
14
- };
10
+ // src/component/component-collector.ts
15
11
  function getElementRepresentName(node, context) {
16
12
  const rawElementName = JSX4.getElementName(node);
17
13
  if (rawElementName === rawElementName.toLowerCase()) return rawElementName;
@@ -26,6 +22,10 @@ function getElementRepresentName(node, context) {
26
22
  O.getOrElse(() => rawElementName)
27
23
  );
28
24
  }
25
+
26
+ // src/utils/get-id.ts
27
+ var id = 0n;
28
+ var getId = () => (id++).toString();
29
29
  function isInitializedFromReact(name, initialScope, settings) {
30
30
  if (!settings.strictImportCheck) return true;
31
31
  if (name.toLowerCase() === "react") return true;
@@ -104,16 +104,6 @@ var isCreateRefCall = isReactAPICallWithName("createRef");
104
104
  var isForwardRefCall = isReactAPICallWithName("forwardRef");
105
105
  var isMemoCall = isReactAPICallWithName("memo");
106
106
 
107
- // src/utils/uid.ts
108
- var uid_exports = {};
109
- __export(uid_exports, {
110
- next: () => next
111
- });
112
- var id = 0n;
113
- function next() {
114
- return id++;
115
- }
116
-
117
107
  // src/element/hierarchy.ts
118
108
  function isInsideCreateElementProps(node, context) {
119
109
  return F.pipe(
@@ -235,7 +225,7 @@ function useHookCollector() {
235
225
  const id2 = AST9.getFunctionIdentifier(node);
236
226
  const name = O.flatMapNullable(id2, (id3) => id3.name);
237
227
  if (O.isSome(id2) && O.isSome(name) && isReactHookName(name.value)) {
238
- const key = uid_exports.next().toString();
228
+ const key = getId();
239
229
  fStack.push([node, O.some(key)]);
240
230
  hooks.set(key, {
241
231
  _: key,
@@ -393,7 +383,7 @@ function useComponentCollectorLegacy() {
393
383
  const collect = (node) => {
394
384
  if (!isClassComponent(node)) return;
395
385
  const id2 = AST9.getClassIdentifier(node);
396
- const key = uid_exports.next().toString();
386
+ const key = getId();
397
387
  const flag = isPureComponent(node) ? ERClassComponentFlag.PureComponent : ERClassComponentFlag.None;
398
388
  components.set(
399
389
  key,
@@ -502,7 +492,7 @@ function useComponentCollector(context, hint = DEFAULT_COMPONENT_HINT) {
502
492
  const functionStack = [];
503
493
  const getCurrentFunction = () => O.fromNullable(functionStack.at(-1));
504
494
  const onFunctionEnter = (node) => {
505
- const key = uid_exports.next().toString();
495
+ const key = getId();
506
496
  functionStack.push([key, node, false, []]);
507
497
  };
508
498
  const onFunctionExit = () => {
@@ -536,7 +526,7 @@ function useComponentCollector(context, hint = DEFAULT_COMPONENT_HINT) {
536
526
  const initPath = AST9.getFunctionInitPath(currentFn);
537
527
  const id2 = getFunctionComponentIdentifier(currentFn, context);
538
528
  const name = O.flatMapNullable(id2, getComponentNameFromIdentifier);
539
- const key = uid_exports.next().toString();
529
+ const key = getId();
540
530
  components.set(key, {
541
531
  _: key,
542
532
  id: id2,
@@ -662,4 +652,4 @@ function isThisSetState(node) {
662
652
  return callee.type === AST_NODE_TYPES.MemberExpression && AST9.isThisExpression(callee.object) && callee.property.type === AST_NODE_TYPES.Identifier && callee.property.name === "setState";
663
653
  }
664
654
 
665
- export { DEFAULT_COMPONENT_HINT, ERClassComponentFlag, ERComponentHint, ERFunctionComponentFlag, ERPhaseRelevance, RE_COMPONENT_NAME, RE_HOOK_NAME, getComponentNameFromIdentifier, getElementRepresentName, getFunctionComponentIdentifier, hasNoneOrValidComponentName, isCallFromReact, isCallFromReactMember, isChildrenCount, isChildrenCountCall, isChildrenForEach, isChildrenForEachCall, isChildrenMap, isChildrenMapCall, isChildrenOfCreateElement, isChildrenOnly, isChildrenOnlyCall, isChildrenToArray, isChildrenToArrayCall, isClassComponent, isCleanupFunction, isCloneElement, isCloneElementCall, isComponentDidMount, isComponentDidMountFunction, isComponentName, isComponentWillUnmount, isComponentWillUnmountFunction, isCreateContext, isCreateContextCall, isCreateElement, isCreateElementCall, isCreateRef, isCreateRefCall, isDeclaredInRenderPropLoose, isDirectValueOfRenderPropertyLoose, isForwardRef, isForwardRefCall, isFromReact, isFromReactMember, isFunctionOfRenderMethod, isInitializedFromReact, isInsideCreateElementProps, isInsideReactHook, isInsideRenderMethod, isInversePhase, isMemo, isMemoCall, isPureComponent, isReactAPICallWithName, isReactAPIWithName, isReactHook, isReactHookCall, isReactHookCallWithName, isReactHookCallWithNameAlias, isReactHookCallWithNameLoose, isReactHookName, isRenderFunctionLoose, isRenderPropLoose, isSetupFunction, isThisSetState, isUseCallbackCall, isUseContextCall, isUseDebugValueCall, isUseDeferredValueCall, isUseEffectCall, isUseEffectCallLoose, isUseIdCall, isUseImperativeHandleCall, isUseInsertionEffectCall, isUseLayoutEffectCall, isUseMemoCall, isUseReducerCall, isUseRefCall, isUseStateCall, isUseSyncExternalStoreCall, isUseTransitionCall, uid_exports as uid, useComponentCollector, useComponentCollectorLegacy, useHookCollector };
655
+ export { DEFAULT_COMPONENT_HINT, ERClassComponentFlag, ERComponentHint, ERFunctionComponentFlag, ERPhaseRelevance, RE_COMPONENT_NAME, RE_HOOK_NAME, getComponentNameFromIdentifier, getElementRepresentName, getFunctionComponentIdentifier, getId, hasNoneOrValidComponentName, isCallFromReact, isCallFromReactMember, isChildrenCount, isChildrenCountCall, isChildrenForEach, isChildrenForEachCall, isChildrenMap, isChildrenMapCall, isChildrenOfCreateElement, isChildrenOnly, isChildrenOnlyCall, isChildrenToArray, isChildrenToArrayCall, isClassComponent, isCleanupFunction, isCloneElement, isCloneElementCall, isComponentDidMount, isComponentDidMountFunction, isComponentName, isComponentWillUnmount, isComponentWillUnmountFunction, isCreateContext, isCreateContextCall, isCreateElement, isCreateElementCall, isCreateRef, isCreateRefCall, isDeclaredInRenderPropLoose, isDirectValueOfRenderPropertyLoose, isForwardRef, isForwardRefCall, isFromReact, isFromReactMember, isFunctionOfRenderMethod, isInitializedFromReact, isInsideCreateElementProps, isInsideReactHook, isInsideRenderMethod, isInversePhase, isMemo, isMemoCall, isPureComponent, isReactAPICallWithName, isReactAPIWithName, isReactHook, isReactHookCall, isReactHookCallWithName, isReactHookCallWithNameAlias, isReactHookCallWithNameLoose, isReactHookName, isRenderFunctionLoose, isRenderPropLoose, isSetupFunction, isThisSetState, isUseCallbackCall, isUseContextCall, isUseDebugValueCall, isUseDeferredValueCall, isUseEffectCall, isUseEffectCallLoose, isUseIdCall, isUseImperativeHandleCall, isUseInsertionEffectCall, isUseLayoutEffectCall, isUseMemoCall, isUseReducerCall, isUseRefCall, isUseStateCall, isUseSyncExternalStoreCall, isUseTransitionCall, useComponentCollector, useComponentCollectorLegacy, useHookCollector };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/core",
3
- "version": "1.23.1",
3
+ "version": "1.23.2-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": {
@@ -38,12 +38,12 @@
38
38
  "@typescript-eslint/types": "^8.19.0",
39
39
  "@typescript-eslint/utils": "^8.19.0",
40
40
  "ts-pattern": "^5.6.0",
41
- "@eslint-react/ast": "1.23.1",
42
- "@eslint-react/eff": "1.23.1",
43
- "@eslint-react/jsx": "1.23.1",
44
- "@eslint-react/types": "1.23.1",
45
- "@eslint-react/shared": "1.23.1",
46
- "@eslint-react/var": "1.23.1"
41
+ "@eslint-react/ast": "1.23.2-next.0",
42
+ "@eslint-react/shared": "1.23.2-next.0",
43
+ "@eslint-react/jsx": "1.23.2-next.0",
44
+ "@eslint-react/eff": "1.23.2-next.0",
45
+ "@eslint-react/types": "1.23.2-next.0",
46
+ "@eslint-react/var": "1.23.2-next.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "tsup": "^8.3.5",