@eslint-react/jsx 1.5.12-next.3 → 1.5.12-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 +49 -57
- package/dist/index.mjs +49 -57
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -40,7 +40,7 @@ function isJSXElementOfBuiltinComponent(node) {
|
|
|
40
40
|
return node.openingElement.name.type === ast.NodeType.JSXIdentifier && node.openingElement.name.name.toLowerCase() === node.openingElement.name.name && /^[a-z]/u.test(node.openingElement.name.name);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
43
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Function.js
|
|
44
44
|
var Function_exports = {};
|
|
45
45
|
__export(Function_exports, {
|
|
46
46
|
SK: () => SK,
|
|
@@ -215,7 +215,7 @@ function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
|
|
|
215
215
|
var hole = /* @__PURE__ */ unsafeCoerce(absurd);
|
|
216
216
|
var SK = (_2, b2) => b2;
|
|
217
217
|
|
|
218
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
218
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Array.js
|
|
219
219
|
var Array_exports = {};
|
|
220
220
|
__export(Array_exports, {
|
|
221
221
|
allocate: () => allocate,
|
|
@@ -342,7 +342,7 @@ __export(Array_exports, {
|
|
|
342
342
|
zipWith: () => zipWith2
|
|
343
343
|
});
|
|
344
344
|
|
|
345
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
345
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Equivalence.js
|
|
346
346
|
var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
|
|
347
347
|
var array = (item) => make((self, that) => {
|
|
348
348
|
if (self.length !== that.length) {
|
|
@@ -357,7 +357,7 @@ var array = (item) => make((self, that) => {
|
|
|
357
357
|
return true;
|
|
358
358
|
});
|
|
359
359
|
|
|
360
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
360
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/internal/doNotation.js
|
|
361
361
|
var let_ = (map3) => dual(3, (self, name, f2) => map3(self, (a2) => Object.assign({}, a2, {
|
|
362
362
|
[name]: f2(a2)
|
|
363
363
|
})));
|
|
@@ -368,11 +368,11 @@ var bind = (map3, flatMap3) => dual(3, (self, name, f2) => flatMap3(self, (a2) =
|
|
|
368
368
|
[name]: b2
|
|
369
369
|
}))));
|
|
370
370
|
|
|
371
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
372
|
-
var moduleVersion = "3.1.
|
|
371
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/internal/version.js
|
|
372
|
+
var moduleVersion = "3.1.4";
|
|
373
373
|
var getCurrentVersion = () => moduleVersion;
|
|
374
374
|
|
|
375
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
375
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/GlobalValue.js
|
|
376
376
|
var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
|
|
377
377
|
if (!(globalStoreId in globalThis)) {
|
|
378
378
|
globalThis[globalStoreId] = /* @__PURE__ */ new Map();
|
|
@@ -385,7 +385,7 @@ var globalValue = (id, compute) => {
|
|
|
385
385
|
return globalStore.get(id);
|
|
386
386
|
};
|
|
387
387
|
|
|
388
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
388
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Predicate.js
|
|
389
389
|
var Predicate_exports = {};
|
|
390
390
|
__export(Predicate_exports, {
|
|
391
391
|
all: () => all,
|
|
@@ -522,10 +522,10 @@ var some = (collection) => (a2) => {
|
|
|
522
522
|
return false;
|
|
523
523
|
};
|
|
524
524
|
|
|
525
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
525
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/internal/errors.js
|
|
526
526
|
var getBugErrorMessage = (message) => `BUG: ${message} - please report an issue at https://github.com/Effect-TS/effect/issues`;
|
|
527
527
|
|
|
528
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
528
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Utils.js
|
|
529
529
|
var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
|
|
530
530
|
var isGenKind = (u2) => isObject(u2) && GenKindTypeId in u2;
|
|
531
531
|
var GenKindImpl = class {
|
|
@@ -769,11 +769,14 @@ var structuralRegionState = /* @__PURE__ */ globalValue("effect/Utils/isStructur
|
|
|
769
769
|
tester: void 0
|
|
770
770
|
}));
|
|
771
771
|
|
|
772
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
772
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Hash.js
|
|
773
773
|
var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
|
|
774
774
|
var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
|
|
775
775
|
var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
|
|
776
776
|
var hash = (self) => {
|
|
777
|
+
if (structuralRegionState.enabled === true) {
|
|
778
|
+
return 0;
|
|
779
|
+
}
|
|
777
780
|
switch (typeof self) {
|
|
778
781
|
case "number":
|
|
779
782
|
return number(self);
|
|
@@ -803,9 +806,6 @@ var hash = (self) => {
|
|
|
803
806
|
}
|
|
804
807
|
};
|
|
805
808
|
var random = (self) => {
|
|
806
|
-
if (structuralRegionState.enabled === true) {
|
|
807
|
-
return 0;
|
|
808
|
-
}
|
|
809
809
|
if (!randomHashCache.has(self)) {
|
|
810
810
|
randomHashCache.set(self, number(pcgr.integer(Number.MAX_SAFE_INTEGER)));
|
|
811
811
|
}
|
|
@@ -838,39 +838,27 @@ var cached = function() {
|
|
|
838
838
|
if (arguments.length === 1) {
|
|
839
839
|
const self2 = arguments[0];
|
|
840
840
|
return function(hash3) {
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
}
|
|
848
|
-
return hash3;
|
|
849
|
-
},
|
|
850
|
-
enumerable: false
|
|
851
|
-
});
|
|
852
|
-
}
|
|
841
|
+
Object.defineProperty(self2, symbol, {
|
|
842
|
+
value() {
|
|
843
|
+
return hash3;
|
|
844
|
+
},
|
|
845
|
+
enumerable: false
|
|
846
|
+
});
|
|
853
847
|
return hash3;
|
|
854
848
|
};
|
|
855
849
|
}
|
|
856
850
|
const self = arguments[0];
|
|
857
851
|
const hash2 = arguments[1];
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
}
|
|
865
|
-
return hash2;
|
|
866
|
-
},
|
|
867
|
-
enumerable: false
|
|
868
|
-
});
|
|
869
|
-
}
|
|
852
|
+
Object.defineProperty(self, symbol, {
|
|
853
|
+
value() {
|
|
854
|
+
return hash2;
|
|
855
|
+
},
|
|
856
|
+
enumerable: false
|
|
857
|
+
});
|
|
870
858
|
return hash2;
|
|
871
859
|
};
|
|
872
860
|
|
|
873
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
861
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Equal.js
|
|
874
862
|
var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
|
|
875
863
|
function equals() {
|
|
876
864
|
if (arguments.length === 1) {
|
|
@@ -889,7 +877,11 @@ function compareBoth(self, that) {
|
|
|
889
877
|
if (selfType === "object" || selfType === "function") {
|
|
890
878
|
if (self !== null && that !== null) {
|
|
891
879
|
if (isEqual(self) && isEqual(that)) {
|
|
892
|
-
|
|
880
|
+
if (hash(self) === hash(that) && self[symbol2](that)) {
|
|
881
|
+
return true;
|
|
882
|
+
} else {
|
|
883
|
+
return structuralRegionState.enabled && structuralRegionState.tester ? structuralRegionState.tester(self, that) : false;
|
|
884
|
+
}
|
|
893
885
|
}
|
|
894
886
|
}
|
|
895
887
|
if (structuralRegionState.enabled) {
|
|
@@ -916,7 +908,7 @@ function compareBoth(self, that) {
|
|
|
916
908
|
var isEqual = (u2) => hasProperty(u2, symbol2);
|
|
917
909
|
var equivalence = () => equals;
|
|
918
910
|
|
|
919
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
911
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Inspectable.js
|
|
920
912
|
var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
|
|
921
913
|
var toJSON = (x2) => {
|
|
922
914
|
if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
|
|
@@ -928,7 +920,7 @@ var toJSON = (x2) => {
|
|
|
928
920
|
};
|
|
929
921
|
var format = (x2) => JSON.stringify(x2, null, 2);
|
|
930
922
|
|
|
931
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
923
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Pipeable.js
|
|
932
924
|
var pipeArguments = (self, args) => {
|
|
933
925
|
switch (args.length) {
|
|
934
926
|
case 1:
|
|
@@ -959,7 +951,7 @@ var pipeArguments = (self, args) => {
|
|
|
959
951
|
}
|
|
960
952
|
};
|
|
961
953
|
|
|
962
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
954
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/internal/effectable.js
|
|
963
955
|
var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
|
|
964
956
|
var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
|
|
965
957
|
var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
|
|
@@ -1020,7 +1012,7 @@ var EffectPrototype = {
|
|
|
1020
1012
|
}
|
|
1021
1013
|
};
|
|
1022
1014
|
|
|
1023
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1015
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/internal/option.js
|
|
1024
1016
|
var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
1025
1017
|
var CommonProto = {
|
|
1026
1018
|
...EffectPrototype,
|
|
@@ -1038,7 +1030,7 @@ var SomeProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(Comm
|
|
|
1038
1030
|
_tag: "Some",
|
|
1039
1031
|
_op: "Some",
|
|
1040
1032
|
[symbol2](that) {
|
|
1041
|
-
return isOption(that) && isSome(that) && equals(
|
|
1033
|
+
return isOption(that) && isSome(that) && equals(this.value, that.value);
|
|
1042
1034
|
},
|
|
1043
1035
|
[symbol]() {
|
|
1044
1036
|
return cached(this, combine(hash(this._tag))(hash(this.value)));
|
|
@@ -1078,7 +1070,7 @@ var some2 = (value) => {
|
|
|
1078
1070
|
return a2;
|
|
1079
1071
|
};
|
|
1080
1072
|
|
|
1081
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1073
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/internal/either.js
|
|
1082
1074
|
var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
|
|
1083
1075
|
var CommonProto2 = {
|
|
1084
1076
|
...EffectPrototype,
|
|
@@ -1096,7 +1088,7 @@ var RightProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(Com
|
|
|
1096
1088
|
_tag: "Right",
|
|
1097
1089
|
_op: "Right",
|
|
1098
1090
|
[symbol2](that) {
|
|
1099
|
-
return isEither(that) && isRight(that) && equals(
|
|
1091
|
+
return isEither(that) && isRight(that) && equals(this.right, that.right);
|
|
1100
1092
|
},
|
|
1101
1093
|
[symbol]() {
|
|
1102
1094
|
return combine(hash(this._tag))(hash(this.right));
|
|
@@ -1113,7 +1105,7 @@ var LeftProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(Comm
|
|
|
1113
1105
|
_tag: "Left",
|
|
1114
1106
|
_op: "Left",
|
|
1115
1107
|
[symbol2](that) {
|
|
1116
|
-
return isEither(that) && isLeft(that) && equals(
|
|
1108
|
+
return isEither(that) && isLeft(that) && equals(this.left, that.left);
|
|
1117
1109
|
},
|
|
1118
1110
|
[symbol]() {
|
|
1119
1111
|
return combine(hash(this._tag))(hash(this.left));
|
|
@@ -1142,14 +1134,14 @@ var right = (right2) => {
|
|
|
1142
1134
|
var getLeft = (self) => isRight(self) ? none : some2(self.left);
|
|
1143
1135
|
var getRight = (self) => isLeft(self) ? none : some2(self.right);
|
|
1144
1136
|
|
|
1145
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1137
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Either.js
|
|
1146
1138
|
var isLeft2 = isLeft;
|
|
1147
1139
|
var isRight2 = isRight;
|
|
1148
1140
|
|
|
1149
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1141
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/internal/array.js
|
|
1150
1142
|
var isNonEmptyArray = (self) => self.length > 0;
|
|
1151
1143
|
|
|
1152
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1144
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Option.js
|
|
1153
1145
|
var Option_exports = {};
|
|
1154
1146
|
__export(Option_exports, {
|
|
1155
1147
|
Do: () => Do,
|
|
@@ -1211,7 +1203,7 @@ __export(Option_exports, {
|
|
|
1211
1203
|
zipWith: () => zipWith
|
|
1212
1204
|
});
|
|
1213
1205
|
|
|
1214
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1206
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Order.js
|
|
1215
1207
|
var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
|
|
1216
1208
|
var number2 = /* @__PURE__ */ make2((self, that) => self < that ? -1 : 1);
|
|
1217
1209
|
var combineMany = /* @__PURE__ */ dual(2, (self, collection) => make2((a1, a2) => {
|
|
@@ -1245,7 +1237,7 @@ var array2 = (O2) => make2((self, that) => {
|
|
|
1245
1237
|
var min = (O2) => dual(2, (self, that) => self === that || O2(self, that) < 1 ? self : that);
|
|
1246
1238
|
var max = (O2) => dual(2, (self, that) => self === that || O2(self, that) > -1 ? self : that);
|
|
1247
1239
|
|
|
1248
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1240
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Option.js
|
|
1249
1241
|
var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
1250
1242
|
var none2 = () => none;
|
|
1251
1243
|
var some3 = some2;
|
|
@@ -1413,10 +1405,10 @@ var gen = (f2) => {
|
|
|
1413
1405
|
}
|
|
1414
1406
|
};
|
|
1415
1407
|
|
|
1416
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1408
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Tuple.js
|
|
1417
1409
|
var make3 = (...elements) => elements;
|
|
1418
1410
|
|
|
1419
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1411
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Iterable.js
|
|
1420
1412
|
var findFirst = /* @__PURE__ */ dual(2, (self, f2) => {
|
|
1421
1413
|
let i2 = 0;
|
|
1422
1414
|
for (const a2 of self) {
|
|
@@ -1435,7 +1427,7 @@ var findFirst = /* @__PURE__ */ dual(2, (self, f2) => {
|
|
|
1435
1427
|
return none2();
|
|
1436
1428
|
});
|
|
1437
1429
|
|
|
1438
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1430
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Record.js
|
|
1439
1431
|
var collect = /* @__PURE__ */ dual(2, (self, f2) => {
|
|
1440
1432
|
const out = [];
|
|
1441
1433
|
for (const key of keys(self)) {
|
|
@@ -1446,7 +1438,7 @@ var collect = /* @__PURE__ */ dual(2, (self, f2) => {
|
|
|
1446
1438
|
var toEntries = /* @__PURE__ */ collect((key, value) => [key, value]);
|
|
1447
1439
|
var keys = (self) => Object.keys(self);
|
|
1448
1440
|
|
|
1449
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1441
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Array.js
|
|
1450
1442
|
var make4 = (...elements) => elements;
|
|
1451
1443
|
var allocate = (n2) => new Array(n2);
|
|
1452
1444
|
var makeBy = (n2, f2) => {
|
package/dist/index.mjs
CHANGED
|
@@ -38,7 +38,7 @@ function isJSXElementOfBuiltinComponent(node) {
|
|
|
38
38
|
return node.openingElement.name.type === NodeType.JSXIdentifier && node.openingElement.name.name.toLowerCase() === node.openingElement.name.name && /^[a-z]/u.test(node.openingElement.name.name);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
41
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Function.js
|
|
42
42
|
var Function_exports = {};
|
|
43
43
|
__export(Function_exports, {
|
|
44
44
|
SK: () => SK,
|
|
@@ -213,7 +213,7 @@ function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
|
|
|
213
213
|
var hole = /* @__PURE__ */ unsafeCoerce(absurd);
|
|
214
214
|
var SK = (_2, b2) => b2;
|
|
215
215
|
|
|
216
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
216
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Array.js
|
|
217
217
|
var Array_exports = {};
|
|
218
218
|
__export(Array_exports, {
|
|
219
219
|
allocate: () => allocate,
|
|
@@ -340,7 +340,7 @@ __export(Array_exports, {
|
|
|
340
340
|
zipWith: () => zipWith2
|
|
341
341
|
});
|
|
342
342
|
|
|
343
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
343
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Equivalence.js
|
|
344
344
|
var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
|
|
345
345
|
var array = (item) => make((self, that) => {
|
|
346
346
|
if (self.length !== that.length) {
|
|
@@ -355,7 +355,7 @@ var array = (item) => make((self, that) => {
|
|
|
355
355
|
return true;
|
|
356
356
|
});
|
|
357
357
|
|
|
358
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
358
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/internal/doNotation.js
|
|
359
359
|
var let_ = (map3) => dual(3, (self, name, f2) => map3(self, (a2) => Object.assign({}, a2, {
|
|
360
360
|
[name]: f2(a2)
|
|
361
361
|
})));
|
|
@@ -366,11 +366,11 @@ var bind = (map3, flatMap3) => dual(3, (self, name, f2) => flatMap3(self, (a2) =
|
|
|
366
366
|
[name]: b2
|
|
367
367
|
}))));
|
|
368
368
|
|
|
369
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
370
|
-
var moduleVersion = "3.1.
|
|
369
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/internal/version.js
|
|
370
|
+
var moduleVersion = "3.1.4";
|
|
371
371
|
var getCurrentVersion = () => moduleVersion;
|
|
372
372
|
|
|
373
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
373
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/GlobalValue.js
|
|
374
374
|
var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
|
|
375
375
|
if (!(globalStoreId in globalThis)) {
|
|
376
376
|
globalThis[globalStoreId] = /* @__PURE__ */ new Map();
|
|
@@ -383,7 +383,7 @@ var globalValue = (id, compute) => {
|
|
|
383
383
|
return globalStore.get(id);
|
|
384
384
|
};
|
|
385
385
|
|
|
386
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
386
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Predicate.js
|
|
387
387
|
var Predicate_exports = {};
|
|
388
388
|
__export(Predicate_exports, {
|
|
389
389
|
all: () => all,
|
|
@@ -520,10 +520,10 @@ var some = (collection) => (a2) => {
|
|
|
520
520
|
return false;
|
|
521
521
|
};
|
|
522
522
|
|
|
523
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
523
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/internal/errors.js
|
|
524
524
|
var getBugErrorMessage = (message) => `BUG: ${message} - please report an issue at https://github.com/Effect-TS/effect/issues`;
|
|
525
525
|
|
|
526
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
526
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Utils.js
|
|
527
527
|
var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
|
|
528
528
|
var isGenKind = (u2) => isObject(u2) && GenKindTypeId in u2;
|
|
529
529
|
var GenKindImpl = class {
|
|
@@ -767,11 +767,14 @@ var structuralRegionState = /* @__PURE__ */ globalValue("effect/Utils/isStructur
|
|
|
767
767
|
tester: void 0
|
|
768
768
|
}));
|
|
769
769
|
|
|
770
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
770
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Hash.js
|
|
771
771
|
var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
|
|
772
772
|
var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
|
|
773
773
|
var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
|
|
774
774
|
var hash = (self) => {
|
|
775
|
+
if (structuralRegionState.enabled === true) {
|
|
776
|
+
return 0;
|
|
777
|
+
}
|
|
775
778
|
switch (typeof self) {
|
|
776
779
|
case "number":
|
|
777
780
|
return number(self);
|
|
@@ -801,9 +804,6 @@ var hash = (self) => {
|
|
|
801
804
|
}
|
|
802
805
|
};
|
|
803
806
|
var random = (self) => {
|
|
804
|
-
if (structuralRegionState.enabled === true) {
|
|
805
|
-
return 0;
|
|
806
|
-
}
|
|
807
807
|
if (!randomHashCache.has(self)) {
|
|
808
808
|
randomHashCache.set(self, number(pcgr.integer(Number.MAX_SAFE_INTEGER)));
|
|
809
809
|
}
|
|
@@ -836,39 +836,27 @@ var cached = function() {
|
|
|
836
836
|
if (arguments.length === 1) {
|
|
837
837
|
const self2 = arguments[0];
|
|
838
838
|
return function(hash3) {
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
}
|
|
846
|
-
return hash3;
|
|
847
|
-
},
|
|
848
|
-
enumerable: false
|
|
849
|
-
});
|
|
850
|
-
}
|
|
839
|
+
Object.defineProperty(self2, symbol, {
|
|
840
|
+
value() {
|
|
841
|
+
return hash3;
|
|
842
|
+
},
|
|
843
|
+
enumerable: false
|
|
844
|
+
});
|
|
851
845
|
return hash3;
|
|
852
846
|
};
|
|
853
847
|
}
|
|
854
848
|
const self = arguments[0];
|
|
855
849
|
const hash2 = arguments[1];
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
}
|
|
863
|
-
return hash2;
|
|
864
|
-
},
|
|
865
|
-
enumerable: false
|
|
866
|
-
});
|
|
867
|
-
}
|
|
850
|
+
Object.defineProperty(self, symbol, {
|
|
851
|
+
value() {
|
|
852
|
+
return hash2;
|
|
853
|
+
},
|
|
854
|
+
enumerable: false
|
|
855
|
+
});
|
|
868
856
|
return hash2;
|
|
869
857
|
};
|
|
870
858
|
|
|
871
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
859
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Equal.js
|
|
872
860
|
var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
|
|
873
861
|
function equals() {
|
|
874
862
|
if (arguments.length === 1) {
|
|
@@ -887,7 +875,11 @@ function compareBoth(self, that) {
|
|
|
887
875
|
if (selfType === "object" || selfType === "function") {
|
|
888
876
|
if (self !== null && that !== null) {
|
|
889
877
|
if (isEqual(self) && isEqual(that)) {
|
|
890
|
-
|
|
878
|
+
if (hash(self) === hash(that) && self[symbol2](that)) {
|
|
879
|
+
return true;
|
|
880
|
+
} else {
|
|
881
|
+
return structuralRegionState.enabled && structuralRegionState.tester ? structuralRegionState.tester(self, that) : false;
|
|
882
|
+
}
|
|
891
883
|
}
|
|
892
884
|
}
|
|
893
885
|
if (structuralRegionState.enabled) {
|
|
@@ -914,7 +906,7 @@ function compareBoth(self, that) {
|
|
|
914
906
|
var isEqual = (u2) => hasProperty(u2, symbol2);
|
|
915
907
|
var equivalence = () => equals;
|
|
916
908
|
|
|
917
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
909
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Inspectable.js
|
|
918
910
|
var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
|
|
919
911
|
var toJSON = (x2) => {
|
|
920
912
|
if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
|
|
@@ -926,7 +918,7 @@ var toJSON = (x2) => {
|
|
|
926
918
|
};
|
|
927
919
|
var format = (x2) => JSON.stringify(x2, null, 2);
|
|
928
920
|
|
|
929
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
921
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Pipeable.js
|
|
930
922
|
var pipeArguments = (self, args) => {
|
|
931
923
|
switch (args.length) {
|
|
932
924
|
case 1:
|
|
@@ -957,7 +949,7 @@ var pipeArguments = (self, args) => {
|
|
|
957
949
|
}
|
|
958
950
|
};
|
|
959
951
|
|
|
960
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
952
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/internal/effectable.js
|
|
961
953
|
var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
|
|
962
954
|
var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
|
|
963
955
|
var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
|
|
@@ -1018,7 +1010,7 @@ var EffectPrototype = {
|
|
|
1018
1010
|
}
|
|
1019
1011
|
};
|
|
1020
1012
|
|
|
1021
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1013
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/internal/option.js
|
|
1022
1014
|
var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
1023
1015
|
var CommonProto = {
|
|
1024
1016
|
...EffectPrototype,
|
|
@@ -1036,7 +1028,7 @@ var SomeProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(Comm
|
|
|
1036
1028
|
_tag: "Some",
|
|
1037
1029
|
_op: "Some",
|
|
1038
1030
|
[symbol2](that) {
|
|
1039
|
-
return isOption(that) && isSome(that) && equals(
|
|
1031
|
+
return isOption(that) && isSome(that) && equals(this.value, that.value);
|
|
1040
1032
|
},
|
|
1041
1033
|
[symbol]() {
|
|
1042
1034
|
return cached(this, combine(hash(this._tag))(hash(this.value)));
|
|
@@ -1076,7 +1068,7 @@ var some2 = (value) => {
|
|
|
1076
1068
|
return a2;
|
|
1077
1069
|
};
|
|
1078
1070
|
|
|
1079
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1071
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/internal/either.js
|
|
1080
1072
|
var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
|
|
1081
1073
|
var CommonProto2 = {
|
|
1082
1074
|
...EffectPrototype,
|
|
@@ -1094,7 +1086,7 @@ var RightProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(Com
|
|
|
1094
1086
|
_tag: "Right",
|
|
1095
1087
|
_op: "Right",
|
|
1096
1088
|
[symbol2](that) {
|
|
1097
|
-
return isEither(that) && isRight(that) && equals(
|
|
1089
|
+
return isEither(that) && isRight(that) && equals(this.right, that.right);
|
|
1098
1090
|
},
|
|
1099
1091
|
[symbol]() {
|
|
1100
1092
|
return combine(hash(this._tag))(hash(this.right));
|
|
@@ -1111,7 +1103,7 @@ var LeftProto = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(Comm
|
|
|
1111
1103
|
_tag: "Left",
|
|
1112
1104
|
_op: "Left",
|
|
1113
1105
|
[symbol2](that) {
|
|
1114
|
-
return isEither(that) && isLeft(that) && equals(
|
|
1106
|
+
return isEither(that) && isLeft(that) && equals(this.left, that.left);
|
|
1115
1107
|
},
|
|
1116
1108
|
[symbol]() {
|
|
1117
1109
|
return combine(hash(this._tag))(hash(this.left));
|
|
@@ -1140,14 +1132,14 @@ var right = (right2) => {
|
|
|
1140
1132
|
var getLeft = (self) => isRight(self) ? none : some2(self.left);
|
|
1141
1133
|
var getRight = (self) => isLeft(self) ? none : some2(self.right);
|
|
1142
1134
|
|
|
1143
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1135
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Either.js
|
|
1144
1136
|
var isLeft2 = isLeft;
|
|
1145
1137
|
var isRight2 = isRight;
|
|
1146
1138
|
|
|
1147
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1139
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/internal/array.js
|
|
1148
1140
|
var isNonEmptyArray = (self) => self.length > 0;
|
|
1149
1141
|
|
|
1150
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1142
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Option.js
|
|
1151
1143
|
var Option_exports = {};
|
|
1152
1144
|
__export(Option_exports, {
|
|
1153
1145
|
Do: () => Do,
|
|
@@ -1209,7 +1201,7 @@ __export(Option_exports, {
|
|
|
1209
1201
|
zipWith: () => zipWith
|
|
1210
1202
|
});
|
|
1211
1203
|
|
|
1212
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1204
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Order.js
|
|
1213
1205
|
var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
|
|
1214
1206
|
var number2 = /* @__PURE__ */ make2((self, that) => self < that ? -1 : 1);
|
|
1215
1207
|
var combineMany = /* @__PURE__ */ dual(2, (self, collection) => make2((a1, a2) => {
|
|
@@ -1243,7 +1235,7 @@ var array2 = (O2) => make2((self, that) => {
|
|
|
1243
1235
|
var min = (O2) => dual(2, (self, that) => self === that || O2(self, that) < 1 ? self : that);
|
|
1244
1236
|
var max = (O2) => dual(2, (self, that) => self === that || O2(self, that) > -1 ? self : that);
|
|
1245
1237
|
|
|
1246
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1238
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Option.js
|
|
1247
1239
|
var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
1248
1240
|
var none2 = () => none;
|
|
1249
1241
|
var some3 = some2;
|
|
@@ -1411,10 +1403,10 @@ var gen = (f2) => {
|
|
|
1411
1403
|
}
|
|
1412
1404
|
};
|
|
1413
1405
|
|
|
1414
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1406
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Tuple.js
|
|
1415
1407
|
var make3 = (...elements) => elements;
|
|
1416
1408
|
|
|
1417
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1409
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Iterable.js
|
|
1418
1410
|
var findFirst = /* @__PURE__ */ dual(2, (self, f2) => {
|
|
1419
1411
|
let i2 = 0;
|
|
1420
1412
|
for (const a2 of self) {
|
|
@@ -1433,7 +1425,7 @@ var findFirst = /* @__PURE__ */ dual(2, (self, f2) => {
|
|
|
1433
1425
|
return none2();
|
|
1434
1426
|
});
|
|
1435
1427
|
|
|
1436
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1428
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Record.js
|
|
1437
1429
|
var collect = /* @__PURE__ */ dual(2, (self, f2) => {
|
|
1438
1430
|
const out = [];
|
|
1439
1431
|
for (const key of keys(self)) {
|
|
@@ -1444,7 +1436,7 @@ var collect = /* @__PURE__ */ dual(2, (self, f2) => {
|
|
|
1444
1436
|
var toEntries = /* @__PURE__ */ collect((key, value) => [key, value]);
|
|
1445
1437
|
var keys = (self) => Object.keys(self);
|
|
1446
1438
|
|
|
1447
|
-
// ../../../node_modules/.pnpm/effect@3.1.
|
|
1439
|
+
// ../../../node_modules/.pnpm/effect@3.1.4/node_modules/effect/dist/esm/Array.js
|
|
1448
1440
|
var make4 = (...elements) => elements;
|
|
1449
1441
|
var allocate = (n2) => new Array(n2);
|
|
1450
1442
|
var makeBy = (n2, f2) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/jsx",
|
|
3
|
-
"version": "1.5.12-next.
|
|
3
|
+
"version": "1.5.12-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.12-next.
|
|
43
|
-
"@eslint-react/shared": "1.5.12-next.
|
|
44
|
-
"@eslint-react/
|
|
45
|
-
"@eslint-react/
|
|
46
|
-
"@eslint-react/var": "1.5.12-next.
|
|
42
|
+
"@eslint-react/ast": "1.5.12-next.5",
|
|
43
|
+
"@eslint-react/shared": "1.5.12-next.5",
|
|
44
|
+
"@eslint-react/types": "1.5.12-next.5",
|
|
45
|
+
"@eslint-react/tools": "1.5.12-next.5",
|
|
46
|
+
"@eslint-react/var": "1.5.12-next.5"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"effect": "3.1.
|
|
49
|
+
"effect": "3.1.4"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "tsup",
|