@eslint-react/jsx 1.5.6 → 1.5.7-next.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.
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.4.3/node_modules/effect/dist/esm/Function.js
20
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Function.js
21
21
  var Function_exports = {};
22
22
  __export(Function_exports, {
23
23
  SK: () => SK,
@@ -192,11 +192,11 @@ 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@2.4.3/node_modules/effect/dist/esm/internal/version.js
196
- var moduleVersion = "2.4.3";
195
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/internal/version.js
196
+ var moduleVersion = "2.4.7";
197
197
  var getCurrentVersion = () => moduleVersion;
198
198
 
199
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/GlobalValue.js
199
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/GlobalValue.js
200
200
  var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
201
201
  if (!(globalStoreId in globalThis)) {
202
202
  globalThis[globalStoreId] = /* @__PURE__ */ new Map();
@@ -209,7 +209,7 @@ var globalValue = (id, compute) => {
209
209
  return globalStore.get(id);
210
210
  };
211
211
 
212
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Predicate.js
212
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Predicate.js
213
213
  var Predicate_exports = {};
214
214
  __export(Predicate_exports, {
215
215
  all: () => all,
@@ -235,6 +235,7 @@ __export(Predicate_exports, {
235
235
  isNumber: () => isNumber,
236
236
  isObject: () => isObject,
237
237
  isPromise: () => isPromise,
238
+ isPromiseLike: () => isPromiseLike,
238
239
  isReadonlyRecord: () => isReadonlyRecord,
239
240
  isRecord: () => isRecord,
240
241
  isSet: () => isSet,
@@ -284,6 +285,7 @@ var isIterable = (input) => hasProperty(input, Symbol.iterator);
284
285
  var isRecord = (input) => isRecordOrArray(input) && !Array.isArray(input);
285
286
  var isReadonlyRecord = isRecord;
286
287
  var isPromise = (input) => hasProperty(input, "then") && "catch" in input && isFunction2(input.then) && isFunction2(input.catch);
288
+ var isPromiseLike = (input) => hasProperty(input, "then") && isFunction2(input.then);
287
289
  var compose2 = /* @__PURE__ */ dual(2, (ab, bc) => (a2) => ab(a2) && bc(a2));
288
290
  var product = (self, that) => ([a2, b2]) => self(a2) && that(b2);
289
291
  var all = (collection) => {
@@ -342,7 +344,7 @@ var some = (collection) => (a2) => {
342
344
  return false;
343
345
  };
344
346
 
345
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Utils.js
347
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Utils.js
346
348
  var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
347
349
  var GenKindImpl = class {
348
350
  value;
@@ -562,7 +564,7 @@ function add64(out, aHi, aLo, bHi, bLo) {
562
564
  out[1] = lo;
563
565
  }
564
566
 
565
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Hash.js
567
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Hash.js
566
568
  var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
567
569
  var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
568
570
  var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
@@ -648,7 +650,7 @@ var cached = function() {
648
650
  return hash2;
649
651
  };
650
652
 
651
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Equal.js
653
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Equal.js
652
654
  var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
653
655
  function equals() {
654
656
  if (arguments.length === 1) {
@@ -674,10 +676,10 @@ function compareBoth(self, that) {
674
676
  var isEqual = (u2) => hasProperty(u2, symbol2);
675
677
  var equivalence = () => equals;
676
678
 
677
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Equivalence.js
679
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Equivalence.js
678
680
  var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
679
681
 
680
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Inspectable.js
682
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Inspectable.js
681
683
  var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
682
684
  var toJSON = (x2) => {
683
685
  if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
@@ -689,7 +691,7 @@ var toJSON = (x2) => {
689
691
  };
690
692
  var format = (x2) => JSON.stringify(x2, null, 2);
691
693
 
692
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Option.js
694
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Option.js
693
695
  var Option_exports = {};
694
696
  __export(Option_exports, {
695
697
  Do: () => Do,
@@ -751,7 +753,7 @@ __export(Option_exports, {
751
753
  zipWith: () => zipWith
752
754
  });
753
755
 
754
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Pipeable.js
756
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Pipeable.js
755
757
  var pipeArguments = (self, args) => {
756
758
  switch (args.length) {
757
759
  case 1:
@@ -782,7 +784,7 @@ var pipeArguments = (self, args) => {
782
784
  }
783
785
  };
784
786
 
785
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/internal/effectable.js
787
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/internal/effectable.js
786
788
  var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
787
789
  var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
788
790
  var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
@@ -840,7 +842,7 @@ var EffectPrototype = {
840
842
  }
841
843
  };
842
844
 
843
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/internal/option.js
845
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/internal/option.js
844
846
  var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
845
847
  var CommonProto = {
846
848
  ...EffectPrototype,
@@ -898,7 +900,7 @@ var some2 = (value) => {
898
900
  return a2;
899
901
  };
900
902
 
901
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/internal/either.js
903
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/internal/either.js
902
904
  var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
903
905
  var CommonProto2 = {
904
906
  ...EffectPrototype,
@@ -962,10 +964,10 @@ var right = (right2) => {
962
964
  var getLeft = (self) => isRight(self) ? none : some2(self.left);
963
965
  var getRight = (self) => isLeft(self) ? none : some2(self.right);
964
966
 
965
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Order.js
967
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Order.js
966
968
  var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
967
969
 
968
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Option.js
970
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Option.js
969
971
  var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
970
972
  var none2 = () => none;
971
973
  var some3 = some2;
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.4.3/node_modules/effect/dist/esm/Function.js
14
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Function.js
15
15
  var Function_exports = {};
16
16
  __export(Function_exports, {
17
17
  SK: () => SK,
@@ -186,11 +186,11 @@ 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@2.4.3/node_modules/effect/dist/esm/internal/version.js
190
- var moduleVersion = "2.4.3";
189
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/internal/version.js
190
+ var moduleVersion = "2.4.7";
191
191
  var getCurrentVersion = () => moduleVersion;
192
192
 
193
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/GlobalValue.js
193
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/GlobalValue.js
194
194
  var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
195
195
  if (!(globalStoreId in globalThis)) {
196
196
  globalThis[globalStoreId] = /* @__PURE__ */ new Map();
@@ -203,7 +203,7 @@ var globalValue = (id, compute) => {
203
203
  return globalStore.get(id);
204
204
  };
205
205
 
206
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Predicate.js
206
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Predicate.js
207
207
  var Predicate_exports = {};
208
208
  __export(Predicate_exports, {
209
209
  all: () => all,
@@ -229,6 +229,7 @@ __export(Predicate_exports, {
229
229
  isNumber: () => isNumber,
230
230
  isObject: () => isObject,
231
231
  isPromise: () => isPromise,
232
+ isPromiseLike: () => isPromiseLike,
232
233
  isReadonlyRecord: () => isReadonlyRecord,
233
234
  isRecord: () => isRecord,
234
235
  isSet: () => isSet,
@@ -278,6 +279,7 @@ var isIterable = (input) => hasProperty(input, Symbol.iterator);
278
279
  var isRecord = (input) => isRecordOrArray(input) && !Array.isArray(input);
279
280
  var isReadonlyRecord = isRecord;
280
281
  var isPromise = (input) => hasProperty(input, "then") && "catch" in input && isFunction2(input.then) && isFunction2(input.catch);
282
+ var isPromiseLike = (input) => hasProperty(input, "then") && isFunction2(input.then);
281
283
  var compose2 = /* @__PURE__ */ dual(2, (ab, bc) => (a2) => ab(a2) && bc(a2));
282
284
  var product = (self, that) => ([a2, b2]) => self(a2) && that(b2);
283
285
  var all = (collection) => {
@@ -336,7 +338,7 @@ var some = (collection) => (a2) => {
336
338
  return false;
337
339
  };
338
340
 
339
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Utils.js
341
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Utils.js
340
342
  var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
341
343
  var GenKindImpl = class {
342
344
  value;
@@ -556,7 +558,7 @@ function add64(out, aHi, aLo, bHi, bLo) {
556
558
  out[1] = lo;
557
559
  }
558
560
 
559
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Hash.js
561
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Hash.js
560
562
  var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
561
563
  var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
562
564
  var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
@@ -642,7 +644,7 @@ var cached = function() {
642
644
  return hash2;
643
645
  };
644
646
 
645
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Equal.js
647
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Equal.js
646
648
  var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
647
649
  function equals() {
648
650
  if (arguments.length === 1) {
@@ -668,10 +670,10 @@ function compareBoth(self, that) {
668
670
  var isEqual = (u2) => hasProperty(u2, symbol2);
669
671
  var equivalence = () => equals;
670
672
 
671
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Equivalence.js
673
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Equivalence.js
672
674
  var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
673
675
 
674
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Inspectable.js
676
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Inspectable.js
675
677
  var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
676
678
  var toJSON = (x2) => {
677
679
  if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
@@ -683,7 +685,7 @@ var toJSON = (x2) => {
683
685
  };
684
686
  var format = (x2) => JSON.stringify(x2, null, 2);
685
687
 
686
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Option.js
688
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Option.js
687
689
  var Option_exports = {};
688
690
  __export(Option_exports, {
689
691
  Do: () => Do,
@@ -745,7 +747,7 @@ __export(Option_exports, {
745
747
  zipWith: () => zipWith
746
748
  });
747
749
 
748
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Pipeable.js
750
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Pipeable.js
749
751
  var pipeArguments = (self, args) => {
750
752
  switch (args.length) {
751
753
  case 1:
@@ -776,7 +778,7 @@ var pipeArguments = (self, args) => {
776
778
  }
777
779
  };
778
780
 
779
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/internal/effectable.js
781
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/internal/effectable.js
780
782
  var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
781
783
  var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
782
784
  var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
@@ -834,7 +836,7 @@ var EffectPrototype = {
834
836
  }
835
837
  };
836
838
 
837
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/internal/option.js
839
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/internal/option.js
838
840
  var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
839
841
  var CommonProto = {
840
842
  ...EffectPrototype,
@@ -892,7 +894,7 @@ var some2 = (value) => {
892
894
  return a2;
893
895
  };
894
896
 
895
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/internal/either.js
897
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/internal/either.js
896
898
  var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
897
899
  var CommonProto2 = {
898
900
  ...EffectPrototype,
@@ -956,10 +958,10 @@ var right = (right2) => {
956
958
  var getLeft = (self) => isRight(self) ? none : some2(self.left);
957
959
  var getRight = (self) => isLeft(self) ? none : some2(self.right);
958
960
 
959
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Order.js
961
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Order.js
960
962
  var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
961
963
 
962
- // ../../../node_modules/.pnpm/effect@2.4.3/node_modules/effect/dist/esm/Option.js
964
+ // ../../../node_modules/.pnpm/effect@2.4.7/node_modules/effect/dist/esm/Option.js
963
965
  var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
964
966
  var none2 = () => none;
965
967
  var some3 = some2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eslint-react/jsx",
3
- "version": "1.5.6",
3
+ "version": "1.5.7-next.0",
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.2.0",
40
40
  "@typescript-eslint/utils": "7.2.0",
41
41
  "micro-memoize": "4.1.2",
42
- "@eslint-react/ast": "1.5.6",
43
- "@eslint-react/shared": "1.5.6",
44
- "@eslint-react/tools": "1.5.6",
45
- "@eslint-react/var": "1.5.6",
46
- "@eslint-react/types": "1.5.6"
42
+ "@eslint-react/tools": "1.5.7-next.0",
43
+ "@eslint-react/types": "1.5.7-next.0",
44
+ "@eslint-react/shared": "1.5.7-next.0",
45
+ "@eslint-react/var": "1.5.7-next.0",
46
+ "@eslint-react/ast": "1.5.7-next.0"
47
47
  },
48
48
  "devDependencies": {
49
- "effect": "2.4.3"
49
+ "effect": "2.4.7"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "tsup",