eslint-plugin-react-hooks-extra 1.5.11-next.2 → 1.5.11-next.4

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.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.11-next.2";
18
+ var version = "1.5.11-next.4";
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
  defaultOptions: []
57
57
  });
58
58
 
59
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Function.js
59
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Function.js
60
60
  var Function_exports = {};
61
61
  __export(Function_exports, {
62
62
  SK: () => SK,
@@ -231,14 +231,14 @@ function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
231
231
  var hole = /* @__PURE__ */ unsafeCoerce(absurd);
232
232
  var SK = (_2, b2) => b2;
233
233
 
234
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Equivalence.js
234
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Equivalence.js
235
235
  var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
236
236
 
237
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/version.js
238
- var moduleVersion = "3.0.7";
237
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/version.js
238
+ var moduleVersion = "3.1.1";
239
239
  var getCurrentVersion = () => moduleVersion;
240
240
 
241
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/GlobalValue.js
241
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/GlobalValue.js
242
242
  var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
243
243
  if (!(globalStoreId in globalThis)) {
244
244
  globalThis[globalStoreId] = /* @__PURE__ */ new Map();
@@ -251,17 +251,17 @@ var globalValue = (id, compute) => {
251
251
  return globalStore.get(id);
252
252
  };
253
253
 
254
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Predicate.js
254
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Predicate.js
255
255
  var isFunction2 = isFunction;
256
256
  var isRecordOrArray = (input) => typeof input === "object" && input !== null;
257
257
  var isObject = (input) => isRecordOrArray(input) || isFunction2(input);
258
258
  var hasProperty = /* @__PURE__ */ dual(2, (self, property) => isObject(self) && property in self);
259
259
  var isNullable = (input) => input === null || input === void 0;
260
260
 
261
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/errors.js
261
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/errors.js
262
262
  var getBugErrorMessage = (message) => `BUG: ${message} - please report an issue at https://github.com/Effect-TS/effect/issues`;
263
263
 
264
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Utils.js
264
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Utils.js
265
265
  var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
266
266
  var isGenKind = (u2) => isObject(u2) && GenKindTypeId in u2;
267
267
  var GenKindImpl = class {
@@ -500,8 +500,12 @@ function yieldWrapGet(self) {
500
500
  }
501
501
  throw new Error(getBugErrorMessage("yieldWrapGet"));
502
502
  }
503
+ var structuralRegionState = /* @__PURE__ */ globalValue("effect/Utils/isStructuralRegion", () => ({
504
+ enabled: false,
505
+ tester: void 0
506
+ }));
503
507
 
504
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Hash.js
508
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Hash.js
505
509
  var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
506
510
  var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
507
511
  var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
@@ -535,6 +539,9 @@ var hash = (self) => {
535
539
  }
536
540
  };
537
541
  var random = (self) => {
542
+ if (structuralRegionState.enabled === true) {
543
+ return 0;
544
+ }
538
545
  if (!randomHashCache.has(self)) {
539
546
  randomHashCache.set(self, number(pcgr.integer(Number.MAX_SAFE_INTEGER)));
540
547
  }
@@ -567,27 +574,39 @@ var cached = function() {
567
574
  if (arguments.length === 1) {
568
575
  const self2 = arguments[0];
569
576
  return function(hash3) {
570
- Object.defineProperty(self2, symbol, {
571
- value() {
572
- return hash3;
573
- },
574
- enumerable: false
575
- });
577
+ const original2 = self2[symbol].bind(self2);
578
+ if (structuralRegionState.enabled === false) {
579
+ Object.defineProperty(self2, symbol, {
580
+ value() {
581
+ if (structuralRegionState.enabled === true) {
582
+ return original2();
583
+ }
584
+ return hash3;
585
+ },
586
+ enumerable: false
587
+ });
588
+ }
576
589
  return hash3;
577
590
  };
578
591
  }
579
592
  const self = arguments[0];
580
593
  const hash2 = arguments[1];
581
- Object.defineProperty(self, symbol, {
582
- value() {
583
- return hash2;
584
- },
585
- enumerable: false
586
- });
594
+ const original = self[symbol].bind(self);
595
+ if (structuralRegionState.enabled === false) {
596
+ Object.defineProperty(self, symbol, {
597
+ value() {
598
+ if (structuralRegionState.enabled === true) {
599
+ return original();
600
+ }
601
+ return hash2;
602
+ },
603
+ enumerable: false
604
+ });
605
+ }
587
606
  return hash2;
588
607
  };
589
608
 
590
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Equal.js
609
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Equal.js
591
610
  var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
592
611
  function equals() {
593
612
  if (arguments.length === 1) {
@@ -603,17 +622,37 @@ function compareBoth(self, that) {
603
622
  if (selfType !== typeof that) {
604
623
  return false;
605
624
  }
606
- if ((selfType === "object" || selfType === "function") && self !== null && that !== null) {
607
- if (isEqual(self) && isEqual(that)) {
608
- return hash(self) === hash(that) && self[symbol2](that);
625
+ if (selfType === "object" || selfType === "function") {
626
+ if (self !== null && that !== null) {
627
+ if (isEqual(self) && isEqual(that)) {
628
+ return hash(self) === hash(that) && self[symbol2](that);
629
+ }
630
+ }
631
+ if (structuralRegionState.enabled) {
632
+ if (Array.isArray(self) && Array.isArray(that)) {
633
+ return self.length === that.length && self.every((v2, i2) => compareBoth(v2, that[i2]));
634
+ }
635
+ if (Object.getPrototypeOf(self) === Object.prototype && Object.getPrototypeOf(self) === Object.prototype) {
636
+ const keysSelf = Object.keys(self);
637
+ const keysThat = Object.keys(that);
638
+ if (keysSelf.length === keysThat.length) {
639
+ for (const key of keysSelf) {
640
+ if (!(key in that && compareBoth(self[key], that[key]))) {
641
+ return structuralRegionState.tester ? structuralRegionState.tester(self, that) : false;
642
+ }
643
+ }
644
+ return true;
645
+ }
646
+ }
647
+ return structuralRegionState.tester ? structuralRegionState.tester(self, that) : false;
609
648
  }
610
649
  }
611
- return false;
650
+ return structuralRegionState.enabled && structuralRegionState.tester ? structuralRegionState.tester(self, that) : false;
612
651
  }
613
652
  var isEqual = (u2) => hasProperty(u2, symbol2);
614
653
  var equivalence = () => equals;
615
654
 
616
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Inspectable.js
655
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Inspectable.js
617
656
  var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
618
657
  var toJSON = (x2) => {
619
658
  if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
@@ -625,7 +664,7 @@ var toJSON = (x2) => {
625
664
  };
626
665
  var format = (x2) => JSON.stringify(x2, null, 2);
627
666
 
628
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Pipeable.js
667
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Pipeable.js
629
668
  var pipeArguments = (self, args) => {
630
669
  switch (args.length) {
631
670
  case 1:
@@ -656,7 +695,7 @@ var pipeArguments = (self, args) => {
656
695
  }
657
696
  };
658
697
 
659
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/effectable.js
698
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/effectable.js
660
699
  var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
661
700
  var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
662
701
  var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
@@ -717,7 +756,7 @@ var EffectPrototype = {
717
756
  }
718
757
  };
719
758
 
720
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/option.js
759
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/option.js
721
760
  var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
722
761
  var CommonProto = {
723
762
  ...EffectPrototype,
@@ -775,7 +814,7 @@ var some = (value) => {
775
814
  return a;
776
815
  };
777
816
 
778
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/either.js
817
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/either.js
779
818
  var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
780
819
  var CommonProto2 = {
781
820
  ...EffectPrototype,
@@ -839,7 +878,7 @@ var right = (right2) => {
839
878
  var getLeft = (self) => isRight(self) ? none : some(self.left);
840
879
  var getRight = (self) => isLeft(self) ? none : some(self.right);
841
880
 
842
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Option.js
881
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Option.js
843
882
  var Option_exports = {};
844
883
  __export(Option_exports, {
845
884
  Do: () => Do,
@@ -901,10 +940,10 @@ __export(Option_exports, {
901
940
  zipWith: () => zipWith
902
941
  });
903
942
 
904
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Order.js
943
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Order.js
905
944
  var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
906
945
 
907
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Option.js
946
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Option.js
908
947
  var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
909
948
  var none2 = () => none;
910
949
  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.11-next.2";
16
+ var version = "1.5.11-next.4";
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
  defaultOptions: []
55
55
  });
56
56
 
57
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Function.js
57
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Function.js
58
58
  var Function_exports = {};
59
59
  __export(Function_exports, {
60
60
  SK: () => SK,
@@ -229,14 +229,14 @@ function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
229
229
  var hole = /* @__PURE__ */ unsafeCoerce(absurd);
230
230
  var SK = (_2, b2) => b2;
231
231
 
232
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Equivalence.js
232
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Equivalence.js
233
233
  var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
234
234
 
235
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/version.js
236
- var moduleVersion = "3.0.7";
235
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/version.js
236
+ var moduleVersion = "3.1.1";
237
237
  var getCurrentVersion = () => moduleVersion;
238
238
 
239
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/GlobalValue.js
239
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/GlobalValue.js
240
240
  var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
241
241
  if (!(globalStoreId in globalThis)) {
242
242
  globalThis[globalStoreId] = /* @__PURE__ */ new Map();
@@ -249,17 +249,17 @@ var globalValue = (id, compute) => {
249
249
  return globalStore.get(id);
250
250
  };
251
251
 
252
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Predicate.js
252
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Predicate.js
253
253
  var isFunction2 = isFunction;
254
254
  var isRecordOrArray = (input) => typeof input === "object" && input !== null;
255
255
  var isObject = (input) => isRecordOrArray(input) || isFunction2(input);
256
256
  var hasProperty = /* @__PURE__ */ dual(2, (self, property) => isObject(self) && property in self);
257
257
  var isNullable = (input) => input === null || input === void 0;
258
258
 
259
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/errors.js
259
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/errors.js
260
260
  var getBugErrorMessage = (message) => `BUG: ${message} - please report an issue at https://github.com/Effect-TS/effect/issues`;
261
261
 
262
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Utils.js
262
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Utils.js
263
263
  var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
264
264
  var isGenKind = (u2) => isObject(u2) && GenKindTypeId in u2;
265
265
  var GenKindImpl = class {
@@ -498,8 +498,12 @@ function yieldWrapGet(self) {
498
498
  }
499
499
  throw new Error(getBugErrorMessage("yieldWrapGet"));
500
500
  }
501
+ var structuralRegionState = /* @__PURE__ */ globalValue("effect/Utils/isStructuralRegion", () => ({
502
+ enabled: false,
503
+ tester: void 0
504
+ }));
501
505
 
502
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Hash.js
506
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Hash.js
503
507
  var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
504
508
  var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
505
509
  var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
@@ -533,6 +537,9 @@ var hash = (self) => {
533
537
  }
534
538
  };
535
539
  var random = (self) => {
540
+ if (structuralRegionState.enabled === true) {
541
+ return 0;
542
+ }
536
543
  if (!randomHashCache.has(self)) {
537
544
  randomHashCache.set(self, number(pcgr.integer(Number.MAX_SAFE_INTEGER)));
538
545
  }
@@ -565,27 +572,39 @@ var cached = function() {
565
572
  if (arguments.length === 1) {
566
573
  const self2 = arguments[0];
567
574
  return function(hash3) {
568
- Object.defineProperty(self2, symbol, {
569
- value() {
570
- return hash3;
571
- },
572
- enumerable: false
573
- });
575
+ const original2 = self2[symbol].bind(self2);
576
+ if (structuralRegionState.enabled === false) {
577
+ Object.defineProperty(self2, symbol, {
578
+ value() {
579
+ if (structuralRegionState.enabled === true) {
580
+ return original2();
581
+ }
582
+ return hash3;
583
+ },
584
+ enumerable: false
585
+ });
586
+ }
574
587
  return hash3;
575
588
  };
576
589
  }
577
590
  const self = arguments[0];
578
591
  const hash2 = arguments[1];
579
- Object.defineProperty(self, symbol, {
580
- value() {
581
- return hash2;
582
- },
583
- enumerable: false
584
- });
592
+ const original = self[symbol].bind(self);
593
+ if (structuralRegionState.enabled === false) {
594
+ Object.defineProperty(self, symbol, {
595
+ value() {
596
+ if (structuralRegionState.enabled === true) {
597
+ return original();
598
+ }
599
+ return hash2;
600
+ },
601
+ enumerable: false
602
+ });
603
+ }
585
604
  return hash2;
586
605
  };
587
606
 
588
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Equal.js
607
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Equal.js
589
608
  var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
590
609
  function equals() {
591
610
  if (arguments.length === 1) {
@@ -601,17 +620,37 @@ function compareBoth(self, that) {
601
620
  if (selfType !== typeof that) {
602
621
  return false;
603
622
  }
604
- if ((selfType === "object" || selfType === "function") && self !== null && that !== null) {
605
- if (isEqual(self) && isEqual(that)) {
606
- return hash(self) === hash(that) && self[symbol2](that);
623
+ if (selfType === "object" || selfType === "function") {
624
+ if (self !== null && that !== null) {
625
+ if (isEqual(self) && isEqual(that)) {
626
+ return hash(self) === hash(that) && self[symbol2](that);
627
+ }
628
+ }
629
+ if (structuralRegionState.enabled) {
630
+ if (Array.isArray(self) && Array.isArray(that)) {
631
+ return self.length === that.length && self.every((v2, i2) => compareBoth(v2, that[i2]));
632
+ }
633
+ if (Object.getPrototypeOf(self) === Object.prototype && Object.getPrototypeOf(self) === Object.prototype) {
634
+ const keysSelf = Object.keys(self);
635
+ const keysThat = Object.keys(that);
636
+ if (keysSelf.length === keysThat.length) {
637
+ for (const key of keysSelf) {
638
+ if (!(key in that && compareBoth(self[key], that[key]))) {
639
+ return structuralRegionState.tester ? structuralRegionState.tester(self, that) : false;
640
+ }
641
+ }
642
+ return true;
643
+ }
644
+ }
645
+ return structuralRegionState.tester ? structuralRegionState.tester(self, that) : false;
607
646
  }
608
647
  }
609
- return false;
648
+ return structuralRegionState.enabled && structuralRegionState.tester ? structuralRegionState.tester(self, that) : false;
610
649
  }
611
650
  var isEqual = (u2) => hasProperty(u2, symbol2);
612
651
  var equivalence = () => equals;
613
652
 
614
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Inspectable.js
653
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Inspectable.js
615
654
  var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
616
655
  var toJSON = (x2) => {
617
656
  if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
@@ -623,7 +662,7 @@ var toJSON = (x2) => {
623
662
  };
624
663
  var format = (x2) => JSON.stringify(x2, null, 2);
625
664
 
626
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Pipeable.js
665
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Pipeable.js
627
666
  var pipeArguments = (self, args) => {
628
667
  switch (args.length) {
629
668
  case 1:
@@ -654,7 +693,7 @@ var pipeArguments = (self, args) => {
654
693
  }
655
694
  };
656
695
 
657
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/effectable.js
696
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/effectable.js
658
697
  var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
659
698
  var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
660
699
  var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
@@ -715,7 +754,7 @@ var EffectPrototype = {
715
754
  }
716
755
  };
717
756
 
718
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/option.js
757
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/option.js
719
758
  var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
720
759
  var CommonProto = {
721
760
  ...EffectPrototype,
@@ -773,7 +812,7 @@ var some = (value) => {
773
812
  return a;
774
813
  };
775
814
 
776
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/either.js
815
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/either.js
777
816
  var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
778
817
  var CommonProto2 = {
779
818
  ...EffectPrototype,
@@ -837,7 +876,7 @@ var right = (right2) => {
837
876
  var getLeft = (self) => isRight(self) ? none : some(self.left);
838
877
  var getRight = (self) => isLeft(self) ? none : some(self.right);
839
878
 
840
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Option.js
879
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Option.js
841
880
  var Option_exports = {};
842
881
  __export(Option_exports, {
843
882
  Do: () => Do,
@@ -899,10 +938,10 @@ __export(Option_exports, {
899
938
  zipWith: () => zipWith
900
939
  });
901
940
 
902
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Order.js
941
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Order.js
903
942
  var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
904
943
 
905
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Option.js
944
+ // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Option.js
906
945
  var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
907
946
  var none2 = () => none;
908
947
  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.11-next.2",
3
+ "version": "1.5.11-next.4",
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": {
@@ -41,16 +41,16 @@
41
41
  "@typescript-eslint/types": "^7.8.0",
42
42
  "@typescript-eslint/utils": "^7.8.0",
43
43
  "string-ts": "2.1.1",
44
- "@eslint-react/ast": "1.5.11-next.2",
45
- "@eslint-react/core": "1.5.11-next.2",
46
- "@eslint-react/jsx": "1.5.11-next.2",
47
- "@eslint-react/shared": "1.5.11-next.2",
48
- "@eslint-react/tools": "1.5.11-next.2",
49
- "@eslint-react/types": "1.5.11-next.2",
50
- "@eslint-react/var": "1.5.11-next.2"
44
+ "@eslint-react/ast": "1.5.11-next.4",
45
+ "@eslint-react/jsx": "1.5.11-next.4",
46
+ "@eslint-react/core": "1.5.11-next.4",
47
+ "@eslint-react/shared": "1.5.11-next.4",
48
+ "@eslint-react/tools": "1.5.11-next.4",
49
+ "@eslint-react/types": "1.5.11-next.4",
50
+ "@eslint-react/var": "1.5.11-next.4"
51
51
  },
52
52
  "devDependencies": {
53
- "effect": "3.0.7"
53
+ "effect": "3.1.1"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "@typescript-eslint/parser": "^7.5.0",