eslint-plugin-react-hooks-extra 1.5.5 → 1.5.6-beta.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.
Files changed (3) hide show
  1. package/dist/index.js +50 -25
  2. package/dist/index.mjs +50 -25
  3. package/package.json +16 -16
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ var __export = (target, all2) => {
15
15
 
16
16
  // package.json
17
17
  var name = "eslint-plugin-react-hooks-extra";
18
- var version = "1.5.5";
18
+ var version = "1.5.6-beta.0";
19
19
  var createRule = shared.createRuleForPlugin("hooks-extra");
20
20
 
21
21
  // src/rules/ensure-custom-hooks-using-other-hooks.ts
@@ -56,7 +56,7 @@ var ensure_custom_hooks_using_other_hooks_default = createRule({
56
56
  }
57
57
  });
58
58
 
59
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Function.js
59
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Function.js
60
60
  var Function_exports = {};
61
61
  __export(Function_exports, {
62
62
  SK: () => SK,
@@ -231,11 +231,12 @@ function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
231
231
  var hole = /* @__PURE__ */ unsafeCoerce(absurd);
232
232
  var SK = (_, b2) => b2;
233
233
 
234
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/internal/version.js
235
- var moduleVersion = "2.3.6";
234
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/internal/version.js
235
+ var moduleVersion = "2.4.0";
236
+ var getCurrentVersion = () => moduleVersion;
236
237
 
237
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/GlobalValue.js
238
- var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${moduleVersion}`);
238
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/GlobalValue.js
239
+ var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
239
240
  if (!(globalStoreId in globalThis)) {
240
241
  globalThis[globalStoreId] = /* @__PURE__ */ new Map();
241
242
  }
@@ -247,14 +248,14 @@ var globalValue = (id, compute) => {
247
248
  return globalStore.get(id);
248
249
  };
249
250
 
250
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Predicate.js
251
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Predicate.js
251
252
  var isFunction2 = isFunction;
252
253
  var isRecordOrArray = (input) => typeof input === "object" && input !== null;
253
254
  var isObject = (input) => isRecordOrArray(input) || isFunction2(input);
254
255
  var hasProperty = /* @__PURE__ */ dual(2, (self, property) => isObject(self) && property in self);
255
256
  var isNullable = (input) => input === null || input === void 0;
256
257
 
257
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Utils.js
258
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Utils.js
258
259
  var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
259
260
  var GenKindImpl = class {
260
261
  value;
@@ -474,7 +475,7 @@ function add64(out, aHi, aLo, bHi, bLo) {
474
475
  out[1] = lo;
475
476
  }
476
477
 
477
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Hash.js
478
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Hash.js
478
479
  var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
479
480
  var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
480
481
  var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
@@ -536,8 +537,31 @@ var string = (str) => {
536
537
  }
537
538
  return optimize(h);
538
539
  };
540
+ var cached = function() {
541
+ if (arguments.length === 1) {
542
+ const self2 = arguments[0];
543
+ return function(hash3) {
544
+ Object.defineProperty(self2, symbol, {
545
+ value() {
546
+ return hash3;
547
+ },
548
+ enumerable: false
549
+ });
550
+ return hash3;
551
+ };
552
+ }
553
+ const self = arguments[0];
554
+ const hash2 = arguments[1];
555
+ Object.defineProperty(self, symbol, {
556
+ value() {
557
+ return hash2;
558
+ },
559
+ enumerable: false
560
+ });
561
+ return hash2;
562
+ };
539
563
 
540
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Equal.js
564
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Equal.js
541
565
  var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
542
566
  function equals() {
543
567
  if (arguments.length === 1) {
@@ -561,12 +585,12 @@ function compareBoth(self, that) {
561
585
  return false;
562
586
  }
563
587
  var isEqual = (u2) => hasProperty(u2, symbol2);
564
- var equivalence = () => (self, that) => equals(self, that);
588
+ var equivalence = () => equals;
565
589
 
566
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Equivalence.js
590
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Equivalence.js
567
591
  var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
568
592
 
569
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Inspectable.js
593
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Inspectable.js
570
594
  var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
571
595
  var toJSON = (x2) => {
572
596
  if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
@@ -578,7 +602,7 @@ var toJSON = (x2) => {
578
602
  };
579
603
  var format = (x2) => JSON.stringify(x2, null, 2);
580
604
 
581
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Option.js
605
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Option.js
582
606
  var Option_exports = {};
583
607
  __export(Option_exports, {
584
608
  Do: () => Do,
@@ -640,7 +664,7 @@ __export(Option_exports, {
640
664
  zipWith: () => zipWith
641
665
  });
642
666
 
643
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Pipeable.js
667
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Pipeable.js
644
668
  var pipeArguments = (self, args) => {
645
669
  switch (args.length) {
646
670
  case 1:
@@ -671,7 +695,7 @@ var pipeArguments = (self, args) => {
671
695
  }
672
696
  };
673
697
 
674
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/internal/effectable.js
698
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/internal/effectable.js
675
699
  var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
676
700
  var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
677
701
  var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
@@ -683,7 +707,7 @@ var effectVariance = {
683
707
  _E: (_) => _,
684
708
  /* c8 ignore next */
685
709
  _A: (_) => _,
686
- _V: moduleVersion
710
+ _V: /* @__PURE__ */ getCurrentVersion()
687
711
  };
688
712
  var sinkVariance = {
689
713
  /* c8 ignore next */
@@ -722,14 +746,14 @@ var EffectPrototype = {
722
746
  return this === that;
723
747
  },
724
748
  [symbol]() {
725
- return random(this);
749
+ return cached(this, random(this));
726
750
  },
727
751
  pipe() {
728
752
  return pipeArguments(this, arguments);
729
753
  }
730
754
  };
731
755
 
732
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/internal/option.js
756
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/internal/option.js
733
757
  var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
734
758
  var CommonProto = {
735
759
  ...EffectPrototype,
@@ -750,7 +774,7 @@ var SomeProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(Comm
750
774
  return isOption(that) && isSome(that) && equals(that.value, this.value);
751
775
  },
752
776
  [symbol]() {
753
- return combine(hash(this._tag))(hash(this.value));
777
+ return cached(this, combine(hash(this._tag))(hash(this.value)));
754
778
  },
755
779
  toJSON() {
756
780
  return {
@@ -760,6 +784,7 @@ var SomeProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(Comm
760
784
  };
761
785
  }
762
786
  });
787
+ var NoneHash = /* @__PURE__ */ hash("None");
763
788
  var NoneProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(CommonProto), {
764
789
  _tag: "None",
765
790
  _op: "None",
@@ -767,7 +792,7 @@ var NoneProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(Comm
767
792
  return isOption(that) && isNone(that);
768
793
  },
769
794
  [symbol]() {
770
- return combine(hash(this._tag));
795
+ return NoneHash;
771
796
  },
772
797
  toJSON() {
773
798
  return {
@@ -786,12 +811,12 @@ var some = (value) => {
786
811
  return a;
787
812
  };
788
813
 
789
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/internal/either.js
814
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/internal/either.js
790
815
  var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
791
816
  var CommonProto2 = {
792
817
  ...EffectPrototype,
793
818
  [TypeId2]: {
794
- _A: (_) => _
819
+ _R: (_) => _
795
820
  },
796
821
  [NodeInspectSymbol]() {
797
822
  return this.toJSON();
@@ -850,10 +875,10 @@ var right = (right2) => {
850
875
  var getLeft = (self) => isRight(self) ? none : some(self.left);
851
876
  var getRight = (self) => isLeft(self) ? none : some(self.right);
852
877
 
853
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Order.js
878
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Order.js
854
879
  var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
855
880
 
856
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Option.js
881
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Option.js
857
882
  var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
858
883
  var none2 = () => none;
859
884
  var some2 = some;
package/dist/index.mjs CHANGED
@@ -13,7 +13,7 @@ var __export = (target, all2) => {
13
13
 
14
14
  // package.json
15
15
  var name = "eslint-plugin-react-hooks-extra";
16
- var version = "1.5.5";
16
+ var version = "1.5.6-beta.0";
17
17
  var createRule = createRuleForPlugin("hooks-extra");
18
18
 
19
19
  // src/rules/ensure-custom-hooks-using-other-hooks.ts
@@ -54,7 +54,7 @@ var ensure_custom_hooks_using_other_hooks_default = createRule({
54
54
  }
55
55
  });
56
56
 
57
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Function.js
57
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Function.js
58
58
  var Function_exports = {};
59
59
  __export(Function_exports, {
60
60
  SK: () => SK,
@@ -229,11 +229,12 @@ function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
229
229
  var hole = /* @__PURE__ */ unsafeCoerce(absurd);
230
230
  var SK = (_, b2) => b2;
231
231
 
232
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/internal/version.js
233
- var moduleVersion = "2.3.6";
232
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/internal/version.js
233
+ var moduleVersion = "2.4.0";
234
+ var getCurrentVersion = () => moduleVersion;
234
235
 
235
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/GlobalValue.js
236
- var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${moduleVersion}`);
236
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/GlobalValue.js
237
+ var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
237
238
  if (!(globalStoreId in globalThis)) {
238
239
  globalThis[globalStoreId] = /* @__PURE__ */ new Map();
239
240
  }
@@ -245,14 +246,14 @@ var globalValue = (id, compute) => {
245
246
  return globalStore.get(id);
246
247
  };
247
248
 
248
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Predicate.js
249
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Predicate.js
249
250
  var isFunction2 = isFunction;
250
251
  var isRecordOrArray = (input) => typeof input === "object" && input !== null;
251
252
  var isObject = (input) => isRecordOrArray(input) || isFunction2(input);
252
253
  var hasProperty = /* @__PURE__ */ dual(2, (self, property) => isObject(self) && property in self);
253
254
  var isNullable = (input) => input === null || input === void 0;
254
255
 
255
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Utils.js
256
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Utils.js
256
257
  var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
257
258
  var GenKindImpl = class {
258
259
  value;
@@ -472,7 +473,7 @@ function add64(out, aHi, aLo, bHi, bLo) {
472
473
  out[1] = lo;
473
474
  }
474
475
 
475
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Hash.js
476
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Hash.js
476
477
  var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
477
478
  var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
478
479
  var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
@@ -534,8 +535,31 @@ var string = (str) => {
534
535
  }
535
536
  return optimize(h);
536
537
  };
538
+ var cached = function() {
539
+ if (arguments.length === 1) {
540
+ const self2 = arguments[0];
541
+ return function(hash3) {
542
+ Object.defineProperty(self2, symbol, {
543
+ value() {
544
+ return hash3;
545
+ },
546
+ enumerable: false
547
+ });
548
+ return hash3;
549
+ };
550
+ }
551
+ const self = arguments[0];
552
+ const hash2 = arguments[1];
553
+ Object.defineProperty(self, symbol, {
554
+ value() {
555
+ return hash2;
556
+ },
557
+ enumerable: false
558
+ });
559
+ return hash2;
560
+ };
537
561
 
538
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Equal.js
562
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Equal.js
539
563
  var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
540
564
  function equals() {
541
565
  if (arguments.length === 1) {
@@ -559,12 +583,12 @@ function compareBoth(self, that) {
559
583
  return false;
560
584
  }
561
585
  var isEqual = (u2) => hasProperty(u2, symbol2);
562
- var equivalence = () => (self, that) => equals(self, that);
586
+ var equivalence = () => equals;
563
587
 
564
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Equivalence.js
588
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Equivalence.js
565
589
  var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
566
590
 
567
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Inspectable.js
591
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Inspectable.js
568
592
  var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
569
593
  var toJSON = (x2) => {
570
594
  if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
@@ -576,7 +600,7 @@ var toJSON = (x2) => {
576
600
  };
577
601
  var format = (x2) => JSON.stringify(x2, null, 2);
578
602
 
579
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Option.js
603
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Option.js
580
604
  var Option_exports = {};
581
605
  __export(Option_exports, {
582
606
  Do: () => Do,
@@ -638,7 +662,7 @@ __export(Option_exports, {
638
662
  zipWith: () => zipWith
639
663
  });
640
664
 
641
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Pipeable.js
665
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Pipeable.js
642
666
  var pipeArguments = (self, args) => {
643
667
  switch (args.length) {
644
668
  case 1:
@@ -669,7 +693,7 @@ var pipeArguments = (self, args) => {
669
693
  }
670
694
  };
671
695
 
672
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/internal/effectable.js
696
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/internal/effectable.js
673
697
  var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
674
698
  var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
675
699
  var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
@@ -681,7 +705,7 @@ var effectVariance = {
681
705
  _E: (_) => _,
682
706
  /* c8 ignore next */
683
707
  _A: (_) => _,
684
- _V: moduleVersion
708
+ _V: /* @__PURE__ */ getCurrentVersion()
685
709
  };
686
710
  var sinkVariance = {
687
711
  /* c8 ignore next */
@@ -720,14 +744,14 @@ var EffectPrototype = {
720
744
  return this === that;
721
745
  },
722
746
  [symbol]() {
723
- return random(this);
747
+ return cached(this, random(this));
724
748
  },
725
749
  pipe() {
726
750
  return pipeArguments(this, arguments);
727
751
  }
728
752
  };
729
753
 
730
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/internal/option.js
754
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/internal/option.js
731
755
  var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
732
756
  var CommonProto = {
733
757
  ...EffectPrototype,
@@ -748,7 +772,7 @@ var SomeProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(Comm
748
772
  return isOption(that) && isSome(that) && equals(that.value, this.value);
749
773
  },
750
774
  [symbol]() {
751
- return combine(hash(this._tag))(hash(this.value));
775
+ return cached(this, combine(hash(this._tag))(hash(this.value)));
752
776
  },
753
777
  toJSON() {
754
778
  return {
@@ -758,6 +782,7 @@ var SomeProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(Comm
758
782
  };
759
783
  }
760
784
  });
785
+ var NoneHash = /* @__PURE__ */ hash("None");
761
786
  var NoneProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(CommonProto), {
762
787
  _tag: "None",
763
788
  _op: "None",
@@ -765,7 +790,7 @@ var NoneProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(Comm
765
790
  return isOption(that) && isNone(that);
766
791
  },
767
792
  [symbol]() {
768
- return combine(hash(this._tag));
793
+ return NoneHash;
769
794
  },
770
795
  toJSON() {
771
796
  return {
@@ -784,12 +809,12 @@ var some = (value) => {
784
809
  return a;
785
810
  };
786
811
 
787
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/internal/either.js
812
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/internal/either.js
788
813
  var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
789
814
  var CommonProto2 = {
790
815
  ...EffectPrototype,
791
816
  [TypeId2]: {
792
- _A: (_) => _
817
+ _R: (_) => _
793
818
  },
794
819
  [NodeInspectSymbol]() {
795
820
  return this.toJSON();
@@ -848,10 +873,10 @@ var right = (right2) => {
848
873
  var getLeft = (self) => isRight(self) ? none : some(self.left);
849
874
  var getRight = (self) => isLeft(self) ? none : some(self.right);
850
875
 
851
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Order.js
876
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Order.js
852
877
  var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
853
878
 
854
- // ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Option.js
879
+ // ../../../node_modules/.pnpm/effect@2.4.0/node_modules/effect/dist/esm/Option.js
855
880
  var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
856
881
  var none2 = () => none;
857
882
  var some2 = some;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-hooks-extra",
3
- "version": "1.5.5",
3
+ "version": "1.5.6-beta.0",
4
4
  "description": "ESLint React's ESLint plugin for React Hooks related rules.",
5
5
  "homepage": "https://github.com/rel1cx/eslint-react",
6
6
  "bugs": {
@@ -35,25 +35,25 @@
35
35
  "./package.json"
36
36
  ],
37
37
  "dependencies": {
38
- "@typescript-eslint/parser": ">=7.0.1",
39
- "@typescript-eslint/scope-manager": ">=7.0.1",
40
- "@typescript-eslint/type-utils": ">=7.0.1",
41
- "@typescript-eslint/types": ">=7.0.1",
42
- "@typescript-eslint/utils": ">=7.0.1",
43
- "string-ts": "2.0.0",
44
- "@eslint-react/ast": "1.5.5",
45
- "@eslint-react/jsx": "1.5.5",
46
- "@eslint-react/shared": "1.5.5",
47
- "@eslint-react/tools": "1.5.5",
48
- "@eslint-react/types": "1.5.5",
49
- "@eslint-react/var": "1.5.5",
50
- "@eslint-react/core": "1.5.5"
38
+ "@eslint-react/ast": "1.5.6-next.0",
39
+ "@eslint-react/core": "1.5.6-next.0",
40
+ "@eslint-react/jsx": "1.5.6-next.0",
41
+ "@eslint-react/shared": "1.5.6-next.0",
42
+ "@eslint-react/tools": "1.5.6-next.0",
43
+ "@eslint-react/types": "1.5.6-next.0",
44
+ "@eslint-react/var": "1.5.6-next.0",
45
+ "@typescript-eslint/parser": ">=7.1.0",
46
+ "@typescript-eslint/scope-manager": ">=7.1.0",
47
+ "@typescript-eslint/type-utils": ">=7.1.0",
48
+ "@typescript-eslint/types": ">=7.1.0",
49
+ "@typescript-eslint/utils": ">=7.1.0",
50
+ "string-ts": "2.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "effect": "2.3.6"
53
+ "effect": "2.4.0"
54
54
  },
55
55
  "peerDependencies": {
56
- "eslint": ">=8.56.0",
56
+ "eslint": ">=8.57.0",
57
57
  "typescript": ">=5.3.3"
58
58
  },
59
59
  "engines": {