@eslint-react/jsx 1.5.4-next.4 → 1.5.4-next.6
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 +48 -41
- package/dist/index.mjs +48 -41
- package/package.json +7 -7
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.
|
|
20
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Function.js
|
|
21
21
|
var Function_exports = {};
|
|
22
22
|
__export(Function_exports, {
|
|
23
23
|
SK: () => SK,
|
|
@@ -37,6 +37,7 @@ __export(Function_exports, {
|
|
|
37
37
|
identity: () => identity,
|
|
38
38
|
isFunction: () => isFunction,
|
|
39
39
|
pipe: () => pipe,
|
|
40
|
+
satisfies: () => satisfies,
|
|
40
41
|
tupled: () => tupled,
|
|
41
42
|
unsafeCoerce: () => unsafeCoerce,
|
|
42
43
|
untupled: () => untupled
|
|
@@ -105,6 +106,7 @@ var dual = function(arity, body) {
|
|
|
105
106
|
};
|
|
106
107
|
var apply = (a2) => (self) => self(a2);
|
|
107
108
|
var identity = (a2) => a2;
|
|
109
|
+
var satisfies = () => (b2) => b2;
|
|
108
110
|
var unsafeCoerce = identity;
|
|
109
111
|
var constant = (value) => () => value;
|
|
110
112
|
var constTrue = /* @__PURE__ */ constant(true);
|
|
@@ -190,10 +192,10 @@ function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
|
|
|
190
192
|
var hole = /* @__PURE__ */ unsafeCoerce(absurd);
|
|
191
193
|
var SK = (_2, b2) => b2;
|
|
192
194
|
|
|
193
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
194
|
-
var moduleVersion = "2.3.
|
|
195
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/internal/version.js
|
|
196
|
+
var moduleVersion = "2.3.6";
|
|
195
197
|
|
|
196
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
198
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/GlobalValue.js
|
|
197
199
|
var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${moduleVersion}`);
|
|
198
200
|
if (!(globalStoreId in globalThis)) {
|
|
199
201
|
globalThis[globalStoreId] = /* @__PURE__ */ new Map();
|
|
@@ -206,7 +208,7 @@ var globalValue = (id, compute) => {
|
|
|
206
208
|
return globalStore.get(id);
|
|
207
209
|
};
|
|
208
210
|
|
|
209
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
211
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Predicate.js
|
|
210
212
|
var Predicate_exports = {};
|
|
211
213
|
__export(Predicate_exports, {
|
|
212
214
|
all: () => all,
|
|
@@ -335,7 +337,7 @@ var some = (collection) => (a2) => {
|
|
|
335
337
|
return false;
|
|
336
338
|
};
|
|
337
339
|
|
|
338
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
340
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Utils.js
|
|
339
341
|
var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
|
|
340
342
|
var GenKindImpl = class {
|
|
341
343
|
value;
|
|
@@ -555,7 +557,7 @@ function add64(out, aHi, aLo, bHi, bLo) {
|
|
|
555
557
|
out[1] = lo;
|
|
556
558
|
}
|
|
557
559
|
|
|
558
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
560
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Hash.js
|
|
559
561
|
var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
|
|
560
562
|
var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
|
|
561
563
|
var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
|
|
@@ -618,7 +620,7 @@ var string = (str) => {
|
|
|
618
620
|
return optimize(h2);
|
|
619
621
|
};
|
|
620
622
|
|
|
621
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
623
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Equal.js
|
|
622
624
|
var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
|
|
623
625
|
function equals() {
|
|
624
626
|
if (arguments.length === 1) {
|
|
@@ -644,10 +646,10 @@ function compareBoth(self, that) {
|
|
|
644
646
|
var isEqual = (u2) => hasProperty(u2, symbol2);
|
|
645
647
|
var equivalence = () => (self, that) => equals(self, that);
|
|
646
648
|
|
|
647
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
649
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Equivalence.js
|
|
648
650
|
var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
|
|
649
651
|
|
|
650
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
652
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Inspectable.js
|
|
651
653
|
var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
|
|
652
654
|
var toJSON = (x2) => {
|
|
653
655
|
if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
|
|
@@ -659,7 +661,7 @@ var toJSON = (x2) => {
|
|
|
659
661
|
};
|
|
660
662
|
var format = (x2) => JSON.stringify(x2, null, 2);
|
|
661
663
|
|
|
662
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
664
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Option.js
|
|
663
665
|
var Option_exports = {};
|
|
664
666
|
__export(Option_exports, {
|
|
665
667
|
Do: () => Do,
|
|
@@ -721,7 +723,7 @@ __export(Option_exports, {
|
|
|
721
723
|
zipWith: () => zipWith
|
|
722
724
|
});
|
|
723
725
|
|
|
724
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
726
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Pipeable.js
|
|
725
727
|
var pipeArguments = (self, args) => {
|
|
726
728
|
switch (args.length) {
|
|
727
729
|
case 1:
|
|
@@ -752,7 +754,7 @@ var pipeArguments = (self, args) => {
|
|
|
752
754
|
}
|
|
753
755
|
};
|
|
754
756
|
|
|
755
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
757
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/internal/effectable.js
|
|
756
758
|
var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
|
|
757
759
|
var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
|
|
758
760
|
var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
|
|
@@ -810,7 +812,7 @@ var EffectPrototype = {
|
|
|
810
812
|
}
|
|
811
813
|
};
|
|
812
814
|
|
|
813
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
815
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/internal/option.js
|
|
814
816
|
var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
815
817
|
var CommonProto = {
|
|
816
818
|
...EffectPrototype,
|
|
@@ -867,7 +869,7 @@ var some2 = (value) => {
|
|
|
867
869
|
return a2;
|
|
868
870
|
};
|
|
869
871
|
|
|
870
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
872
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/internal/either.js
|
|
871
873
|
var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
|
|
872
874
|
var CommonProto2 = {
|
|
873
875
|
...EffectPrototype,
|
|
@@ -931,10 +933,10 @@ var right = (right2) => {
|
|
|
931
933
|
var getLeft = (self) => isRight(self) ? none : some2(self.left);
|
|
932
934
|
var getRight = (self) => isLeft(self) ? none : some2(self.right);
|
|
933
935
|
|
|
934
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
936
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Order.js
|
|
935
937
|
var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
|
|
936
938
|
|
|
937
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
939
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Option.js
|
|
938
940
|
var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
939
941
|
var none2 = () => none;
|
|
940
942
|
var some3 = some2;
|
|
@@ -1124,7 +1126,7 @@ var getPragmaFromContext = memo__default.default(
|
|
|
1124
1126
|
}
|
|
1125
1127
|
);
|
|
1126
1128
|
|
|
1127
|
-
// ../../../node_modules/.pnpm/ts-pattern@5.0.
|
|
1129
|
+
// ../../../node_modules/.pnpm/ts-pattern@5.0.8/node_modules/ts-pattern/dist/index.js
|
|
1128
1130
|
var t = Symbol.for("@ts-pattern/matcher");
|
|
1129
1131
|
var e = Symbol.for("@ts-pattern/isVariadic");
|
|
1130
1132
|
var n = "@ts-pattern/anonymous-select-key";
|
|
@@ -1183,11 +1185,16 @@ function a(...t2) {
|
|
|
1183
1185
|
throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t2.length}.`);
|
|
1184
1186
|
}
|
|
1185
1187
|
function u(t2) {
|
|
1186
|
-
return Object.assign(t2, { optional: () => l(t2), and: (e2) => m(t2, e2), or: (e2) =>
|
|
1188
|
+
return Object.assign(t2, { optional: () => l(t2), and: (e2) => m(t2, e2), or: (e2) => d(t2, e2), select: (e2) => void 0 === e2 ? p(t2) : p(e2, t2) });
|
|
1187
1189
|
}
|
|
1188
1190
|
function h(t2) {
|
|
1189
|
-
return Object.assign(((t3) => Object.assign(t3, {
|
|
1190
|
-
|
|
1191
|
+
return Object.assign(((t3) => Object.assign(t3, { [Symbol.iterator]() {
|
|
1192
|
+
let n2 = 0;
|
|
1193
|
+
const r2 = [{ value: Object.assign(t3, { [e]: true }), done: false }, { done: true, value: void 0 }];
|
|
1194
|
+
return { next: () => {
|
|
1195
|
+
var t4;
|
|
1196
|
+
return null != (t4 = r2[n2++]) ? t4 : r2.at(-1);
|
|
1197
|
+
} };
|
|
1191
1198
|
} }))(t2), { optional: () => h(l(t2)), select: (e2) => h(void 0 === e2 ? p(t2) : p(e2, t2)) });
|
|
1192
1199
|
}
|
|
1193
1200
|
function l(e2) {
|
|
@@ -1220,7 +1227,7 @@ function m(...e2) {
|
|
|
1220
1227
|
return { matched: e2.every((e3) => s(e3, t2, r2)), selections: n2 };
|
|
1221
1228
|
}, getSelectionKeys: () => c(e2, o), matcherType: "and" }) });
|
|
1222
1229
|
}
|
|
1223
|
-
function
|
|
1230
|
+
function d(...e2) {
|
|
1224
1231
|
return u({ [t]: () => ({ match: (t2) => {
|
|
1225
1232
|
let n2 = {};
|
|
1226
1233
|
const r2 = (t3, e3) => {
|
|
@@ -1229,7 +1236,7 @@ function y(...e2) {
|
|
|
1229
1236
|
return c(e2, o).forEach((t3) => r2(t3, void 0)), { matched: e2.some((e3) => s(e3, t2, r2)), selections: n2 };
|
|
1230
1237
|
}, getSelectionKeys: () => c(e2, o), matcherType: "or" }) });
|
|
1231
1238
|
}
|
|
1232
|
-
function
|
|
1239
|
+
function y(e2) {
|
|
1233
1240
|
return { [t]: () => ({ match: (t2) => ({ matched: Boolean(e2(t2)) }) }) };
|
|
1234
1241
|
}
|
|
1235
1242
|
function p(...e2) {
|
|
@@ -1250,35 +1257,35 @@ function b(t2) {
|
|
|
1250
1257
|
function w(t2) {
|
|
1251
1258
|
return "bigint" == typeof t2;
|
|
1252
1259
|
}
|
|
1253
|
-
var S = u(
|
|
1260
|
+
var S = u(y(function(t2) {
|
|
1254
1261
|
return true;
|
|
1255
1262
|
}));
|
|
1256
1263
|
var O = S;
|
|
1257
1264
|
var j = (t2) => Object.assign(u(t2), { startsWith: (e2) => {
|
|
1258
|
-
return j(m(t2, (n2 = e2,
|
|
1265
|
+
return j(m(t2, (n2 = e2, y((t3) => b(t3) && t3.startsWith(n2)))));
|
|
1259
1266
|
var n2;
|
|
1260
1267
|
}, endsWith: (e2) => {
|
|
1261
|
-
return j(m(t2, (n2 = e2,
|
|
1268
|
+
return j(m(t2, (n2 = e2, y((t3) => b(t3) && t3.endsWith(n2)))));
|
|
1262
1269
|
var n2;
|
|
1263
|
-
}, minLength: (e2) => j(m(t2, ((t3) =>
|
|
1264
|
-
return j(m(t2, (n2 = e2,
|
|
1270
|
+
}, minLength: (e2) => j(m(t2, ((t3) => y((e3) => b(e3) && e3.length >= t3))(e2))), maxLength: (e2) => j(m(t2, ((t3) => y((e3) => b(e3) && e3.length <= t3))(e2))), includes: (e2) => {
|
|
1271
|
+
return j(m(t2, (n2 = e2, y((t3) => b(t3) && t3.includes(n2)))));
|
|
1265
1272
|
var n2;
|
|
1266
1273
|
}, regex: (e2) => {
|
|
1267
|
-
return j(m(t2, (n2 = e2,
|
|
1274
|
+
return j(m(t2, (n2 = e2, y((t3) => b(t3) && Boolean(t3.match(n2))))));
|
|
1268
1275
|
var n2;
|
|
1269
1276
|
} });
|
|
1270
|
-
var E = j(
|
|
1271
|
-
var K = (t2) => Object.assign(u(t2), { between: (e2, n2) => K(m(t2, ((t3, e3) =>
|
|
1272
|
-
var
|
|
1273
|
-
var
|
|
1274
|
-
var P =
|
|
1275
|
-
var T = u(
|
|
1277
|
+
var E = j(y(b));
|
|
1278
|
+
var K = (t2) => Object.assign(u(t2), { between: (e2, n2) => K(m(t2, ((t3, e3) => y((n3) => v(n3) && t3 <= n3 && e3 >= n3))(e2, n2))), lt: (e2) => K(m(t2, ((t3) => y((e3) => v(e3) && e3 < t3))(e2))), gt: (e2) => K(m(t2, ((t3) => y((e3) => v(e3) && e3 > t3))(e2))), lte: (e2) => K(m(t2, ((t3) => y((e3) => v(e3) && e3 <= t3))(e2))), gte: (e2) => K(m(t2, ((t3) => y((e3) => v(e3) && e3 >= t3))(e2))), int: () => K(m(t2, y((t3) => v(t3) && Number.isInteger(t3)))), finite: () => K(m(t2, y((t3) => v(t3) && Number.isFinite(t3)))), positive: () => K(m(t2, y((t3) => v(t3) && t3 > 0))), negative: () => K(m(t2, y((t3) => v(t3) && t3 < 0))) });
|
|
1279
|
+
var x = K(y(v));
|
|
1280
|
+
var A = (t2) => Object.assign(u(t2), { between: (e2, n2) => A(m(t2, ((t3, e3) => y((n3) => w(n3) && t3 <= n3 && e3 >= n3))(e2, n2))), lt: (e2) => A(m(t2, ((t3) => y((e3) => w(e3) && e3 < t3))(e2))), gt: (e2) => A(m(t2, ((t3) => y((e3) => w(e3) && e3 > t3))(e2))), lte: (e2) => A(m(t2, ((t3) => y((e3) => w(e3) && e3 <= t3))(e2))), gte: (e2) => A(m(t2, ((t3) => y((e3) => w(e3) && e3 >= t3))(e2))), positive: () => A(m(t2, y((t3) => w(t3) && t3 > 0))), negative: () => A(m(t2, y((t3) => w(t3) && t3 < 0))) });
|
|
1281
|
+
var P = A(y(w));
|
|
1282
|
+
var T = u(y(function(t2) {
|
|
1276
1283
|
return "boolean" == typeof t2;
|
|
1277
1284
|
}));
|
|
1278
|
-
var k = u(
|
|
1285
|
+
var k = u(y(function(t2) {
|
|
1279
1286
|
return "symbol" == typeof t2;
|
|
1280
1287
|
}));
|
|
1281
|
-
var B = u(
|
|
1288
|
+
var B = u(y(function(t2) {
|
|
1282
1289
|
return null == t2;
|
|
1283
1290
|
}));
|
|
1284
1291
|
var _ = { __proto__: null, matcher: t, optional: l, array: function(...e2) {
|
|
@@ -1333,15 +1340,15 @@ var _ = { __proto__: null, matcher: t, optional: l, array: function(...e2) {
|
|
|
1333
1340
|
return n3 && i3;
|
|
1334
1341
|
}), selections: n2 };
|
|
1335
1342
|
}, getSelectionKeys: () => 0 === e2.length ? [] : [...o(e2[0]), ...o(e2[1])] }) });
|
|
1336
|
-
}, intersection: m, union:
|
|
1343
|
+
}, intersection: m, union: d, not: function(e2) {
|
|
1337
1344
|
return u({ [t]: () => ({ match: (t2) => ({ matched: !s(e2, t2, () => {
|
|
1338
1345
|
}) }), getSelectionKeys: () => [], matcherType: "not" }) });
|
|
1339
|
-
}, when:
|
|
1340
|
-
return u(
|
|
1346
|
+
}, when: y, select: p, any: S, _: O, string: E, number: x, bigint: P, boolean: T, symbol: k, nullish: B, instanceOf: function(t2) {
|
|
1347
|
+
return u(y(/* @__PURE__ */ function(t3) {
|
|
1341
1348
|
return (e2) => e2 instanceof t3;
|
|
1342
1349
|
}(t2)));
|
|
1343
1350
|
}, shape: function(t2) {
|
|
1344
|
-
return u(
|
|
1351
|
+
return u(y(a(t2)));
|
|
1345
1352
|
} };
|
|
1346
1353
|
var W = { matched: false, value: void 0 };
|
|
1347
1354
|
function N(t2) {
|
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.
|
|
14
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Function.js
|
|
15
15
|
var Function_exports = {};
|
|
16
16
|
__export(Function_exports, {
|
|
17
17
|
SK: () => SK,
|
|
@@ -31,6 +31,7 @@ __export(Function_exports, {
|
|
|
31
31
|
identity: () => identity,
|
|
32
32
|
isFunction: () => isFunction,
|
|
33
33
|
pipe: () => pipe,
|
|
34
|
+
satisfies: () => satisfies,
|
|
34
35
|
tupled: () => tupled,
|
|
35
36
|
unsafeCoerce: () => unsafeCoerce,
|
|
36
37
|
untupled: () => untupled
|
|
@@ -99,6 +100,7 @@ var dual = function(arity, body) {
|
|
|
99
100
|
};
|
|
100
101
|
var apply = (a2) => (self) => self(a2);
|
|
101
102
|
var identity = (a2) => a2;
|
|
103
|
+
var satisfies = () => (b2) => b2;
|
|
102
104
|
var unsafeCoerce = identity;
|
|
103
105
|
var constant = (value) => () => value;
|
|
104
106
|
var constTrue = /* @__PURE__ */ constant(true);
|
|
@@ -184,10 +186,10 @@ function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
|
|
|
184
186
|
var hole = /* @__PURE__ */ unsafeCoerce(absurd);
|
|
185
187
|
var SK = (_2, b2) => b2;
|
|
186
188
|
|
|
187
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
188
|
-
var moduleVersion = "2.3.
|
|
189
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/internal/version.js
|
|
190
|
+
var moduleVersion = "2.3.6";
|
|
189
191
|
|
|
190
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
192
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/GlobalValue.js
|
|
191
193
|
var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${moduleVersion}`);
|
|
192
194
|
if (!(globalStoreId in globalThis)) {
|
|
193
195
|
globalThis[globalStoreId] = /* @__PURE__ */ new Map();
|
|
@@ -200,7 +202,7 @@ var globalValue = (id, compute) => {
|
|
|
200
202
|
return globalStore.get(id);
|
|
201
203
|
};
|
|
202
204
|
|
|
203
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
205
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Predicate.js
|
|
204
206
|
var Predicate_exports = {};
|
|
205
207
|
__export(Predicate_exports, {
|
|
206
208
|
all: () => all,
|
|
@@ -329,7 +331,7 @@ var some = (collection) => (a2) => {
|
|
|
329
331
|
return false;
|
|
330
332
|
};
|
|
331
333
|
|
|
332
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
334
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Utils.js
|
|
333
335
|
var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
|
|
334
336
|
var GenKindImpl = class {
|
|
335
337
|
value;
|
|
@@ -549,7 +551,7 @@ function add64(out, aHi, aLo, bHi, bLo) {
|
|
|
549
551
|
out[1] = lo;
|
|
550
552
|
}
|
|
551
553
|
|
|
552
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
554
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Hash.js
|
|
553
555
|
var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
|
|
554
556
|
var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
|
|
555
557
|
var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
|
|
@@ -612,7 +614,7 @@ var string = (str) => {
|
|
|
612
614
|
return optimize(h2);
|
|
613
615
|
};
|
|
614
616
|
|
|
615
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
617
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Equal.js
|
|
616
618
|
var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
|
|
617
619
|
function equals() {
|
|
618
620
|
if (arguments.length === 1) {
|
|
@@ -638,10 +640,10 @@ function compareBoth(self, that) {
|
|
|
638
640
|
var isEqual = (u2) => hasProperty(u2, symbol2);
|
|
639
641
|
var equivalence = () => (self, that) => equals(self, that);
|
|
640
642
|
|
|
641
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
643
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Equivalence.js
|
|
642
644
|
var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
|
|
643
645
|
|
|
644
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
646
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Inspectable.js
|
|
645
647
|
var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
|
|
646
648
|
var toJSON = (x2) => {
|
|
647
649
|
if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
|
|
@@ -653,7 +655,7 @@ var toJSON = (x2) => {
|
|
|
653
655
|
};
|
|
654
656
|
var format = (x2) => JSON.stringify(x2, null, 2);
|
|
655
657
|
|
|
656
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
658
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Option.js
|
|
657
659
|
var Option_exports = {};
|
|
658
660
|
__export(Option_exports, {
|
|
659
661
|
Do: () => Do,
|
|
@@ -715,7 +717,7 @@ __export(Option_exports, {
|
|
|
715
717
|
zipWith: () => zipWith
|
|
716
718
|
});
|
|
717
719
|
|
|
718
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
720
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Pipeable.js
|
|
719
721
|
var pipeArguments = (self, args) => {
|
|
720
722
|
switch (args.length) {
|
|
721
723
|
case 1:
|
|
@@ -746,7 +748,7 @@ var pipeArguments = (self, args) => {
|
|
|
746
748
|
}
|
|
747
749
|
};
|
|
748
750
|
|
|
749
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
751
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/internal/effectable.js
|
|
750
752
|
var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
|
|
751
753
|
var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
|
|
752
754
|
var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
|
|
@@ -804,7 +806,7 @@ var EffectPrototype = {
|
|
|
804
806
|
}
|
|
805
807
|
};
|
|
806
808
|
|
|
807
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
809
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/internal/option.js
|
|
808
810
|
var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
809
811
|
var CommonProto = {
|
|
810
812
|
...EffectPrototype,
|
|
@@ -861,7 +863,7 @@ var some2 = (value) => {
|
|
|
861
863
|
return a2;
|
|
862
864
|
};
|
|
863
865
|
|
|
864
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
866
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/internal/either.js
|
|
865
867
|
var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
|
|
866
868
|
var CommonProto2 = {
|
|
867
869
|
...EffectPrototype,
|
|
@@ -925,10 +927,10 @@ var right = (right2) => {
|
|
|
925
927
|
var getLeft = (self) => isRight(self) ? none : some2(self.left);
|
|
926
928
|
var getRight = (self) => isLeft(self) ? none : some2(self.right);
|
|
927
929
|
|
|
928
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
930
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Order.js
|
|
929
931
|
var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
|
|
930
932
|
|
|
931
|
-
// ../../../node_modules/.pnpm/effect@2.3.
|
|
933
|
+
// ../../../node_modules/.pnpm/effect@2.3.6/node_modules/effect/dist/esm/Option.js
|
|
932
934
|
var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
933
935
|
var none2 = () => none;
|
|
934
936
|
var some3 = some2;
|
|
@@ -1118,7 +1120,7 @@ var getPragmaFromContext = memo(
|
|
|
1118
1120
|
}
|
|
1119
1121
|
);
|
|
1120
1122
|
|
|
1121
|
-
// ../../../node_modules/.pnpm/ts-pattern@5.0.
|
|
1123
|
+
// ../../../node_modules/.pnpm/ts-pattern@5.0.8/node_modules/ts-pattern/dist/index.js
|
|
1122
1124
|
var t = Symbol.for("@ts-pattern/matcher");
|
|
1123
1125
|
var e = Symbol.for("@ts-pattern/isVariadic");
|
|
1124
1126
|
var n = "@ts-pattern/anonymous-select-key";
|
|
@@ -1177,11 +1179,16 @@ function a(...t2) {
|
|
|
1177
1179
|
throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t2.length}.`);
|
|
1178
1180
|
}
|
|
1179
1181
|
function u(t2) {
|
|
1180
|
-
return Object.assign(t2, { optional: () => l(t2), and: (e2) => m(t2, e2), or: (e2) =>
|
|
1182
|
+
return Object.assign(t2, { optional: () => l(t2), and: (e2) => m(t2, e2), or: (e2) => d(t2, e2), select: (e2) => void 0 === e2 ? p(t2) : p(e2, t2) });
|
|
1181
1183
|
}
|
|
1182
1184
|
function h(t2) {
|
|
1183
|
-
return Object.assign(((t3) => Object.assign(t3, {
|
|
1184
|
-
|
|
1185
|
+
return Object.assign(((t3) => Object.assign(t3, { [Symbol.iterator]() {
|
|
1186
|
+
let n2 = 0;
|
|
1187
|
+
const r2 = [{ value: Object.assign(t3, { [e]: true }), done: false }, { done: true, value: void 0 }];
|
|
1188
|
+
return { next: () => {
|
|
1189
|
+
var t4;
|
|
1190
|
+
return null != (t4 = r2[n2++]) ? t4 : r2.at(-1);
|
|
1191
|
+
} };
|
|
1185
1192
|
} }))(t2), { optional: () => h(l(t2)), select: (e2) => h(void 0 === e2 ? p(t2) : p(e2, t2)) });
|
|
1186
1193
|
}
|
|
1187
1194
|
function l(e2) {
|
|
@@ -1214,7 +1221,7 @@ function m(...e2) {
|
|
|
1214
1221
|
return { matched: e2.every((e3) => s(e3, t2, r2)), selections: n2 };
|
|
1215
1222
|
}, getSelectionKeys: () => c(e2, o), matcherType: "and" }) });
|
|
1216
1223
|
}
|
|
1217
|
-
function
|
|
1224
|
+
function d(...e2) {
|
|
1218
1225
|
return u({ [t]: () => ({ match: (t2) => {
|
|
1219
1226
|
let n2 = {};
|
|
1220
1227
|
const r2 = (t3, e3) => {
|
|
@@ -1223,7 +1230,7 @@ function y(...e2) {
|
|
|
1223
1230
|
return c(e2, o).forEach((t3) => r2(t3, void 0)), { matched: e2.some((e3) => s(e3, t2, r2)), selections: n2 };
|
|
1224
1231
|
}, getSelectionKeys: () => c(e2, o), matcherType: "or" }) });
|
|
1225
1232
|
}
|
|
1226
|
-
function
|
|
1233
|
+
function y(e2) {
|
|
1227
1234
|
return { [t]: () => ({ match: (t2) => ({ matched: Boolean(e2(t2)) }) }) };
|
|
1228
1235
|
}
|
|
1229
1236
|
function p(...e2) {
|
|
@@ -1244,35 +1251,35 @@ function b(t2) {
|
|
|
1244
1251
|
function w(t2) {
|
|
1245
1252
|
return "bigint" == typeof t2;
|
|
1246
1253
|
}
|
|
1247
|
-
var S = u(
|
|
1254
|
+
var S = u(y(function(t2) {
|
|
1248
1255
|
return true;
|
|
1249
1256
|
}));
|
|
1250
1257
|
var O = S;
|
|
1251
1258
|
var j = (t2) => Object.assign(u(t2), { startsWith: (e2) => {
|
|
1252
|
-
return j(m(t2, (n2 = e2,
|
|
1259
|
+
return j(m(t2, (n2 = e2, y((t3) => b(t3) && t3.startsWith(n2)))));
|
|
1253
1260
|
var n2;
|
|
1254
1261
|
}, endsWith: (e2) => {
|
|
1255
|
-
return j(m(t2, (n2 = e2,
|
|
1262
|
+
return j(m(t2, (n2 = e2, y((t3) => b(t3) && t3.endsWith(n2)))));
|
|
1256
1263
|
var n2;
|
|
1257
|
-
}, minLength: (e2) => j(m(t2, ((t3) =>
|
|
1258
|
-
return j(m(t2, (n2 = e2,
|
|
1264
|
+
}, minLength: (e2) => j(m(t2, ((t3) => y((e3) => b(e3) && e3.length >= t3))(e2))), maxLength: (e2) => j(m(t2, ((t3) => y((e3) => b(e3) && e3.length <= t3))(e2))), includes: (e2) => {
|
|
1265
|
+
return j(m(t2, (n2 = e2, y((t3) => b(t3) && t3.includes(n2)))));
|
|
1259
1266
|
var n2;
|
|
1260
1267
|
}, regex: (e2) => {
|
|
1261
|
-
return j(m(t2, (n2 = e2,
|
|
1268
|
+
return j(m(t2, (n2 = e2, y((t3) => b(t3) && Boolean(t3.match(n2))))));
|
|
1262
1269
|
var n2;
|
|
1263
1270
|
} });
|
|
1264
|
-
var E = j(
|
|
1265
|
-
var K = (t2) => Object.assign(u(t2), { between: (e2, n2) => K(m(t2, ((t3, e3) =>
|
|
1266
|
-
var
|
|
1267
|
-
var
|
|
1268
|
-
var P =
|
|
1269
|
-
var T = u(
|
|
1271
|
+
var E = j(y(b));
|
|
1272
|
+
var K = (t2) => Object.assign(u(t2), { between: (e2, n2) => K(m(t2, ((t3, e3) => y((n3) => v(n3) && t3 <= n3 && e3 >= n3))(e2, n2))), lt: (e2) => K(m(t2, ((t3) => y((e3) => v(e3) && e3 < t3))(e2))), gt: (e2) => K(m(t2, ((t3) => y((e3) => v(e3) && e3 > t3))(e2))), lte: (e2) => K(m(t2, ((t3) => y((e3) => v(e3) && e3 <= t3))(e2))), gte: (e2) => K(m(t2, ((t3) => y((e3) => v(e3) && e3 >= t3))(e2))), int: () => K(m(t2, y((t3) => v(t3) && Number.isInteger(t3)))), finite: () => K(m(t2, y((t3) => v(t3) && Number.isFinite(t3)))), positive: () => K(m(t2, y((t3) => v(t3) && t3 > 0))), negative: () => K(m(t2, y((t3) => v(t3) && t3 < 0))) });
|
|
1273
|
+
var x = K(y(v));
|
|
1274
|
+
var A = (t2) => Object.assign(u(t2), { between: (e2, n2) => A(m(t2, ((t3, e3) => y((n3) => w(n3) && t3 <= n3 && e3 >= n3))(e2, n2))), lt: (e2) => A(m(t2, ((t3) => y((e3) => w(e3) && e3 < t3))(e2))), gt: (e2) => A(m(t2, ((t3) => y((e3) => w(e3) && e3 > t3))(e2))), lte: (e2) => A(m(t2, ((t3) => y((e3) => w(e3) && e3 <= t3))(e2))), gte: (e2) => A(m(t2, ((t3) => y((e3) => w(e3) && e3 >= t3))(e2))), positive: () => A(m(t2, y((t3) => w(t3) && t3 > 0))), negative: () => A(m(t2, y((t3) => w(t3) && t3 < 0))) });
|
|
1275
|
+
var P = A(y(w));
|
|
1276
|
+
var T = u(y(function(t2) {
|
|
1270
1277
|
return "boolean" == typeof t2;
|
|
1271
1278
|
}));
|
|
1272
|
-
var k = u(
|
|
1279
|
+
var k = u(y(function(t2) {
|
|
1273
1280
|
return "symbol" == typeof t2;
|
|
1274
1281
|
}));
|
|
1275
|
-
var B = u(
|
|
1282
|
+
var B = u(y(function(t2) {
|
|
1276
1283
|
return null == t2;
|
|
1277
1284
|
}));
|
|
1278
1285
|
var _ = { __proto__: null, matcher: t, optional: l, array: function(...e2) {
|
|
@@ -1327,15 +1334,15 @@ var _ = { __proto__: null, matcher: t, optional: l, array: function(...e2) {
|
|
|
1327
1334
|
return n3 && i3;
|
|
1328
1335
|
}), selections: n2 };
|
|
1329
1336
|
}, getSelectionKeys: () => 0 === e2.length ? [] : [...o(e2[0]), ...o(e2[1])] }) });
|
|
1330
|
-
}, intersection: m, union:
|
|
1337
|
+
}, intersection: m, union: d, not: function(e2) {
|
|
1331
1338
|
return u({ [t]: () => ({ match: (t2) => ({ matched: !s(e2, t2, () => {
|
|
1332
1339
|
}) }), getSelectionKeys: () => [], matcherType: "not" }) });
|
|
1333
|
-
}, when:
|
|
1334
|
-
return u(
|
|
1340
|
+
}, when: y, select: p, any: S, _: O, string: E, number: x, bigint: P, boolean: T, symbol: k, nullish: B, instanceOf: function(t2) {
|
|
1341
|
+
return u(y(/* @__PURE__ */ function(t3) {
|
|
1335
1342
|
return (e2) => e2 instanceof t3;
|
|
1336
1343
|
}(t2)));
|
|
1337
1344
|
}, shape: function(t2) {
|
|
1338
|
-
return u(
|
|
1345
|
+
return u(y(a(t2)));
|
|
1339
1346
|
} };
|
|
1340
1347
|
var W = { matched: false, value: void 0 };
|
|
1341
1348
|
function N(t2) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/jsx",
|
|
3
|
-
"version": "1.5.4-next.
|
|
3
|
+
"version": "1.5.4-next.6",
|
|
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.0.1",
|
|
40
40
|
"@typescript-eslint/utils": ">=7.0.1",
|
|
41
41
|
"micro-memoize": "4.1.2",
|
|
42
|
-
"@eslint-react/ast": "1.5.4-next.
|
|
43
|
-
"@eslint-react/shared": "1.5.4-next.
|
|
44
|
-
"@eslint-react/tools": "1.5.4-next.
|
|
45
|
-
"@eslint-react/
|
|
46
|
-
"@eslint-react/
|
|
42
|
+
"@eslint-react/ast": "1.5.4-next.6",
|
|
43
|
+
"@eslint-react/shared": "1.5.4-next.6",
|
|
44
|
+
"@eslint-react/tools": "1.5.4-next.6",
|
|
45
|
+
"@eslint-react/var": "1.5.4-next.6",
|
|
46
|
+
"@eslint-react/types": "1.5.4-next.6"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"effect": "2.3.
|
|
49
|
+
"effect": "2.3.6"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "tsup",
|