eslint-plugin-react-hooks-extra 1.5.15 → 1.5.16-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 +23 -23
- package/dist/index.mjs +23 -23
- package/package.json +14 -14
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __export = (target, all2) => {
|
|
|
14
14
|
|
|
15
15
|
// package.json
|
|
16
16
|
var name = "eslint-plugin-react-hooks-extra";
|
|
17
|
-
var version = "1.5.
|
|
17
|
+
var version = "1.5.16-beta.4";
|
|
18
18
|
var createRule = shared.createRuleForPlugin("hooks-extra");
|
|
19
19
|
|
|
20
20
|
// src/rules/ensure-custom-hooks-using-other-hooks.ts
|
|
@@ -54,7 +54,7 @@ var ensure_custom_hooks_using_other_hooks_default = createRule({
|
|
|
54
54
|
defaultOptions: []
|
|
55
55
|
});
|
|
56
56
|
|
|
57
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
57
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Function.js
|
|
58
58
|
var Function_exports = {};
|
|
59
59
|
__export(Function_exports, {
|
|
60
60
|
SK: () => SK,
|
|
@@ -229,10 +229,10 @@ function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
|
|
|
229
229
|
var hole = /* @__PURE__ */ unsafeCoerce(absurd);
|
|
230
230
|
var SK = (_2, b2) => b2;
|
|
231
231
|
|
|
232
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
232
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Equivalence.js
|
|
233
233
|
var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
|
|
234
234
|
|
|
235
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
235
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/internal/doNotation.js
|
|
236
236
|
var let_ = (map2) => dual(3, (self, name2, f) => map2(self, (a) => Object.assign({}, a, {
|
|
237
237
|
[name2]: f(a)
|
|
238
238
|
})));
|
|
@@ -243,11 +243,11 @@ var bind = (map2, flatMap2) => dual(3, (self, name2, f) => flatMap2(self, (a) =>
|
|
|
243
243
|
[name2]: b2
|
|
244
244
|
}))));
|
|
245
245
|
|
|
246
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
247
|
-
var moduleVersion = "3.3.
|
|
246
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/internal/version.js
|
|
247
|
+
var moduleVersion = "3.3.1";
|
|
248
248
|
var getCurrentVersion = () => moduleVersion;
|
|
249
249
|
|
|
250
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
250
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/GlobalValue.js
|
|
251
251
|
var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
|
|
252
252
|
if (!(globalStoreId in globalThis)) {
|
|
253
253
|
globalThis[globalStoreId] = /* @__PURE__ */ new Map();
|
|
@@ -260,17 +260,17 @@ var globalValue = (id, compute) => {
|
|
|
260
260
|
return globalStore.get(id);
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
263
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Predicate.js
|
|
264
264
|
var isFunction2 = isFunction;
|
|
265
265
|
var isRecordOrArray = (input) => typeof input === "object" && input !== null;
|
|
266
266
|
var isObject = (input) => isRecordOrArray(input) || isFunction2(input);
|
|
267
267
|
var hasProperty = /* @__PURE__ */ dual(2, (self, property) => isObject(self) && property in self);
|
|
268
268
|
var isNullable = (input) => input === null || input === void 0;
|
|
269
269
|
|
|
270
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
270
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/internal/errors.js
|
|
271
271
|
var getBugErrorMessage = (message) => `BUG: ${message} - please report an issue at https://github.com/Effect-TS/effect/issues`;
|
|
272
272
|
|
|
273
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
273
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Utils.js
|
|
274
274
|
var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
|
|
275
275
|
var isGenKind = (u2) => isObject(u2) && GenKindTypeId in u2;
|
|
276
276
|
var GenKindImpl = class {
|
|
@@ -514,7 +514,7 @@ var structuralRegionState = /* @__PURE__ */ globalValue("effect/Utils/isStructur
|
|
|
514
514
|
tester: void 0
|
|
515
515
|
}));
|
|
516
516
|
|
|
517
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
517
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Hash.js
|
|
518
518
|
var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
|
|
519
519
|
var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
|
|
520
520
|
var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
|
|
@@ -604,7 +604,7 @@ var cached = function() {
|
|
|
604
604
|
return hash2;
|
|
605
605
|
};
|
|
606
606
|
|
|
607
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
607
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Equal.js
|
|
608
608
|
var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
|
|
609
609
|
function equals() {
|
|
610
610
|
if (arguments.length === 1) {
|
|
@@ -656,7 +656,7 @@ function compareBoth(self, that) {
|
|
|
656
656
|
var isEqual = (u2) => hasProperty(u2, symbol2);
|
|
657
657
|
var equivalence = () => equals;
|
|
658
658
|
|
|
659
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
659
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Inspectable.js
|
|
660
660
|
var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
|
|
661
661
|
var toJSON = (x2) => {
|
|
662
662
|
if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
|
|
@@ -668,7 +668,7 @@ var toJSON = (x2) => {
|
|
|
668
668
|
};
|
|
669
669
|
var format = (x2) => JSON.stringify(x2, null, 2);
|
|
670
670
|
|
|
671
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
671
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Pipeable.js
|
|
672
672
|
var pipeArguments = (self, args) => {
|
|
673
673
|
switch (args.length) {
|
|
674
674
|
case 1:
|
|
@@ -699,7 +699,7 @@ var pipeArguments = (self, args) => {
|
|
|
699
699
|
}
|
|
700
700
|
};
|
|
701
701
|
|
|
702
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
702
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/internal/effectable.js
|
|
703
703
|
var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
|
|
704
704
|
var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
|
|
705
705
|
var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
|
|
@@ -760,7 +760,7 @@ var EffectPrototype = {
|
|
|
760
760
|
}
|
|
761
761
|
};
|
|
762
762
|
|
|
763
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
763
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/internal/option.js
|
|
764
764
|
var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
765
765
|
var CommonProto = {
|
|
766
766
|
...EffectPrototype,
|
|
@@ -818,7 +818,7 @@ var some = (value) => {
|
|
|
818
818
|
return a;
|
|
819
819
|
};
|
|
820
820
|
|
|
821
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
821
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/internal/either.js
|
|
822
822
|
var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
|
|
823
823
|
var CommonProto2 = {
|
|
824
824
|
...EffectPrototype,
|
|
@@ -882,7 +882,7 @@ var right = (right2) => {
|
|
|
882
882
|
var getLeft = (self) => isRight(self) ? none : some(self.left);
|
|
883
883
|
var getRight = (self) => isLeft(self) ? none : some(self.right);
|
|
884
884
|
|
|
885
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
885
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Option.js
|
|
886
886
|
var Option_exports = {};
|
|
887
887
|
__export(Option_exports, {
|
|
888
888
|
Do: () => Do,
|
|
@@ -944,10 +944,10 @@ __export(Option_exports, {
|
|
|
944
944
|
zipWith: () => zipWith
|
|
945
945
|
});
|
|
946
946
|
|
|
947
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
947
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Order.js
|
|
948
948
|
var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
|
|
949
949
|
|
|
950
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
950
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Option.js
|
|
951
951
|
var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
952
952
|
var none2 = () => none;
|
|
953
953
|
var some2 = some;
|
|
@@ -1069,7 +1069,7 @@ var partitionMap = /* @__PURE__ */ dual(2, (self, f) => {
|
|
|
1069
1069
|
});
|
|
1070
1070
|
var filterMap = /* @__PURE__ */ dual(2, (self, f) => isNone2(self) ? none2() : f(self.value));
|
|
1071
1071
|
var filter = /* @__PURE__ */ dual(2, (self, predicate) => filterMap(self, (b2) => predicate(b2) ? some(b2) : none));
|
|
1072
|
-
var getEquivalence = (isEquivalent) => make((x2, y2) =>
|
|
1072
|
+
var getEquivalence = (isEquivalent) => make((x2, y2) => isNone2(x2) ? isNone2(y2) : isNone2(y2) ? false : isEquivalent(x2.value, y2.value));
|
|
1073
1073
|
var getOrder = (O) => make2((self, that) => isSome2(self) ? isSome2(that) ? O(self.value, that.value) : 1 : -1);
|
|
1074
1074
|
var lift2 = (f) => dual(2, (self, that) => zipWith(self, that, f));
|
|
1075
1075
|
var liftPredicate = (predicate) => (b2) => predicate(b2) ? some2(b2) : none2();
|
|
@@ -1121,7 +1121,7 @@ var gen = (...args) => {
|
|
|
1121
1121
|
}
|
|
1122
1122
|
};
|
|
1123
1123
|
|
|
1124
|
-
// ../../../node_modules/.pnpm/ts-pattern@5.
|
|
1124
|
+
// ../../../node_modules/.pnpm/ts-pattern@5.2.0/node_modules/ts-pattern/dist/index.js
|
|
1125
1125
|
var t = Symbol.for("@ts-pattern/matcher");
|
|
1126
1126
|
var e = Symbol.for("@ts-pattern/isVariadic");
|
|
1127
1127
|
var n = "@ts-pattern/anonymous-select-key";
|
|
@@ -1222,7 +1222,7 @@ var j = (t2) => Object.assign(u(t2), { startsWith: (e2) => {
|
|
|
1222
1222
|
}, endsWith: (e2) => {
|
|
1223
1223
|
return j(m(t2, (n2 = e2, y((t3) => b(t3) && t3.endsWith(n2)))));
|
|
1224
1224
|
var n2;
|
|
1225
|
-
}, 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) => {
|
|
1225
|
+
}, minLength: (e2) => j(m(t2, ((t3) => y((e3) => b(e3) && e3.length >= t3))(e2))), length: (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) => {
|
|
1226
1226
|
return j(m(t2, (n2 = e2, y((t3) => b(t3) && t3.includes(n2)))));
|
|
1227
1227
|
var n2;
|
|
1228
1228
|
}, regex: (e2) => {
|
package/dist/index.mjs
CHANGED
|
@@ -12,7 +12,7 @@ var __export = (target, all2) => {
|
|
|
12
12
|
|
|
13
13
|
// package.json
|
|
14
14
|
var name = "eslint-plugin-react-hooks-extra";
|
|
15
|
-
var version = "1.5.
|
|
15
|
+
var version = "1.5.16-beta.4";
|
|
16
16
|
var createRule = createRuleForPlugin("hooks-extra");
|
|
17
17
|
|
|
18
18
|
// src/rules/ensure-custom-hooks-using-other-hooks.ts
|
|
@@ -52,7 +52,7 @@ var ensure_custom_hooks_using_other_hooks_default = createRule({
|
|
|
52
52
|
defaultOptions: []
|
|
53
53
|
});
|
|
54
54
|
|
|
55
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
55
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Function.js
|
|
56
56
|
var Function_exports = {};
|
|
57
57
|
__export(Function_exports, {
|
|
58
58
|
SK: () => SK,
|
|
@@ -227,10 +227,10 @@ function flow(ab, bc, cd, de, ef, fg, gh, hi, ij) {
|
|
|
227
227
|
var hole = /* @__PURE__ */ unsafeCoerce(absurd);
|
|
228
228
|
var SK = (_2, b2) => b2;
|
|
229
229
|
|
|
230
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
230
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Equivalence.js
|
|
231
231
|
var make = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
|
|
232
232
|
|
|
233
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
233
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/internal/doNotation.js
|
|
234
234
|
var let_ = (map2) => dual(3, (self, name2, f) => map2(self, (a) => Object.assign({}, a, {
|
|
235
235
|
[name2]: f(a)
|
|
236
236
|
})));
|
|
@@ -241,11 +241,11 @@ var bind = (map2, flatMap2) => dual(3, (self, name2, f) => flatMap2(self, (a) =>
|
|
|
241
241
|
[name2]: b2
|
|
242
242
|
}))));
|
|
243
243
|
|
|
244
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
245
|
-
var moduleVersion = "3.3.
|
|
244
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/internal/version.js
|
|
245
|
+
var moduleVersion = "3.3.1";
|
|
246
246
|
var getCurrentVersion = () => moduleVersion;
|
|
247
247
|
|
|
248
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
248
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/GlobalValue.js
|
|
249
249
|
var globalStoreId = /* @__PURE__ */ Symbol.for(`effect/GlobalValue/globalStoreId/${/* @__PURE__ */ getCurrentVersion()}`);
|
|
250
250
|
if (!(globalStoreId in globalThis)) {
|
|
251
251
|
globalThis[globalStoreId] = /* @__PURE__ */ new Map();
|
|
@@ -258,17 +258,17 @@ var globalValue = (id, compute) => {
|
|
|
258
258
|
return globalStore.get(id);
|
|
259
259
|
};
|
|
260
260
|
|
|
261
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
261
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Predicate.js
|
|
262
262
|
var isFunction2 = isFunction;
|
|
263
263
|
var isRecordOrArray = (input) => typeof input === "object" && input !== null;
|
|
264
264
|
var isObject = (input) => isRecordOrArray(input) || isFunction2(input);
|
|
265
265
|
var hasProperty = /* @__PURE__ */ dual(2, (self, property) => isObject(self) && property in self);
|
|
266
266
|
var isNullable = (input) => input === null || input === void 0;
|
|
267
267
|
|
|
268
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
268
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/internal/errors.js
|
|
269
269
|
var getBugErrorMessage = (message) => `BUG: ${message} - please report an issue at https://github.com/Effect-TS/effect/issues`;
|
|
270
270
|
|
|
271
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
271
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Utils.js
|
|
272
272
|
var GenKindTypeId = /* @__PURE__ */ Symbol.for("effect/Gen/GenKind");
|
|
273
273
|
var isGenKind = (u2) => isObject(u2) && GenKindTypeId in u2;
|
|
274
274
|
var GenKindImpl = class {
|
|
@@ -512,7 +512,7 @@ var structuralRegionState = /* @__PURE__ */ globalValue("effect/Utils/isStructur
|
|
|
512
512
|
tester: void 0
|
|
513
513
|
}));
|
|
514
514
|
|
|
515
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
515
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Hash.js
|
|
516
516
|
var randomHashCache = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/randomHashCache"), () => /* @__PURE__ */ new WeakMap());
|
|
517
517
|
var pcgr = /* @__PURE__ */ globalValue(/* @__PURE__ */ Symbol.for("effect/Hash/pcgr"), () => new PCGRandom());
|
|
518
518
|
var symbol = /* @__PURE__ */ Symbol.for("effect/Hash");
|
|
@@ -602,7 +602,7 @@ var cached = function() {
|
|
|
602
602
|
return hash2;
|
|
603
603
|
};
|
|
604
604
|
|
|
605
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
605
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Equal.js
|
|
606
606
|
var symbol2 = /* @__PURE__ */ Symbol.for("effect/Equal");
|
|
607
607
|
function equals() {
|
|
608
608
|
if (arguments.length === 1) {
|
|
@@ -654,7 +654,7 @@ function compareBoth(self, that) {
|
|
|
654
654
|
var isEqual = (u2) => hasProperty(u2, symbol2);
|
|
655
655
|
var equivalence = () => equals;
|
|
656
656
|
|
|
657
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
657
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Inspectable.js
|
|
658
658
|
var NodeInspectSymbol = /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom");
|
|
659
659
|
var toJSON = (x2) => {
|
|
660
660
|
if (hasProperty(x2, "toJSON") && isFunction2(x2["toJSON"]) && x2["toJSON"].length === 0) {
|
|
@@ -666,7 +666,7 @@ var toJSON = (x2) => {
|
|
|
666
666
|
};
|
|
667
667
|
var format = (x2) => JSON.stringify(x2, null, 2);
|
|
668
668
|
|
|
669
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
669
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Pipeable.js
|
|
670
670
|
var pipeArguments = (self, args) => {
|
|
671
671
|
switch (args.length) {
|
|
672
672
|
case 1:
|
|
@@ -697,7 +697,7 @@ var pipeArguments = (self, args) => {
|
|
|
697
697
|
}
|
|
698
698
|
};
|
|
699
699
|
|
|
700
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
700
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/internal/effectable.js
|
|
701
701
|
var EffectTypeId = /* @__PURE__ */ Symbol.for("effect/Effect");
|
|
702
702
|
var StreamTypeId = /* @__PURE__ */ Symbol.for("effect/Stream");
|
|
703
703
|
var SinkTypeId = /* @__PURE__ */ Symbol.for("effect/Sink");
|
|
@@ -758,7 +758,7 @@ var EffectPrototype = {
|
|
|
758
758
|
}
|
|
759
759
|
};
|
|
760
760
|
|
|
761
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
761
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/internal/option.js
|
|
762
762
|
var TypeId = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
763
763
|
var CommonProto = {
|
|
764
764
|
...EffectPrototype,
|
|
@@ -816,7 +816,7 @@ var some = (value) => {
|
|
|
816
816
|
return a;
|
|
817
817
|
};
|
|
818
818
|
|
|
819
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
819
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/internal/either.js
|
|
820
820
|
var TypeId2 = /* @__PURE__ */ Symbol.for("effect/Either");
|
|
821
821
|
var CommonProto2 = {
|
|
822
822
|
...EffectPrototype,
|
|
@@ -880,7 +880,7 @@ var right = (right2) => {
|
|
|
880
880
|
var getLeft = (self) => isRight(self) ? none : some(self.left);
|
|
881
881
|
var getRight = (self) => isLeft(self) ? none : some(self.right);
|
|
882
882
|
|
|
883
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
883
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Option.js
|
|
884
884
|
var Option_exports = {};
|
|
885
885
|
__export(Option_exports, {
|
|
886
886
|
Do: () => Do,
|
|
@@ -942,10 +942,10 @@ __export(Option_exports, {
|
|
|
942
942
|
zipWith: () => zipWith
|
|
943
943
|
});
|
|
944
944
|
|
|
945
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
945
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Order.js
|
|
946
946
|
var make2 = (compare) => (self, that) => self === that ? 0 : compare(self, that);
|
|
947
947
|
|
|
948
|
-
// ../../../node_modules/.pnpm/effect@3.3.
|
|
948
|
+
// ../../../node_modules/.pnpm/effect@3.3.1/node_modules/effect/dist/esm/Option.js
|
|
949
949
|
var TypeId3 = /* @__PURE__ */ Symbol.for("effect/Option");
|
|
950
950
|
var none2 = () => none;
|
|
951
951
|
var some2 = some;
|
|
@@ -1067,7 +1067,7 @@ var partitionMap = /* @__PURE__ */ dual(2, (self, f) => {
|
|
|
1067
1067
|
});
|
|
1068
1068
|
var filterMap = /* @__PURE__ */ dual(2, (self, f) => isNone2(self) ? none2() : f(self.value));
|
|
1069
1069
|
var filter = /* @__PURE__ */ dual(2, (self, predicate) => filterMap(self, (b2) => predicate(b2) ? some(b2) : none));
|
|
1070
|
-
var getEquivalence = (isEquivalent) => make((x2, y2) =>
|
|
1070
|
+
var getEquivalence = (isEquivalent) => make((x2, y2) => isNone2(x2) ? isNone2(y2) : isNone2(y2) ? false : isEquivalent(x2.value, y2.value));
|
|
1071
1071
|
var getOrder = (O) => make2((self, that) => isSome2(self) ? isSome2(that) ? O(self.value, that.value) : 1 : -1);
|
|
1072
1072
|
var lift2 = (f) => dual(2, (self, that) => zipWith(self, that, f));
|
|
1073
1073
|
var liftPredicate = (predicate) => (b2) => predicate(b2) ? some2(b2) : none2();
|
|
@@ -1119,7 +1119,7 @@ var gen = (...args) => {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
};
|
|
1121
1121
|
|
|
1122
|
-
// ../../../node_modules/.pnpm/ts-pattern@5.
|
|
1122
|
+
// ../../../node_modules/.pnpm/ts-pattern@5.2.0/node_modules/ts-pattern/dist/index.js
|
|
1123
1123
|
var t = Symbol.for("@ts-pattern/matcher");
|
|
1124
1124
|
var e = Symbol.for("@ts-pattern/isVariadic");
|
|
1125
1125
|
var n = "@ts-pattern/anonymous-select-key";
|
|
@@ -1220,7 +1220,7 @@ var j = (t2) => Object.assign(u(t2), { startsWith: (e2) => {
|
|
|
1220
1220
|
}, endsWith: (e2) => {
|
|
1221
1221
|
return j(m(t2, (n2 = e2, y((t3) => b(t3) && t3.endsWith(n2)))));
|
|
1222
1222
|
var n2;
|
|
1223
|
-
}, 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) => {
|
|
1223
|
+
}, minLength: (e2) => j(m(t2, ((t3) => y((e3) => b(e3) && e3.length >= t3))(e2))), length: (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) => {
|
|
1224
1224
|
return j(m(t2, (n2 = e2, y((t3) => b(t3) && t3.includes(n2)))));
|
|
1225
1225
|
var n2;
|
|
1226
1226
|
}, regex: (e2) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-react-hooks-extra",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.16-beta.4",
|
|
4
4
|
"description": "ESLint React's ESLint plugin for React Hooks related rules.",
|
|
5
5
|
"homepage": "https://github.com/rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -35,23 +35,23 @@
|
|
|
35
35
|
"./package.json"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@typescript-eslint/scope-manager": "^7.
|
|
39
|
-
"@typescript-eslint/type-utils": "^7.
|
|
40
|
-
"@typescript-eslint/types": "^7.
|
|
41
|
-
"@typescript-eslint/utils": "^7.
|
|
38
|
+
"@typescript-eslint/scope-manager": "^7.13.0",
|
|
39
|
+
"@typescript-eslint/type-utils": "^7.13.0",
|
|
40
|
+
"@typescript-eslint/types": "^7.13.0",
|
|
41
|
+
"@typescript-eslint/utils": "^7.13.0",
|
|
42
42
|
"string-ts": "2.1.1",
|
|
43
|
-
"valibot": "0.31.
|
|
44
|
-
"@eslint-react/ast": "1.5.
|
|
45
|
-
"@eslint-react/core": "1.5.
|
|
46
|
-
"@eslint-react/shared": "1.5.
|
|
47
|
-
"@eslint-react/
|
|
48
|
-
"@eslint-react/
|
|
49
|
-
"@eslint-react/
|
|
50
|
-
"@eslint-react/
|
|
43
|
+
"valibot": "0.31.1",
|
|
44
|
+
"@eslint-react/ast": "1.5.16-beta.4",
|
|
45
|
+
"@eslint-react/core": "1.5.16-beta.4",
|
|
46
|
+
"@eslint-react/shared": "1.5.16-beta.4",
|
|
47
|
+
"@eslint-react/tools": "1.5.16-beta.4",
|
|
48
|
+
"@eslint-react/jsx": "1.5.16-beta.4",
|
|
49
|
+
"@eslint-react/var": "1.5.16-beta.4",
|
|
50
|
+
"@eslint-react/types": "1.5.16-beta.4"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"dedent": "1.5.3",
|
|
54
|
-
"effect": "3.3.
|
|
54
|
+
"effect": "3.3.1",
|
|
55
55
|
"tsup": "8.1.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|