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

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.4";
18
+ var version = "1.5.11-next.6";
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.1.1/node_modules/effect/dist/esm/Function.js
59
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Function.js
60
60
  var Function_exports = {};
61
61
  __export(Function_exports, {
62
62
  SK: () => SK,
@@ -231,14 +231,25 @@ 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.1.1/node_modules/effect/dist/esm/Equivalence.js
234
+ // ../../../node_modules/.pnpm/effect@3.1.2/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.1.1/node_modules/effect/dist/esm/internal/version.js
238
- var moduleVersion = "3.1.1";
237
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/doNotation.js
238
+ var let_ = (map2) => dual(3, (self, name2, f) => map2(self, (a) => Object.assign({}, a, {
239
+ [name2]: f(a)
240
+ })));
241
+ var bindTo = (map2) => dual(2, (self, name2) => map2(self, (a) => ({
242
+ [name2]: a
243
+ })));
244
+ var bind = (map2, flatMap2) => dual(3, (self, name2, f) => flatMap2(self, (a) => map2(f(a), (b2) => Object.assign({}, a, {
245
+ [name2]: b2
246
+ }))));
247
+
248
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/version.js
249
+ var moduleVersion = "3.1.2";
239
250
  var getCurrentVersion = () => moduleVersion;
240
251
 
241
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/GlobalValue.js
252
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/GlobalValue.js
242
253
  var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
243
254
  if (!(globalStoreId in globalThis)) {
244
255
  globalThis[globalStoreId] = /* @__PURE__ */ new Map();
@@ -251,17 +262,17 @@ var globalValue = (id, compute) => {
251
262
  return globalStore.get(id);
252
263
  };
253
264
 
254
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Predicate.js
265
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Predicate.js
255
266
  var isFunction2 = isFunction;
256
267
  var isRecordOrArray = (input) => typeof input === "object" && input !== null;
257
268
  var isObject = (input) => isRecordOrArray(input) || isFunction2(input);
258
269
  var hasProperty = /* @__PURE__ */ dual(2, (self, property) => isObject(self) && property in self);
259
270
  var isNullable = (input) => input === null || input === void 0;
260
271
 
261
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/errors.js
272
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/errors.js
262
273
  var getBugErrorMessage = (message) => `BUG: ${message} - please report an issue at https://github.com/Effect-TS/effect/issues`;
263
274
 
264
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Utils.js
275
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Utils.js
265
276
  var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
266
277
  var isGenKind = (u2) => isObject(u2) && GenKindTypeId in u2;
267
278
  var GenKindImpl = class {
@@ -505,7 +516,7 @@ var structuralRegionState = /* @__PURE__ */ globalValue("effect/Utils/isStructur
505
516
  tester: void 0
506
517
  }));
507
518
 
508
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Hash.js
519
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Hash.js
509
520
  var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
510
521
  var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
511
522
  var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
@@ -606,7 +617,7 @@ var cached = function() {
606
617
  return hash2;
607
618
  };
608
619
 
609
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Equal.js
620
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Equal.js
610
621
  var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
611
622
  function equals() {
612
623
  if (arguments.length === 1) {
@@ -652,7 +663,7 @@ function compareBoth(self, that) {
652
663
  var isEqual = (u2) => hasProperty(u2, symbol2);
653
664
  var equivalence = () => equals;
654
665
 
655
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Inspectable.js
666
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Inspectable.js
656
667
  var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
657
668
  var toJSON = (x2) => {
658
669
  if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
@@ -664,7 +675,7 @@ var toJSON = (x2) => {
664
675
  };
665
676
  var format = (x2) => JSON.stringify(x2, null, 2);
666
677
 
667
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Pipeable.js
678
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Pipeable.js
668
679
  var pipeArguments = (self, args) => {
669
680
  switch (args.length) {
670
681
  case 1:
@@ -695,7 +706,7 @@ var pipeArguments = (self, args) => {
695
706
  }
696
707
  };
697
708
 
698
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/effectable.js
709
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/effectable.js
699
710
  var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
700
711
  var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
701
712
  var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
@@ -756,7 +767,7 @@ var EffectPrototype = {
756
767
  }
757
768
  };
758
769
 
759
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/option.js
770
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/option.js
760
771
  var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
761
772
  var CommonProto = {
762
773
  ...EffectPrototype,
@@ -814,7 +825,7 @@ var some = (value) => {
814
825
  return a;
815
826
  };
816
827
 
817
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/either.js
828
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/either.js
818
829
  var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
819
830
  var CommonProto2 = {
820
831
  ...EffectPrototype,
@@ -878,7 +889,7 @@ var right = (right2) => {
878
889
  var getLeft = (self) => isRight(self) ? none : some(self.left);
879
890
  var getRight = (self) => isLeft(self) ? none : some(self.right);
880
891
 
881
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Option.js
892
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Option.js
882
893
  var Option_exports = {};
883
894
  __export(Option_exports, {
884
895
  Do: () => Do,
@@ -888,8 +899,8 @@ __export(Option_exports, {
888
899
  ap: () => ap,
889
900
  as: () => as,
890
901
  asVoid: () => asVoid,
891
- bind: () => bind,
892
- bindTo: () => bindTo,
902
+ bind: () => bind2,
903
+ bindTo: () => bindTo2,
893
904
  composeK: () => composeK,
894
905
  contains: () => contains,
895
906
  containsWith: () => containsWith,
@@ -915,7 +926,7 @@ __export(Option_exports, {
915
926
  isNone: () => isNone2,
916
927
  isOption: () => isOption2,
917
928
  isSome: () => isSome2,
918
- let: () => let_,
929
+ let: () => let_2,
919
930
  lift2: () => lift2,
920
931
  liftNullable: () => liftNullable,
921
932
  liftPredicate: () => liftPredicate,
@@ -940,10 +951,10 @@ __export(Option_exports, {
940
951
  zipWith: () => zipWith
941
952
  });
942
953
 
943
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Order.js
954
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Order.js
944
955
  var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
945
956
 
946
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Option.js
957
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Option.js
947
958
  var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
948
959
  var none2 = () => none;
949
960
  var some2 = some;
@@ -1073,15 +1084,9 @@ var containsWith = (isEquivalent) => dual(2, (self, a) => isNone2(self) ? false
1073
1084
  var _equivalence = /* @__PURE__ */ equivalence();
1074
1085
  var contains = /* @__PURE__ */ containsWith(_equivalence);
1075
1086
  var exists = /* @__PURE__ */ dual(2, (self, refinement) => isNone2(self) ? false : refinement(self.value));
1076
- var bindTo = /* @__PURE__ */ dual(2, (self, name2) => map(self, (a) => ({
1077
- [name2]: a
1078
- })));
1079
- var let_ = /* @__PURE__ */ dual(3, (self, name2, f) => map(self, (a) => Object.assign({}, a, {
1080
- [name2]: f(a)
1081
- })));
1082
- var bind = /* @__PURE__ */ dual(3, (self, name2, f) => flatMap(self, (a) => map(f(a), (b2) => Object.assign({}, a, {
1083
- [name2]: b2
1084
- }))));
1087
+ var bindTo2 = /* @__PURE__ */ bindTo(map);
1088
+ var let_2 = /* @__PURE__ */ let_(map);
1089
+ var bind2 = /* @__PURE__ */ bind(map, flatMap);
1085
1090
  var Do = /* @__PURE__ */ some2({});
1086
1091
  var adapter2 = /* @__PURE__ */ adapter();
1087
1092
  var gen = (f) => {
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.4";
16
+ var version = "1.5.11-next.6";
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.1.1/node_modules/effect/dist/esm/Function.js
57
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Function.js
58
58
  var Function_exports = {};
59
59
  __export(Function_exports, {
60
60
  SK: () => SK,
@@ -229,14 +229,25 @@ 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.1.1/node_modules/effect/dist/esm/Equivalence.js
232
+ // ../../../node_modules/.pnpm/effect@3.1.2/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.1.1/node_modules/effect/dist/esm/internal/version.js
236
- var moduleVersion = "3.1.1";
235
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/doNotation.js
236
+ var let_ = (map2) => dual(3, (self, name2, f) => map2(self, (a) => Object.assign({}, a, {
237
+ [name2]: f(a)
238
+ })));
239
+ var bindTo = (map2) => dual(2, (self, name2) => map2(self, (a) => ({
240
+ [name2]: a
241
+ })));
242
+ var bind = (map2, flatMap2) => dual(3, (self, name2, f) => flatMap2(self, (a) => map2(f(a), (b2) => Object.assign({}, a, {
243
+ [name2]: b2
244
+ }))));
245
+
246
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/version.js
247
+ var moduleVersion = "3.1.2";
237
248
  var getCurrentVersion = () => moduleVersion;
238
249
 
239
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/GlobalValue.js
250
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/GlobalValue.js
240
251
  var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
241
252
  if (!(globalStoreId in globalThis)) {
242
253
  globalThis[globalStoreId] = /* @__PURE__ */ new Map();
@@ -249,17 +260,17 @@ var globalValue = (id, compute) => {
249
260
  return globalStore.get(id);
250
261
  };
251
262
 
252
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Predicate.js
263
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Predicate.js
253
264
  var isFunction2 = isFunction;
254
265
  var isRecordOrArray = (input) => typeof input === "object" && input !== null;
255
266
  var isObject = (input) => isRecordOrArray(input) || isFunction2(input);
256
267
  var hasProperty = /* @__PURE__ */ dual(2, (self, property) => isObject(self) && property in self);
257
268
  var isNullable = (input) => input === null || input === void 0;
258
269
 
259
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/errors.js
270
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/errors.js
260
271
  var getBugErrorMessage = (message) => `BUG: ${message} - please report an issue at https://github.com/Effect-TS/effect/issues`;
261
272
 
262
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Utils.js
273
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Utils.js
263
274
  var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
264
275
  var isGenKind = (u2) => isObject(u2) && GenKindTypeId in u2;
265
276
  var GenKindImpl = class {
@@ -503,7 +514,7 @@ var structuralRegionState = /* @__PURE__ */ globalValue("effect/Utils/isStructur
503
514
  tester: void 0
504
515
  }));
505
516
 
506
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Hash.js
517
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Hash.js
507
518
  var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
508
519
  var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
509
520
  var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
@@ -604,7 +615,7 @@ var cached = function() {
604
615
  return hash2;
605
616
  };
606
617
 
607
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Equal.js
618
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Equal.js
608
619
  var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
609
620
  function equals() {
610
621
  if (arguments.length === 1) {
@@ -650,7 +661,7 @@ function compareBoth(self, that) {
650
661
  var isEqual = (u2) => hasProperty(u2, symbol2);
651
662
  var equivalence = () => equals;
652
663
 
653
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Inspectable.js
664
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Inspectable.js
654
665
  var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
655
666
  var toJSON = (x2) => {
656
667
  if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
@@ -662,7 +673,7 @@ var toJSON = (x2) => {
662
673
  };
663
674
  var format = (x2) => JSON.stringify(x2, null, 2);
664
675
 
665
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Pipeable.js
676
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Pipeable.js
666
677
  var pipeArguments = (self, args) => {
667
678
  switch (args.length) {
668
679
  case 1:
@@ -693,7 +704,7 @@ var pipeArguments = (self, args) => {
693
704
  }
694
705
  };
695
706
 
696
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/effectable.js
707
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/effectable.js
697
708
  var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
698
709
  var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
699
710
  var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
@@ -754,7 +765,7 @@ var EffectPrototype = {
754
765
  }
755
766
  };
756
767
 
757
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/option.js
768
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/option.js
758
769
  var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
759
770
  var CommonProto = {
760
771
  ...EffectPrototype,
@@ -812,7 +823,7 @@ var some = (value) => {
812
823
  return a;
813
824
  };
814
825
 
815
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/internal/either.js
826
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/either.js
816
827
  var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
817
828
  var CommonProto2 = {
818
829
  ...EffectPrototype,
@@ -876,7 +887,7 @@ var right = (right2) => {
876
887
  var getLeft = (self) => isRight(self) ? none : some(self.left);
877
888
  var getRight = (self) => isLeft(self) ? none : some(self.right);
878
889
 
879
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Option.js
890
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Option.js
880
891
  var Option_exports = {};
881
892
  __export(Option_exports, {
882
893
  Do: () => Do,
@@ -886,8 +897,8 @@ __export(Option_exports, {
886
897
  ap: () => ap,
887
898
  as: () => as,
888
899
  asVoid: () => asVoid,
889
- bind: () => bind,
890
- bindTo: () => bindTo,
900
+ bind: () => bind2,
901
+ bindTo: () => bindTo2,
891
902
  composeK: () => composeK,
892
903
  contains: () => contains,
893
904
  containsWith: () => containsWith,
@@ -913,7 +924,7 @@ __export(Option_exports, {
913
924
  isNone: () => isNone2,
914
925
  isOption: () => isOption2,
915
926
  isSome: () => isSome2,
916
- let: () => let_,
927
+ let: () => let_2,
917
928
  lift2: () => lift2,
918
929
  liftNullable: () => liftNullable,
919
930
  liftPredicate: () => liftPredicate,
@@ -938,10 +949,10 @@ __export(Option_exports, {
938
949
  zipWith: () => zipWith
939
950
  });
940
951
 
941
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Order.js
952
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Order.js
942
953
  var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
943
954
 
944
- // ../../../node_modules/.pnpm/effect@3.1.1/node_modules/effect/dist/esm/Option.js
955
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Option.js
945
956
  var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
946
957
  var none2 = () => none;
947
958
  var some2 = some;
@@ -1071,15 +1082,9 @@ var containsWith = (isEquivalent) => dual(2, (self, a) => isNone2(self) ? false
1071
1082
  var _equivalence = /* @__PURE__ */ equivalence();
1072
1083
  var contains = /* @__PURE__ */ containsWith(_equivalence);
1073
1084
  var exists = /* @__PURE__ */ dual(2, (self, refinement) => isNone2(self) ? false : refinement(self.value));
1074
- var bindTo = /* @__PURE__ */ dual(2, (self, name2) => map(self, (a) => ({
1075
- [name2]: a
1076
- })));
1077
- var let_ = /* @__PURE__ */ dual(3, (self, name2, f) => map(self, (a) => Object.assign({}, a, {
1078
- [name2]: f(a)
1079
- })));
1080
- var bind = /* @__PURE__ */ dual(3, (self, name2, f) => flatMap(self, (a) => map(f(a), (b2) => Object.assign({}, a, {
1081
- [name2]: b2
1082
- }))));
1085
+ var bindTo2 = /* @__PURE__ */ bindTo(map);
1086
+ var let_2 = /* @__PURE__ */ let_(map);
1087
+ var bind2 = /* @__PURE__ */ bind(map, flatMap);
1083
1088
  var Do = /* @__PURE__ */ some2({});
1084
1089
  var adapter2 = /* @__PURE__ */ adapter();
1085
1090
  var gen = (f) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-react-hooks-extra",
3
- "version": "1.5.11-next.4",
3
+ "version": "1.5.11-next.6",
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.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"
44
+ "@eslint-react/ast": "1.5.11-next.6",
45
+ "@eslint-react/core": "1.5.11-next.6",
46
+ "@eslint-react/jsx": "1.5.11-next.6",
47
+ "@eslint-react/tools": "1.5.11-next.6",
48
+ "@eslint-react/shared": "1.5.11-next.6",
49
+ "@eslint-react/types": "1.5.11-next.6",
50
+ "@eslint-react/var": "1.5.11-next.6"
51
51
  },
52
52
  "devDependencies": {
53
- "effect": "3.1.1"
53
+ "effect": "3.1.2"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "@typescript-eslint/parser": "^7.5.0",