@eslint-react/jsx 1.5.10-beta.0 → 1.5.10-beta.3
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 +64 -28
- package/dist/index.mjs +64 -28
- 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@3.0.
|
|
20
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Function.js
|
|
21
21
|
var Function_exports = {};
|
|
22
22
|
__export(Function_exports, {
|
|
23
23
|
SK: () => SK,
|
|
@@ -192,14 +192,14 @@ 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.
|
|
195
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/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.
|
|
199
|
-
var moduleVersion = "3.0.
|
|
198
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/internal/version.js
|
|
199
|
+
var moduleVersion = "3.0.6";
|
|
200
200
|
var getCurrentVersion = () => moduleVersion;
|
|
201
201
|
|
|
202
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
202
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/GlobalValue.js
|
|
203
203
|
var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
|
|
204
204
|
if (!(globalStoreId in globalThis)) {
|
|
205
205
|
globalThis[globalStoreId] = /* @__PURE__ */ new Map();
|
|
@@ -212,7 +212,7 @@ var globalValue = (id, compute) => {
|
|
|
212
212
|
return globalStore.get(id);
|
|
213
213
|
};
|
|
214
214
|
|
|
215
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
215
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Predicate.js
|
|
216
216
|
var Predicate_exports = {};
|
|
217
217
|
__export(Predicate_exports, {
|
|
218
218
|
all: () => all,
|
|
@@ -349,8 +349,12 @@ var some = (collection) => (a2) => {
|
|
|
349
349
|
return false;
|
|
350
350
|
};
|
|
351
351
|
|
|
352
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
352
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/internal/errors.js
|
|
353
|
+
var getBugErrorMessage = (message) => `BUG: ${message} - please report an issue at https://github.com/Effect-TS/effect/issues`;
|
|
354
|
+
|
|
355
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Utils.js
|
|
353
356
|
var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
|
|
357
|
+
var isGenKind = (u2) => isObject(u2) && GenKindTypeId in u2;
|
|
354
358
|
var GenKindImpl = class {
|
|
355
359
|
value;
|
|
356
360
|
constructor(value) {
|
|
@@ -431,16 +435,13 @@ var SingleShotGen = class _SingleShotGen {
|
|
|
431
435
|
return new _SingleShotGen(this.self);
|
|
432
436
|
}
|
|
433
437
|
};
|
|
434
|
-
var adapter = () => (
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
for (let i2 = 1; i2 < arguments.length; i2++) {
|
|
439
|
-
x2 = arguments[i2](x2);
|
|
440
|
-
}
|
|
441
|
-
return new GenKindImpl(x2);
|
|
438
|
+
var adapter = () => function() {
|
|
439
|
+
let x2 = arguments[0];
|
|
440
|
+
for (let i2 = 1; i2 < arguments.length; i2++) {
|
|
441
|
+
x2 = arguments[i2](x2);
|
|
442
442
|
}
|
|
443
|
-
);
|
|
443
|
+
return new GenKindImpl(x2);
|
|
444
|
+
};
|
|
444
445
|
var defaultIncHi = 335903614;
|
|
445
446
|
var defaultIncLo = 4150755663;
|
|
446
447
|
var MUL_HI = 1481765933 >>> 0;
|
|
@@ -568,8 +569,30 @@ function add64(out, aHi, aLo, bHi, bLo) {
|
|
|
568
569
|
out[0] = hi;
|
|
569
570
|
out[1] = lo;
|
|
570
571
|
}
|
|
572
|
+
var YieldWrapTypeId = /* @__PURE__ */ Symbol.for("effect/Utils/YieldWrap");
|
|
573
|
+
var YieldWrap = class {
|
|
574
|
+
/**
|
|
575
|
+
* @since 3.0.6
|
|
576
|
+
*/
|
|
577
|
+
#value;
|
|
578
|
+
constructor(value) {
|
|
579
|
+
this.#value = value;
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* @since 3.0.6
|
|
583
|
+
*/
|
|
584
|
+
[YieldWrapTypeId]() {
|
|
585
|
+
return this.#value;
|
|
586
|
+
}
|
|
587
|
+
};
|
|
588
|
+
function yieldWrapGet(self) {
|
|
589
|
+
if (typeof self === "object" && self !== null && YieldWrapTypeId in self) {
|
|
590
|
+
return self[YieldWrapTypeId]();
|
|
591
|
+
}
|
|
592
|
+
throw new Error(getBugErrorMessage("yieldWrapGet"));
|
|
593
|
+
}
|
|
571
594
|
|
|
572
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
595
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Hash.js
|
|
573
596
|
var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
|
|
574
597
|
var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
|
|
575
598
|
var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
|
|
@@ -655,7 +678,7 @@ var cached = function() {
|
|
|
655
678
|
return hash2;
|
|
656
679
|
};
|
|
657
680
|
|
|
658
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
681
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Equal.js
|
|
659
682
|
var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
|
|
660
683
|
function equals() {
|
|
661
684
|
if (arguments.length === 1) {
|
|
@@ -681,7 +704,7 @@ function compareBoth(self, that) {
|
|
|
681
704
|
var isEqual = (u2) => hasProperty(u2, symbol2);
|
|
682
705
|
var equivalence = () => equals;
|
|
683
706
|
|
|
684
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
707
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Inspectable.js
|
|
685
708
|
var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
|
|
686
709
|
var toJSON = (x2) => {
|
|
687
710
|
if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
|
|
@@ -693,7 +716,7 @@ var toJSON = (x2) => {
|
|
|
693
716
|
};
|
|
694
717
|
var format = (x2) => JSON.stringify(x2, null, 2);
|
|
695
718
|
|
|
696
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
719
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Pipeable.js
|
|
697
720
|
var pipeArguments = (self, args) => {
|
|
698
721
|
switch (args.length) {
|
|
699
722
|
case 1:
|
|
@@ -724,7 +747,7 @@ var pipeArguments = (self, args) => {
|
|
|
724
747
|
}
|
|
725
748
|
};
|
|
726
749
|
|
|
727
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
750
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/internal/effectable.js
|
|
728
751
|
var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
|
|
729
752
|
var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
|
|
730
753
|
var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
|
|
@@ -777,12 +800,15 @@ var EffectPrototype = {
|
|
|
777
800
|
[symbol]() {
|
|
778
801
|
return cached(this, random(this));
|
|
779
802
|
},
|
|
803
|
+
[Symbol.iterator]() {
|
|
804
|
+
return new SingleShotGen(new YieldWrap(this));
|
|
805
|
+
},
|
|
780
806
|
pipe() {
|
|
781
807
|
return pipeArguments(this, arguments);
|
|
782
808
|
}
|
|
783
809
|
};
|
|
784
810
|
|
|
785
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
811
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/internal/option.js
|
|
786
812
|
var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
787
813
|
var CommonProto = {
|
|
788
814
|
...EffectPrototype,
|
|
@@ -840,7 +866,7 @@ var some2 = (value) => {
|
|
|
840
866
|
return a2;
|
|
841
867
|
};
|
|
842
868
|
|
|
843
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
869
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/internal/either.js
|
|
844
870
|
var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
|
|
845
871
|
var CommonProto2 = {
|
|
846
872
|
...EffectPrototype,
|
|
@@ -904,7 +930,7 @@ var right = (right2) => {
|
|
|
904
930
|
var getLeft = (self) => isRight(self) ? none : some2(self.left);
|
|
905
931
|
var getRight = (self) => isLeft(self) ? none : some2(self.right);
|
|
906
932
|
|
|
907
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
933
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Option.js
|
|
908
934
|
var Option_exports = {};
|
|
909
935
|
__export(Option_exports, {
|
|
910
936
|
Do: () => Do,
|
|
@@ -966,10 +992,10 @@ __export(Option_exports, {
|
|
|
966
992
|
zipWith: () => zipWith
|
|
967
993
|
});
|
|
968
994
|
|
|
969
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
995
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Order.js
|
|
970
996
|
var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
|
|
971
997
|
|
|
972
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
998
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Option.js
|
|
973
999
|
var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
974
1000
|
var none2 = () => none;
|
|
975
1001
|
var some3 = some2;
|
|
@@ -1116,14 +1142,24 @@ var gen = (f2) => {
|
|
|
1116
1142
|
if (state.done) {
|
|
1117
1143
|
return some3(state.value);
|
|
1118
1144
|
} else {
|
|
1119
|
-
let current = state.value
|
|
1145
|
+
let current = state.value;
|
|
1146
|
+
if (isGenKind(current)) {
|
|
1147
|
+
current = current.value;
|
|
1148
|
+
} else {
|
|
1149
|
+
current = yieldWrapGet(current);
|
|
1150
|
+
}
|
|
1120
1151
|
if (isNone2(current)) {
|
|
1121
1152
|
return current;
|
|
1122
1153
|
}
|
|
1123
1154
|
while (!state.done) {
|
|
1124
1155
|
state = iterator.next(current.value);
|
|
1125
1156
|
if (!state.done) {
|
|
1126
|
-
current = state.value
|
|
1157
|
+
current = state.value;
|
|
1158
|
+
if (isGenKind(current)) {
|
|
1159
|
+
current = current.value;
|
|
1160
|
+
} else {
|
|
1161
|
+
current = yieldWrapGet(current);
|
|
1162
|
+
}
|
|
1127
1163
|
if (isNone2(current)) {
|
|
1128
1164
|
return current;
|
|
1129
1165
|
}
|
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.
|
|
14
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Function.js
|
|
15
15
|
var Function_exports = {};
|
|
16
16
|
__export(Function_exports, {
|
|
17
17
|
SK: () => SK,
|
|
@@ -186,14 +186,14 @@ 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.
|
|
189
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/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.
|
|
193
|
-
var moduleVersion = "3.0.
|
|
192
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/internal/version.js
|
|
193
|
+
var moduleVersion = "3.0.6";
|
|
194
194
|
var getCurrentVersion = () => moduleVersion;
|
|
195
195
|
|
|
196
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
196
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/GlobalValue.js
|
|
197
197
|
var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
|
|
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@3.0.
|
|
209
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Predicate.js
|
|
210
210
|
var Predicate_exports = {};
|
|
211
211
|
__export(Predicate_exports, {
|
|
212
212
|
all: () => all,
|
|
@@ -343,8 +343,12 @@ var some = (collection) => (a2) => {
|
|
|
343
343
|
return false;
|
|
344
344
|
};
|
|
345
345
|
|
|
346
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
346
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/internal/errors.js
|
|
347
|
+
var getBugErrorMessage = (message) => `BUG: ${message} - please report an issue at https://github.com/Effect-TS/effect/issues`;
|
|
348
|
+
|
|
349
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Utils.js
|
|
347
350
|
var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
|
|
351
|
+
var isGenKind = (u2) => isObject(u2) && GenKindTypeId in u2;
|
|
348
352
|
var GenKindImpl = class {
|
|
349
353
|
value;
|
|
350
354
|
constructor(value) {
|
|
@@ -425,16 +429,13 @@ var SingleShotGen = class _SingleShotGen {
|
|
|
425
429
|
return new _SingleShotGen(this.self);
|
|
426
430
|
}
|
|
427
431
|
};
|
|
428
|
-
var adapter = () => (
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
for (let i2 = 1; i2 < arguments.length; i2++) {
|
|
433
|
-
x2 = arguments[i2](x2);
|
|
434
|
-
}
|
|
435
|
-
return new GenKindImpl(x2);
|
|
432
|
+
var adapter = () => function() {
|
|
433
|
+
let x2 = arguments[0];
|
|
434
|
+
for (let i2 = 1; i2 < arguments.length; i2++) {
|
|
435
|
+
x2 = arguments[i2](x2);
|
|
436
436
|
}
|
|
437
|
-
);
|
|
437
|
+
return new GenKindImpl(x2);
|
|
438
|
+
};
|
|
438
439
|
var defaultIncHi = 335903614;
|
|
439
440
|
var defaultIncLo = 4150755663;
|
|
440
441
|
var MUL_HI = 1481765933 >>> 0;
|
|
@@ -562,8 +563,30 @@ function add64(out, aHi, aLo, bHi, bLo) {
|
|
|
562
563
|
out[0] = hi;
|
|
563
564
|
out[1] = lo;
|
|
564
565
|
}
|
|
566
|
+
var YieldWrapTypeId = /* @__PURE__ */ Symbol.for("effect/Utils/YieldWrap");
|
|
567
|
+
var YieldWrap = class {
|
|
568
|
+
/**
|
|
569
|
+
* @since 3.0.6
|
|
570
|
+
*/
|
|
571
|
+
#value;
|
|
572
|
+
constructor(value) {
|
|
573
|
+
this.#value = value;
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* @since 3.0.6
|
|
577
|
+
*/
|
|
578
|
+
[YieldWrapTypeId]() {
|
|
579
|
+
return this.#value;
|
|
580
|
+
}
|
|
581
|
+
};
|
|
582
|
+
function yieldWrapGet(self) {
|
|
583
|
+
if (typeof self === "object" && self !== null && YieldWrapTypeId in self) {
|
|
584
|
+
return self[YieldWrapTypeId]();
|
|
585
|
+
}
|
|
586
|
+
throw new Error(getBugErrorMessage("yieldWrapGet"));
|
|
587
|
+
}
|
|
565
588
|
|
|
566
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
589
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Hash.js
|
|
567
590
|
var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
|
|
568
591
|
var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
|
|
569
592
|
var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
|
|
@@ -649,7 +672,7 @@ var cached = function() {
|
|
|
649
672
|
return hash2;
|
|
650
673
|
};
|
|
651
674
|
|
|
652
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
675
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Equal.js
|
|
653
676
|
var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
|
|
654
677
|
function equals() {
|
|
655
678
|
if (arguments.length === 1) {
|
|
@@ -675,7 +698,7 @@ function compareBoth(self, that) {
|
|
|
675
698
|
var isEqual = (u2) => hasProperty(u2, symbol2);
|
|
676
699
|
var equivalence = () => equals;
|
|
677
700
|
|
|
678
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
701
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Inspectable.js
|
|
679
702
|
var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
|
|
680
703
|
var toJSON = (x2) => {
|
|
681
704
|
if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
|
|
@@ -687,7 +710,7 @@ var toJSON = (x2) => {
|
|
|
687
710
|
};
|
|
688
711
|
var format = (x2) => JSON.stringify(x2, null, 2);
|
|
689
712
|
|
|
690
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
713
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Pipeable.js
|
|
691
714
|
var pipeArguments = (self, args) => {
|
|
692
715
|
switch (args.length) {
|
|
693
716
|
case 1:
|
|
@@ -718,7 +741,7 @@ var pipeArguments = (self, args) => {
|
|
|
718
741
|
}
|
|
719
742
|
};
|
|
720
743
|
|
|
721
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
744
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/internal/effectable.js
|
|
722
745
|
var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
|
|
723
746
|
var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
|
|
724
747
|
var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
|
|
@@ -771,12 +794,15 @@ var EffectPrototype = {
|
|
|
771
794
|
[symbol]() {
|
|
772
795
|
return cached(this, random(this));
|
|
773
796
|
},
|
|
797
|
+
[Symbol.iterator]() {
|
|
798
|
+
return new SingleShotGen(new YieldWrap(this));
|
|
799
|
+
},
|
|
774
800
|
pipe() {
|
|
775
801
|
return pipeArguments(this, arguments);
|
|
776
802
|
}
|
|
777
803
|
};
|
|
778
804
|
|
|
779
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
805
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/internal/option.js
|
|
780
806
|
var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
781
807
|
var CommonProto = {
|
|
782
808
|
...EffectPrototype,
|
|
@@ -834,7 +860,7 @@ var some2 = (value) => {
|
|
|
834
860
|
return a2;
|
|
835
861
|
};
|
|
836
862
|
|
|
837
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
863
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/internal/either.js
|
|
838
864
|
var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
|
|
839
865
|
var CommonProto2 = {
|
|
840
866
|
...EffectPrototype,
|
|
@@ -898,7 +924,7 @@ var right = (right2) => {
|
|
|
898
924
|
var getLeft = (self) => isRight(self) ? none : some2(self.left);
|
|
899
925
|
var getRight = (self) => isLeft(self) ? none : some2(self.right);
|
|
900
926
|
|
|
901
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
927
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Option.js
|
|
902
928
|
var Option_exports = {};
|
|
903
929
|
__export(Option_exports, {
|
|
904
930
|
Do: () => Do,
|
|
@@ -960,10 +986,10 @@ __export(Option_exports, {
|
|
|
960
986
|
zipWith: () => zipWith
|
|
961
987
|
});
|
|
962
988
|
|
|
963
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
989
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Order.js
|
|
964
990
|
var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
|
|
965
991
|
|
|
966
|
-
// ../../../node_modules/.pnpm/effect@3.0.
|
|
992
|
+
// ../../../node_modules/.pnpm/effect@3.0.6/node_modules/effect/dist/esm/Option.js
|
|
967
993
|
var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
968
994
|
var none2 = () => none;
|
|
969
995
|
var some3 = some2;
|
|
@@ -1110,14 +1136,24 @@ var gen = (f2) => {
|
|
|
1110
1136
|
if (state.done) {
|
|
1111
1137
|
return some3(state.value);
|
|
1112
1138
|
} else {
|
|
1113
|
-
let current = state.value
|
|
1139
|
+
let current = state.value;
|
|
1140
|
+
if (isGenKind(current)) {
|
|
1141
|
+
current = current.value;
|
|
1142
|
+
} else {
|
|
1143
|
+
current = yieldWrapGet(current);
|
|
1144
|
+
}
|
|
1114
1145
|
if (isNone2(current)) {
|
|
1115
1146
|
return current;
|
|
1116
1147
|
}
|
|
1117
1148
|
while (!state.done) {
|
|
1118
1149
|
state = iterator.next(current.value);
|
|
1119
1150
|
if (!state.done) {
|
|
1120
|
-
current = state.value
|
|
1151
|
+
current = state.value;
|
|
1152
|
+
if (isGenKind(current)) {
|
|
1153
|
+
current = current.value;
|
|
1154
|
+
} else {
|
|
1155
|
+
current = yieldWrapGet(current);
|
|
1156
|
+
}
|
|
1121
1157
|
if (isNone2(current)) {
|
|
1122
1158
|
return current;
|
|
1123
1159
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/jsx",
|
|
3
|
-
"version": "1.5.10-beta.
|
|
3
|
+
"version": "1.5.10-beta.3",
|
|
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.7.
|
|
39
|
-
"@typescript-eslint/types": "7.7.
|
|
40
|
-
"@typescript-eslint/utils": "7.7.
|
|
38
|
+
"@typescript-eslint/scope-manager": "^7.7.1",
|
|
39
|
+
"@typescript-eslint/types": "^7.7.1",
|
|
40
|
+
"@typescript-eslint/utils": "^7.7.1",
|
|
41
41
|
"micro-memoize": "4.1.2",
|
|
42
|
-
"@eslint-react/
|
|
43
|
-
"@eslint-react/
|
|
44
|
-
"@eslint-react/
|
|
45
|
-
"@eslint-react/
|
|
46
|
-
"@eslint-react/
|
|
42
|
+
"@eslint-react/ast": "1.5.10-beta.3",
|
|
43
|
+
"@eslint-react/shared": "1.5.10-beta.3",
|
|
44
|
+
"@eslint-react/types": "1.5.10-beta.3",
|
|
45
|
+
"@eslint-react/tools": "1.5.10-beta.3",
|
|
46
|
+
"@eslint-react/var": "1.5.10-beta.3"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"effect": "3.0.
|
|
49
|
+
"effect": "3.0.6"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "tsup",
|