@flakiness/vitest 1.10.1 → 1.12.0
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/README.md +19 -4
- package/lib/reporter.js +176 -118
- package/package.json +11 -11
- package/types/src/reporter.d.ts +1 -0
package/README.md
CHANGED
|
@@ -19,6 +19,7 @@ A custom Vitest reporter that generates Flakiness Reports from your Vitest test
|
|
|
19
19
|
- [CI Integration](#ci-integration)
|
|
20
20
|
- [Configuration Options](#configuration-options)
|
|
21
21
|
- [`title?: string`](#title-string)
|
|
22
|
+
- [`commitId?: string`](#commitid-string)
|
|
22
23
|
- [`flakinessProject?: string`](#flakinessproject-string)
|
|
23
24
|
- [`endpoint?: string`](#endpoint-string)
|
|
24
25
|
- [`token?: string`](#token-string)
|
|
@@ -151,7 +152,7 @@ Flakiness.io considers two tests to be *duplicates* when they:
|
|
|
151
152
|
2. Have the same test name
|
|
152
153
|
3. And run in the same Vitest project
|
|
153
154
|
|
|
154
|
-
Flakiness.io relies on full test names to construct test history, so each test must have a unique full name. When Vitest reporter detects tests with identical full names, it issues
|
|
155
|
+
Flakiness.io relies on full test names to construct test history, so each test must have a unique full name. When Vitest reporter detects tests with identical full names, it issues a warning and handles them according to the [`duplicates`](#duplicates-fail--rename) option.
|
|
155
156
|
|
|
156
157
|
### Environment Detection
|
|
157
158
|
|
|
@@ -191,7 +192,7 @@ The reporter accepts the following options:
|
|
|
191
192
|
|
|
192
193
|
### `title?: string`
|
|
193
194
|
|
|
194
|
-
Optional human-readable report title. Typically used to name a CI run, matrix shard, or other execution group. Defaults to the `FLAKINESS_TITLE` environment variable
|
|
195
|
+
Optional human-readable report title. Typically used to name a CI run, matrix shard, or other execution group. Defaults to the `FLAKINESS_TITLE` environment variable if set; otherwise a run with `--shard=N/M` is titled `Shard N/M`, and an unsharded run has no title.
|
|
195
196
|
|
|
196
197
|
```typescript
|
|
197
198
|
reporters: [
|
|
@@ -199,6 +200,18 @@ reporters: [
|
|
|
199
200
|
]
|
|
200
201
|
```
|
|
201
202
|
|
|
203
|
+
### `commitId?: string`
|
|
204
|
+
|
|
205
|
+
Full SHA of the commit the report belongs to. Defaults to the `FLAKINESS_COMMIT_ID` environment variable, or the current git commit (`git rev-parse HEAD`) otherwise.
|
|
206
|
+
|
|
207
|
+
Set it when the checked-out commit is not the one under test, for example when a CI job makes a local commit before running the tests.
|
|
208
|
+
|
|
209
|
+
```typescript
|
|
210
|
+
reporters: [
|
|
211
|
+
['@flakiness/vitest', { commitId: process.env.GITHUB_SHA }]
|
|
212
|
+
]
|
|
213
|
+
```
|
|
214
|
+
|
|
202
215
|
### `flakinessProject?: string`
|
|
203
216
|
|
|
204
217
|
The Flakiness.io project identifier in `org/project` format. Required for CI OIDC authentication. When set, and when the Flakiness.io project is bound to the repository running the pipeline, the reporter authenticates uploads via a GitHub Actions or GitLab CI/CD OIDC token with no access token required. See [Uploading Reports](#uploading-reports) for the per-provider requirements.
|
|
@@ -250,8 +263,8 @@ Controls how the reporter handles tests with duplicate full names. Defaults to `
|
|
|
250
263
|
> [!WARNING]
|
|
251
264
|
> The `'rename'` mode is **not recommended** for regular use. There is no guarantee that test histories will remain stable for duplicate tests, since the renaming is based on internal Vitest identifiers that may change between runs. This mode exists to help evaluate the reporter against large Vitest projects that have not yet resolved their duplicate test names.
|
|
252
265
|
|
|
253
|
-
- **`'fail'`** (default): Duplicate tests are marked as failed with a descriptive error message and a `dupe` annotation. The first duplicate gets a single failed attempt explaining the problem; the remaining duplicates are stripped of their attempts (effectively hidden from the report). This is the recommended mode — it surfaces the problem so you can fix it by renaming your tests.
|
|
254
|
-
- **`'rename'`**: Duplicate tests are automatically renamed by appending a suffix (e.g., ` – dupe #2`, ` – dupe #3`) to their titles. Each renamed test also receives a `dupe` annotation on all its attempts. The first test with a given name keeps its original title; only the subsequent duplicates are renamed.
|
|
266
|
+
- **`'fail'`** (default): Duplicate tests are marked as failed with a descriptive error message and a `dupe` annotation. The first duplicate gets a single failed attempt explaining the problem; the remaining duplicates are stripped of their attempts (effectively hidden from the report). This is the recommended mode — it surfaces the problem so you can fix it by renaming your tests. The console warning lists every duplicate name.
|
|
267
|
+
- **`'rename'`**: Duplicate tests are automatically renamed by appending a suffix (e.g., ` – dupe #2`, ` – dupe #3`) to their titles. Each renamed test also receives a `dupe` annotation on all its attempts. The first test with a given name keeps its original title; only the subsequent duplicates are renamed. The console warning is a single line with the number of renamed tests, e.g. `[flakiness.io] ⚠ Renamed 2 tests with duplicate names (duplicates: 'rename').`
|
|
255
268
|
|
|
256
269
|
```typescript
|
|
257
270
|
reporters: [
|
|
@@ -275,6 +288,7 @@ reporters: [
|
|
|
275
288
|
The reporter respects the following environment variables:
|
|
276
289
|
|
|
277
290
|
- **`FLAKINESS_TITLE`**: Human-readable report title (equivalent to `title` option)
|
|
291
|
+
- **`FLAKINESS_COMMIT_ID`**: Commit the report belongs to; defaults to the current git commit (equivalent to `commitId` option)
|
|
278
292
|
- **`FLAKINESS_ACCESS_TOKEN`**: Access token for Flakiness.io uploads (equivalent to `token` option)
|
|
279
293
|
- **`FLAKINESS_ENDPOINT`**: Custom Flakiness.io endpoint URL (equivalent to `endpoint` option)
|
|
280
294
|
- **`FLAKINESS_OUTPUT_DIR`**: Output directory for reports (equivalent to `outputFolder` option)
|
|
@@ -295,6 +309,7 @@ export default defineConfig({
|
|
|
295
309
|
'default',
|
|
296
310
|
['@flakiness/vitest', {
|
|
297
311
|
title: 'My Test Run',
|
|
312
|
+
commitId: process.env.FLAKINESS_COMMIT_ID,
|
|
298
313
|
flakinessProject: 'my-org/my-project',
|
|
299
314
|
endpoint: process.env.FLAKINESS_ENDPOINT,
|
|
300
315
|
token: process.env.FLAKINESS_ACCESS_TOKEN,
|
package/lib/reporter.js
CHANGED
|
@@ -899,7 +899,7 @@ var require_lib = __commonJS({
|
|
|
899
899
|
}
|
|
900
900
|
});
|
|
901
901
|
|
|
902
|
-
// node_modules/.pnpm/@flakiness+flakiness-report@0.36.0_zod@4.6.
|
|
902
|
+
// node_modules/.pnpm/@flakiness+flakiness-report@0.36.0_zod@4.6.7/node_modules/@flakiness/flakiness-report/lib/flakinessReport.js
|
|
903
903
|
var FlakinessReport;
|
|
904
904
|
((FlakinessReport22) => {
|
|
905
905
|
FlakinessReport22.CATEGORY_PLAYWRIGHT = "playwright";
|
|
@@ -909,7 +909,7 @@ var FlakinessReport;
|
|
|
909
909
|
FlakinessReport22.STREAM_STDERR = 2;
|
|
910
910
|
})(FlakinessReport || (FlakinessReport = {}));
|
|
911
911
|
|
|
912
|
-
// node_modules/.pnpm/zod@4.6.
|
|
912
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/external.js
|
|
913
913
|
var external_exports = {};
|
|
914
914
|
__export(external_exports, {
|
|
915
915
|
$brand: () => $brand,
|
|
@@ -1172,7 +1172,7 @@ __export(external_exports, {
|
|
|
1172
1172
|
xor: () => xor
|
|
1173
1173
|
});
|
|
1174
1174
|
|
|
1175
|
-
// node_modules/.pnpm/zod@4.6.
|
|
1175
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/index.js
|
|
1176
1176
|
var core_exports2 = {};
|
|
1177
1177
|
__export(core_exports2, {
|
|
1178
1178
|
$ZodAny: () => $ZodAny,
|
|
@@ -1489,7 +1489,7 @@ __export(core_exports2, {
|
|
|
1489
1489
|
withParser: () => withParser
|
|
1490
1490
|
});
|
|
1491
1491
|
|
|
1492
|
-
// node_modules/.pnpm/zod@4.6.
|
|
1492
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/util.js
|
|
1493
1493
|
var util_exports = {};
|
|
1494
1494
|
__export(util_exports, {
|
|
1495
1495
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -1560,6 +1560,7 @@ __export(util_exports, {
|
|
|
1560
1560
|
required: () => required,
|
|
1561
1561
|
safeExtend: () => safeExtend,
|
|
1562
1562
|
shallowClone: () => shallowClone,
|
|
1563
|
+
sizeCaps: () => sizeCaps,
|
|
1563
1564
|
slugify: () => slugify,
|
|
1564
1565
|
stringifyPrimitive: () => stringifyPrimitive,
|
|
1565
1566
|
toZod: () => toZod,
|
|
@@ -2079,6 +2080,18 @@ function prefixIssues(path2, issues) {
|
|
|
2079
2080
|
function unwrapMessage(message) {
|
|
2080
2081
|
return typeof message === "string" ? message : message?.message;
|
|
2081
2082
|
}
|
|
2083
|
+
function sizeCaps(defChecks) {
|
|
2084
|
+
const caps = [];
|
|
2085
|
+
for (const ch of defChecks ?? []) {
|
|
2086
|
+
const d = ch._zod.def;
|
|
2087
|
+
if (!/_(length|size)$|_equals$/.test(d.check))
|
|
2088
|
+
break;
|
|
2089
|
+
const max = d.maximum ?? d.length ?? d.size;
|
|
2090
|
+
if (max >= 0)
|
|
2091
|
+
caps.push([max, ch]);
|
|
2092
|
+
}
|
|
2093
|
+
return caps;
|
|
2094
|
+
}
|
|
2082
2095
|
function attachSchema(issues, start, inst) {
|
|
2083
2096
|
var _a3;
|
|
2084
2097
|
for (let i = start; i < issues.length; i++) {
|
|
@@ -2332,7 +2345,7 @@ function constantCatch(value) {
|
|
|
2332
2345
|
return fn;
|
|
2333
2346
|
}
|
|
2334
2347
|
|
|
2335
|
-
// node_modules/.pnpm/zod@4.6.
|
|
2348
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/core.js
|
|
2336
2349
|
var _a;
|
|
2337
2350
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
2338
2351
|
status: "aborted"
|
|
@@ -2454,7 +2467,7 @@ function config(newConfig) {
|
|
|
2454
2467
|
return globalConfig;
|
|
2455
2468
|
}
|
|
2456
2469
|
|
|
2457
|
-
// node_modules/.pnpm/zod@4.6.
|
|
2470
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/errors.js
|
|
2458
2471
|
function _getMessage() {
|
|
2459
2472
|
const internals = this._zod;
|
|
2460
2473
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -2646,7 +2659,7 @@ function prettifyError(error62) {
|
|
|
2646
2659
|
return lines.join("\n");
|
|
2647
2660
|
}
|
|
2648
2661
|
|
|
2649
|
-
// node_modules/.pnpm/zod@4.6.
|
|
2662
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/parse.js
|
|
2650
2663
|
function finalizeParams(callee, params) {
|
|
2651
2664
|
return { callee: params?.callee ?? callee, Err: params?.Err };
|
|
2652
2665
|
}
|
|
@@ -2806,7 +2819,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
2806
2819
|
};
|
|
2807
2820
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
2808
2821
|
|
|
2809
|
-
// node_modules/.pnpm/zod@4.6.
|
|
2822
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/regexes.js
|
|
2810
2823
|
var regexes_exports = {};
|
|
2811
2824
|
__export(regexes_exports, {
|
|
2812
2825
|
anyString: () => anyString,
|
|
@@ -2978,7 +2991,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
2978
2991
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
2979
2992
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
2980
2993
|
|
|
2981
|
-
// node_modules/.pnpm/zod@4.6.
|
|
2994
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/checks.js
|
|
2982
2995
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
2983
2996
|
var _a3;
|
|
2984
2997
|
inst._zod ?? (inst._zod = {});
|
|
@@ -3454,7 +3467,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
3454
3467
|
};
|
|
3455
3468
|
});
|
|
3456
3469
|
|
|
3457
|
-
// node_modules/.pnpm/zod@4.6.
|
|
3470
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/doc.js
|
|
3458
3471
|
var Doc = class {
|
|
3459
3472
|
constructor(args = [], closed = {}) {
|
|
3460
3473
|
this.content = [];
|
|
@@ -3495,14 +3508,14 @@ ${content.join("\n")}
|
|
|
3495
3508
|
}
|
|
3496
3509
|
};
|
|
3497
3510
|
|
|
3498
|
-
// node_modules/.pnpm/zod@4.6.
|
|
3511
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/versions.js
|
|
3499
3512
|
var version = {
|
|
3500
3513
|
major: 4,
|
|
3501
3514
|
minor: 6,
|
|
3502
|
-
patch:
|
|
3515
|
+
patch: 7
|
|
3503
3516
|
};
|
|
3504
3517
|
|
|
3505
|
-
// node_modules/.pnpm/zod@4.6.
|
|
3518
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/schemas.js
|
|
3506
3519
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
3507
3520
|
var _a3;
|
|
3508
3521
|
inst ?? (inst = {});
|
|
@@ -4255,6 +4268,31 @@ var $ZodDate = /* @__PURE__ */ $constructor("$ZodDate", (inst, def) => {
|
|
|
4255
4268
|
return payload;
|
|
4256
4269
|
};
|
|
4257
4270
|
});
|
|
4271
|
+
function capSize(inst, size) {
|
|
4272
|
+
const caps = sizeCaps(inst._zod.def.checks);
|
|
4273
|
+
if (!caps.length)
|
|
4274
|
+
return;
|
|
4275
|
+
const cap = Math.min(...caps.map((c) => c[0]));
|
|
4276
|
+
const parse3 = inst._zod.parse;
|
|
4277
|
+
inst._zod.parse = (payload, ctx) => {
|
|
4278
|
+
const n = size(payload.value);
|
|
4279
|
+
if (n > cap && !ctx?.skipChecks && ctx?.direction !== "backward") {
|
|
4280
|
+
for (const [max, ch] of sizeCaps(inst._zod.def.checks)) {
|
|
4281
|
+
if (n > max && ch._zod.def.when(payload)) {
|
|
4282
|
+
const start = payload.issues.length;
|
|
4283
|
+
ch._zod.check(payload);
|
|
4284
|
+
payload.issues[start].continue = false;
|
|
4285
|
+
attachSchema(payload.issues, start, inst);
|
|
4286
|
+
return payload;
|
|
4287
|
+
}
|
|
4288
|
+
}
|
|
4289
|
+
}
|
|
4290
|
+
return parse3(payload, ctx);
|
|
4291
|
+
};
|
|
4292
|
+
}
|
|
4293
|
+
var arraySize = (input2) => Array.isArray(input2) ? input2.length : -1;
|
|
4294
|
+
var mapSize = (input2) => input2 instanceof Map ? input2.size : -1;
|
|
4295
|
+
var setSize = (input2) => input2 instanceof Set ? input2.size : -1;
|
|
4258
4296
|
function handleArrayResult(result, final, index) {
|
|
4259
4297
|
if (result.issues.length) {
|
|
4260
4298
|
final.issues.push(...prefixIssues(index, result.issues));
|
|
@@ -4298,6 +4336,7 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
|
|
|
4298
4336
|
}
|
|
4299
4337
|
return payload;
|
|
4300
4338
|
};
|
|
4339
|
+
capSize(inst, arraySize);
|
|
4301
4340
|
});
|
|
4302
4341
|
function handlePropertyResult(result, final, key, input2, optin, optout) {
|
|
4303
4342
|
const isPresent = key in input2;
|
|
@@ -5254,6 +5293,7 @@ var $ZodMap = /* @__PURE__ */ $constructor("$ZodMap", (inst, def) => {
|
|
|
5254
5293
|
return Promise.all(proms).then(() => payload);
|
|
5255
5294
|
return payload;
|
|
5256
5295
|
};
|
|
5296
|
+
capSize(inst, mapSize);
|
|
5257
5297
|
});
|
|
5258
5298
|
function handleMapResult(keyResult, valueResult, final, key, input2, inst, ctx) {
|
|
5259
5299
|
if (keyResult.issues.length) {
|
|
@@ -5320,6 +5360,7 @@ var $ZodSet = /* @__PURE__ */ $constructor("$ZodSet", (inst, def) => {
|
|
|
5320
5360
|
return Promise.all(proms).then(() => payload);
|
|
5321
5361
|
return payload;
|
|
5322
5362
|
};
|
|
5363
|
+
capSize(inst, setSize);
|
|
5323
5364
|
});
|
|
5324
5365
|
function handleSetResult(result, final) {
|
|
5325
5366
|
if (result.issues.length) {
|
|
@@ -5916,7 +5957,7 @@ function handleRefineResult(result, payload, input2, inst) {
|
|
|
5916
5957
|
}
|
|
5917
5958
|
}
|
|
5918
5959
|
|
|
5919
|
-
// node_modules/.pnpm/zod@4.6.
|
|
5960
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/memoizer.js
|
|
5920
5961
|
var $ZodCyclicError = class extends Error {
|
|
5921
5962
|
constructor() {
|
|
5922
5963
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -6193,7 +6234,7 @@ function isBackEdge(ctx, value) {
|
|
|
6193
6234
|
return backEdges !== void 0 && isRef(value) && backEdges.has(value);
|
|
6194
6235
|
}
|
|
6195
6236
|
|
|
6196
|
-
// node_modules/.pnpm/zod@4.6.
|
|
6237
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/index.js
|
|
6197
6238
|
var locales_exports = {};
|
|
6198
6239
|
__export(locales_exports, {
|
|
6199
6240
|
ar: () => ar_default,
|
|
@@ -6261,7 +6302,7 @@ __export(locales_exports, {
|
|
|
6261
6302
|
zhTW: () => zh_TW_default
|
|
6262
6303
|
});
|
|
6263
6304
|
|
|
6264
|
-
// node_modules/.pnpm/zod@4.6.
|
|
6305
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ar.js
|
|
6265
6306
|
var error = () => {
|
|
6266
6307
|
const Sizable = {
|
|
6267
6308
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -6373,7 +6414,7 @@ function ar_default() {
|
|
|
6373
6414
|
};
|
|
6374
6415
|
}
|
|
6375
6416
|
|
|
6376
|
-
// node_modules/.pnpm/zod@4.6.
|
|
6417
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/az.js
|
|
6377
6418
|
var error2 = () => {
|
|
6378
6419
|
const Sizable = {
|
|
6379
6420
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -6484,7 +6525,7 @@ function az_default() {
|
|
|
6484
6525
|
};
|
|
6485
6526
|
}
|
|
6486
6527
|
|
|
6487
|
-
// node_modules/.pnpm/zod@4.6.
|
|
6528
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/be.js
|
|
6488
6529
|
function getBelarusianPlural(count, one, few, many) {
|
|
6489
6530
|
const absCount = Math.abs(count);
|
|
6490
6531
|
const lastDigit = absCount % 10;
|
|
@@ -6653,7 +6694,7 @@ function be_default() {
|
|
|
6653
6694
|
};
|
|
6654
6695
|
}
|
|
6655
6696
|
|
|
6656
|
-
// node_modules/.pnpm/zod@4.6.
|
|
6697
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/bg.js
|
|
6657
6698
|
var error4 = () => {
|
|
6658
6699
|
const Sizable = {
|
|
6659
6700
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -6779,7 +6820,7 @@ function bg_default() {
|
|
|
6779
6820
|
};
|
|
6780
6821
|
}
|
|
6781
6822
|
|
|
6782
|
-
// node_modules/.pnpm/zod@4.6.
|
|
6823
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/bn.js
|
|
6783
6824
|
var error5 = () => {
|
|
6784
6825
|
const Sizable = {
|
|
6785
6826
|
string: { unit: "\u0985\u0995\u09CD\u09B7\u09B0", verb: "\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7" },
|
|
@@ -6893,7 +6934,7 @@ function bn_default() {
|
|
|
6893
6934
|
};
|
|
6894
6935
|
}
|
|
6895
6936
|
|
|
6896
|
-
// node_modules/.pnpm/zod@4.6.
|
|
6937
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ca.js
|
|
6897
6938
|
var error6 = () => {
|
|
6898
6939
|
const Sizable = {
|
|
6899
6940
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -7007,7 +7048,7 @@ function ca_default() {
|
|
|
7007
7048
|
};
|
|
7008
7049
|
}
|
|
7009
7050
|
|
|
7010
|
-
// node_modules/.pnpm/zod@4.6.
|
|
7051
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ckb.js
|
|
7011
7052
|
var error7 = () => {
|
|
7012
7053
|
const Sizable = {
|
|
7013
7054
|
string: { unit: "\u067E\u06CC\u062A", verb: "\u0628\u06CE\u062A" },
|
|
@@ -7140,7 +7181,7 @@ function ckb_default() {
|
|
|
7140
7181
|
};
|
|
7141
7182
|
}
|
|
7142
7183
|
|
|
7143
|
-
// node_modules/.pnpm/zod@4.6.
|
|
7184
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/cs.js
|
|
7144
7185
|
var error8 = () => {
|
|
7145
7186
|
const Sizable = {
|
|
7146
7187
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -7257,7 +7298,7 @@ function cs_default() {
|
|
|
7257
7298
|
};
|
|
7258
7299
|
}
|
|
7259
7300
|
|
|
7260
|
-
// node_modules/.pnpm/zod@4.6.
|
|
7301
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/da.js
|
|
7261
7302
|
var error9 = () => {
|
|
7262
7303
|
const Sizable = {
|
|
7263
7304
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -7378,7 +7419,7 @@ function da_default() {
|
|
|
7378
7419
|
};
|
|
7379
7420
|
}
|
|
7380
7421
|
|
|
7381
|
-
// node_modules/.pnpm/zod@4.6.
|
|
7422
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/de.js
|
|
7382
7423
|
var error10 = () => {
|
|
7383
7424
|
const Sizable = {
|
|
7384
7425
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -7492,7 +7533,7 @@ function de_default() {
|
|
|
7492
7533
|
};
|
|
7493
7534
|
}
|
|
7494
7535
|
|
|
7495
|
-
// node_modules/.pnpm/zod@4.6.
|
|
7536
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/el.js
|
|
7496
7537
|
var error11 = () => {
|
|
7497
7538
|
const Sizable = {
|
|
7498
7539
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -7605,7 +7646,7 @@ function el_default() {
|
|
|
7605
7646
|
};
|
|
7606
7647
|
}
|
|
7607
7648
|
|
|
7608
|
-
// node_modules/.pnpm/zod@4.6.
|
|
7649
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/en.js
|
|
7609
7650
|
var error12 = () => {
|
|
7610
7651
|
const Sizable = {
|
|
7611
7652
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -7730,7 +7771,7 @@ function en_default() {
|
|
|
7730
7771
|
};
|
|
7731
7772
|
}
|
|
7732
7773
|
|
|
7733
|
-
// node_modules/.pnpm/zod@4.6.
|
|
7774
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/eo.js
|
|
7734
7775
|
var error13 = () => {
|
|
7735
7776
|
const Sizable = {
|
|
7736
7777
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -7845,7 +7886,7 @@ function eo_default() {
|
|
|
7845
7886
|
};
|
|
7846
7887
|
}
|
|
7847
7888
|
|
|
7848
|
-
// node_modules/.pnpm/zod@4.6.
|
|
7889
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/es.js
|
|
7849
7890
|
var error14 = () => {
|
|
7850
7891
|
const Sizable = {
|
|
7851
7892
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -7982,7 +8023,7 @@ function es_default() {
|
|
|
7982
8023
|
};
|
|
7983
8024
|
}
|
|
7984
8025
|
|
|
7985
|
-
// node_modules/.pnpm/zod@4.6.
|
|
8026
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/fa.js
|
|
7986
8027
|
var error15 = () => {
|
|
7987
8028
|
const Sizable = {
|
|
7988
8029
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -8102,7 +8143,7 @@ function fa_default() {
|
|
|
8102
8143
|
};
|
|
8103
8144
|
}
|
|
8104
8145
|
|
|
8105
|
-
// node_modules/.pnpm/zod@4.6.
|
|
8146
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/fi.js
|
|
8106
8147
|
var error16 = () => {
|
|
8107
8148
|
const Sizable = {
|
|
8108
8149
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -8220,7 +8261,7 @@ function fi_default() {
|
|
|
8220
8261
|
};
|
|
8221
8262
|
}
|
|
8222
8263
|
|
|
8223
|
-
// node_modules/.pnpm/zod@4.6.
|
|
8264
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/fr.js
|
|
8224
8265
|
var error17 = () => {
|
|
8225
8266
|
const Sizable = {
|
|
8226
8267
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -8350,7 +8391,7 @@ function fr_default() {
|
|
|
8350
8391
|
};
|
|
8351
8392
|
}
|
|
8352
8393
|
|
|
8353
|
-
// node_modules/.pnpm/zod@4.6.
|
|
8394
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/fr-CA.js
|
|
8354
8395
|
var error18 = () => {
|
|
8355
8396
|
const Sizable = {
|
|
8356
8397
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -8463,7 +8504,7 @@ function fr_CA_default() {
|
|
|
8463
8504
|
};
|
|
8464
8505
|
}
|
|
8465
8506
|
|
|
8466
|
-
// node_modules/.pnpm/zod@4.6.
|
|
8507
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/gu.js
|
|
8467
8508
|
var error19 = () => {
|
|
8468
8509
|
const Sizable = {
|
|
8469
8510
|
string: { unit: "\u0A85\u0A95\u0ACD\u0AB7\u0AB0", verb: "\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F" },
|
|
@@ -8577,7 +8618,7 @@ function gu_default() {
|
|
|
8577
8618
|
};
|
|
8578
8619
|
}
|
|
8579
8620
|
|
|
8580
|
-
// node_modules/.pnpm/zod@4.6.
|
|
8621
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/he.js
|
|
8581
8622
|
var error20 = () => {
|
|
8582
8623
|
const TypeNames = {
|
|
8583
8624
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -8779,7 +8820,7 @@ function he_default() {
|
|
|
8779
8820
|
};
|
|
8780
8821
|
}
|
|
8781
8822
|
|
|
8782
|
-
// node_modules/.pnpm/zod@4.6.
|
|
8823
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/hi.js
|
|
8783
8824
|
var error21 = () => {
|
|
8784
8825
|
const Sizable = {
|
|
8785
8826
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F" },
|
|
@@ -8891,7 +8932,7 @@ function hi_default() {
|
|
|
8891
8932
|
};
|
|
8892
8933
|
}
|
|
8893
8934
|
|
|
8894
|
-
// node_modules/.pnpm/zod@4.6.
|
|
8935
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/hr.js
|
|
8895
8936
|
var error22 = () => {
|
|
8896
8937
|
const Sizable = {
|
|
8897
8938
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -9018,7 +9059,7 @@ function hr_default() {
|
|
|
9018
9059
|
};
|
|
9019
9060
|
}
|
|
9020
9061
|
|
|
9021
|
-
// node_modules/.pnpm/zod@4.6.
|
|
9062
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/hu.js
|
|
9022
9063
|
var error23 = () => {
|
|
9023
9064
|
const Sizable = {
|
|
9024
9065
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -9132,7 +9173,7 @@ function hu_default() {
|
|
|
9132
9173
|
};
|
|
9133
9174
|
}
|
|
9134
9175
|
|
|
9135
|
-
// node_modules/.pnpm/zod@4.6.
|
|
9176
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/hy.js
|
|
9136
9177
|
function getArmenianPlural(count, one, many) {
|
|
9137
9178
|
return Math.abs(count) === 1 ? one : many;
|
|
9138
9179
|
}
|
|
@@ -9291,7 +9332,7 @@ function hy_default() {
|
|
|
9291
9332
|
};
|
|
9292
9333
|
}
|
|
9293
9334
|
|
|
9294
|
-
// node_modules/.pnpm/zod@4.6.
|
|
9335
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/id.js
|
|
9295
9336
|
var error25 = () => {
|
|
9296
9337
|
const Sizable = {
|
|
9297
9338
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -9403,7 +9444,7 @@ function id_default() {
|
|
|
9403
9444
|
};
|
|
9404
9445
|
}
|
|
9405
9446
|
|
|
9406
|
-
// node_modules/.pnpm/zod@4.6.
|
|
9447
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/is.js
|
|
9407
9448
|
var error26 = () => {
|
|
9408
9449
|
const Sizable = {
|
|
9409
9450
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -9518,7 +9559,7 @@ function is_default() {
|
|
|
9518
9559
|
};
|
|
9519
9560
|
}
|
|
9520
9561
|
|
|
9521
|
-
// node_modules/.pnpm/zod@4.6.
|
|
9562
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/it.js
|
|
9522
9563
|
var error27 = () => {
|
|
9523
9564
|
const Sizable = {
|
|
9524
9565
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -9632,7 +9673,7 @@ function it_default() {
|
|
|
9632
9673
|
};
|
|
9633
9674
|
}
|
|
9634
9675
|
|
|
9635
|
-
// node_modules/.pnpm/zod@4.6.
|
|
9676
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ja.js
|
|
9636
9677
|
var error28 = () => {
|
|
9637
9678
|
const Sizable = {
|
|
9638
9679
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -9745,7 +9786,7 @@ function ja_default() {
|
|
|
9745
9786
|
};
|
|
9746
9787
|
}
|
|
9747
9788
|
|
|
9748
|
-
// node_modules/.pnpm/zod@4.6.
|
|
9789
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ka.js
|
|
9749
9790
|
var error29 = () => {
|
|
9750
9791
|
const Sizable = {
|
|
9751
9792
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -9863,7 +9904,7 @@ function ka_default() {
|
|
|
9863
9904
|
};
|
|
9864
9905
|
}
|
|
9865
9906
|
|
|
9866
|
-
// node_modules/.pnpm/zod@4.6.
|
|
9907
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/km.js
|
|
9867
9908
|
var error30 = () => {
|
|
9868
9909
|
const Sizable = {
|
|
9869
9910
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -9979,12 +10020,12 @@ function km_default() {
|
|
|
9979
10020
|
};
|
|
9980
10021
|
}
|
|
9981
10022
|
|
|
9982
|
-
// node_modules/.pnpm/zod@4.6.
|
|
10023
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/kh.js
|
|
9983
10024
|
function kh_default() {
|
|
9984
10025
|
return km_default();
|
|
9985
10026
|
}
|
|
9986
10027
|
|
|
9987
|
-
// node_modules/.pnpm/zod@4.6.
|
|
10028
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/kn.js
|
|
9988
10029
|
var error31 = () => {
|
|
9989
10030
|
const Sizable = {
|
|
9990
10031
|
string: { unit: "\u0C85\u0C95\u0CCD\u0CB7\u0CB0\u0C97\u0CB3\u0CC1", verb: "\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1" },
|
|
@@ -10100,7 +10141,7 @@ function kn_default() {
|
|
|
10100
10141
|
};
|
|
10101
10142
|
}
|
|
10102
10143
|
|
|
10103
|
-
// node_modules/.pnpm/zod@4.6.
|
|
10144
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ko.js
|
|
10104
10145
|
var error32 = () => {
|
|
10105
10146
|
const Sizable = {
|
|
10106
10147
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -10217,7 +10258,7 @@ function ko_default() {
|
|
|
10217
10258
|
};
|
|
10218
10259
|
}
|
|
10219
10260
|
|
|
10220
|
-
// node_modules/.pnpm/zod@4.6.
|
|
10261
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/lt.js
|
|
10221
10262
|
var capitalizeFirstCharacter = (text) => {
|
|
10222
10263
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
10223
10264
|
};
|
|
@@ -10425,7 +10466,7 @@ function lt_default() {
|
|
|
10425
10466
|
};
|
|
10426
10467
|
}
|
|
10427
10468
|
|
|
10428
|
-
// node_modules/.pnpm/zod@4.6.
|
|
10469
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/mk.js
|
|
10429
10470
|
var error34 = () => {
|
|
10430
10471
|
const Sizable = {
|
|
10431
10472
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -10540,7 +10581,7 @@ function mk_default() {
|
|
|
10540
10581
|
};
|
|
10541
10582
|
}
|
|
10542
10583
|
|
|
10543
|
-
// node_modules/.pnpm/zod@4.6.
|
|
10584
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ms.js
|
|
10544
10585
|
var error35 = () => {
|
|
10545
10586
|
const Sizable = {
|
|
10546
10587
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -10653,7 +10694,7 @@ function ms_default() {
|
|
|
10653
10694
|
};
|
|
10654
10695
|
}
|
|
10655
10696
|
|
|
10656
|
-
// node_modules/.pnpm/zod@4.6.
|
|
10697
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ne.js
|
|
10657
10698
|
var error36 = () => {
|
|
10658
10699
|
const Sizable = {
|
|
10659
10700
|
string: { unit: "\u0905\u0915\u094D\u0937\u0930", verb: "\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B" },
|
|
@@ -10765,7 +10806,7 @@ function ne_default() {
|
|
|
10765
10806
|
};
|
|
10766
10807
|
}
|
|
10767
10808
|
|
|
10768
|
-
// node_modules/.pnpm/zod@4.6.
|
|
10809
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/nl.js
|
|
10769
10810
|
var error37 = () => {
|
|
10770
10811
|
const Sizable = {
|
|
10771
10812
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -10881,7 +10922,7 @@ function nl_default() {
|
|
|
10881
10922
|
};
|
|
10882
10923
|
}
|
|
10883
10924
|
|
|
10884
|
-
// node_modules/.pnpm/zod@4.6.
|
|
10925
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/nn.js
|
|
10885
10926
|
var error38 = () => {
|
|
10886
10927
|
const Sizable = {
|
|
10887
10928
|
string: { unit: "teikn", verb: "\xE5 ha" },
|
|
@@ -10995,7 +11036,7 @@ function nn_default() {
|
|
|
10995
11036
|
};
|
|
10996
11037
|
}
|
|
10997
11038
|
|
|
10998
|
-
// node_modules/.pnpm/zod@4.6.
|
|
11039
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/no.js
|
|
10999
11040
|
var error39 = () => {
|
|
11000
11041
|
const Sizable = {
|
|
11001
11042
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -11109,7 +11150,7 @@ function no_default() {
|
|
|
11109
11150
|
};
|
|
11110
11151
|
}
|
|
11111
11152
|
|
|
11112
|
-
// node_modules/.pnpm/zod@4.6.
|
|
11153
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ota.js
|
|
11113
11154
|
var error40 = () => {
|
|
11114
11155
|
const Sizable = {
|
|
11115
11156
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -11224,7 +11265,7 @@ function ota_default() {
|
|
|
11224
11265
|
};
|
|
11225
11266
|
}
|
|
11226
11267
|
|
|
11227
|
-
// node_modules/.pnpm/zod@4.6.
|
|
11268
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ps.js
|
|
11228
11269
|
var error41 = () => {
|
|
11229
11270
|
const Sizable = {
|
|
11230
11271
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -11344,7 +11385,7 @@ function ps_default() {
|
|
|
11344
11385
|
};
|
|
11345
11386
|
}
|
|
11346
11387
|
|
|
11347
|
-
// node_modules/.pnpm/zod@4.6.
|
|
11388
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/pl.js
|
|
11348
11389
|
var error42 = () => {
|
|
11349
11390
|
const Sizable = {
|
|
11350
11391
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -11459,7 +11500,7 @@ function pl_default() {
|
|
|
11459
11500
|
};
|
|
11460
11501
|
}
|
|
11461
11502
|
|
|
11462
|
-
// node_modules/.pnpm/zod@4.6.
|
|
11503
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/pt.js
|
|
11463
11504
|
var error43 = () => {
|
|
11464
11505
|
const Sizable = {
|
|
11465
11506
|
string: { unit: "caracteres" },
|
|
@@ -11603,7 +11644,7 @@ function pt_default() {
|
|
|
11603
11644
|
};
|
|
11604
11645
|
}
|
|
11605
11646
|
|
|
11606
|
-
// node_modules/.pnpm/zod@4.6.
|
|
11647
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/pt-BR.js
|
|
11607
11648
|
var error44 = () => {
|
|
11608
11649
|
const Sizable = {
|
|
11609
11650
|
string: { unit: "caracteres" },
|
|
@@ -11748,7 +11789,7 @@ function pt_BR_default() {
|
|
|
11748
11789
|
};
|
|
11749
11790
|
}
|
|
11750
11791
|
|
|
11751
|
-
// node_modules/.pnpm/zod@4.6.
|
|
11792
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ro.js
|
|
11752
11793
|
var error45 = () => {
|
|
11753
11794
|
const Sizable = {
|
|
11754
11795
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -11871,7 +11912,7 @@ function ro_default() {
|
|
|
11871
11912
|
};
|
|
11872
11913
|
}
|
|
11873
11914
|
|
|
11874
|
-
// node_modules/.pnpm/zod@4.6.
|
|
11915
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ru.js
|
|
11875
11916
|
function getRussianPlural(count, one, few, many) {
|
|
11876
11917
|
const absCount = Math.abs(count);
|
|
11877
11918
|
const lastDigit = absCount % 10;
|
|
@@ -12040,7 +12081,7 @@ function ru_default() {
|
|
|
12040
12081
|
};
|
|
12041
12082
|
}
|
|
12042
12083
|
|
|
12043
|
-
// node_modules/.pnpm/zod@4.6.
|
|
12084
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/sk.js
|
|
12044
12085
|
var error47 = () => {
|
|
12045
12086
|
const Sizable = {
|
|
12046
12087
|
string: { unit: "znakov", verb: "ma\u0165" },
|
|
@@ -12157,7 +12198,7 @@ function sk_default() {
|
|
|
12157
12198
|
};
|
|
12158
12199
|
}
|
|
12159
12200
|
|
|
12160
|
-
// node_modules/.pnpm/zod@4.6.
|
|
12201
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/sl.js
|
|
12161
12202
|
var error48 = () => {
|
|
12162
12203
|
const Sizable = {
|
|
12163
12204
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -12272,7 +12313,7 @@ function sl_default() {
|
|
|
12272
12313
|
};
|
|
12273
12314
|
}
|
|
12274
12315
|
|
|
12275
|
-
// node_modules/.pnpm/zod@4.6.
|
|
12316
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/sv.js
|
|
12276
12317
|
var error49 = () => {
|
|
12277
12318
|
const Sizable = {
|
|
12278
12319
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -12388,7 +12429,7 @@ function sv_default() {
|
|
|
12388
12429
|
};
|
|
12389
12430
|
}
|
|
12390
12431
|
|
|
12391
|
-
// node_modules/.pnpm/zod@4.6.
|
|
12432
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ta.js
|
|
12392
12433
|
var error50 = () => {
|
|
12393
12434
|
const Sizable = {
|
|
12394
12435
|
string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
|
|
@@ -12504,7 +12545,7 @@ function ta_default() {
|
|
|
12504
12545
|
};
|
|
12505
12546
|
}
|
|
12506
12547
|
|
|
12507
|
-
// node_modules/.pnpm/zod@4.6.
|
|
12548
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/tg.js
|
|
12508
12549
|
var error51 = () => {
|
|
12509
12550
|
const Sizable = {
|
|
12510
12551
|
string: { unit: "\u0430\u043B\u043E\u043C\u0430\u0442", verb: "\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434" },
|
|
@@ -12621,7 +12662,7 @@ function tg_default() {
|
|
|
12621
12662
|
};
|
|
12622
12663
|
}
|
|
12623
12664
|
|
|
12624
|
-
// node_modules/.pnpm/zod@4.6.
|
|
12665
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/th.js
|
|
12625
12666
|
var error52 = () => {
|
|
12626
12667
|
const Sizable = {
|
|
12627
12668
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -12737,7 +12778,7 @@ function th_default() {
|
|
|
12737
12778
|
};
|
|
12738
12779
|
}
|
|
12739
12780
|
|
|
12740
|
-
// node_modules/.pnpm/zod@4.6.
|
|
12781
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/tk.js
|
|
12741
12782
|
var error53 = () => {
|
|
12742
12783
|
const Sizable = {
|
|
12743
12784
|
string: { unit: "simwol", verb: "bolmaly" },
|
|
@@ -12845,7 +12886,7 @@ function tk_default() {
|
|
|
12845
12886
|
};
|
|
12846
12887
|
}
|
|
12847
12888
|
|
|
12848
|
-
// node_modules/.pnpm/zod@4.6.
|
|
12889
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/tr.js
|
|
12849
12890
|
var error54 = () => {
|
|
12850
12891
|
const Sizable = {
|
|
12851
12892
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -12956,7 +12997,7 @@ function tr_default() {
|
|
|
12956
12997
|
};
|
|
12957
12998
|
}
|
|
12958
12999
|
|
|
12959
|
-
// node_modules/.pnpm/zod@4.6.
|
|
13000
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/uk.js
|
|
12960
13001
|
var error55 = () => {
|
|
12961
13002
|
const Sizable = {
|
|
12962
13003
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -13070,12 +13111,12 @@ function uk_default() {
|
|
|
13070
13111
|
};
|
|
13071
13112
|
}
|
|
13072
13113
|
|
|
13073
|
-
// node_modules/.pnpm/zod@4.6.
|
|
13114
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ua.js
|
|
13074
13115
|
function ua_default() {
|
|
13075
13116
|
return uk_default();
|
|
13076
13117
|
}
|
|
13077
13118
|
|
|
13078
|
-
// node_modules/.pnpm/zod@4.6.
|
|
13119
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/ur.js
|
|
13079
13120
|
var error56 = () => {
|
|
13080
13121
|
const Sizable = {
|
|
13081
13122
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -13191,7 +13232,7 @@ function ur_default() {
|
|
|
13191
13232
|
};
|
|
13192
13233
|
}
|
|
13193
13234
|
|
|
13194
|
-
// node_modules/.pnpm/zod@4.6.
|
|
13235
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/uz.js
|
|
13195
13236
|
var error57 = () => {
|
|
13196
13237
|
const Sizable = {
|
|
13197
13238
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -13305,7 +13346,7 @@ function uz_default() {
|
|
|
13305
13346
|
};
|
|
13306
13347
|
}
|
|
13307
13348
|
|
|
13308
|
-
// node_modules/.pnpm/zod@4.6.
|
|
13349
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/vi.js
|
|
13309
13350
|
var error58 = () => {
|
|
13310
13351
|
const Sizable = {
|
|
13311
13352
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -13419,7 +13460,7 @@ function vi_default() {
|
|
|
13419
13460
|
};
|
|
13420
13461
|
}
|
|
13421
13462
|
|
|
13422
|
-
// node_modules/.pnpm/zod@4.6.
|
|
13463
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/zh-CN.js
|
|
13423
13464
|
var error59 = () => {
|
|
13424
13465
|
const Sizable = {
|
|
13425
13466
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -13534,7 +13575,7 @@ function zh_CN_default() {
|
|
|
13534
13575
|
};
|
|
13535
13576
|
}
|
|
13536
13577
|
|
|
13537
|
-
// node_modules/.pnpm/zod@4.6.
|
|
13578
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/zh-TW.js
|
|
13538
13579
|
var error60 = () => {
|
|
13539
13580
|
const Sizable = {
|
|
13540
13581
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -13647,7 +13688,7 @@ function zh_TW_default() {
|
|
|
13647
13688
|
};
|
|
13648
13689
|
}
|
|
13649
13690
|
|
|
13650
|
-
// node_modules/.pnpm/zod@4.6.
|
|
13691
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/locales/yo.js
|
|
13651
13692
|
var error61 = () => {
|
|
13652
13693
|
const Sizable = {
|
|
13653
13694
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -13760,7 +13801,7 @@ function yo_default() {
|
|
|
13760
13801
|
};
|
|
13761
13802
|
}
|
|
13762
13803
|
|
|
13763
|
-
// node_modules/.pnpm/zod@4.6.
|
|
13804
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/registries.js
|
|
13764
13805
|
var _a2;
|
|
13765
13806
|
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
13766
13807
|
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
@@ -13810,7 +13851,7 @@ function registry() {
|
|
|
13810
13851
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
13811
13852
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
13812
13853
|
|
|
13813
|
-
// node_modules/.pnpm/zod@4.6.
|
|
13854
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/compile.js
|
|
13814
13855
|
var INVALID = /* @__PURE__ */ Symbol.for("zod.compile.invalid");
|
|
13815
13856
|
var FALLBACK_FLAG = /* @__PURE__ */ Symbol.for("zod.compile.fallback");
|
|
13816
13857
|
var ZodCompileAsyncError = class extends Error {
|
|
@@ -14850,9 +14891,15 @@ function generateNullableCheck(doc, ctx, schema, accessor, buildsValue = true) {
|
|
|
14850
14891
|
doc.write(`}`);
|
|
14851
14892
|
return outputVar;
|
|
14852
14893
|
}
|
|
14894
|
+
function generateSizeGate(doc, schema, size) {
|
|
14895
|
+
for (const [max, check2] of sizeCaps(schema._zod.def.checks)) {
|
|
14896
|
+
doc.write(`if (${size} > ${numericOperand(max, check2._zod.def.check)}) return INVALID;`);
|
|
14897
|
+
}
|
|
14898
|
+
}
|
|
14853
14899
|
function generateArrayCheck(doc, ctx, schema, accessor, buildsValue = true) {
|
|
14854
14900
|
const def = schema._zod.def;
|
|
14855
14901
|
doc.write(`if (!Array.isArray(${accessor})) return INVALID;`);
|
|
14902
|
+
generateSizeGate(doc, schema, `${accessor}.length`);
|
|
14856
14903
|
const outputVar = buildsValue ? newVar(ctx) : null;
|
|
14857
14904
|
const iVar = newVar(ctx);
|
|
14858
14905
|
const elemVar = newVar(ctx);
|
|
@@ -15252,6 +15299,7 @@ function literalPropertyKey(ctx, key) {
|
|
|
15252
15299
|
function generateMapCheck(doc, ctx, schema, accessor) {
|
|
15253
15300
|
const def = schema._zod.def;
|
|
15254
15301
|
doc.write(`if (!(${accessor} instanceof Map)) return INVALID;`);
|
|
15302
|
+
generateSizeGate(doc, schema, `${accessor}.size`);
|
|
15255
15303
|
const outputVar = newVar(ctx);
|
|
15256
15304
|
const kVar = newVar(ctx);
|
|
15257
15305
|
const valVar = newVar(ctx);
|
|
@@ -15268,6 +15316,7 @@ function generateMapCheck(doc, ctx, schema, accessor) {
|
|
|
15268
15316
|
function generateSetCheck(doc, ctx, schema, accessor) {
|
|
15269
15317
|
const def = schema._zod.def;
|
|
15270
15318
|
doc.write(`if (!(${accessor} instanceof Set)) return INVALID;`);
|
|
15319
|
+
generateSizeGate(doc, schema, `${accessor}.size`);
|
|
15271
15320
|
const outputVar = newVar(ctx);
|
|
15272
15321
|
const valVar = newVar(ctx);
|
|
15273
15322
|
doc.write(`const ${outputVar} = new Set();`);
|
|
@@ -15412,7 +15461,7 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
|
|
|
15412
15461
|
return accessor;
|
|
15413
15462
|
}
|
|
15414
15463
|
|
|
15415
|
-
// node_modules/.pnpm/zod@4.6.
|
|
15464
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/api.js
|
|
15416
15465
|
function snapshotChecks(def) {
|
|
15417
15466
|
if (def.checks)
|
|
15418
15467
|
def.checks = [...def.checks];
|
|
@@ -16471,7 +16520,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
16471
16520
|
return inst;
|
|
16472
16521
|
}
|
|
16473
16522
|
|
|
16474
|
-
// node_modules/.pnpm/zod@4.6.
|
|
16523
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/to-json-schema.js
|
|
16475
16524
|
function assignProps(target, ...sources) {
|
|
16476
16525
|
for (const source of sources) {
|
|
16477
16526
|
for (const key of Reflect.ownKeys(source)) {
|
|
@@ -17001,7 +17050,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
17001
17050
|
return finalize(ctx, schema);
|
|
17002
17051
|
};
|
|
17003
17052
|
|
|
17004
|
-
// node_modules/.pnpm/zod@4.6.
|
|
17053
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/json-schema-processors.js
|
|
17005
17054
|
var narrowMin = (agg, key, value) => {
|
|
17006
17055
|
if (agg[key] === void 0 || value > agg[key])
|
|
17007
17056
|
agg[key] = value;
|
|
@@ -17749,7 +17798,7 @@ function toJSONSchema(input2, params) {
|
|
|
17749
17798
|
return finalize(ctx, input2);
|
|
17750
17799
|
}
|
|
17751
17800
|
|
|
17752
|
-
// node_modules/.pnpm/zod@4.6.
|
|
17801
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/json-schema-generator.js
|
|
17753
17802
|
var JSONSchemaGenerator = class {
|
|
17754
17803
|
/** @deprecated Access via ctx instead */
|
|
17755
17804
|
get metadataRegistry() {
|
|
@@ -17827,10 +17876,10 @@ var JSONSchemaGenerator = class {
|
|
|
17827
17876
|
}
|
|
17828
17877
|
};
|
|
17829
17878
|
|
|
17830
|
-
// node_modules/.pnpm/zod@4.6.
|
|
17879
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/json-schema.js
|
|
17831
17880
|
var json_schema_exports = {};
|
|
17832
17881
|
|
|
17833
|
-
// node_modules/.pnpm/zod@4.6.
|
|
17882
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/schemas.js
|
|
17834
17883
|
var schemas_exports2 = {};
|
|
17835
17884
|
__export(schemas_exports2, {
|
|
17836
17885
|
ZodAny: () => ZodAny,
|
|
@@ -18011,7 +18060,7 @@ __export(schemas_exports2, {
|
|
|
18011
18060
|
xor: () => xor
|
|
18012
18061
|
});
|
|
18013
18062
|
|
|
18014
|
-
// node_modules/.pnpm/zod@4.6.
|
|
18063
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/checks.js
|
|
18015
18064
|
var checks_exports2 = {};
|
|
18016
18065
|
__export(checks_exports2, {
|
|
18017
18066
|
endsWith: () => _endsWith,
|
|
@@ -18046,7 +18095,7 @@ __export(checks_exports2, {
|
|
|
18046
18095
|
uppercase: () => _uppercase
|
|
18047
18096
|
});
|
|
18048
18097
|
|
|
18049
|
-
// node_modules/.pnpm/zod@4.6.
|
|
18098
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/errors.js
|
|
18050
18099
|
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
18051
18100
|
function _lazyMethod(proto, key, make) {
|
|
18052
18101
|
Object.defineProperty(proto, key, {
|
|
@@ -18092,7 +18141,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0
|
|
|
18092
18141
|
Parent: Error
|
|
18093
18142
|
});
|
|
18094
18143
|
|
|
18095
|
-
// node_modules/.pnpm/zod@4.6.
|
|
18144
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/parse.js
|
|
18096
18145
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
18097
18146
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
18098
18147
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -18106,7 +18155,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
18106
18155
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
18107
18156
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
18108
18157
|
|
|
18109
|
-
// node_modules/.pnpm/zod@4.6.
|
|
18158
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/schemas.js
|
|
18110
18159
|
function _ensureDefaultLocale() {
|
|
18111
18160
|
if (!globalConfig.localeError)
|
|
18112
18161
|
config(en_default());
|
|
@@ -19571,7 +19620,7 @@ function preprocess(fn, schema) {
|
|
|
19571
19620
|
});
|
|
19572
19621
|
}
|
|
19573
19622
|
|
|
19574
|
-
// node_modules/.pnpm/zod@4.6.
|
|
19623
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/compat.js
|
|
19575
19624
|
var ZodIssueCode = {
|
|
19576
19625
|
invalid_type: "invalid_type",
|
|
19577
19626
|
too_big: "too_big",
|
|
@@ -19597,7 +19646,7 @@ var ZodFirstPartyTypeKind;
|
|
|
19597
19646
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind2) {
|
|
19598
19647
|
})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
19599
19648
|
|
|
19600
|
-
// node_modules/.pnpm/zod@4.6.
|
|
19649
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/iso.js
|
|
19601
19650
|
var iso_exports = {};
|
|
19602
19651
|
__export(iso_exports, {
|
|
19603
19652
|
ZodISODate: () => ZodISODate,
|
|
@@ -19622,7 +19671,7 @@ function duration2(params) {
|
|
|
19622
19671
|
return _isoDuration(ZodISODuration, params);
|
|
19623
19672
|
}
|
|
19624
19673
|
|
|
19625
|
-
// node_modules/.pnpm/zod@4.6.
|
|
19674
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/from-json-schema.js
|
|
19626
19675
|
var z = {
|
|
19627
19676
|
...schemas_exports2,
|
|
19628
19677
|
...checks_exports2,
|
|
@@ -20355,7 +20404,7 @@ function fromJSONSchema(schema, params) {
|
|
|
20355
20404
|
return convertSchema(normalized, ctx);
|
|
20356
20405
|
}
|
|
20357
20406
|
|
|
20358
|
-
// node_modules/.pnpm/zod@4.6.
|
|
20407
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/core/visit.js
|
|
20359
20408
|
var RESOLVING = /* @__PURE__ */ Symbol("z.visit/resolving");
|
|
20360
20409
|
function visit(schema, fnOrHandlers) {
|
|
20361
20410
|
const fn = typeof fnOrHandlers === "function" ? fnOrHandlers : (node2, rewritten) => {
|
|
@@ -20510,7 +20559,7 @@ function visit(schema, fnOrHandlers) {
|
|
|
20510
20559
|
return run(schema);
|
|
20511
20560
|
}
|
|
20512
20561
|
|
|
20513
|
-
// node_modules/.pnpm/zod@4.6.
|
|
20562
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/deep-partial.js
|
|
20514
20563
|
function deepPartial(schema) {
|
|
20515
20564
|
return visit(schema, {
|
|
20516
20565
|
object: (s) => s.partial(),
|
|
@@ -20522,7 +20571,7 @@ function deepPartial(schema) {
|
|
|
20522
20571
|
});
|
|
20523
20572
|
}
|
|
20524
20573
|
|
|
20525
|
-
// node_modules/.pnpm/zod@4.6.
|
|
20574
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/in-out.js
|
|
20526
20575
|
function withChecks(side, checks) {
|
|
20527
20576
|
if (!checks?.length)
|
|
20528
20577
|
return side;
|
|
@@ -20552,7 +20601,7 @@ function output(schema) {
|
|
|
20552
20601
|
});
|
|
20553
20602
|
}
|
|
20554
20603
|
|
|
20555
|
-
// node_modules/.pnpm/zod@4.6.
|
|
20604
|
+
// node_modules/.pnpm/zod@4.6.7/node_modules/zod/v4/classic/coerce.js
|
|
20556
20605
|
var coerce_exports = {};
|
|
20557
20606
|
__export(coerce_exports, {
|
|
20558
20607
|
bigint: () => bigint3,
|
|
@@ -20577,7 +20626,7 @@ function date4(params) {
|
|
|
20577
20626
|
return _coercedDate(ZodDate, params);
|
|
20578
20627
|
}
|
|
20579
20628
|
|
|
20580
|
-
// node_modules/.pnpm/@flakiness+flakiness-report@0.36.0_zod@4.6.
|
|
20629
|
+
// node_modules/.pnpm/@flakiness+flakiness-report@0.36.0_zod@4.6.7/node_modules/@flakiness/flakiness-report/lib/schema.js
|
|
20581
20630
|
var Schema;
|
|
20582
20631
|
((Schema2) => {
|
|
20583
20632
|
Schema2.CommitId = external_exports.string().min(40).max(40);
|
|
@@ -20738,7 +20787,7 @@ var Schema;
|
|
|
20738
20787
|
});
|
|
20739
20788
|
})(Schema || (Schema = {}));
|
|
20740
20789
|
|
|
20741
|
-
// node_modules/.pnpm/@flakiness+sdk@3.6.0_@flakiness+flakiness-report@0.36.0_zod@4.6.
|
|
20790
|
+
// node_modules/.pnpm/@flakiness+sdk@3.6.0_@flakiness+flakiness-report@0.36.0_zod@4.6.7_/node_modules/@flakiness/sdk/lib/index.js
|
|
20742
20791
|
var import_debug = __toESM(require_src(), 1);
|
|
20743
20792
|
import os from "os";
|
|
20744
20793
|
import assert2 from "assert";
|
|
@@ -20781,7 +20830,7 @@ function stableHash(t) {
|
|
|
20781
20830
|
}
|
|
20782
20831
|
var dist_default = stableHash;
|
|
20783
20832
|
|
|
20784
|
-
// node_modules/.pnpm/@flakiness+sdk@3.6.0_@flakiness+flakiness-report@0.36.0_zod@4.6.
|
|
20833
|
+
// node_modules/.pnpm/@flakiness+sdk@3.6.0_@flakiness+flakiness-report@0.36.0_zod@4.6.7_/node_modules/@flakiness/sdk/lib/index.js
|
|
20785
20834
|
import assert22 from "assert";
|
|
20786
20835
|
import fs4 from "fs";
|
|
20787
20836
|
import { URL as URL2 } from "url";
|
|
@@ -22069,7 +22118,7 @@ import * as nodeUtil from "node:util";
|
|
|
22069
22118
|
// package.json
|
|
22070
22119
|
var package_default = {
|
|
22071
22120
|
name: "@flakiness/vitest",
|
|
22072
|
-
version: "1.
|
|
22121
|
+
version: "1.12.0",
|
|
22073
22122
|
packageManager: "pnpm@11.5.0",
|
|
22074
22123
|
description: "",
|
|
22075
22124
|
main: "lib/reporter.js",
|
|
@@ -22092,7 +22141,7 @@ var package_default = {
|
|
|
22092
22141
|
devEngines: {
|
|
22093
22142
|
runtime: {
|
|
22094
22143
|
name: "node",
|
|
22095
|
-
version: "^22.23.
|
|
22144
|
+
version: "^22.23.4",
|
|
22096
22145
|
onFail: "download"
|
|
22097
22146
|
}
|
|
22098
22147
|
},
|
|
@@ -22100,17 +22149,17 @@ var package_default = {
|
|
|
22100
22149
|
"@flakiness/flakiness-report": "^0.36.0",
|
|
22101
22150
|
"@flakiness/sdk": "^3.6.0",
|
|
22102
22151
|
"@flakiness/vitest": "1.8.0",
|
|
22103
|
-
"@types/node": "^25.9.
|
|
22104
|
-
"@vitest/browser": "^5.0.
|
|
22105
|
-
"@vitest/browser-playwright": "^5.0.
|
|
22106
|
-
"@vitest/utils": "^5.0.
|
|
22152
|
+
"@types/node": "^25.9.9",
|
|
22153
|
+
"@vitest/browser": "^5.0.5",
|
|
22154
|
+
"@vitest/browser-playwright": "^5.0.5",
|
|
22155
|
+
"@vitest/utils": "^5.0.5",
|
|
22107
22156
|
esbuild: "^0.28.2",
|
|
22108
22157
|
kubik: "^0.24.0",
|
|
22109
|
-
playwright: "^1.
|
|
22110
|
-
tsx: "^4.23.
|
|
22158
|
+
playwright: "^1.64.1",
|
|
22159
|
+
tsx: "^4.23.15",
|
|
22111
22160
|
typescript: "^5.9.3",
|
|
22112
|
-
vite: "^8.3.
|
|
22113
|
-
vitest: "^5.0.
|
|
22161
|
+
vite: "^8.3.5",
|
|
22162
|
+
vitest: "^5.0.5"
|
|
22114
22163
|
}
|
|
22115
22164
|
};
|
|
22116
22165
|
|
|
@@ -22139,7 +22188,7 @@ var FKVitestReporter = class {
|
|
|
22139
22188
|
}
|
|
22140
22189
|
onTestRunStart() {
|
|
22141
22190
|
assert3(this._vitest, "onInit must be called before onTestRunStart");
|
|
22142
|
-
this._impl = ReporterImpl.create(this._vitest.config.root, this._vitest.projects, this._options, this._logger, this._vitest.version, this._vitest.vite.config.configFile);
|
|
22191
|
+
this._impl = ReporterImpl.create(this._vitest.config.root, this._vitest.projects, this._options, this._logger, this._vitest.version, this._vitest.vite.config.configFile, this._vitest.config.shard);
|
|
22143
22192
|
}
|
|
22144
22193
|
async onTestRunEnd(testModules, unhandledErrors, reason) {
|
|
22145
22194
|
await this._impl?.onTestRunEnd(testModules, unhandledErrors, reason);
|
|
@@ -22148,13 +22197,14 @@ var FKVitestReporter = class {
|
|
|
22148
22197
|
};
|
|
22149
22198
|
var gTestToTestCaseId = /* @__PURE__ */ new WeakMap();
|
|
22150
22199
|
var ReporterImpl = class _ReporterImpl {
|
|
22151
|
-
constructor(_worktree, projects, _commitId, _options, _logger, _vitestVersion, _configPath) {
|
|
22200
|
+
constructor(_worktree, projects, _commitId, _options, _logger, _vitestVersion, _configPath, _shard) {
|
|
22152
22201
|
this._worktree = _worktree;
|
|
22153
22202
|
this._commitId = _commitId;
|
|
22154
22203
|
this._options = _options;
|
|
22155
22204
|
this._logger = _logger;
|
|
22156
22205
|
this._vitestVersion = _vitestVersion;
|
|
22157
22206
|
this._configPath = _configPath;
|
|
22207
|
+
this._shard = _shard;
|
|
22158
22208
|
this._environments = projects.map((project) => reportUtils_exports.createEnvironment({
|
|
22159
22209
|
name: this._envName(project)
|
|
22160
22210
|
}));
|
|
@@ -22167,6 +22217,7 @@ var ReporterImpl = class _ReporterImpl {
|
|
|
22167
22217
|
_logger;
|
|
22168
22218
|
_vitestVersion;
|
|
22169
22219
|
_configPath;
|
|
22220
|
+
_shard;
|
|
22170
22221
|
_telemetryTimer;
|
|
22171
22222
|
_cpuUtilization = new CPUUtilization({ precision: 10 });
|
|
22172
22223
|
_ramUtilization = new RAMUtilization({ precision: 10 });
|
|
@@ -22174,14 +22225,15 @@ var ReporterImpl = class _ReporterImpl {
|
|
|
22174
22225
|
_attachments = /* @__PURE__ */ new Map();
|
|
22175
22226
|
_stdio = /* @__PURE__ */ new Map();
|
|
22176
22227
|
_environments = [];
|
|
22177
|
-
static create(rootPath, projects, options, logger, vitestVersion, config2) {
|
|
22228
|
+
static create(rootPath, projects, options, logger, vitestVersion, config2, shard) {
|
|
22178
22229
|
const result = GitWorktree.initialize(rootPath);
|
|
22179
22230
|
if (!result.ok) {
|
|
22180
22231
|
logger.warn(`[flakiness.io] Failed to fetch commit info - is this a git repo? (${result.error})`);
|
|
22181
22232
|
logger.error(`[flakiness.io] Report is NOT generated.`);
|
|
22182
22233
|
return;
|
|
22183
22234
|
}
|
|
22184
|
-
|
|
22235
|
+
const commitId = options.commitId || process.env.FLAKINESS_COMMIT_ID || result.commitId;
|
|
22236
|
+
return new _ReporterImpl(result.worktree, projects, commitId, options, logger, vitestVersion, config2, shard);
|
|
22185
22237
|
}
|
|
22186
22238
|
_sampleSystem() {
|
|
22187
22239
|
this._cpuUtilization.sample();
|
|
@@ -22398,7 +22450,8 @@ var ReporterImpl = class _ReporterImpl {
|
|
|
22398
22450
|
}
|
|
22399
22451
|
}
|
|
22400
22452
|
_renameDuplicates(duplicates, testIdToTests) {
|
|
22401
|
-
|
|
22453
|
+
const renamedFullNames = /* @__PURE__ */ new Set();
|
|
22454
|
+
for (const { tests, testId, fullName } of duplicates) {
|
|
22402
22455
|
tests.sort((test1, test2) => {
|
|
22403
22456
|
const id1 = gTestToTestCaseId.get(test1) ?? "";
|
|
22404
22457
|
const id2 = gTestToTestCaseId.get(test2) ?? "";
|
|
@@ -22414,8 +22467,11 @@ var ReporterImpl = class _ReporterImpl {
|
|
|
22414
22467
|
attempt.annotations.push({ type: "dupe" });
|
|
22415
22468
|
});
|
|
22416
22469
|
testIdToTests.set(testId + dupeSuffix(dupeIndex), [tests[i]]);
|
|
22470
|
+
renamedFullNames.add(fullName + dupeSuffix(dupeIndex));
|
|
22417
22471
|
}
|
|
22418
22472
|
}
|
|
22473
|
+
const count = renamedFullNames.size;
|
|
22474
|
+
this._logger.warn(`[flakiness.io] \u26A0 Renamed ${count} ${count === 1 ? "test" : "tests"} with duplicate names (duplicates: 'rename').`);
|
|
22419
22475
|
}
|
|
22420
22476
|
_detectDuplicates(fileSuites) {
|
|
22421
22477
|
const TITLE_SEPARATOR = crypto2.randomBytes(128).toString("base64");
|
|
@@ -22471,16 +22527,16 @@ var ReporterImpl = class _ReporterImpl {
|
|
|
22471
22527
|
this._ramUtilization.sample();
|
|
22472
22528
|
const { duplicates, testIdToTests } = this._detectDuplicates(fileSuites);
|
|
22473
22529
|
if (duplicates.length) {
|
|
22474
|
-
this._warnDuplicates(duplicates);
|
|
22475
22530
|
if (this._options.duplicates === "rename") {
|
|
22476
22531
|
this._renameDuplicates(duplicates, testIdToTests);
|
|
22477
22532
|
} else {
|
|
22533
|
+
this._warnDuplicates(duplicates);
|
|
22478
22534
|
this._failDuplicates(duplicates);
|
|
22479
22535
|
}
|
|
22480
22536
|
}
|
|
22481
22537
|
const duration3 = Date.now() - this._startTimestamp;
|
|
22482
22538
|
const report = reportUtils_exports.normalizeReport({
|
|
22483
|
-
title: this._options.title ?? process.env.FLAKINESS_TITLE,
|
|
22539
|
+
title: this._options.title ?? process.env.FLAKINESS_TITLE ?? defaultShardTitle(this._shard),
|
|
22484
22540
|
url: CIUtils.runUrl(),
|
|
22485
22541
|
flakinessProject: this._options.flakinessProject,
|
|
22486
22542
|
category: "vitest",
|
|
@@ -22523,6 +22579,9 @@ ${showReportMessage(outputFolder)}
|
|
|
22523
22579
|
`);
|
|
22524
22580
|
}
|
|
22525
22581
|
};
|
|
22582
|
+
function defaultShardTitle(shard) {
|
|
22583
|
+
return shard ? `Shard ${shard.index}/${shard.count}` : void 0;
|
|
22584
|
+
}
|
|
22526
22585
|
function dupeSuffix(dupeIndex) {
|
|
22527
22586
|
return ` \u2013 dupe #${dupeIndex}`;
|
|
22528
22587
|
}
|
|
@@ -22547,4 +22606,3 @@ function extension(attachment) {
|
|
|
22547
22606
|
export {
|
|
22548
22607
|
FKVitestReporter as default
|
|
22549
22608
|
};
|
|
22550
|
-
//# sourceMappingURL=reporter.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flakiness/vitest",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/reporter.js",
|
|
6
6
|
"keywords": [],
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"devEngines": {
|
|
18
18
|
"runtime": {
|
|
19
19
|
"name": "node",
|
|
20
|
-
"version": "^22.23.
|
|
20
|
+
"version": "^22.23.4",
|
|
21
21
|
"onFail": "download"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
"@flakiness/flakiness-report": "^0.36.0",
|
|
26
26
|
"@flakiness/sdk": "^3.6.0",
|
|
27
27
|
"@flakiness/vitest": "1.8.0",
|
|
28
|
-
"@types/node": "^25.9.
|
|
29
|
-
"@vitest/browser": "^5.0.
|
|
30
|
-
"@vitest/browser-playwright": "^5.0.
|
|
31
|
-
"@vitest/utils": "^5.0.
|
|
28
|
+
"@types/node": "^25.9.9",
|
|
29
|
+
"@vitest/browser": "^5.0.5",
|
|
30
|
+
"@vitest/browser-playwright": "^5.0.5",
|
|
31
|
+
"@vitest/utils": "^5.0.5",
|
|
32
32
|
"esbuild": "^0.28.2",
|
|
33
33
|
"kubik": "^0.24.0",
|
|
34
|
-
"playwright": "^1.
|
|
35
|
-
"tsx": "^4.23.
|
|
34
|
+
"playwright": "^1.64.1",
|
|
35
|
+
"tsx": "^4.23.15",
|
|
36
36
|
"typescript": "^5.9.3",
|
|
37
|
-
"vite": "^8.3.
|
|
38
|
-
"vitest": "^5.0.
|
|
39
|
-
"node": "runtime:^22.23.
|
|
37
|
+
"vite": "^8.3.5",
|
|
38
|
+
"vitest": "^5.0.5",
|
|
39
|
+
"node": "runtime:^22.23.4"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "kubik build.mts",
|
package/types/src/reporter.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { UserConsoleLog } from 'vitest';
|
|
2
2
|
import type { Reporter, SerializedError, TestModule, TestRunEndReason, Vitest } from 'vitest/node';
|
|
3
3
|
export type FKVitestReporterOptions = {
|
|
4
|
+
commitId?: string;
|
|
4
5
|
disableUpload?: boolean;
|
|
5
6
|
flakinessProject?: string;
|
|
6
7
|
endpoint?: string;
|