@eslint-react/jsx 1.5.7-beta.0 → 1.5.7-beta.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 +19 -17
- package/dist/index.mjs +19 -17
- package/package.json +10 -10
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.
|
|
20
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/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.
|
|
196
|
-
var moduleVersion = "2.4.
|
|
195
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/internal/version.js
|
|
196
|
+
var moduleVersion = "2.4.13";
|
|
197
197
|
var getCurrentVersion = () => moduleVersion;
|
|
198
198
|
|
|
199
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
199
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/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.
|
|
212
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Predicate.js
|
|
213
213
|
var Predicate_exports = {};
|
|
214
214
|
__export(Predicate_exports, {
|
|
215
215
|
all: () => all,
|
|
@@ -242,6 +242,7 @@ __export(Predicate_exports, {
|
|
|
242
242
|
isString: () => isString,
|
|
243
243
|
isSymbol: () => isSymbol,
|
|
244
244
|
isTagged: () => isTagged,
|
|
245
|
+
isTruthy: () => isTruthy,
|
|
245
246
|
isUint8Array: () => isUint8Array,
|
|
246
247
|
isUndefined: () => isUndefined,
|
|
247
248
|
isUnknown: () => isUnknown,
|
|
@@ -258,6 +259,7 @@ __export(Predicate_exports, {
|
|
|
258
259
|
xor: () => xor
|
|
259
260
|
});
|
|
260
261
|
var mapInput = /* @__PURE__ */ dual(2, (self, f2) => (b2) => self(f2(b2)));
|
|
262
|
+
var isTruthy = (input) => !!input;
|
|
261
263
|
var isSet = (input) => input instanceof Set;
|
|
262
264
|
var isMap = (input) => input instanceof Map;
|
|
263
265
|
var isString = (input) => typeof input === "string";
|
|
@@ -344,7 +346,7 @@ var some = (collection) => (a2) => {
|
|
|
344
346
|
return false;
|
|
345
347
|
};
|
|
346
348
|
|
|
347
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
349
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Utils.js
|
|
348
350
|
var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
|
|
349
351
|
var GenKindImpl = class {
|
|
350
352
|
value;
|
|
@@ -564,7 +566,7 @@ function add64(out, aHi, aLo, bHi, bLo) {
|
|
|
564
566
|
out[1] = lo;
|
|
565
567
|
}
|
|
566
568
|
|
|
567
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
569
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Hash.js
|
|
568
570
|
var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
|
|
569
571
|
var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
|
|
570
572
|
var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
|
|
@@ -650,7 +652,7 @@ var cached = function() {
|
|
|
650
652
|
return hash2;
|
|
651
653
|
};
|
|
652
654
|
|
|
653
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
655
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Equal.js
|
|
654
656
|
var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
|
|
655
657
|
function equals() {
|
|
656
658
|
if (arguments.length === 1) {
|
|
@@ -676,10 +678,10 @@ function compareBoth(self, that) {
|
|
|
676
678
|
var isEqual = (u2) => hasProperty(u2, symbol2);
|
|
677
679
|
var equivalence = () => equals;
|
|
678
680
|
|
|
679
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
681
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Equivalence.js
|
|
680
682
|
var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
|
|
681
683
|
|
|
682
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
684
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Inspectable.js
|
|
683
685
|
var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
|
|
684
686
|
var toJSON = (x2) => {
|
|
685
687
|
if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
|
|
@@ -691,7 +693,7 @@ var toJSON = (x2) => {
|
|
|
691
693
|
};
|
|
692
694
|
var format = (x2) => JSON.stringify(x2, null, 2);
|
|
693
695
|
|
|
694
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
696
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Option.js
|
|
695
697
|
var Option_exports = {};
|
|
696
698
|
__export(Option_exports, {
|
|
697
699
|
Do: () => Do,
|
|
@@ -753,7 +755,7 @@ __export(Option_exports, {
|
|
|
753
755
|
zipWith: () => zipWith
|
|
754
756
|
});
|
|
755
757
|
|
|
756
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
758
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Pipeable.js
|
|
757
759
|
var pipeArguments = (self, args) => {
|
|
758
760
|
switch (args.length) {
|
|
759
761
|
case 1:
|
|
@@ -784,7 +786,7 @@ var pipeArguments = (self, args) => {
|
|
|
784
786
|
}
|
|
785
787
|
};
|
|
786
788
|
|
|
787
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
789
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/internal/effectable.js
|
|
788
790
|
var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
|
|
789
791
|
var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
|
|
790
792
|
var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
|
|
@@ -842,7 +844,7 @@ var EffectPrototype = {
|
|
|
842
844
|
}
|
|
843
845
|
};
|
|
844
846
|
|
|
845
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
847
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/internal/option.js
|
|
846
848
|
var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
847
849
|
var CommonProto = {
|
|
848
850
|
...EffectPrototype,
|
|
@@ -900,7 +902,7 @@ var some2 = (value) => {
|
|
|
900
902
|
return a2;
|
|
901
903
|
};
|
|
902
904
|
|
|
903
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
905
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/internal/either.js
|
|
904
906
|
var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
|
|
905
907
|
var CommonProto2 = {
|
|
906
908
|
...EffectPrototype,
|
|
@@ -964,10 +966,10 @@ var right = (right2) => {
|
|
|
964
966
|
var getLeft = (self) => isRight(self) ? none : some2(self.left);
|
|
965
967
|
var getRight = (self) => isLeft(self) ? none : some2(self.right);
|
|
966
968
|
|
|
967
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
969
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Order.js
|
|
968
970
|
var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
|
|
969
971
|
|
|
970
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
972
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Option.js
|
|
971
973
|
var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
972
974
|
var none2 = () => none;
|
|
973
975
|
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.
|
|
14
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/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.
|
|
190
|
-
var moduleVersion = "2.4.
|
|
189
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/internal/version.js
|
|
190
|
+
var moduleVersion = "2.4.13";
|
|
191
191
|
var getCurrentVersion = () => moduleVersion;
|
|
192
192
|
|
|
193
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
193
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/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.
|
|
206
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Predicate.js
|
|
207
207
|
var Predicate_exports = {};
|
|
208
208
|
__export(Predicate_exports, {
|
|
209
209
|
all: () => all,
|
|
@@ -236,6 +236,7 @@ __export(Predicate_exports, {
|
|
|
236
236
|
isString: () => isString,
|
|
237
237
|
isSymbol: () => isSymbol,
|
|
238
238
|
isTagged: () => isTagged,
|
|
239
|
+
isTruthy: () => isTruthy,
|
|
239
240
|
isUint8Array: () => isUint8Array,
|
|
240
241
|
isUndefined: () => isUndefined,
|
|
241
242
|
isUnknown: () => isUnknown,
|
|
@@ -252,6 +253,7 @@ __export(Predicate_exports, {
|
|
|
252
253
|
xor: () => xor
|
|
253
254
|
});
|
|
254
255
|
var mapInput = /* @__PURE__ */ dual(2, (self, f2) => (b2) => self(f2(b2)));
|
|
256
|
+
var isTruthy = (input) => !!input;
|
|
255
257
|
var isSet = (input) => input instanceof Set;
|
|
256
258
|
var isMap = (input) => input instanceof Map;
|
|
257
259
|
var isString = (input) => typeof input === "string";
|
|
@@ -338,7 +340,7 @@ var some = (collection) => (a2) => {
|
|
|
338
340
|
return false;
|
|
339
341
|
};
|
|
340
342
|
|
|
341
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
343
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Utils.js
|
|
342
344
|
var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
|
|
343
345
|
var GenKindImpl = class {
|
|
344
346
|
value;
|
|
@@ -558,7 +560,7 @@ function add64(out, aHi, aLo, bHi, bLo) {
|
|
|
558
560
|
out[1] = lo;
|
|
559
561
|
}
|
|
560
562
|
|
|
561
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
563
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Hash.js
|
|
562
564
|
var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
|
|
563
565
|
var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
|
|
564
566
|
var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
|
|
@@ -644,7 +646,7 @@ var cached = function() {
|
|
|
644
646
|
return hash2;
|
|
645
647
|
};
|
|
646
648
|
|
|
647
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
649
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Equal.js
|
|
648
650
|
var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
|
|
649
651
|
function equals() {
|
|
650
652
|
if (arguments.length === 1) {
|
|
@@ -670,10 +672,10 @@ function compareBoth(self, that) {
|
|
|
670
672
|
var isEqual = (u2) => hasProperty(u2, symbol2);
|
|
671
673
|
var equivalence = () => equals;
|
|
672
674
|
|
|
673
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
675
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Equivalence.js
|
|
674
676
|
var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
|
|
675
677
|
|
|
676
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
678
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Inspectable.js
|
|
677
679
|
var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
|
|
678
680
|
var toJSON = (x2) => {
|
|
679
681
|
if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
|
|
@@ -685,7 +687,7 @@ var toJSON = (x2) => {
|
|
|
685
687
|
};
|
|
686
688
|
var format = (x2) => JSON.stringify(x2, null, 2);
|
|
687
689
|
|
|
688
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
690
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Option.js
|
|
689
691
|
var Option_exports = {};
|
|
690
692
|
__export(Option_exports, {
|
|
691
693
|
Do: () => Do,
|
|
@@ -747,7 +749,7 @@ __export(Option_exports, {
|
|
|
747
749
|
zipWith: () => zipWith
|
|
748
750
|
});
|
|
749
751
|
|
|
750
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
752
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Pipeable.js
|
|
751
753
|
var pipeArguments = (self, args) => {
|
|
752
754
|
switch (args.length) {
|
|
753
755
|
case 1:
|
|
@@ -778,7 +780,7 @@ var pipeArguments = (self, args) => {
|
|
|
778
780
|
}
|
|
779
781
|
};
|
|
780
782
|
|
|
781
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
783
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/internal/effectable.js
|
|
782
784
|
var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
|
|
783
785
|
var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
|
|
784
786
|
var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
|
|
@@ -836,7 +838,7 @@ var EffectPrototype = {
|
|
|
836
838
|
}
|
|
837
839
|
};
|
|
838
840
|
|
|
839
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
841
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/internal/option.js
|
|
840
842
|
var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
841
843
|
var CommonProto = {
|
|
842
844
|
...EffectPrototype,
|
|
@@ -894,7 +896,7 @@ var some2 = (value) => {
|
|
|
894
896
|
return a2;
|
|
895
897
|
};
|
|
896
898
|
|
|
897
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
899
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/internal/either.js
|
|
898
900
|
var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
|
|
899
901
|
var CommonProto2 = {
|
|
900
902
|
...EffectPrototype,
|
|
@@ -958,10 +960,10 @@ var right = (right2) => {
|
|
|
958
960
|
var getLeft = (self) => isRight(self) ? none : some2(self.left);
|
|
959
961
|
var getRight = (self) => isLeft(self) ? none : some2(self.right);
|
|
960
962
|
|
|
961
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
963
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Order.js
|
|
962
964
|
var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
|
|
963
965
|
|
|
964
|
-
// ../../../node_modules/.pnpm/effect@2.4.
|
|
966
|
+
// ../../../node_modules/.pnpm/effect@2.4.13/node_modules/effect/dist/esm/Option.js
|
|
965
967
|
var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
966
968
|
var none2 = () => none;
|
|
967
969
|
var some3 = some2;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/jsx",
|
|
3
|
-
"version": "1.5.7-beta.
|
|
3
|
+
"version": "1.5.7-beta.4",
|
|
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": {
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
"./package.json"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@typescript-eslint/scope-manager": "7.
|
|
39
|
-
"@typescript-eslint/types": "7.
|
|
40
|
-
"@typescript-eslint/utils": "7.
|
|
38
|
+
"@typescript-eslint/scope-manager": "7.3.1",
|
|
39
|
+
"@typescript-eslint/types": "7.3.1",
|
|
40
|
+
"@typescript-eslint/utils": "7.3.1",
|
|
41
41
|
"micro-memoize": "4.1.2",
|
|
42
|
-
"@eslint-react/ast": "1.5.7-beta.
|
|
43
|
-
"@eslint-react/tools": "1.5.7-beta.
|
|
44
|
-
"@eslint-react/
|
|
45
|
-
"@eslint-react/
|
|
46
|
-
"@eslint-react/var": "1.5.7-beta.
|
|
42
|
+
"@eslint-react/ast": "1.5.7-beta.4",
|
|
43
|
+
"@eslint-react/tools": "1.5.7-beta.4",
|
|
44
|
+
"@eslint-react/types": "1.5.7-beta.4",
|
|
45
|
+
"@eslint-react/shared": "1.5.7-beta.4",
|
|
46
|
+
"@eslint-react/var": "1.5.7-beta.4"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"effect": "2.4.
|
|
49
|
+
"effect": "2.4.13"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "tsup",
|