@eslint-react/jsx 1.5.11-next.3 → 1.5.11-next.5

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
@@ -17,7 +17,7 @@ var __export = (target, all3) => {
17
17
  __defProp(target, name, { get: all3[name], enumerable: true });
18
18
  };
19
19
 
20
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Function.js
20
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Function.js
21
21
  var Function_exports = {};
22
22
  __export(Function_exports, {
23
23
  SK: () => SK,
@@ -192,14 +192,25 @@ function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
192
192
  var hole = /* @__PURE__ */ unsafeCoerce(absurd);
193
193
  var SK = (_2, b2) => b2;
194
194
 
195
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Equivalence.js
195
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Equivalence.js
196
196
  var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
197
197
 
198
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/version.js
199
- var moduleVersion = "3.0.7";
198
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/doNotation.js
199
+ var let_ = (map2) => dual(3, (self, name, f2) => map2(self, (a2) => Object.assign({}, a2, {
200
+ [name]: f2(a2)
201
+ })));
202
+ var bindTo = (map2) => dual(2, (self, name) => map2(self, (a2) => ({
203
+ [name]: a2
204
+ })));
205
+ var bind = (map2, flatMap2) => dual(3, (self, name, f2) => flatMap2(self, (a2) => map2(f2(a2), (b2) => Object.assign({}, a2, {
206
+ [name]: b2
207
+ }))));
208
+
209
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/version.js
210
+ var moduleVersion = "3.1.2";
200
211
  var getCurrentVersion = () => moduleVersion;
201
212
 
202
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/GlobalValue.js
213
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/GlobalValue.js
203
214
  var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
204
215
  if (!(globalStoreId in globalThis)) {
205
216
  globalThis[globalStoreId] = /* @__PURE__ */ new Map();
@@ -212,7 +223,7 @@ var globalValue = (id, compute) => {
212
223
  return globalStore.get(id);
213
224
  };
214
225
 
215
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Predicate.js
226
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Predicate.js
216
227
  var Predicate_exports = {};
217
228
  __export(Predicate_exports, {
218
229
  all: () => all,
@@ -349,10 +360,10 @@ var some = (collection) => (a2) => {
349
360
  return false;
350
361
  };
351
362
 
352
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/errors.js
363
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/errors.js
353
364
  var getBugErrorMessage = (message) => `BUG: ${message} - please report an issue at https://github.com/Effect-TS/effect/issues`;
354
365
 
355
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Utils.js
366
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Utils.js
356
367
  var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
357
368
  var isGenKind = (u2) => isObject(u2) && GenKindTypeId in u2;
358
369
  var GenKindImpl = class {
@@ -591,8 +602,12 @@ function yieldWrapGet(self) {
591
602
  }
592
603
  throw new Error(getBugErrorMessage("yieldWrapGet"));
593
604
  }
605
+ var structuralRegionState = /* @__PURE__ */ globalValue("effect/Utils/isStructuralRegion", () => ({
606
+ enabled: false,
607
+ tester: void 0
608
+ }));
594
609
 
595
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Hash.js
610
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Hash.js
596
611
  var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
597
612
  var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
598
613
  var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
@@ -626,6 +641,9 @@ var hash = (self) => {
626
641
  }
627
642
  };
628
643
  var random = (self) => {
644
+ if (structuralRegionState.enabled === true) {
645
+ return 0;
646
+ }
629
647
  if (!randomHashCache.has(self)) {
630
648
  randomHashCache.set(self, number(pcgr.integer(Number.MAX_SAFE_INTEGER)));
631
649
  }
@@ -658,27 +676,39 @@ var cached = function() {
658
676
  if (arguments.length === 1) {
659
677
  const self2 = arguments[0];
660
678
  return function(hash3) {
661
- Object.defineProperty(self2, symbol, {
662
- value() {
663
- return hash3;
664
- },
665
- enumerable: false
666
- });
679
+ const original2 = self2[symbol].bind(self2);
680
+ if (structuralRegionState.enabled === false) {
681
+ Object.defineProperty(self2, symbol, {
682
+ value() {
683
+ if (structuralRegionState.enabled === true) {
684
+ return original2();
685
+ }
686
+ return hash3;
687
+ },
688
+ enumerable: false
689
+ });
690
+ }
667
691
  return hash3;
668
692
  };
669
693
  }
670
694
  const self = arguments[0];
671
695
  const hash2 = arguments[1];
672
- Object.defineProperty(self, symbol, {
673
- value() {
674
- return hash2;
675
- },
676
- enumerable: false
677
- });
696
+ const original = self[symbol].bind(self);
697
+ if (structuralRegionState.enabled === false) {
698
+ Object.defineProperty(self, symbol, {
699
+ value() {
700
+ if (structuralRegionState.enabled === true) {
701
+ return original();
702
+ }
703
+ return hash2;
704
+ },
705
+ enumerable: false
706
+ });
707
+ }
678
708
  return hash2;
679
709
  };
680
710
 
681
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Equal.js
711
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Equal.js
682
712
  var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
683
713
  function equals() {
684
714
  if (arguments.length === 1) {
@@ -694,17 +724,37 @@ function compareBoth(self, that) {
694
724
  if (selfType !== typeof that) {
695
725
  return false;
696
726
  }
697
- if ((selfType === "object" || selfType === "function") && self !== null && that !== null) {
698
- if (isEqual(self) && isEqual(that)) {
699
- return hash(self) === hash(that) && self[symbol2](that);
727
+ if (selfType === "object" || selfType === "function") {
728
+ if (self !== null && that !== null) {
729
+ if (isEqual(self) && isEqual(that)) {
730
+ return hash(self) === hash(that) && self[symbol2](that);
731
+ }
732
+ }
733
+ if (structuralRegionState.enabled) {
734
+ if (Array.isArray(self) && Array.isArray(that)) {
735
+ return self.length === that.length && self.every((v2, i2) => compareBoth(v2, that[i2]));
736
+ }
737
+ if (Object.getPrototypeOf(self) === Object.prototype && Object.getPrototypeOf(self) === Object.prototype) {
738
+ const keysSelf = Object.keys(self);
739
+ const keysThat = Object.keys(that);
740
+ if (keysSelf.length === keysThat.length) {
741
+ for (const key of keysSelf) {
742
+ if (!(key in that && compareBoth(self[key], that[key]))) {
743
+ return structuralRegionState.tester ? structuralRegionState.tester(self, that) : false;
744
+ }
745
+ }
746
+ return true;
747
+ }
748
+ }
749
+ return structuralRegionState.tester ? structuralRegionState.tester(self, that) : false;
700
750
  }
701
751
  }
702
- return false;
752
+ return structuralRegionState.enabled && structuralRegionState.tester ? structuralRegionState.tester(self, that) : false;
703
753
  }
704
754
  var isEqual = (u2) => hasProperty(u2, symbol2);
705
755
  var equivalence = () => equals;
706
756
 
707
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Inspectable.js
757
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Inspectable.js
708
758
  var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
709
759
  var toJSON = (x2) => {
710
760
  if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
@@ -716,7 +766,7 @@ var toJSON = (x2) => {
716
766
  };
717
767
  var format = (x2) => JSON.stringify(x2, null, 2);
718
768
 
719
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Pipeable.js
769
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Pipeable.js
720
770
  var pipeArguments = (self, args) => {
721
771
  switch (args.length) {
722
772
  case 1:
@@ -747,7 +797,7 @@ var pipeArguments = (self, args) => {
747
797
  }
748
798
  };
749
799
 
750
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/effectable.js
800
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/effectable.js
751
801
  var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
752
802
  var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
753
803
  var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
@@ -808,7 +858,7 @@ var EffectPrototype = {
808
858
  }
809
859
  };
810
860
 
811
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/option.js
861
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/option.js
812
862
  var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
813
863
  var CommonProto = {
814
864
  ...EffectPrototype,
@@ -866,7 +916,7 @@ var some2 = (value) => {
866
916
  return a2;
867
917
  };
868
918
 
869
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/either.js
919
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/either.js
870
920
  var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
871
921
  var CommonProto2 = {
872
922
  ...EffectPrototype,
@@ -930,7 +980,7 @@ var right = (right2) => {
930
980
  var getLeft = (self) => isRight(self) ? none : some2(self.left);
931
981
  var getRight = (self) => isLeft(self) ? none : some2(self.right);
932
982
 
933
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Option.js
983
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Option.js
934
984
  var Option_exports = {};
935
985
  __export(Option_exports, {
936
986
  Do: () => Do,
@@ -940,8 +990,8 @@ __export(Option_exports, {
940
990
  ap: () => ap,
941
991
  as: () => as,
942
992
  asVoid: () => asVoid,
943
- bind: () => bind,
944
- bindTo: () => bindTo,
993
+ bind: () => bind2,
994
+ bindTo: () => bindTo2,
945
995
  composeK: () => composeK,
946
996
  contains: () => contains,
947
997
  containsWith: () => containsWith,
@@ -967,7 +1017,7 @@ __export(Option_exports, {
967
1017
  isNone: () => isNone2,
968
1018
  isOption: () => isOption2,
969
1019
  isSome: () => isSome2,
970
- let: () => let_,
1020
+ let: () => let_2,
971
1021
  lift2: () => lift2,
972
1022
  liftNullable: () => liftNullable,
973
1023
  liftPredicate: () => liftPredicate,
@@ -992,10 +1042,10 @@ __export(Option_exports, {
992
1042
  zipWith: () => zipWith
993
1043
  });
994
1044
 
995
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Order.js
1045
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Order.js
996
1046
  var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
997
1047
 
998
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Option.js
1048
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Option.js
999
1049
  var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
1000
1050
  var none2 = () => none;
1001
1051
  var some3 = some2;
@@ -1125,15 +1175,9 @@ var containsWith = (isEquivalent) => dual(2, (self, a2) => isNone2(self) ? false
1125
1175
  var _equivalence = /* @__PURE__ */ equivalence();
1126
1176
  var contains = /* @__PURE__ */ containsWith(_equivalence);
1127
1177
  var exists = /* @__PURE__ */ dual(2, (self, refinement) => isNone2(self) ? false : refinement(self.value));
1128
- var bindTo = /* @__PURE__ */ dual(2, (self, name) => map(self, (a2) => ({
1129
- [name]: a2
1130
- })));
1131
- var let_ = /* @__PURE__ */ dual(3, (self, name, f2) => map(self, (a2) => Object.assign({}, a2, {
1132
- [name]: f2(a2)
1133
- })));
1134
- var bind = /* @__PURE__ */ dual(3, (self, name, f2) => flatMap(self, (a2) => map(f2(a2), (b2) => Object.assign({}, a2, {
1135
- [name]: b2
1136
- }))));
1178
+ var bindTo2 = /* @__PURE__ */ bindTo(map);
1179
+ var let_2 = /* @__PURE__ */ let_(map);
1180
+ var bind2 = /* @__PURE__ */ bind(map, flatMap);
1137
1181
  var Do = /* @__PURE__ */ some3({});
1138
1182
  var adapter2 = /* @__PURE__ */ adapter();
1139
1183
  var gen = (f2) => {
package/dist/index.mjs CHANGED
@@ -11,7 +11,7 @@ var __export = (target, all3) => {
11
11
  __defProp(target, name, { get: all3[name], enumerable: true });
12
12
  };
13
13
 
14
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Function.js
14
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Function.js
15
15
  var Function_exports = {};
16
16
  __export(Function_exports, {
17
17
  SK: () => SK,
@@ -186,14 +186,25 @@ function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
186
186
  var hole = /* @__PURE__ */ unsafeCoerce(absurd);
187
187
  var SK = (_2, b2) => b2;
188
188
 
189
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Equivalence.js
189
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Equivalence.js
190
190
  var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
191
191
 
192
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/version.js
193
- var moduleVersion = "3.0.7";
192
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/doNotation.js
193
+ var let_ = (map2) => dual(3, (self, name, f2) => map2(self, (a2) => Object.assign({}, a2, {
194
+ [name]: f2(a2)
195
+ })));
196
+ var bindTo = (map2) => dual(2, (self, name) => map2(self, (a2) => ({
197
+ [name]: a2
198
+ })));
199
+ var bind = (map2, flatMap2) => dual(3, (self, name, f2) => flatMap2(self, (a2) => map2(f2(a2), (b2) => Object.assign({}, a2, {
200
+ [name]: b2
201
+ }))));
202
+
203
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/version.js
204
+ var moduleVersion = "3.1.2";
194
205
  var getCurrentVersion = () => moduleVersion;
195
206
 
196
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/GlobalValue.js
207
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/GlobalValue.js
197
208
  var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
198
209
  if (!(globalStoreId in globalThis)) {
199
210
  globalThis[globalStoreId] = /* @__PURE__ */ new Map();
@@ -206,7 +217,7 @@ var globalValue = (id, compute) => {
206
217
  return globalStore.get(id);
207
218
  };
208
219
 
209
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Predicate.js
220
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Predicate.js
210
221
  var Predicate_exports = {};
211
222
  __export(Predicate_exports, {
212
223
  all: () => all,
@@ -343,10 +354,10 @@ var some = (collection) => (a2) => {
343
354
  return false;
344
355
  };
345
356
 
346
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/errors.js
357
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/errors.js
347
358
  var getBugErrorMessage = (message) => `BUG: ${message} - please report an issue at https://github.com/Effect-TS/effect/issues`;
348
359
 
349
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Utils.js
360
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Utils.js
350
361
  var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
351
362
  var isGenKind = (u2) => isObject(u2) && GenKindTypeId in u2;
352
363
  var GenKindImpl = class {
@@ -585,8 +596,12 @@ function yieldWrapGet(self) {
585
596
  }
586
597
  throw new Error(getBugErrorMessage("yieldWrapGet"));
587
598
  }
599
+ var structuralRegionState = /* @__PURE__ */ globalValue("effect/Utils/isStructuralRegion", () => ({
600
+ enabled: false,
601
+ tester: void 0
602
+ }));
588
603
 
589
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Hash.js
604
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Hash.js
590
605
  var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
591
606
  var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
592
607
  var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
@@ -620,6 +635,9 @@ var hash = (self) => {
620
635
  }
621
636
  };
622
637
  var random = (self) => {
638
+ if (structuralRegionState.enabled === true) {
639
+ return 0;
640
+ }
623
641
  if (!randomHashCache.has(self)) {
624
642
  randomHashCache.set(self, number(pcgr.integer(Number.MAX_SAFE_INTEGER)));
625
643
  }
@@ -652,27 +670,39 @@ var cached = function() {
652
670
  if (arguments.length === 1) {
653
671
  const self2 = arguments[0];
654
672
  return function(hash3) {
655
- Object.defineProperty(self2, symbol, {
656
- value() {
657
- return hash3;
658
- },
659
- enumerable: false
660
- });
673
+ const original2 = self2[symbol].bind(self2);
674
+ if (structuralRegionState.enabled === false) {
675
+ Object.defineProperty(self2, symbol, {
676
+ value() {
677
+ if (structuralRegionState.enabled === true) {
678
+ return original2();
679
+ }
680
+ return hash3;
681
+ },
682
+ enumerable: false
683
+ });
684
+ }
661
685
  return hash3;
662
686
  };
663
687
  }
664
688
  const self = arguments[0];
665
689
  const hash2 = arguments[1];
666
- Object.defineProperty(self, symbol, {
667
- value() {
668
- return hash2;
669
- },
670
- enumerable: false
671
- });
690
+ const original = self[symbol].bind(self);
691
+ if (structuralRegionState.enabled === false) {
692
+ Object.defineProperty(self, symbol, {
693
+ value() {
694
+ if (structuralRegionState.enabled === true) {
695
+ return original();
696
+ }
697
+ return hash2;
698
+ },
699
+ enumerable: false
700
+ });
701
+ }
672
702
  return hash2;
673
703
  };
674
704
 
675
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Equal.js
705
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Equal.js
676
706
  var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
677
707
  function equals() {
678
708
  if (arguments.length === 1) {
@@ -688,17 +718,37 @@ function compareBoth(self, that) {
688
718
  if (selfType !== typeof that) {
689
719
  return false;
690
720
  }
691
- if ((selfType === "object" || selfType === "function") && self !== null && that !== null) {
692
- if (isEqual(self) && isEqual(that)) {
693
- return hash(self) === hash(that) && self[symbol2](that);
721
+ if (selfType === "object" || selfType === "function") {
722
+ if (self !== null && that !== null) {
723
+ if (isEqual(self) && isEqual(that)) {
724
+ return hash(self) === hash(that) && self[symbol2](that);
725
+ }
726
+ }
727
+ if (structuralRegionState.enabled) {
728
+ if (Array.isArray(self) && Array.isArray(that)) {
729
+ return self.length === that.length && self.every((v2, i2) => compareBoth(v2, that[i2]));
730
+ }
731
+ if (Object.getPrototypeOf(self) === Object.prototype && Object.getPrototypeOf(self) === Object.prototype) {
732
+ const keysSelf = Object.keys(self);
733
+ const keysThat = Object.keys(that);
734
+ if (keysSelf.length === keysThat.length) {
735
+ for (const key of keysSelf) {
736
+ if (!(key in that && compareBoth(self[key], that[key]))) {
737
+ return structuralRegionState.tester ? structuralRegionState.tester(self, that) : false;
738
+ }
739
+ }
740
+ return true;
741
+ }
742
+ }
743
+ return structuralRegionState.tester ? structuralRegionState.tester(self, that) : false;
694
744
  }
695
745
  }
696
- return false;
746
+ return structuralRegionState.enabled && structuralRegionState.tester ? structuralRegionState.tester(self, that) : false;
697
747
  }
698
748
  var isEqual = (u2) => hasProperty(u2, symbol2);
699
749
  var equivalence = () => equals;
700
750
 
701
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Inspectable.js
751
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Inspectable.js
702
752
  var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
703
753
  var toJSON = (x2) => {
704
754
  if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
@@ -710,7 +760,7 @@ var toJSON = (x2) => {
710
760
  };
711
761
  var format = (x2) => JSON.stringify(x2, null, 2);
712
762
 
713
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Pipeable.js
763
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Pipeable.js
714
764
  var pipeArguments = (self, args) => {
715
765
  switch (args.length) {
716
766
  case 1:
@@ -741,7 +791,7 @@ var pipeArguments = (self, args) => {
741
791
  }
742
792
  };
743
793
 
744
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/effectable.js
794
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/effectable.js
745
795
  var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
746
796
  var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
747
797
  var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
@@ -802,7 +852,7 @@ var EffectPrototype = {
802
852
  }
803
853
  };
804
854
 
805
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/option.js
855
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/option.js
806
856
  var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
807
857
  var CommonProto = {
808
858
  ...EffectPrototype,
@@ -860,7 +910,7 @@ var some2 = (value) => {
860
910
  return a2;
861
911
  };
862
912
 
863
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/internal/either.js
913
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/internal/either.js
864
914
  var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
865
915
  var CommonProto2 = {
866
916
  ...EffectPrototype,
@@ -924,7 +974,7 @@ var right = (right2) => {
924
974
  var getLeft = (self) => isRight(self) ? none : some2(self.left);
925
975
  var getRight = (self) => isLeft(self) ? none : some2(self.right);
926
976
 
927
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Option.js
977
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Option.js
928
978
  var Option_exports = {};
929
979
  __export(Option_exports, {
930
980
  Do: () => Do,
@@ -934,8 +984,8 @@ __export(Option_exports, {
934
984
  ap: () => ap,
935
985
  as: () => as,
936
986
  asVoid: () => asVoid,
937
- bind: () => bind,
938
- bindTo: () => bindTo,
987
+ bind: () => bind2,
988
+ bindTo: () => bindTo2,
939
989
  composeK: () => composeK,
940
990
  contains: () => contains,
941
991
  containsWith: () => containsWith,
@@ -961,7 +1011,7 @@ __export(Option_exports, {
961
1011
  isNone: () => isNone2,
962
1012
  isOption: () => isOption2,
963
1013
  isSome: () => isSome2,
964
- let: () => let_,
1014
+ let: () => let_2,
965
1015
  lift2: () => lift2,
966
1016
  liftNullable: () => liftNullable,
967
1017
  liftPredicate: () => liftPredicate,
@@ -986,10 +1036,10 @@ __export(Option_exports, {
986
1036
  zipWith: () => zipWith
987
1037
  });
988
1038
 
989
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Order.js
1039
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Order.js
990
1040
  var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
991
1041
 
992
- // ../../../node_modules/.pnpm/effect@3.0.7/node_modules/effect/dist/esm/Option.js
1042
+ // ../../../node_modules/.pnpm/effect@3.1.2/node_modules/effect/dist/esm/Option.js
993
1043
  var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
994
1044
  var none2 = () => none;
995
1045
  var some3 = some2;
@@ -1119,15 +1169,9 @@ var containsWith = (isEquivalent) => dual(2, (self, a2) => isNone2(self) ? false
1119
1169
  var _equivalence = /* @__PURE__ */ equivalence();
1120
1170
  var contains = /* @__PURE__ */ containsWith(_equivalence);
1121
1171
  var exists = /* @__PURE__ */ dual(2, (self, refinement) => isNone2(self) ? false : refinement(self.value));
1122
- var bindTo = /* @__PURE__ */ dual(2, (self, name) => map(self, (a2) => ({
1123
- [name]: a2
1124
- })));
1125
- var let_ = /* @__PURE__ */ dual(3, (self, name, f2) => map(self, (a2) => Object.assign({}, a2, {
1126
- [name]: f2(a2)
1127
- })));
1128
- var bind = /* @__PURE__ */ dual(3, (self, name, f2) => flatMap(self, (a2) => map(f2(a2), (b2) => Object.assign({}, a2, {
1129
- [name]: b2
1130
- }))));
1172
+ var bindTo2 = /* @__PURE__ */ bindTo(map);
1173
+ var let_2 = /* @__PURE__ */ let_(map);
1174
+ var bind2 = /* @__PURE__ */ bind(map, flatMap);
1131
1175
  var Do = /* @__PURE__ */ some3({});
1132
1176
  var adapter2 = /* @__PURE__ */ adapter();
1133
1177
  var gen = (f2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/jsx",
3
- "version": "1.5.11-next.3",
3
+ "version": "1.5.11-next.5",
4
4
  "description": "ESLint React's TSESTree AST utility module for static analysis of JSX.",
5
5
  "homepage": "https://github.com/rel1cx/eslint-react",
6
6
  "bugs": {
@@ -39,14 +39,14 @@
39
39
  "@typescript-eslint/types": "^7.8.0",
40
40
  "@typescript-eslint/utils": "^7.8.0",
41
41
  "micro-memoize": "4.1.2",
42
- "@eslint-react/ast": "1.5.11-next.3",
43
- "@eslint-react/tools": "1.5.11-next.3",
44
- "@eslint-react/shared": "1.5.11-next.3",
45
- "@eslint-react/var": "1.5.11-next.3",
46
- "@eslint-react/types": "1.5.11-next.3"
42
+ "@eslint-react/ast": "1.5.11-next.5",
43
+ "@eslint-react/shared": "1.5.11-next.5",
44
+ "@eslint-react/tools": "1.5.11-next.5",
45
+ "@eslint-react/types": "1.5.11-next.5",
46
+ "@eslint-react/var": "1.5.11-next.5"
47
47
  },
48
48
  "devDependencies": {
49
- "effect": "3.0.7"
49
+ "effect": "3.1.2"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "tsup",