@eslint-react/jsx 1.5.4-next.0 → 1.5.4-next.1

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@2.3.1/node_modules/effect/dist/esm/Function.js
20
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Function.js
21
21
  var Function_exports = {};
22
22
  __export(Function_exports, {
23
23
  SK: () => SK,
@@ -190,10 +190,10 @@ function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
190
190
  var hole = /* @__PURE__ */ unsafeCoerce(absurd);
191
191
  var SK = (_2, b2) => b2;
192
192
 
193
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/internal/version.js
194
- var moduleVersion = "2.3.1";
193
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/internal/version.js
194
+ var moduleVersion = "2.3.3";
195
195
 
196
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/GlobalValue.js
196
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/GlobalValue.js
197
197
  var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${moduleVersion}`);
198
198
  if (!(globalStoreId in globalThis)) {
199
199
  globalThis[globalStoreId] = /* @__PURE__ */ new Map();
@@ -206,7 +206,7 @@ var globalValue = (id, compute) => {
206
206
  return globalStore.get(id);
207
207
  };
208
208
 
209
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Predicate.js
209
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Predicate.js
210
210
  var Predicate_exports = {};
211
211
  __export(Predicate_exports, {
212
212
  all: () => all,
@@ -335,7 +335,7 @@ var some = (collection) => (a2) => {
335
335
  return false;
336
336
  };
337
337
 
338
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Utils.js
338
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Utils.js
339
339
  var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
340
340
  var GenKindImpl = class {
341
341
  value;
@@ -555,7 +555,7 @@ function add64(out, aHi, aLo, bHi, bLo) {
555
555
  out[1] = lo;
556
556
  }
557
557
 
558
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Hash.js
558
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Hash.js
559
559
  var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
560
560
  var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
561
561
  var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
@@ -618,7 +618,7 @@ var string = (str) => {
618
618
  return optimize(h2);
619
619
  };
620
620
 
621
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Equal.js
621
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Equal.js
622
622
  var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
623
623
  function equals() {
624
624
  if (arguments.length === 1) {
@@ -644,10 +644,10 @@ function compareBoth(self, that) {
644
644
  var isEqual = (u2) => hasProperty(u2, symbol2);
645
645
  var equivalence = () => (self, that) => equals(self, that);
646
646
 
647
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Equivalence.js
647
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Equivalence.js
648
648
  var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
649
649
 
650
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Inspectable.js
650
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Inspectable.js
651
651
  var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
652
652
  var toJSON = (x2) => {
653
653
  if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
@@ -659,7 +659,7 @@ var toJSON = (x2) => {
659
659
  };
660
660
  var format = (x2) => JSON.stringify(x2, null, 2);
661
661
 
662
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Option.js
662
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Option.js
663
663
  var Option_exports = {};
664
664
  __export(Option_exports, {
665
665
  Do: () => Do,
@@ -721,7 +721,7 @@ __export(Option_exports, {
721
721
  zipWith: () => zipWith
722
722
  });
723
723
 
724
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Pipeable.js
724
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Pipeable.js
725
725
  var pipeArguments = (self, args) => {
726
726
  switch (args.length) {
727
727
  case 1:
@@ -752,7 +752,7 @@ var pipeArguments = (self, args) => {
752
752
  }
753
753
  };
754
754
 
755
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/internal/effectable.js
755
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/internal/effectable.js
756
756
  var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
757
757
  var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
758
758
  var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
@@ -810,7 +810,7 @@ var EffectPrototype = {
810
810
  }
811
811
  };
812
812
 
813
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/internal/option.js
813
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/internal/option.js
814
814
  var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
815
815
  var CommonProto = {
816
816
  ...EffectPrototype,
@@ -867,7 +867,7 @@ var some2 = (value) => {
867
867
  return a2;
868
868
  };
869
869
 
870
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/internal/either.js
870
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/internal/either.js
871
871
  var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
872
872
  var CommonProto2 = {
873
873
  ...EffectPrototype,
@@ -931,10 +931,10 @@ var right = (right2) => {
931
931
  var getLeft = (self) => isRight(self) ? none : some2(self.left);
932
932
  var getRight = (self) => isLeft(self) ? none : some2(self.right);
933
933
 
934
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Order.js
934
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Order.js
935
935
  var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
936
936
 
937
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Option.js
937
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Option.js
938
938
  var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
939
939
  var none2 = () => none;
940
940
  var some3 = some2;
@@ -990,7 +990,10 @@ var as = /* @__PURE__ */ dual(2, (self, b2) => map(self, () => b2));
990
990
  var asUnit = /* @__PURE__ */ as(void 0);
991
991
  var unit = /* @__PURE__ */ some3(void 0);
992
992
  var flatMap = /* @__PURE__ */ dual(2, (self, f2) => isNone2(self) ? none2() : f2(self.value));
993
- var andThen = /* @__PURE__ */ dual(2, (self, f2) => isFunction(f2) ? flatMap(self, f2) : flatMap(self, () => f2));
993
+ var andThen = /* @__PURE__ */ dual(2, (self, f2) => flatMap(self, (a2) => {
994
+ const b2 = isFunction(f2) ? f2(a2) : f2;
995
+ return isOption2(b2) ? b2 : some3(b2);
996
+ }));
994
997
  var flatMapNullable = /* @__PURE__ */ dual(2, (self, f2) => isNone2(self) ? none2() : fromNullable(f2(self.value)));
995
998
  var flatten = /* @__PURE__ */ flatMap(identity);
996
999
  var zipRight = /* @__PURE__ */ dual(2, (self, that) => flatMap(self, () => that));
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@2.3.1/node_modules/effect/dist/esm/Function.js
14
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Function.js
15
15
  var Function_exports = {};
16
16
  __export(Function_exports, {
17
17
  SK: () => SK,
@@ -184,10 +184,10 @@ function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
184
184
  var hole = /* @__PURE__ */ unsafeCoerce(absurd);
185
185
  var SK = (_2, b2) => b2;
186
186
 
187
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/internal/version.js
188
- var moduleVersion = "2.3.1";
187
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/internal/version.js
188
+ var moduleVersion = "2.3.3";
189
189
 
190
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/GlobalValue.js
190
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/GlobalValue.js
191
191
  var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${moduleVersion}`);
192
192
  if (!(globalStoreId in globalThis)) {
193
193
  globalThis[globalStoreId] = /* @__PURE__ */ new Map();
@@ -200,7 +200,7 @@ var globalValue = (id, compute) => {
200
200
  return globalStore.get(id);
201
201
  };
202
202
 
203
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Predicate.js
203
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Predicate.js
204
204
  var Predicate_exports = {};
205
205
  __export(Predicate_exports, {
206
206
  all: () => all,
@@ -329,7 +329,7 @@ var some = (collection) => (a2) => {
329
329
  return false;
330
330
  };
331
331
 
332
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Utils.js
332
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Utils.js
333
333
  var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
334
334
  var GenKindImpl = class {
335
335
  value;
@@ -549,7 +549,7 @@ function add64(out, aHi, aLo, bHi, bLo) {
549
549
  out[1] = lo;
550
550
  }
551
551
 
552
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Hash.js
552
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Hash.js
553
553
  var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
554
554
  var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
555
555
  var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
@@ -612,7 +612,7 @@ var string = (str) => {
612
612
  return optimize(h2);
613
613
  };
614
614
 
615
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Equal.js
615
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Equal.js
616
616
  var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
617
617
  function equals() {
618
618
  if (arguments.length === 1) {
@@ -638,10 +638,10 @@ function compareBoth(self, that) {
638
638
  var isEqual = (u2) => hasProperty(u2, symbol2);
639
639
  var equivalence = () => (self, that) => equals(self, that);
640
640
 
641
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Equivalence.js
641
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Equivalence.js
642
642
  var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
643
643
 
644
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Inspectable.js
644
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Inspectable.js
645
645
  var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
646
646
  var toJSON = (x2) => {
647
647
  if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
@@ -653,7 +653,7 @@ var toJSON = (x2) => {
653
653
  };
654
654
  var format = (x2) => JSON.stringify(x2, null, 2);
655
655
 
656
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Option.js
656
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Option.js
657
657
  var Option_exports = {};
658
658
  __export(Option_exports, {
659
659
  Do: () => Do,
@@ -715,7 +715,7 @@ __export(Option_exports, {
715
715
  zipWith: () => zipWith
716
716
  });
717
717
 
718
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Pipeable.js
718
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Pipeable.js
719
719
  var pipeArguments = (self, args) => {
720
720
  switch (args.length) {
721
721
  case 1:
@@ -746,7 +746,7 @@ var pipeArguments = (self, args) => {
746
746
  }
747
747
  };
748
748
 
749
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/internal/effectable.js
749
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/internal/effectable.js
750
750
  var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
751
751
  var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
752
752
  var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
@@ -804,7 +804,7 @@ var EffectPrototype = {
804
804
  }
805
805
  };
806
806
 
807
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/internal/option.js
807
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/internal/option.js
808
808
  var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
809
809
  var CommonProto = {
810
810
  ...EffectPrototype,
@@ -861,7 +861,7 @@ var some2 = (value) => {
861
861
  return a2;
862
862
  };
863
863
 
864
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/internal/either.js
864
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/internal/either.js
865
865
  var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
866
866
  var CommonProto2 = {
867
867
  ...EffectPrototype,
@@ -925,10 +925,10 @@ var right = (right2) => {
925
925
  var getLeft = (self) => isRight(self) ? none : some2(self.left);
926
926
  var getRight = (self) => isLeft(self) ? none : some2(self.right);
927
927
 
928
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Order.js
928
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Order.js
929
929
  var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
930
930
 
931
- // ../../../node_modules/.pnpm/effect@2.3.1/node_modules/effect/dist/esm/Option.js
931
+ // ../../../node_modules/.pnpm/effect@2.3.3/node_modules/effect/dist/esm/Option.js
932
932
  var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
933
933
  var none2 = () => none;
934
934
  var some3 = some2;
@@ -984,7 +984,10 @@ var as = /* @__PURE__ */ dual(2, (self, b2) => map(self, () => b2));
984
984
  var asUnit = /* @__PURE__ */ as(void 0);
985
985
  var unit = /* @__PURE__ */ some3(void 0);
986
986
  var flatMap = /* @__PURE__ */ dual(2, (self, f2) => isNone2(self) ? none2() : f2(self.value));
987
- var andThen = /* @__PURE__ */ dual(2, (self, f2) => isFunction(f2) ? flatMap(self, f2) : flatMap(self, () => f2));
987
+ var andThen = /* @__PURE__ */ dual(2, (self, f2) => flatMap(self, (a2) => {
988
+ const b2 = isFunction(f2) ? f2(a2) : f2;
989
+ return isOption2(b2) ? b2 : some3(b2);
990
+ }));
988
991
  var flatMapNullable = /* @__PURE__ */ dual(2, (self, f2) => isNone2(self) ? none2() : fromNullable(f2(self.value)));
989
992
  var flatten = /* @__PURE__ */ flatMap(identity);
990
993
  var zipRight = /* @__PURE__ */ dual(2, (self, that) => flatMap(self, () => that));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/jsx",
3
- "version": "1.5.4-next.0",
3
+ "version": "1.5.4-next.1",
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": ">=6.21.0",
40
40
  "@typescript-eslint/utils": ">=6.21.0",
41
41
  "micro-memoize": "4.1.2",
42
- "@eslint-react/ast": "1.5.4-next.0",
43
- "@eslint-react/shared": "1.5.4-next.0",
44
- "@eslint-react/tools": "1.5.4-next.0",
45
- "@eslint-react/types": "1.5.4-next.0",
46
- "@eslint-react/var": "1.5.4-next.0"
42
+ "@eslint-react/ast": "1.5.4-next.1",
43
+ "@eslint-react/tools": "1.5.4-next.1",
44
+ "@eslint-react/shared": "1.5.4-next.1",
45
+ "@eslint-react/types": "1.5.4-next.1",
46
+ "@eslint-react/var": "1.5.4-next.1"
47
47
  },
48
48
  "devDependencies": {
49
- "effect": "2.3.1"
49
+ "effect": "2.3.3"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "tsup",