@storm-software/eslint 0.169.48 → 0.169.49
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/{chunk-OVM7WPUA.js → chunk-33FANJW3.js} +1 -1
- package/dist/{chunk-SNKOFB7R.js → chunk-ALVV2FVE.js} +2 -2
- package/dist/{chunk-XGLEXI5R.js → chunk-DJ4XDSHW.js} +1 -1
- package/dist/{chunk-Z5M3FYHP.js → chunk-H5WPTM23.js} +2 -2
- package/dist/{chunk-2MERDKQG.js → chunk-HDKSKTAP.js} +2 -2
- package/dist/{chunk-L5BVBFZ6.js → chunk-LZUEEZTF.js} +2 -2
- package/dist/{chunk-NORMXVJM.js → chunk-MPGMUG4U.js} +1 -1
- package/dist/{chunk-7ODR5JT5.js → chunk-RX5ME5HU.js} +3 -3
- package/dist/{chunk-V6TMM4Z6.js → chunk-WWIQZCGC.js} +1 -1
- package/dist/preset.js +150 -130
- package/dist/types.d.ts +18 -1
- package/dist/types.js +1 -1
- package/dist/utils/banner-plugin.js +4 -4
- package/dist/utils/combine.js +1 -1
- package/dist/utils/constants.js +2 -2
- package/dist/utils/correct-paths.js +2 -2
- package/dist/utils/find-workspace-root.js +3 -3
- package/dist/utils/format-config.js +2 -2
- package/dist/utils/get-file-banner.js +3 -3
- package/dist/utils/helpers.js +2 -2
- package/dist/utils/index.js +3 -3
- package/dist/utils/tsconfig-path.js +3 -3
- package/package.json +10 -10
|
@@ -31,11 +31,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
31
31
|
mod
|
|
32
32
|
));
|
|
33
33
|
|
|
34
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
34
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__a793dd249f39ab21a45375c80b03a1ea/node_modules/tsup/assets/esm_shims.js
|
|
35
35
|
import { fileURLToPath } from "url";
|
|
36
36
|
import path from "path";
|
|
37
37
|
var init_esm_shims = __esm({
|
|
38
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
38
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__a793dd249f39ab21a45375c80b03a1ea/node_modules/tsup/assets/esm_shims.js"() {
|
|
39
39
|
"use strict";
|
|
40
40
|
}
|
|
41
41
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileBanner
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-H5WPTM23.js";
|
|
4
4
|
import {
|
|
5
5
|
GLOB_SRC
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-33FANJW3.js";
|
|
7
7
|
import {
|
|
8
8
|
init_esm_shims
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HDKSKTAP.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/banner-plugin.ts
|
|
12
12
|
init_esm_shims();
|
package/dist/preset.js
CHANGED
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
isPackageInScope,
|
|
6
6
|
parserPlain,
|
|
7
7
|
renameRules
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WWIQZCGC.js";
|
|
9
9
|
import {
|
|
10
10
|
getTsConfigPath
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LZUEEZTF.js";
|
|
12
12
|
import {
|
|
13
13
|
banner_plugin_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RX5ME5HU.js";
|
|
15
15
|
import {
|
|
16
16
|
getFileBanner
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-H5WPTM23.js";
|
|
18
18
|
import {
|
|
19
19
|
GLOB_ASTRO,
|
|
20
20
|
GLOB_ASTRO_TS,
|
|
@@ -41,19 +41,19 @@ import {
|
|
|
41
41
|
GLOB_TSX,
|
|
42
42
|
GLOB_XML,
|
|
43
43
|
GLOB_YAML
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-33FANJW3.js";
|
|
45
45
|
import {
|
|
46
46
|
findWorkspaceRoot
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-ALVV2FVE.js";
|
|
48
48
|
import {
|
|
49
49
|
joinPaths
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-MPGMUG4U.js";
|
|
51
51
|
import {
|
|
52
52
|
__commonJS,
|
|
53
53
|
__export,
|
|
54
54
|
__toESM,
|
|
55
55
|
init_esm_shims
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-HDKSKTAP.js";
|
|
57
57
|
|
|
58
58
|
// ../../node_modules/.pnpm/eslint-plugin-tsdoc@0.4.0_patch_hash=611157f561b00eed9e1354e07e3bfbeab0dc230489afaec6fbae0c6be3bf2f43/node_modules/eslint-plugin-tsdoc/lib/Debug.js
|
|
59
59
|
import * as __import_process from "process";
|
|
@@ -1265,14 +1265,14 @@ var blobUrl = "https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/"
|
|
|
1265
1265
|
function RuleCreator(urlCreator) {
|
|
1266
1266
|
return function createNamedRule({
|
|
1267
1267
|
name: name2,
|
|
1268
|
-
meta,
|
|
1268
|
+
meta: meta2,
|
|
1269
1269
|
...rule
|
|
1270
1270
|
}) {
|
|
1271
1271
|
return createRule({
|
|
1272
1272
|
meta: {
|
|
1273
|
-
...
|
|
1273
|
+
...meta2,
|
|
1274
1274
|
docs: {
|
|
1275
|
-
...
|
|
1275
|
+
...meta2.docs,
|
|
1276
1276
|
url: urlCreator(name2)
|
|
1277
1277
|
}
|
|
1278
1278
|
},
|
|
@@ -1283,7 +1283,7 @@ function RuleCreator(urlCreator) {
|
|
|
1283
1283
|
function createRule({
|
|
1284
1284
|
create,
|
|
1285
1285
|
defaultOptions,
|
|
1286
|
-
meta
|
|
1286
|
+
meta: meta2
|
|
1287
1287
|
}) {
|
|
1288
1288
|
return {
|
|
1289
1289
|
create: (context) => {
|
|
@@ -1296,7 +1296,7 @@ function createRule({
|
|
|
1296
1296
|
return create(context, optionsWithDefault);
|
|
1297
1297
|
},
|
|
1298
1298
|
defaultOptions,
|
|
1299
|
-
meta
|
|
1299
|
+
meta: meta2
|
|
1300
1300
|
};
|
|
1301
1301
|
}
|
|
1302
1302
|
var createEslintRule = RuleCreator(
|
|
@@ -2524,19 +2524,19 @@ init_esm_shims();
|
|
|
2524
2524
|
// ../config/src/schema.ts
|
|
2525
2525
|
init_esm_shims();
|
|
2526
2526
|
|
|
2527
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2527
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/mini/index.js
|
|
2528
2528
|
init_esm_shims();
|
|
2529
2529
|
|
|
2530
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2530
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/mini/index.js
|
|
2531
2531
|
init_esm_shims();
|
|
2532
2532
|
|
|
2533
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2533
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/mini/external.js
|
|
2534
2534
|
init_esm_shims();
|
|
2535
2535
|
|
|
2536
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2536
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/index.js
|
|
2537
2537
|
init_esm_shims();
|
|
2538
2538
|
|
|
2539
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2539
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/core.js
|
|
2540
2540
|
init_esm_shims();
|
|
2541
2541
|
var NEVER = Object.freeze({
|
|
2542
2542
|
status: "aborted"
|
|
@@ -2544,30 +2544,39 @@ var NEVER = Object.freeze({
|
|
|
2544
2544
|
// @__NO_SIDE_EFFECTS__
|
|
2545
2545
|
function $constructor(name2, initializer2, params) {
|
|
2546
2546
|
function init(inst, def) {
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2547
|
+
if (!inst._zod) {
|
|
2548
|
+
Object.defineProperty(inst, "_zod", {
|
|
2549
|
+
value: {
|
|
2550
|
+
def,
|
|
2551
|
+
constr: _,
|
|
2552
|
+
traits: /* @__PURE__ */ new Set()
|
|
2553
|
+
},
|
|
2554
|
+
enumerable: false
|
|
2555
|
+
});
|
|
2556
|
+
}
|
|
2557
|
+
if (inst._zod.traits.has(name2)) {
|
|
2558
|
+
return;
|
|
2559
|
+
}
|
|
2553
2560
|
inst._zod.traits.add(name2);
|
|
2554
2561
|
initializer2(inst, def);
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2562
|
+
const proto = _.prototype;
|
|
2563
|
+
const keys = Object.keys(proto);
|
|
2564
|
+
for (let i = 0; i < keys.length; i++) {
|
|
2565
|
+
const k = keys[i];
|
|
2566
|
+
if (!(k in inst)) {
|
|
2567
|
+
inst[k] = proto[k].bind(inst);
|
|
2568
|
+
}
|
|
2558
2569
|
}
|
|
2559
|
-
inst._zod.constr = _;
|
|
2560
|
-
inst._zod.def = def;
|
|
2561
2570
|
}
|
|
2562
2571
|
const Parent = params?.Parent ?? Object;
|
|
2563
2572
|
class Definition extends Parent {
|
|
2564
2573
|
}
|
|
2565
2574
|
Object.defineProperty(Definition, "name", { value: name2 });
|
|
2566
2575
|
function _(def) {
|
|
2567
|
-
var
|
|
2576
|
+
var _a2;
|
|
2568
2577
|
const inst = params?.Parent ? new Definition() : this;
|
|
2569
2578
|
init(inst, def);
|
|
2570
|
-
(
|
|
2579
|
+
(_a2 = inst._zod).deferred ?? (_a2.deferred = []);
|
|
2571
2580
|
for (const fn of inst._zod.deferred) {
|
|
2572
2581
|
fn();
|
|
2573
2582
|
}
|
|
@@ -2597,13 +2606,13 @@ function config(newConfig) {
|
|
|
2597
2606
|
return globalConfig;
|
|
2598
2607
|
}
|
|
2599
2608
|
|
|
2600
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2609
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/parse.js
|
|
2601
2610
|
init_esm_shims();
|
|
2602
2611
|
|
|
2603
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2612
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/errors.js
|
|
2604
2613
|
init_esm_shims();
|
|
2605
2614
|
|
|
2606
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
2615
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/util.js
|
|
2607
2616
|
var util_exports = {};
|
|
2608
2617
|
__export(util_exports, {
|
|
2609
2618
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -2661,6 +2670,7 @@ __export(util_exports, {
|
|
|
2661
2670
|
required: () => required,
|
|
2662
2671
|
safeExtend: () => safeExtend,
|
|
2663
2672
|
shallowClone: () => shallowClone,
|
|
2673
|
+
slugify: () => slugify,
|
|
2664
2674
|
stringifyPrimitive: () => stringifyPrimitive,
|
|
2665
2675
|
uint8ArrayToBase64: () => uint8ArrayToBase64,
|
|
2666
2676
|
uint8ArrayToBase64url: () => uint8ArrayToBase64url,
|
|
@@ -2802,6 +2812,9 @@ function randomString(length = 10) {
|
|
|
2802
2812
|
function esc(str) {
|
|
2803
2813
|
return JSON.stringify(str);
|
|
2804
2814
|
}
|
|
2815
|
+
function slugify(input) {
|
|
2816
|
+
return input.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
|
|
2817
|
+
}
|
|
2805
2818
|
var captureStackTrace = "captureStackTrace" in Error ? Error.captureStackTrace : (..._args) => {
|
|
2806
2819
|
};
|
|
2807
2820
|
function isObject(data) {
|
|
@@ -2825,6 +2838,8 @@ function isPlainObject(o) {
|
|
|
2825
2838
|
const ctor = o.constructor;
|
|
2826
2839
|
if (ctor === void 0)
|
|
2827
2840
|
return true;
|
|
2841
|
+
if (typeof ctor !== "function")
|
|
2842
|
+
return true;
|
|
2828
2843
|
const prot = ctor.prototype;
|
|
2829
2844
|
if (isObject(prot) === false)
|
|
2830
2845
|
return false;
|
|
@@ -3141,8 +3156,8 @@ function aborted(x, startIndex = 0) {
|
|
|
3141
3156
|
}
|
|
3142
3157
|
function prefixIssues(path, issues) {
|
|
3143
3158
|
return issues.map((iss) => {
|
|
3144
|
-
var
|
|
3145
|
-
(
|
|
3159
|
+
var _a2;
|
|
3160
|
+
(_a2 = iss).path ?? (_a2.path = []);
|
|
3146
3161
|
iss.path.unshift(path);
|
|
3147
3162
|
return iss;
|
|
3148
3163
|
});
|
|
@@ -3238,7 +3253,7 @@ var Class = class {
|
|
|
3238
3253
|
}
|
|
3239
3254
|
};
|
|
3240
3255
|
|
|
3241
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
3256
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/errors.js
|
|
3242
3257
|
var initializer = (inst, def) => {
|
|
3243
3258
|
inst.name = "$ZodError";
|
|
3244
3259
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -3258,7 +3273,7 @@ var initializer = (inst, def) => {
|
|
|
3258
3273
|
var $ZodError = $constructor("$ZodError", initializer);
|
|
3259
3274
|
var $ZodRealError = $constructor("$ZodError", initializer, { Parent: Error });
|
|
3260
3275
|
|
|
3261
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
3276
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/parse.js
|
|
3262
3277
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
3263
3278
|
const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
3264
3279
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -3310,15 +3325,14 @@ var _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
3310
3325
|
};
|
|
3311
3326
|
var safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError);
|
|
3312
3327
|
|
|
3313
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
3328
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/schemas.js
|
|
3314
3329
|
init_esm_shims();
|
|
3315
3330
|
|
|
3316
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
3331
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/checks.js
|
|
3317
3332
|
init_esm_shims();
|
|
3318
3333
|
|
|
3319
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
3334
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/regexes.js
|
|
3320
3335
|
init_esm_shims();
|
|
3321
|
-
var hostname = /^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/;
|
|
3322
3336
|
var dateSource = `(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;
|
|
3323
3337
|
var date = /* @__PURE__ */ new RegExp(`^${dateSource}$`);
|
|
3324
3338
|
var string = (params) => {
|
|
@@ -3327,17 +3341,17 @@ var string = (params) => {
|
|
|
3327
3341
|
};
|
|
3328
3342
|
var boolean = /^(?:true|false)$/i;
|
|
3329
3343
|
|
|
3330
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
3344
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/checks.js
|
|
3331
3345
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
3332
|
-
var
|
|
3346
|
+
var _a2;
|
|
3333
3347
|
inst._zod ?? (inst._zod = {});
|
|
3334
3348
|
inst._zod.def = def;
|
|
3335
|
-
(
|
|
3349
|
+
(_a2 = inst._zod).onattach ?? (_a2.onattach = []);
|
|
3336
3350
|
});
|
|
3337
3351
|
var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals", (inst, def) => {
|
|
3338
|
-
var
|
|
3352
|
+
var _a2;
|
|
3339
3353
|
$ZodCheck.init(inst, def);
|
|
3340
|
-
(
|
|
3354
|
+
(_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
|
|
3341
3355
|
const val = payload.value;
|
|
3342
3356
|
return !nullish(val) && val.length !== void 0;
|
|
3343
3357
|
});
|
|
@@ -3366,7 +3380,7 @@ var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals"
|
|
|
3366
3380
|
};
|
|
3367
3381
|
});
|
|
3368
3382
|
var $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat", (inst, def) => {
|
|
3369
|
-
var
|
|
3383
|
+
var _a2, _b;
|
|
3370
3384
|
$ZodCheck.init(inst, def);
|
|
3371
3385
|
inst._zod.onattach.push((inst2) => {
|
|
3372
3386
|
const bag = inst2._zod.bag;
|
|
@@ -3377,7 +3391,7 @@ var $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat"
|
|
|
3377
3391
|
}
|
|
3378
3392
|
});
|
|
3379
3393
|
if (def.pattern)
|
|
3380
|
-
(
|
|
3394
|
+
(_a2 = inst._zod).check ?? (_a2.check = (payload) => {
|
|
3381
3395
|
def.pattern.lastIndex = 0;
|
|
3382
3396
|
if (def.pattern.test(payload.value))
|
|
3383
3397
|
return;
|
|
@@ -3419,20 +3433,20 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
3419
3433
|
};
|
|
3420
3434
|
});
|
|
3421
3435
|
|
|
3422
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
3436
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/doc.js
|
|
3423
3437
|
init_esm_shims();
|
|
3424
3438
|
|
|
3425
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
3439
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/versions.js
|
|
3426
3440
|
init_esm_shims();
|
|
3427
3441
|
var version2 = {
|
|
3428
3442
|
major: 4,
|
|
3429
3443
|
minor: 1,
|
|
3430
|
-
patch:
|
|
3444
|
+
patch: 13
|
|
3431
3445
|
};
|
|
3432
3446
|
|
|
3433
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
3447
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/schemas.js
|
|
3434
3448
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
3435
|
-
var
|
|
3449
|
+
var _a2;
|
|
3436
3450
|
inst ?? (inst = {});
|
|
3437
3451
|
inst._zod.def = def;
|
|
3438
3452
|
inst._zod.bag = inst._zod.bag || {};
|
|
@@ -3447,7 +3461,7 @@ var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
|
3447
3461
|
}
|
|
3448
3462
|
}
|
|
3449
3463
|
if (checks.length === 0) {
|
|
3450
|
-
(
|
|
3464
|
+
(_a2 = inst._zod).deferred ?? (_a2.deferred = []);
|
|
3451
3465
|
inst._zod.deferred?.push(() => {
|
|
3452
3466
|
inst._zod.run = inst._zod.parse;
|
|
3453
3467
|
});
|
|
@@ -3577,7 +3591,7 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
3577
3591
|
code: "invalid_format",
|
|
3578
3592
|
format: "url",
|
|
3579
3593
|
note: "Invalid hostname",
|
|
3580
|
-
pattern: hostname.source,
|
|
3594
|
+
pattern: def.hostname.source,
|
|
3581
3595
|
input: payload.value,
|
|
3582
3596
|
inst,
|
|
3583
3597
|
continue: !def.abort
|
|
@@ -3712,7 +3726,7 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
|
|
|
3712
3726
|
const keySet = def.keySet;
|
|
3713
3727
|
const _catchall = def.catchall._zod;
|
|
3714
3728
|
const t = _catchall.def.type;
|
|
3715
|
-
for (const key
|
|
3729
|
+
for (const key in input) {
|
|
3716
3730
|
if (keySet.has(key))
|
|
3717
3731
|
continue;
|
|
3718
3732
|
if (t === "never") {
|
|
@@ -3882,11 +3896,13 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
3882
3896
|
return payload;
|
|
3883
3897
|
}
|
|
3884
3898
|
const proms = [];
|
|
3885
|
-
|
|
3886
|
-
|
|
3899
|
+
const values = def.keyType._zod.values;
|
|
3900
|
+
if (values) {
|
|
3887
3901
|
payload.value = {};
|
|
3902
|
+
const recordKeys = /* @__PURE__ */ new Set();
|
|
3888
3903
|
for (const key of values) {
|
|
3889
3904
|
if (typeof key === "string" || typeof key === "number" || typeof key === "symbol") {
|
|
3905
|
+
recordKeys.add(typeof key === "number" ? key.toString() : key);
|
|
3890
3906
|
const result = def.valueType._zod.run({ value: input[key], issues: [] }, ctx);
|
|
3891
3907
|
if (result instanceof Promise) {
|
|
3892
3908
|
proms.push(result.then((result2) => {
|
|
@@ -3905,7 +3921,7 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
3905
3921
|
}
|
|
3906
3922
|
let unrecognized;
|
|
3907
3923
|
for (const key in input) {
|
|
3908
|
-
if (!
|
|
3924
|
+
if (!recordKeys.has(key)) {
|
|
3909
3925
|
unrecognized = unrecognized ?? [];
|
|
3910
3926
|
unrecognized.push(key);
|
|
3911
3927
|
}
|
|
@@ -3986,11 +4002,12 @@ var $ZodLiteral = /* @__PURE__ */ $constructor("$ZodLiteral", (inst, def) => {
|
|
|
3986
4002
|
if (def.values.length === 0) {
|
|
3987
4003
|
throw new Error("Cannot create literal schema with no valid values");
|
|
3988
4004
|
}
|
|
3989
|
-
|
|
4005
|
+
const values = new Set(def.values);
|
|
4006
|
+
inst._zod.values = values;
|
|
3990
4007
|
inst._zod.pattern = new RegExp(`^(${def.values.map((o) => typeof o === "string" ? escapeRegex(o) : o ? escapeRegex(o.toString()) : String(o)).join("|")})$`);
|
|
3991
4008
|
inst._zod.parse = (payload, _ctx) => {
|
|
3992
4009
|
const input = payload.value;
|
|
3993
|
-
if (
|
|
4010
|
+
if (values.has(input)) {
|
|
3994
4011
|
return payload;
|
|
3995
4012
|
}
|
|
3996
4013
|
payload.issues.push({
|
|
@@ -4075,152 +4092,153 @@ function handleDefaultResult(payload, def) {
|
|
|
4075
4092
|
return payload;
|
|
4076
4093
|
}
|
|
4077
4094
|
|
|
4078
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4095
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/index.js
|
|
4079
4096
|
init_esm_shims();
|
|
4080
4097
|
|
|
4081
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4098
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/ar.js
|
|
4082
4099
|
init_esm_shims();
|
|
4083
4100
|
|
|
4084
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4101
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/az.js
|
|
4085
4102
|
init_esm_shims();
|
|
4086
4103
|
|
|
4087
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4104
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/be.js
|
|
4088
4105
|
init_esm_shims();
|
|
4089
4106
|
|
|
4090
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4107
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/bg.js
|
|
4091
4108
|
init_esm_shims();
|
|
4092
4109
|
|
|
4093
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4110
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/ca.js
|
|
4094
4111
|
init_esm_shims();
|
|
4095
4112
|
|
|
4096
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4113
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/cs.js
|
|
4097
4114
|
init_esm_shims();
|
|
4098
4115
|
|
|
4099
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4116
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/da.js
|
|
4100
4117
|
init_esm_shims();
|
|
4101
4118
|
|
|
4102
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4119
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/de.js
|
|
4103
4120
|
init_esm_shims();
|
|
4104
4121
|
|
|
4105
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4122
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/en.js
|
|
4106
4123
|
init_esm_shims();
|
|
4107
4124
|
|
|
4108
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4125
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/eo.js
|
|
4109
4126
|
init_esm_shims();
|
|
4110
4127
|
|
|
4111
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4128
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/es.js
|
|
4112
4129
|
init_esm_shims();
|
|
4113
4130
|
|
|
4114
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4131
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/fa.js
|
|
4115
4132
|
init_esm_shims();
|
|
4116
4133
|
|
|
4117
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4134
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/fi.js
|
|
4118
4135
|
init_esm_shims();
|
|
4119
4136
|
|
|
4120
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4137
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/fr.js
|
|
4121
4138
|
init_esm_shims();
|
|
4122
4139
|
|
|
4123
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4140
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/fr-CA.js
|
|
4124
4141
|
init_esm_shims();
|
|
4125
4142
|
|
|
4126
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4143
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/he.js
|
|
4127
4144
|
init_esm_shims();
|
|
4128
4145
|
|
|
4129
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4146
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/hu.js
|
|
4130
4147
|
init_esm_shims();
|
|
4131
4148
|
|
|
4132
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4149
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/id.js
|
|
4133
4150
|
init_esm_shims();
|
|
4134
4151
|
|
|
4135
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4152
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/is.js
|
|
4136
4153
|
init_esm_shims();
|
|
4137
4154
|
|
|
4138
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4155
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/it.js
|
|
4139
4156
|
init_esm_shims();
|
|
4140
4157
|
|
|
4141
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4158
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/ja.js
|
|
4142
4159
|
init_esm_shims();
|
|
4143
4160
|
|
|
4144
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4161
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/ka.js
|
|
4145
4162
|
init_esm_shims();
|
|
4146
4163
|
|
|
4147
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4164
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/kh.js
|
|
4148
4165
|
init_esm_shims();
|
|
4149
4166
|
|
|
4150
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4167
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/km.js
|
|
4151
4168
|
init_esm_shims();
|
|
4152
4169
|
|
|
4153
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4170
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/ko.js
|
|
4154
4171
|
init_esm_shims();
|
|
4155
4172
|
|
|
4156
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4173
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/lt.js
|
|
4157
4174
|
init_esm_shims();
|
|
4158
4175
|
|
|
4159
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4176
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/mk.js
|
|
4160
4177
|
init_esm_shims();
|
|
4161
4178
|
|
|
4162
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4179
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/ms.js
|
|
4163
4180
|
init_esm_shims();
|
|
4164
4181
|
|
|
4165
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4182
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/nl.js
|
|
4166
4183
|
init_esm_shims();
|
|
4167
4184
|
|
|
4168
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4185
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/no.js
|
|
4169
4186
|
init_esm_shims();
|
|
4170
4187
|
|
|
4171
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4188
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/ota.js
|
|
4172
4189
|
init_esm_shims();
|
|
4173
4190
|
|
|
4174
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4191
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/ps.js
|
|
4175
4192
|
init_esm_shims();
|
|
4176
4193
|
|
|
4177
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4194
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/pl.js
|
|
4178
4195
|
init_esm_shims();
|
|
4179
4196
|
|
|
4180
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4197
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/pt.js
|
|
4181
4198
|
init_esm_shims();
|
|
4182
4199
|
|
|
4183
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4200
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/ru.js
|
|
4184
4201
|
init_esm_shims();
|
|
4185
4202
|
|
|
4186
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4203
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/sl.js
|
|
4187
4204
|
init_esm_shims();
|
|
4188
4205
|
|
|
4189
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4206
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/sv.js
|
|
4190
4207
|
init_esm_shims();
|
|
4191
4208
|
|
|
4192
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4209
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/ta.js
|
|
4193
4210
|
init_esm_shims();
|
|
4194
4211
|
|
|
4195
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4212
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/th.js
|
|
4196
4213
|
init_esm_shims();
|
|
4197
4214
|
|
|
4198
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4215
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/tr.js
|
|
4199
4216
|
init_esm_shims();
|
|
4200
4217
|
|
|
4201
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4218
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/ua.js
|
|
4202
4219
|
init_esm_shims();
|
|
4203
4220
|
|
|
4204
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4221
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/uk.js
|
|
4205
4222
|
init_esm_shims();
|
|
4206
4223
|
|
|
4207
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4224
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/ur.js
|
|
4208
4225
|
init_esm_shims();
|
|
4209
4226
|
|
|
4210
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4227
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/vi.js
|
|
4211
4228
|
init_esm_shims();
|
|
4212
4229
|
|
|
4213
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4230
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/zh-CN.js
|
|
4214
4231
|
init_esm_shims();
|
|
4215
4232
|
|
|
4216
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4233
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/zh-TW.js
|
|
4217
4234
|
init_esm_shims();
|
|
4218
4235
|
|
|
4219
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4236
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/locales/yo.js
|
|
4220
4237
|
init_esm_shims();
|
|
4221
4238
|
|
|
4222
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4239
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/registries.js
|
|
4223
4240
|
init_esm_shims();
|
|
4241
|
+
var _a;
|
|
4224
4242
|
var $output = Symbol("ZodOutput");
|
|
4225
4243
|
var $input = Symbol("ZodInput");
|
|
4226
4244
|
var $ZodRegistry = class {
|
|
@@ -4229,13 +4247,13 @@ var $ZodRegistry = class {
|
|
|
4229
4247
|
this._idmap = /* @__PURE__ */ new Map();
|
|
4230
4248
|
}
|
|
4231
4249
|
add(schema, ..._meta) {
|
|
4232
|
-
const
|
|
4233
|
-
this._map.set(schema,
|
|
4234
|
-
if (
|
|
4235
|
-
if (this._idmap.has(
|
|
4236
|
-
throw new Error(`ID ${
|
|
4250
|
+
const meta2 = _meta[0];
|
|
4251
|
+
this._map.set(schema, meta2);
|
|
4252
|
+
if (meta2 && typeof meta2 === "object" && "id" in meta2) {
|
|
4253
|
+
if (this._idmap.has(meta2.id)) {
|
|
4254
|
+
throw new Error(`ID ${meta2.id} already exists in the registry`);
|
|
4237
4255
|
}
|
|
4238
|
-
this._idmap.set(
|
|
4256
|
+
this._idmap.set(meta2.id, schema);
|
|
4239
4257
|
}
|
|
4240
4258
|
return this;
|
|
4241
4259
|
}
|
|
@@ -4245,9 +4263,9 @@ var $ZodRegistry = class {
|
|
|
4245
4263
|
return this;
|
|
4246
4264
|
}
|
|
4247
4265
|
remove(schema) {
|
|
4248
|
-
const
|
|
4249
|
-
if (
|
|
4250
|
-
this._idmap.delete(
|
|
4266
|
+
const meta2 = this._map.get(schema);
|
|
4267
|
+
if (meta2 && typeof meta2 === "object" && "id" in meta2) {
|
|
4268
|
+
this._idmap.delete(meta2.id);
|
|
4251
4269
|
}
|
|
4252
4270
|
this._map.delete(schema);
|
|
4253
4271
|
return this;
|
|
@@ -4269,8 +4287,10 @@ var $ZodRegistry = class {
|
|
|
4269
4287
|
function registry() {
|
|
4270
4288
|
return new $ZodRegistry();
|
|
4271
4289
|
}
|
|
4290
|
+
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
4291
|
+
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
4272
4292
|
|
|
4273
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4293
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/api.js
|
|
4274
4294
|
init_esm_shims();
|
|
4275
4295
|
function _string(Class2, params) {
|
|
4276
4296
|
return new Class2({
|
|
@@ -4326,16 +4346,16 @@ function _toLowerCase() {
|
|
|
4326
4346
|
return _overwrite((input) => input.toLowerCase());
|
|
4327
4347
|
}
|
|
4328
4348
|
|
|
4329
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4349
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/to-json-schema.js
|
|
4330
4350
|
init_esm_shims();
|
|
4331
4351
|
|
|
4332
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4352
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/core/json-schema.js
|
|
4333
4353
|
init_esm_shims();
|
|
4334
4354
|
|
|
4335
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4355
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/mini/parse.js
|
|
4336
4356
|
init_esm_shims();
|
|
4337
4357
|
|
|
4338
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4358
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/mini/schemas.js
|
|
4339
4359
|
init_esm_shims();
|
|
4340
4360
|
var ZodMiniType = /* @__PURE__ */ $constructor("ZodMiniType", (inst, def) => {
|
|
4341
4361
|
if (!inst._zod)
|
|
@@ -4361,8 +4381,8 @@ var ZodMiniType = /* @__PURE__ */ $constructor("ZodMiniType", (inst, def) => {
|
|
|
4361
4381
|
};
|
|
4362
4382
|
inst.clone = (_def, params) => clone(inst, _def, params);
|
|
4363
4383
|
inst.brand = () => inst;
|
|
4364
|
-
inst.register = ((reg,
|
|
4365
|
-
reg.add(inst,
|
|
4384
|
+
inst.register = ((reg, meta2) => {
|
|
4385
|
+
reg.add(inst, meta2);
|
|
4366
4386
|
return inst;
|
|
4367
4387
|
});
|
|
4368
4388
|
});
|
|
@@ -4503,13 +4523,13 @@ function _default(innerType, defaultValue) {
|
|
|
4503
4523
|
});
|
|
4504
4524
|
}
|
|
4505
4525
|
|
|
4506
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4526
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/mini/checks.js
|
|
4507
4527
|
init_esm_shims();
|
|
4508
4528
|
|
|
4509
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4529
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/mini/iso.js
|
|
4510
4530
|
init_esm_shims();
|
|
4511
4531
|
|
|
4512
|
-
// ../../node_modules/.pnpm/zod@4.1.
|
|
4532
|
+
// ../../node_modules/.pnpm/zod@4.1.13/node_modules/zod/v4/mini/coerce.js
|
|
4513
4533
|
init_esm_shims();
|
|
4514
4534
|
|
|
4515
4535
|
// ../config/src/schema.ts
|
package/dist/types.d.ts
CHANGED
|
@@ -5577,6 +5577,11 @@ Backward pagination arguments
|
|
|
5577
5577
|
* @deprecated
|
|
5578
5578
|
*/
|
|
5579
5579
|
'template-tag-spacing'?: Linter.RuleEntry<TemplateTagSpacing>
|
|
5580
|
+
/**
|
|
5581
|
+
* enforce using `.each` or `.for` consistently
|
|
5582
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-each-for.md
|
|
5583
|
+
*/
|
|
5584
|
+
'test/consistent-each-for'?: Linter.RuleEntry<TestConsistentEachFor>
|
|
5580
5585
|
/**
|
|
5581
5586
|
* require test file pattern
|
|
5582
5587
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
|
|
@@ -5799,7 +5804,7 @@ Backward pagination arguments
|
|
|
5799
5804
|
*/
|
|
5800
5805
|
'test/prefer-each'?: Linter.RuleEntry<[]>
|
|
5801
5806
|
/**
|
|
5802
|
-
* enforce using the built-in
|
|
5807
|
+
* enforce using the built-in equality matchers
|
|
5803
5808
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-equality-matcher.md
|
|
5804
5809
|
*/
|
|
5805
5810
|
'test/prefer-equality-matcher'?: Linter.RuleEntry<[]>
|
|
@@ -5918,6 +5923,11 @@ Backward pagination arguments
|
|
|
5918
5923
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md
|
|
5919
5924
|
*/
|
|
5920
5925
|
'test/require-hook'?: Linter.RuleEntry<TestRequireHook>
|
|
5926
|
+
/**
|
|
5927
|
+
* require usage of import in vi.mock()
|
|
5928
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-import-vi-mock.md
|
|
5929
|
+
*/
|
|
5930
|
+
'test/require-import-vi-mock'?: Linter.RuleEntry<[]>
|
|
5921
5931
|
/**
|
|
5922
5932
|
* require local Test Context for concurrent snapshot tests
|
|
5923
5933
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
|
|
@@ -15768,6 +15778,13 @@ type SwitchColonSpacing = []|[{
|
|
|
15768
15778
|
type TemplateCurlySpacing = []|[("always" | "never")]
|
|
15769
15779
|
// ----- template-tag-spacing -----
|
|
15770
15780
|
type TemplateTagSpacing = []|[("always" | "never")]
|
|
15781
|
+
// ----- test/consistent-each-for -----
|
|
15782
|
+
type TestConsistentEachFor = []|[{
|
|
15783
|
+
test?: ("each" | "for")
|
|
15784
|
+
it?: ("each" | "for")
|
|
15785
|
+
describe?: ("each" | "for")
|
|
15786
|
+
suite?: ("each" | "for")
|
|
15787
|
+
}]
|
|
15771
15788
|
// ----- test/consistent-test-filename -----
|
|
15772
15789
|
type TestConsistentTestFilename = []|[{
|
|
15773
15790
|
pattern?: string
|
package/dist/types.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
banner_plugin_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-RX5ME5HU.js";
|
|
4
|
+
import "../chunk-H5WPTM23.js";
|
|
5
|
+
import "../chunk-33FANJW3.js";
|
|
6
|
+
import "../chunk-HDKSKTAP.js";
|
|
7
7
|
export {
|
|
8
8
|
banner_plugin_default as default
|
|
9
9
|
};
|
package/dist/utils/combine.js
CHANGED
package/dist/utils/constants.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findWorkspaceRoot,
|
|
3
3
|
findWorkspaceRootSafe
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-ALVV2FVE.js";
|
|
5
|
+
import "../chunk-MPGMUG4U.js";
|
|
6
|
+
import "../chunk-HDKSKTAP.js";
|
|
7
7
|
export {
|
|
8
8
|
findWorkspaceRoot,
|
|
9
9
|
findWorkspaceRootSafe
|
package/dist/utils/helpers.js
CHANGED
package/dist/utils/index.js
CHANGED
|
@@ -33,13 +33,13 @@ import {
|
|
|
33
33
|
GLOB_VUE,
|
|
34
34
|
GLOB_XML,
|
|
35
35
|
GLOB_YAML
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-33FANJW3.js";
|
|
37
37
|
import {
|
|
38
38
|
formatConfig
|
|
39
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-DJ4XDSHW.js";
|
|
40
40
|
import {
|
|
41
41
|
init_esm_shims
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-HDKSKTAP.js";
|
|
43
43
|
|
|
44
44
|
// src/utils/index.ts
|
|
45
45
|
init_esm_shims();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/eslint",
|
|
3
|
-
"version": "0.169.
|
|
3
|
+
"version": "0.169.49",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing the base ESLint configuration used by Storm Software across many projects.",
|
|
6
6
|
"repository": {
|
|
@@ -164,13 +164,13 @@
|
|
|
164
164
|
"@eslint/eslintrc": "^3.3.1",
|
|
165
165
|
"@eslint/markdown": "^6.6.0",
|
|
166
166
|
"@nx/eslint-plugin": "22.0.4",
|
|
167
|
-
"@storm-software/config": "^1.134.
|
|
168
|
-
"@storm-software/config-tools": "^1.188.
|
|
167
|
+
"@storm-software/config": "^1.134.49",
|
|
168
|
+
"@storm-software/config-tools": "^1.188.49",
|
|
169
169
|
"@stylistic/eslint-plugin": "^4.4.1",
|
|
170
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
171
|
-
"@typescript-eslint/parser": "^8.
|
|
172
|
-
"@typescript-eslint/utils": "^8.
|
|
173
|
-
"@vitest/eslint-plugin": "^1.
|
|
170
|
+
"@typescript-eslint/eslint-plugin": "^8.48.0",
|
|
171
|
+
"@typescript-eslint/parser": "^8.48.0",
|
|
172
|
+
"@typescript-eslint/utils": "^8.48.0",
|
|
173
|
+
"@vitest/eslint-plugin": "^1.5.0",
|
|
174
174
|
"chalk": "^4.1.2",
|
|
175
175
|
"defu": "6.1.4",
|
|
176
176
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
@@ -203,8 +203,8 @@
|
|
|
203
203
|
"local-pkg": "^1.1.2",
|
|
204
204
|
"parse-gitignore": "^2.0.0",
|
|
205
205
|
"toml-eslint-parser": "^0.10.0",
|
|
206
|
-
"yaml-eslint-parser": "^1.3.
|
|
207
|
-
"zod": "^4.1.
|
|
206
|
+
"yaml-eslint-parser": "^1.3.1",
|
|
207
|
+
"zod": "^4.1.13"
|
|
208
208
|
},
|
|
209
209
|
"devDependencies": {
|
|
210
210
|
"@eslint-community/eslint-utils": "^4.9.0",
|
|
@@ -241,5 +241,5 @@
|
|
|
241
241
|
},
|
|
242
242
|
"publishConfig": { "access": "public" },
|
|
243
243
|
"sideEffects": false,
|
|
244
|
-
"gitHead": "
|
|
244
|
+
"gitHead": "50d5da65a592cc5ebe3ba46b3793471fd910f863"
|
|
245
245
|
}
|