@openclaw/firecrawl-plugin 2026.9.7 → 2026.10.1-beta.1
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/.setup/{firecrawl-client-S2gdb9zo.mjs → firecrawl-client-Bqyr6x90.mjs} +58 -104
- package/dist/.setup/{firecrawl-fetch-provider-Cq_h8okw.mjs → firecrawl-fetch-provider-CcYAp_u6.mjs} +1 -1
- package/dist/.setup/{firecrawl-search-provider-DzEHIoq7.mjs → firecrawl-search-provider-lAiZ3IJ5.mjs} +1 -1
- package/dist/api.js +1 -1
- package/dist/index.js +17 -28
- package/dist/web-fetch-contract-api.js +1 -1
- package/dist/web-fetch-provider.js +1 -1
- package/dist/web-search-contract-api.js +1 -1
- package/dist/web-search-provider.js +1 -1
- package/package.json +6 -8
- package/node_modules/zod/LICENSE +0 -21
- package/node_modules/zod/README.md +0 -218
- package/node_modules/zod/compile.cjs +0 -96
- package/node_modules/zod/compile.d.cts +0 -1
- package/node_modules/zod/compile.d.ts +0 -1
- package/node_modules/zod/compile.js +0 -52
- package/node_modules/zod/index.cjs +0 -52
- package/node_modules/zod/index.d.cts +0 -3
- package/node_modules/zod/index.d.ts +0 -3
- package/node_modules/zod/index.js +0 -7
- package/node_modules/zod/locales/index.cjs +0 -36
- package/node_modules/zod/locales/index.d.cts +0 -1
- package/node_modules/zod/locales/index.d.ts +0 -1
- package/node_modules/zod/locales/index.js +0 -1
- package/node_modules/zod/locales/package.json +0 -7
- package/node_modules/zod/mini/index.cjs +0 -51
- package/node_modules/zod/mini/index.d.cts +0 -3
- package/node_modules/zod/mini/index.d.ts +0 -3
- package/node_modules/zod/mini/index.js +0 -3
- package/node_modules/zod/mini/package.json +0 -7
- package/node_modules/zod/package.json +0 -147
- package/node_modules/zod/src/compile.ts +0 -56
- package/node_modules/zod/src/index.ts +0 -7
- package/node_modules/zod/src/locales/index.ts +0 -1
- package/node_modules/zod/src/mini/index.ts +0 -3
- package/node_modules/zod/src/v3/ZodError.ts +0 -340
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
- package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
- package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
- package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
- package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
- package/node_modules/zod/src/v3/errors.ts +0 -13
- package/node_modules/zod/src/v3/external.ts +0 -6
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
- package/node_modules/zod/src/v3/helpers/util.ts +0 -224
- package/node_modules/zod/src/v3/index.ts +0 -4
- package/node_modules/zod/src/v3/locales/en.ts +0 -124
- package/node_modules/zod/src/v3/standard-schema.ts +0 -113
- package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
- package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
- package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
- package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
- package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
- package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
- package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
- package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
- package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
- package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
- package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
- package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
- package/node_modules/zod/src/v3/tests/error.test.ts +0 -586
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
- package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
- package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
- package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -128
- package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
- package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -206
- package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
- package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
- package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
- package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
- package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
- package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
- package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/object.test.ts +0 -431
- package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
- package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
- package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
- package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
- package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
- package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -114
- package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
- package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
- package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
- package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
- package/node_modules/zod/src/v3/tests/string.test.ts +0 -922
- package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
- package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
- package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
- package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
- package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
- package/node_modules/zod/src/v3/types.ts +0 -5138
- package/node_modules/zod/src/v4/classic/checks.ts +0 -33
- package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
- package/node_modules/zod/src/v4/classic/compat.ts +0 -78
- package/node_modules/zod/src/v4/classic/deep-partial.ts +0 -76
- package/node_modules/zod/src/v4/classic/errors.ts +0 -97
- package/node_modules/zod/src/v4/classic/external.ts +0 -57
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -944
- package/node_modules/zod/src/v4/classic/in-out.ts +0 -45
- package/node_modules/zod/src/v4/classic/index.ts +0 -5
- package/node_modules/zod/src/v4/classic/iso.ts +0 -20
- package/node_modules/zod/src/v4/classic/parse.ts +0 -88
- package/node_modules/zod/src/v4/classic/schemas.ts +0 -2937
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -86
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -402
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -89
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -604
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -572
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -704
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
- package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +0 -76
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
- package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +0 -985
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -92
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -316
- package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +0 -380
- package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +0 -32
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -455
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -221
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -942
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -305
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -917
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -1108
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -1467
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -391
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -32
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -67
- package/node_modules/zod/src/v4/classic/tests/iban.test.ts +0 -81
- package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +0 -159
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -958
- package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +0 -319
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -127
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -334
- package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +0 -215
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -39
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -262
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -128
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -342
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -401
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -1006
- package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +0 -235
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -366
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -497
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -144
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -44
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
- package/node_modules/zod/src/v4/classic/tests/properties.test.ts +0 -141
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -184
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -885
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -707
- package/node_modules/zod/src/v4/classic/tests/redos.test.ts +0 -68
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -693
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -190
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -153
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1440
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -124
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -812
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -4733
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -511
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -310
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
- package/node_modules/zod/src/v4/classic/tests/validate.test.ts +0 -645
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
- package/node_modules/zod/src/v4/core/api.ts +0 -1875
- package/node_modules/zod/src/v4/core/checks.ts +0 -1266
- package/node_modules/zod/src/v4/core/compile.ts +0 -2313
- package/node_modules/zod/src/v4/core/core.ts +0 -230
- package/node_modules/zod/src/v4/core/doc.ts +0 -52
- package/node_modules/zod/src/v4/core/errors.ts +0 -543
- package/node_modules/zod/src/v4/core/index.ts +0 -19
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -131
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -934
- package/node_modules/zod/src/v4/core/json-schema.ts +0 -148
- package/node_modules/zod/src/v4/core/memoizer.ts +0 -331
- package/node_modules/zod/src/v4/core/parse.ts +0 -309
- package/node_modules/zod/src/v4/core/regexes.ts +0 -217
- package/node_modules/zod/src/v4/core/registries.ts +0 -105
- package/node_modules/zod/src/v4/core/schemas.ts +0 -5192
- package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
- package/node_modules/zod/src/v4/core/tests/cached.test.ts +0 -54
- package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +0 -1004
- package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +0 -445
- package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +0 -89
- package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +0 -26
- package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +0 -34
- package/node_modules/zod/src/v4/core/tests/compile.test.ts +0 -2036
- package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +0 -140
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
- package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -214
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -180
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
- package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +0 -42
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
- package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +0 -85
- package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +0 -69
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
- package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +0 -46
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
- package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +0 -51
- package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +0 -133
- package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -857
- package/node_modules/zod/src/v4/core/util.ts +0 -1280
- package/node_modules/zod/src/v4/core/versions.ts +0 -5
- package/node_modules/zod/src/v4/core/visit.ts +0 -193
- package/node_modules/zod/src/v4/core/zsf.ts +0 -323
- package/node_modules/zod/src/v4/index.ts +0 -4
- package/node_modules/zod/src/v4/locales/ar.ts +0 -120
- package/node_modules/zod/src/v4/locales/az.ts +0 -116
- package/node_modules/zod/src/v4/locales/be.ts +0 -188
- package/node_modules/zod/src/v4/locales/bg.ts +0 -133
- package/node_modules/zod/src/v4/locales/bn.ts +0 -123
- package/node_modules/zod/src/v4/locales/ca.ts +0 -121
- package/node_modules/zod/src/v4/locales/ckb.ts +0 -140
- package/node_modules/zod/src/v4/locales/cs.ts +0 -123
- package/node_modules/zod/src/v4/locales/da.ts +0 -128
- package/node_modules/zod/src/v4/locales/de.ts +0 -121
- package/node_modules/zod/src/v4/locales/el.ts +0 -124
- package/node_modules/zod/src/v4/locales/en.ts +0 -136
- package/node_modules/zod/src/v4/locales/eo.ts +0 -123
- package/node_modules/zod/src/v4/locales/es.ts +0 -145
- package/node_modules/zod/src/v4/locales/fa.ts +0 -131
- package/node_modules/zod/src/v4/locales/fi.ts +0 -126
- package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -121
- package/node_modules/zod/src/v4/locales/fr.ts +0 -139
- package/node_modules/zod/src/v4/locales/gu.ts +0 -123
- package/node_modules/zod/src/v4/locales/he.ts +0 -253
- package/node_modules/zod/src/v4/locales/hi.ts +0 -126
- package/node_modules/zod/src/v4/locales/hr.ts +0 -135
- package/node_modules/zod/src/v4/locales/hu.ts +0 -122
- package/node_modules/zod/src/v4/locales/hy.ts +0 -175
- package/node_modules/zod/src/v4/locales/id.ts +0 -120
- package/node_modules/zod/src/v4/locales/index.ts +0 -63
- package/node_modules/zod/src/v4/locales/is.ts +0 -124
- package/node_modules/zod/src/v4/locales/it.ts +0 -121
- package/node_modules/zod/src/v4/locales/ja.ts +0 -119
- package/node_modules/zod/src/v4/locales/ka.ts +0 -128
- package/node_modules/zod/src/v4/locales/kh.ts +0 -7
- package/node_modules/zod/src/v4/locales/km.ts +0 -124
- package/node_modules/zod/src/v4/locales/kn.ts +0 -126
- package/node_modules/zod/src/v4/locales/ko.ts +0 -126
- package/node_modules/zod/src/v4/locales/lt.ts +0 -243
- package/node_modules/zod/src/v4/locales/mk.ts +0 -123
- package/node_modules/zod/src/v4/locales/ms.ts +0 -120
- package/node_modules/zod/src/v4/locales/ne.ts +0 -128
- package/node_modules/zod/src/v4/locales/nl.ts +0 -126
- package/node_modules/zod/src/v4/locales/nn.ts +0 -121
- package/node_modules/zod/src/v4/locales/no.ts +0 -121
- package/node_modules/zod/src/v4/locales/ota.ts +0 -122
- package/node_modules/zod/src/v4/locales/pl.ts +0 -123
- package/node_modules/zod/src/v4/locales/ps.ts +0 -131
- package/node_modules/zod/src/v4/locales/pt-BR.ts +0 -161
- package/node_modules/zod/src/v4/locales/pt.ts +0 -159
- package/node_modules/zod/src/v4/locales/ro.ts +0 -132
- package/node_modules/zod/src/v4/locales/ru.ts +0 -188
- package/node_modules/zod/src/v4/locales/sk.ts +0 -123
- package/node_modules/zod/src/v4/locales/sl.ts +0 -123
- package/node_modules/zod/src/v4/locales/sv.ts +0 -124
- package/node_modules/zod/src/v4/locales/ta.ts +0 -123
- package/node_modules/zod/src/v4/locales/tg.ts +0 -135
- package/node_modules/zod/src/v4/locales/th.ts +0 -124
- package/node_modules/zod/src/v4/locales/tk.ts +0 -113
- package/node_modules/zod/src/v4/locales/tr.ts +0 -116
- package/node_modules/zod/src/v4/locales/ua.ts +0 -7
- package/node_modules/zod/src/v4/locales/uk.ts +0 -122
- package/node_modules/zod/src/v4/locales/ur.ts +0 -124
- package/node_modules/zod/src/v4/locales/uz.ts +0 -120
- package/node_modules/zod/src/v4/locales/vi.ts +0 -122
- package/node_modules/zod/src/v4/locales/yo.ts +0 -129
- package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -121
- package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -120
- package/node_modules/zod/src/v4/mini/checks.ts +0 -33
- package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
- package/node_modules/zod/src/v4/mini/deep-partial.ts +0 -73
- package/node_modules/zod/src/v4/mini/external.ts +0 -52
- package/node_modules/zod/src/v4/mini/in-out.ts +0 -45
- package/node_modules/zod/src/v4/mini/index.ts +0 -3
- package/node_modules/zod/src/v4/mini/iso.ts +0 -66
- package/node_modules/zod/src/v4/mini/parse.ts +0 -16
- package/node_modules/zod/src/v4/mini/schemas.ts +0 -2051
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -57
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -190
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -158
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -582
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -30
- package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +0 -84
- package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +0 -54
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -41
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -14
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -1146
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -109
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -292
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -341
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -396
- package/node_modules/zod/src/v4-mini/index.ts +0 -3
- package/node_modules/zod/v3/ZodError.cjs +0 -167
- package/node_modules/zod/v3/ZodError.d.cts +0 -164
- package/node_modules/zod/v3/ZodError.d.ts +0 -164
- package/node_modules/zod/v3/ZodError.js +0 -143
- package/node_modules/zod/v3/errors.cjs +0 -36
- package/node_modules/zod/v3/errors.d.cts +0 -5
- package/node_modules/zod/v3/errors.d.ts +0 -5
- package/node_modules/zod/v3/errors.js +0 -9
- package/node_modules/zod/v3/external.cjs +0 -41
- package/node_modules/zod/v3/external.d.cts +0 -6
- package/node_modules/zod/v3/external.d.ts +0 -6
- package/node_modules/zod/v3/external.js +0 -6
- package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -21
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
- package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
- package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -28
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
- package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
- package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -143
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
- package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
- package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -21
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
- package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
- package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -21
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
- package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
- package/node_modules/zod/v3/helpers/util.cjs +0 -156
- package/node_modules/zod/v3/helpers/util.d.cts +0 -85
- package/node_modules/zod/v3/helpers/util.d.ts +0 -85
- package/node_modules/zod/v3/helpers/util.js +0 -133
- package/node_modules/zod/v3/index.cjs +0 -52
- package/node_modules/zod/v3/index.d.cts +0 -4
- package/node_modules/zod/v3/index.d.ts +0 -4
- package/node_modules/zod/v3/index.js +0 -4
- package/node_modules/zod/v3/locales/en.cjs +0 -112
- package/node_modules/zod/v3/locales/en.d.cts +0 -3
- package/node_modules/zod/v3/locales/en.d.ts +0 -3
- package/node_modules/zod/v3/locales/en.js +0 -109
- package/node_modules/zod/v3/package.json +0 -7
- package/node_modules/zod/v3/standard-schema.cjs +0 -21
- package/node_modules/zod/v3/standard-schema.d.cts +0 -102
- package/node_modules/zod/v3/standard-schema.d.ts +0 -102
- package/node_modules/zod/v3/standard-schema.js +0 -1
- package/node_modules/zod/v3/types.cjs +0 -3798
- package/node_modules/zod/v3/types.d.cts +0 -1034
- package/node_modules/zod/v3/types.d.ts +0 -1034
- package/node_modules/zod/v3/types.js +0 -3697
- package/node_modules/zod/v4/classic/checks.cjs +0 -53
- package/node_modules/zod/v4/classic/checks.d.cts +0 -1
- package/node_modules/zod/v4/classic/checks.d.ts +0 -1
- package/node_modules/zod/v4/classic/checks.js +0 -1
- package/node_modules/zod/v4/classic/coerce.cjs +0 -66
- package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
- package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
- package/node_modules/zod/v4/classic/coerce.js +0 -17
- package/node_modules/zod/v4/classic/compat.cjs +0 -80
- package/node_modules/zod/v4/classic/compat.d.cts +0 -48
- package/node_modules/zod/v4/classic/compat.d.ts +0 -48
- package/node_modules/zod/v4/classic/compat.js +0 -31
- package/node_modules/zod/v4/classic/deep-partial.cjs +0 -58
- package/node_modules/zod/v4/classic/deep-partial.d.cts +0 -14
- package/node_modules/zod/v4/classic/deep-partial.d.ts +0 -14
- package/node_modules/zod/v4/classic/deep-partial.js +0 -13
- package/node_modules/zod/v4/classic/errors.cjs +0 -102
- package/node_modules/zod/v4/classic/errors.d.cts +0 -29
- package/node_modules/zod/v4/classic/errors.d.ts +0 -29
- package/node_modules/zod/v4/classic/errors.js +0 -57
- package/node_modules/zod/v4/classic/external.cjs +0 -97
- package/node_modules/zod/v4/classic/external.d.cts +0 -19
- package/node_modules/zod/v4/classic/external.d.ts +0 -19
- package/node_modules/zod/v4/classic/external.js +0 -17
- package/node_modules/zod/v4/classic/from-json-schema.cjs +0 -926
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
- package/node_modules/zod/v4/classic/from-json-schema.js +0 -881
- package/node_modules/zod/v4/classic/in-out.cjs +0 -82
- package/node_modules/zod/v4/classic/in-out.d.cts +0 -8
- package/node_modules/zod/v4/classic/in-out.d.ts +0 -8
- package/node_modules/zod/v4/classic/in-out.js +0 -36
- package/node_modules/zod/v4/classic/index.cjs +0 -52
- package/node_modules/zod/v4/classic/index.d.cts +0 -3
- package/node_modules/zod/v4/classic/index.d.ts +0 -3
- package/node_modules/zod/v4/classic/index.js +0 -4
- package/node_modules/zod/v4/classic/iso.cjs +0 -68
- package/node_modules/zod/v4/classic/iso.d.cts +0 -7
- package/node_modules/zod/v4/classic/iso.d.ts +0 -7
- package/node_modules/zod/v4/classic/iso.js +0 -15
- package/node_modules/zod/v4/classic/package.json +0 -7
- package/node_modules/zod/v4/classic/parse.cjs +0 -63
- package/node_modules/zod/v4/classic/parse.d.cts +0 -44
- package/node_modules/zod/v4/classic/parse.d.ts +0 -44
- package/node_modules/zod/v4/classic/parse.js +0 -16
- package/node_modules/zod/v4/classic/schemas.cjs +0 -1676
- package/node_modules/zod/v4/classic/schemas.d.cts +0 -816
- package/node_modules/zod/v4/classic/schemas.d.ts +0 -816
- package/node_modules/zod/v4/classic/schemas.js +0 -1535
- package/node_modules/zod/v4/core/api.cjs +0 -1269
- package/node_modules/zod/v4/core/api.d.cts +0 -335
- package/node_modules/zod/v4/core/api.d.ts +0 -335
- package/node_modules/zod/v4/core/api.js +0 -1107
- package/node_modules/zod/v4/core/checks.cjs +0 -561
- package/node_modules/zod/v4/core/checks.d.cts +0 -294
- package/node_modules/zod/v4/core/checks.d.ts +0 -294
- package/node_modules/zod/v4/core/checks.js +0 -516
- package/node_modules/zod/v4/core/compile.cjs +0 -1908
- package/node_modules/zod/v4/core/compile.d.cts +0 -65
- package/node_modules/zod/v4/core/compile.d.ts +0 -65
- package/node_modules/zod/v4/core/compile.js +0 -1858
- package/node_modules/zod/v4/core/core.cjs +0 -167
- package/node_modules/zod/v4/core/core.d.cts +0 -82
- package/node_modules/zod/v4/core/core.d.ts +0 -82
- package/node_modules/zod/v4/core/core.js +0 -141
- package/node_modules/zod/v4/core/doc.cjs +0 -61
- package/node_modules/zod/v4/core/doc.d.cts +0 -16
- package/node_modules/zod/v4/core/doc.d.ts +0 -16
- package/node_modules/zod/v4/core/doc.js +0 -38
- package/node_modules/zod/v4/core/errors.cjs +0 -317
- package/node_modules/zod/v4/core/errors.d.cts +0 -225
- package/node_modules/zod/v4/core/errors.d.ts +0 -225
- package/node_modules/zod/v4/core/errors.js +0 -267
- package/node_modules/zod/v4/core/index.cjs +0 -70
- package/node_modules/zod/v4/core/index.d.cts +0 -19
- package/node_modules/zod/v4/core/index.d.ts +0 -19
- package/node_modules/zod/v4/core/index.js +0 -19
- package/node_modules/zod/v4/core/json-schema-generator.cjs +0 -122
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
- package/node_modules/zod/v4/core/json-schema-generator.js +0 -99
- package/node_modules/zod/v4/core/json-schema-processors.cjs +0 -929
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -65
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -65
- package/node_modules/zod/v4/core/json-schema-processors.js +0 -843
- package/node_modules/zod/v4/core/json-schema.cjs +0 -21
- package/node_modules/zod/v4/core/json-schema.d.cts +0 -89
- package/node_modules/zod/v4/core/json-schema.d.ts +0 -89
- package/node_modules/zod/v4/core/json-schema.js +0 -1
- package/node_modules/zod/v4/core/memoizer.cjs +0 -360
- package/node_modules/zod/v4/core/memoizer.d.cts +0 -15
- package/node_modules/zod/v4/core/memoizer.d.ts +0 -15
- package/node_modules/zod/v4/core/memoizer.js +0 -311
- package/node_modules/zod/v4/core/package.json +0 -7
- package/node_modules/zod/v4/core/parse.cjs +0 -233
- package/node_modules/zod/v4/core/parse.d.cts +0 -52
- package/node_modules/zod/v4/core/parse.d.ts +0 -52
- package/node_modules/zod/v4/core/parse.js +0 -175
- package/node_modules/zod/v4/core/regexes.cjs +0 -209
- package/node_modules/zod/v4/core/regexes.d.cts +0 -90
- package/node_modules/zod/v4/core/regexes.d.ts +0 -90
- package/node_modules/zod/v4/core/regexes.js +0 -156
- package/node_modules/zod/v4/core/registries.cjs +0 -75
- package/node_modules/zod/v4/core/registries.d.cts +0 -35
- package/node_modules/zod/v4/core/registries.d.ts +0 -35
- package/node_modules/zod/v4/core/registries.js +0 -51
- package/node_modules/zod/v4/core/schemas.cjs +0 -2669
- package/node_modules/zod/v4/core/schemas.d.cts +0 -1273
- package/node_modules/zod/v4/core/schemas.d.ts +0 -1273
- package/node_modules/zod/v4/core/schemas.js +0 -2606
- package/node_modules/zod/v4/core/standard-schema.cjs +0 -21
- package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
- package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
- package/node_modules/zod/v4/core/standard-schema.js +0 -1
- package/node_modules/zod/v4/core/to-json-schema.cjs +0 -681
- package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -154
- package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -154
- package/node_modules/zod/v4/core/to-json-schema.js +0 -651
- package/node_modules/zod/v4/core/util.cjs +0 -949
- package/node_modules/zod/v4/core/util.d.cts +0 -278
- package/node_modules/zod/v4/core/util.d.ts +0 -278
- package/node_modules/zod/v4/core/util.js +0 -859
- package/node_modules/zod/v4/core/versions.cjs +0 -27
- package/node_modules/zod/v4/core/versions.d.cts +0 -5
- package/node_modules/zod/v4/core/versions.d.ts +0 -5
- package/node_modules/zod/v4/core/versions.js +0 -5
- package/node_modules/zod/v4/core/visit.cjs +0 -214
- package/node_modules/zod/v4/core/visit.d.cts +0 -30
- package/node_modules/zod/v4/core/visit.d.ts +0 -30
- package/node_modules/zod/v4/core/visit.js +0 -169
- package/node_modules/zod/v4/index.cjs +0 -51
- package/node_modules/zod/v4/index.d.cts +0 -3
- package/node_modules/zod/v4/index.d.ts +0 -3
- package/node_modules/zod/v4/index.js +0 -4
- package/node_modules/zod/v4/locales/ar.cjs +0 -138
- package/node_modules/zod/v4/locales/ar.d.cts +0 -5
- package/node_modules/zod/v4/locales/ar.d.ts +0 -4
- package/node_modules/zod/v4/locales/ar.js +0 -111
- package/node_modules/zod/v4/locales/az.cjs +0 -137
- package/node_modules/zod/v4/locales/az.d.cts +0 -5
- package/node_modules/zod/v4/locales/az.d.ts +0 -4
- package/node_modules/zod/v4/locales/az.js +0 -110
- package/node_modules/zod/v4/locales/be.cjs +0 -195
- package/node_modules/zod/v4/locales/be.d.cts +0 -5
- package/node_modules/zod/v4/locales/be.d.ts +0 -4
- package/node_modules/zod/v4/locales/be.js +0 -168
- package/node_modules/zod/v4/locales/bg.cjs +0 -152
- package/node_modules/zod/v4/locales/bg.d.cts +0 -5
- package/node_modules/zod/v4/locales/bg.d.ts +0 -4
- package/node_modules/zod/v4/locales/bg.js +0 -125
- package/node_modules/zod/v4/locales/bn.cjs +0 -140
- package/node_modules/zod/v4/locales/bn.d.cts +0 -5
- package/node_modules/zod/v4/locales/bn.d.ts +0 -4
- package/node_modules/zod/v4/locales/bn.js +0 -113
- package/node_modules/zod/v4/locales/ca.cjs +0 -139
- package/node_modules/zod/v4/locales/ca.d.cts +0 -5
- package/node_modules/zod/v4/locales/ca.d.ts +0 -4
- package/node_modules/zod/v4/locales/ca.js +0 -112
- package/node_modules/zod/v4/locales/ckb.cjs +0 -160
- package/node_modules/zod/v4/locales/ckb.d.cts +0 -5
- package/node_modules/zod/v4/locales/ckb.d.ts +0 -4
- package/node_modules/zod/v4/locales/ckb.js +0 -133
- package/node_modules/zod/v4/locales/cs.cjs +0 -143
- package/node_modules/zod/v4/locales/cs.d.cts +0 -5
- package/node_modules/zod/v4/locales/cs.d.ts +0 -4
- package/node_modules/zod/v4/locales/cs.js +0 -116
- package/node_modules/zod/v4/locales/da.cjs +0 -147
- package/node_modules/zod/v4/locales/da.d.cts +0 -5
- package/node_modules/zod/v4/locales/da.d.ts +0 -4
- package/node_modules/zod/v4/locales/da.js +0 -120
- package/node_modules/zod/v4/locales/de.cjs +0 -140
- package/node_modules/zod/v4/locales/de.d.cts +0 -5
- package/node_modules/zod/v4/locales/de.d.ts +0 -4
- package/node_modules/zod/v4/locales/de.js +0 -113
- package/node_modules/zod/v4/locales/el.cjs +0 -139
- package/node_modules/zod/v4/locales/el.d.cts +0 -5
- package/node_modules/zod/v4/locales/el.d.ts +0 -4
- package/node_modules/zod/v4/locales/el.js +0 -112
- package/node_modules/zod/v4/locales/en.cjs +0 -152
- package/node_modules/zod/v4/locales/en.d.cts +0 -5
- package/node_modules/zod/v4/locales/en.d.ts +0 -4
- package/node_modules/zod/v4/locales/en.js +0 -125
- package/node_modules/zod/v4/locales/eo.cjs +0 -141
- package/node_modules/zod/v4/locales/eo.d.cts +0 -5
- package/node_modules/zod/v4/locales/eo.d.ts +0 -4
- package/node_modules/zod/v4/locales/eo.js +0 -114
- package/node_modules/zod/v4/locales/es.cjs +0 -163
- package/node_modules/zod/v4/locales/es.d.cts +0 -5
- package/node_modules/zod/v4/locales/es.d.ts +0 -4
- package/node_modules/zod/v4/locales/es.js +0 -136
- package/node_modules/zod/v4/locales/fa.cjs +0 -146
- package/node_modules/zod/v4/locales/fa.d.cts +0 -5
- package/node_modules/zod/v4/locales/fa.d.ts +0 -4
- package/node_modules/zod/v4/locales/fa.js +0 -119
- package/node_modules/zod/v4/locales/fi.cjs +0 -144
- package/node_modules/zod/v4/locales/fi.d.cts +0 -5
- package/node_modules/zod/v4/locales/fi.d.ts +0 -4
- package/node_modules/zod/v4/locales/fi.js +0 -117
- package/node_modules/zod/v4/locales/fr-CA.cjs +0 -139
- package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
- package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
- package/node_modules/zod/v4/locales/fr-CA.js +0 -112
- package/node_modules/zod/v4/locales/fr.cjs +0 -156
- package/node_modules/zod/v4/locales/fr.d.cts +0 -5
- package/node_modules/zod/v4/locales/fr.d.ts +0 -4
- package/node_modules/zod/v4/locales/fr.js +0 -129
- package/node_modules/zod/v4/locales/gu.cjs +0 -140
- package/node_modules/zod/v4/locales/gu.d.cts +0 -5
- package/node_modules/zod/v4/locales/gu.d.ts +0 -4
- package/node_modules/zod/v4/locales/gu.js +0 -113
- package/node_modules/zod/v4/locales/he.cjs +0 -248
- package/node_modules/zod/v4/locales/he.d.cts +0 -5
- package/node_modules/zod/v4/locales/he.d.ts +0 -4
- package/node_modules/zod/v4/locales/he.js +0 -221
- package/node_modules/zod/v4/locales/hi.cjs +0 -138
- package/node_modules/zod/v4/locales/hi.d.cts +0 -5
- package/node_modules/zod/v4/locales/hi.d.ts +0 -4
- package/node_modules/zod/v4/locales/hi.js +0 -111
- package/node_modules/zod/v4/locales/hr.cjs +0 -153
- package/node_modules/zod/v4/locales/hr.d.cts +0 -5
- package/node_modules/zod/v4/locales/hr.d.ts +0 -4
- package/node_modules/zod/v4/locales/hr.js +0 -126
- package/node_modules/zod/v4/locales/hu.cjs +0 -140
- package/node_modules/zod/v4/locales/hu.d.cts +0 -5
- package/node_modules/zod/v4/locales/hu.d.ts +0 -4
- package/node_modules/zod/v4/locales/hu.js +0 -113
- package/node_modules/zod/v4/locales/hy.cjs +0 -185
- package/node_modules/zod/v4/locales/hy.d.cts +0 -5
- package/node_modules/zod/v4/locales/hy.d.ts +0 -4
- package/node_modules/zod/v4/locales/hy.js +0 -158
- package/node_modules/zod/v4/locales/id.cjs +0 -138
- package/node_modules/zod/v4/locales/id.d.cts +0 -5
- package/node_modules/zod/v4/locales/id.d.ts +0 -4
- package/node_modules/zod/v4/locales/id.js +0 -111
- package/node_modules/zod/v4/locales/index.cjs +0 -152
- package/node_modules/zod/v4/locales/index.d.cts +0 -63
- package/node_modules/zod/v4/locales/index.d.ts +0 -63
- package/node_modules/zod/v4/locales/index.js +0 -63
- package/node_modules/zod/v4/locales/is.cjs +0 -141
- package/node_modules/zod/v4/locales/is.d.cts +0 -5
- package/node_modules/zod/v4/locales/is.d.ts +0 -4
- package/node_modules/zod/v4/locales/is.js +0 -114
- package/node_modules/zod/v4/locales/it.cjs +0 -140
- package/node_modules/zod/v4/locales/it.d.cts +0 -5
- package/node_modules/zod/v4/locales/it.d.ts +0 -4
- package/node_modules/zod/v4/locales/it.js +0 -113
- package/node_modules/zod/v4/locales/ja.cjs +0 -139
- package/node_modules/zod/v4/locales/ja.d.cts +0 -5
- package/node_modules/zod/v4/locales/ja.d.ts +0 -4
- package/node_modules/zod/v4/locales/ja.js +0 -112
- package/node_modules/zod/v4/locales/ka.cjs +0 -144
- package/node_modules/zod/v4/locales/ka.d.cts +0 -5
- package/node_modules/zod/v4/locales/ka.d.ts +0 -4
- package/node_modules/zod/v4/locales/ka.js +0 -117
- package/node_modules/zod/v4/locales/kh.cjs +0 -12
- package/node_modules/zod/v4/locales/kh.d.cts +0 -5
- package/node_modules/zod/v4/locales/kh.d.ts +0 -5
- package/node_modules/zod/v4/locales/kh.js +0 -5
- package/node_modules/zod/v4/locales/km.cjs +0 -142
- package/node_modules/zod/v4/locales/km.d.cts +0 -5
- package/node_modules/zod/v4/locales/km.d.ts +0 -4
- package/node_modules/zod/v4/locales/km.js +0 -115
- package/node_modules/zod/v4/locales/kn.cjs +0 -143
- package/node_modules/zod/v4/locales/kn.d.cts +0 -5
- package/node_modules/zod/v4/locales/kn.d.ts +0 -4
- package/node_modules/zod/v4/locales/kn.js +0 -116
- package/node_modules/zod/v4/locales/ko.cjs +0 -143
- package/node_modules/zod/v4/locales/ko.d.cts +0 -5
- package/node_modules/zod/v4/locales/ko.d.ts +0 -4
- package/node_modules/zod/v4/locales/ko.js +0 -116
- package/node_modules/zod/v4/locales/lt.cjs +0 -234
- package/node_modules/zod/v4/locales/lt.d.cts +0 -5
- package/node_modules/zod/v4/locales/lt.d.ts +0 -4
- package/node_modules/zod/v4/locales/lt.js +0 -207
- package/node_modules/zod/v4/locales/mk.cjs +0 -141
- package/node_modules/zod/v4/locales/mk.d.cts +0 -5
- package/node_modules/zod/v4/locales/mk.d.ts +0 -4
- package/node_modules/zod/v4/locales/mk.js +0 -114
- package/node_modules/zod/v4/locales/ms.cjs +0 -139
- package/node_modules/zod/v4/locales/ms.d.cts +0 -5
- package/node_modules/zod/v4/locales/ms.d.ts +0 -4
- package/node_modules/zod/v4/locales/ms.js +0 -112
- package/node_modules/zod/v4/locales/ne.cjs +0 -138
- package/node_modules/zod/v4/locales/ne.d.cts +0 -5
- package/node_modules/zod/v4/locales/ne.d.ts +0 -4
- package/node_modules/zod/v4/locales/ne.js +0 -111
- package/node_modules/zod/v4/locales/nl.cjs +0 -142
- package/node_modules/zod/v4/locales/nl.d.cts +0 -5
- package/node_modules/zod/v4/locales/nl.d.ts +0 -4
- package/node_modules/zod/v4/locales/nl.js +0 -115
- package/node_modules/zod/v4/locales/nn.cjs +0 -140
- package/node_modules/zod/v4/locales/nn.d.cts +0 -5
- package/node_modules/zod/v4/locales/nn.d.ts +0 -4
- package/node_modules/zod/v4/locales/nn.js +0 -113
- package/node_modules/zod/v4/locales/no.cjs +0 -140
- package/node_modules/zod/v4/locales/no.d.cts +0 -5
- package/node_modules/zod/v4/locales/no.d.ts +0 -4
- package/node_modules/zod/v4/locales/no.js +0 -113
- package/node_modules/zod/v4/locales/ota.cjs +0 -141
- package/node_modules/zod/v4/locales/ota.d.cts +0 -5
- package/node_modules/zod/v4/locales/ota.d.ts +0 -4
- package/node_modules/zod/v4/locales/ota.js +0 -114
- package/node_modules/zod/v4/locales/package.json +0 -7
- package/node_modules/zod/v4/locales/pl.cjs +0 -141
- package/node_modules/zod/v4/locales/pl.d.cts +0 -5
- package/node_modules/zod/v4/locales/pl.d.ts +0 -4
- package/node_modules/zod/v4/locales/pl.js +0 -114
- package/node_modules/zod/v4/locales/ps.cjs +0 -146
- package/node_modules/zod/v4/locales/ps.d.cts +0 -5
- package/node_modules/zod/v4/locales/ps.d.ts +0 -4
- package/node_modules/zod/v4/locales/ps.js +0 -119
- package/node_modules/zod/v4/locales/pt-BR.cjs +0 -170
- package/node_modules/zod/v4/locales/pt-BR.d.cts +0 -5
- package/node_modules/zod/v4/locales/pt-BR.d.ts +0 -4
- package/node_modules/zod/v4/locales/pt-BR.js +0 -143
- package/node_modules/zod/v4/locales/pt.cjs +0 -169
- package/node_modules/zod/v4/locales/pt.d.cts +0 -5
- package/node_modules/zod/v4/locales/pt.d.ts +0 -4
- package/node_modules/zod/v4/locales/pt.js +0 -142
- package/node_modules/zod/v4/locales/ro.cjs +0 -149
- package/node_modules/zod/v4/locales/ro.d.cts +0 -5
- package/node_modules/zod/v4/locales/ro.d.ts +0 -4
- package/node_modules/zod/v4/locales/ro.js +0 -122
- package/node_modules/zod/v4/locales/ru.cjs +0 -195
- package/node_modules/zod/v4/locales/ru.d.cts +0 -5
- package/node_modules/zod/v4/locales/ru.d.ts +0 -4
- package/node_modules/zod/v4/locales/ru.js +0 -168
- package/node_modules/zod/v4/locales/sk.cjs +0 -143
- package/node_modules/zod/v4/locales/sk.d.cts +0 -5
- package/node_modules/zod/v4/locales/sk.d.ts +0 -4
- package/node_modules/zod/v4/locales/sk.js +0 -116
- package/node_modules/zod/v4/locales/sl.cjs +0 -141
- package/node_modules/zod/v4/locales/sl.d.cts +0 -5
- package/node_modules/zod/v4/locales/sl.d.ts +0 -4
- package/node_modules/zod/v4/locales/sl.js +0 -114
- package/node_modules/zod/v4/locales/sv.cjs +0 -142
- package/node_modules/zod/v4/locales/sv.d.cts +0 -5
- package/node_modules/zod/v4/locales/sv.d.ts +0 -4
- package/node_modules/zod/v4/locales/sv.js +0 -115
- package/node_modules/zod/v4/locales/ta.cjs +0 -142
- package/node_modules/zod/v4/locales/ta.d.cts +0 -5
- package/node_modules/zod/v4/locales/ta.d.ts +0 -4
- package/node_modules/zod/v4/locales/ta.js +0 -115
- package/node_modules/zod/v4/locales/tg.cjs +0 -144
- package/node_modules/zod/v4/locales/tg.d.cts +0 -5
- package/node_modules/zod/v4/locales/tg.d.ts +0 -4
- package/node_modules/zod/v4/locales/tg.js +0 -117
- package/node_modules/zod/v4/locales/th.cjs +0 -142
- package/node_modules/zod/v4/locales/th.d.cts +0 -5
- package/node_modules/zod/v4/locales/th.d.ts +0 -4
- package/node_modules/zod/v4/locales/th.js +0 -115
- package/node_modules/zod/v4/locales/tk.cjs +0 -134
- package/node_modules/zod/v4/locales/tk.d.cts +0 -5
- package/node_modules/zod/v4/locales/tk.d.ts +0 -4
- package/node_modules/zod/v4/locales/tk.js +0 -107
- package/node_modules/zod/v4/locales/tr.cjs +0 -137
- package/node_modules/zod/v4/locales/tr.d.cts +0 -5
- package/node_modules/zod/v4/locales/tr.d.ts +0 -4
- package/node_modules/zod/v4/locales/tr.js +0 -110
- package/node_modules/zod/v4/locales/ua.cjs +0 -12
- package/node_modules/zod/v4/locales/ua.d.cts +0 -5
- package/node_modules/zod/v4/locales/ua.d.ts +0 -5
- package/node_modules/zod/v4/locales/ua.js +0 -5
- package/node_modules/zod/v4/locales/uk.cjs +0 -140
- package/node_modules/zod/v4/locales/uk.d.cts +0 -5
- package/node_modules/zod/v4/locales/uk.d.ts +0 -4
- package/node_modules/zod/v4/locales/uk.js +0 -113
- package/node_modules/zod/v4/locales/ur.cjs +0 -142
- package/node_modules/zod/v4/locales/ur.d.cts +0 -5
- package/node_modules/zod/v4/locales/ur.d.ts +0 -4
- package/node_modules/zod/v4/locales/ur.js +0 -115
- package/node_modules/zod/v4/locales/uz.cjs +0 -140
- package/node_modules/zod/v4/locales/uz.d.cts +0 -5
- package/node_modules/zod/v4/locales/uz.d.ts +0 -4
- package/node_modules/zod/v4/locales/uz.js +0 -113
- package/node_modules/zod/v4/locales/vi.cjs +0 -140
- package/node_modules/zod/v4/locales/vi.d.cts +0 -5
- package/node_modules/zod/v4/locales/vi.d.ts +0 -4
- package/node_modules/zod/v4/locales/vi.js +0 -113
- package/node_modules/zod/v4/locales/yo.cjs +0 -139
- package/node_modules/zod/v4/locales/yo.d.cts +0 -5
- package/node_modules/zod/v4/locales/yo.d.ts +0 -4
- package/node_modules/zod/v4/locales/yo.js +0 -112
- package/node_modules/zod/v4/locales/zh-CN.cjs +0 -141
- package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
- package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
- package/node_modules/zod/v4/locales/zh-CN.js +0 -114
- package/node_modules/zod/v4/locales/zh-TW.cjs +0 -139
- package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
- package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
- package/node_modules/zod/v4/locales/zh-TW.js +0 -112
- package/node_modules/zod/v4/mini/checks.cjs +0 -54
- package/node_modules/zod/v4/mini/checks.d.cts +0 -1
- package/node_modules/zod/v4/mini/checks.d.ts +0 -1
- package/node_modules/zod/v4/mini/checks.js +0 -1
- package/node_modules/zod/v4/mini/coerce.cjs +0 -71
- package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
- package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
- package/node_modules/zod/v4/mini/coerce.js +0 -22
- package/node_modules/zod/v4/mini/deep-partial.cjs +0 -58
- package/node_modules/zod/v4/mini/deep-partial.d.cts +0 -14
- package/node_modules/zod/v4/mini/deep-partial.d.ts +0 -14
- package/node_modules/zod/v4/mini/deep-partial.js +0 -13
- package/node_modules/zod/v4/mini/external.cjs +0 -95
- package/node_modules/zod/v4/mini/external.d.cts +0 -16
- package/node_modules/zod/v4/mini/external.d.ts +0 -16
- package/node_modules/zod/v4/mini/external.js +0 -16
- package/node_modules/zod/v4/mini/in-out.cjs +0 -82
- package/node_modules/zod/v4/mini/in-out.d.cts +0 -8
- package/node_modules/zod/v4/mini/in-out.d.ts +0 -8
- package/node_modules/zod/v4/mini/in-out.js +0 -36
- package/node_modules/zod/v4/mini/index.cjs +0 -51
- package/node_modules/zod/v4/mini/index.d.cts +0 -3
- package/node_modules/zod/v4/mini/index.d.ts +0 -3
- package/node_modules/zod/v4/mini/index.js +0 -3
- package/node_modules/zod/v4/mini/iso.cjs +0 -83
- package/node_modules/zod/v4/mini/iso.d.cts +0 -22
- package/node_modules/zod/v4/mini/iso.d.ts +0 -22
- package/node_modules/zod/v4/mini/iso.js +0 -34
- package/node_modules/zod/v4/mini/package.json +0 -7
- package/node_modules/zod/v4/mini/parse.cjs +0 -37
- package/node_modules/zod/v4/mini/parse.d.cts +0 -1
- package/node_modules/zod/v4/mini/parse.d.ts +0 -1
- package/node_modules/zod/v4/mini/parse.js +0 -1
- package/node_modules/zod/v4/mini/schemas.cjs +0 -1147
- package/node_modules/zod/v4/mini/schemas.d.cts +0 -480
- package/node_modules/zod/v4/mini/schemas.d.ts +0 -480
- package/node_modules/zod/v4/mini/schemas.js +0 -1002
- package/node_modules/zod/v4/package.json +0 -7
- package/node_modules/zod/v4-mini/index.cjs +0 -51
- package/node_modules/zod/v4-mini/index.d.cts +0 -3
- package/node_modules/zod/v4-mini/index.d.ts +0 -3
- package/node_modules/zod/v4-mini/index.js +0 -3
- package/node_modules/zod/v4-mini/package.json +0 -7
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import * as util from "./util.js";
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
4
|
-
* (timestamps embedded in the id). Use {@link cuid2} instead.
|
|
5
|
-
* See https://github.com/paralleldrive/cuid.
|
|
6
|
-
*/
|
|
7
|
-
export const cuid = /^[cC][0-9a-z]{6,}$/;
|
|
8
|
-
export const cuid2 = /^[0-9a-z]+$/;
|
|
9
|
-
export const ulid = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
|
|
10
|
-
export const xid = /^[0-9a-vA-V]{20}$/;
|
|
11
|
-
export const ksuid = /^[A-Za-z0-9]{27}$/;
|
|
12
|
-
export const nanoid = /^[a-zA-Z0-9_-]{21}$/;
|
|
13
|
-
export function nanoidOfLength(length) {
|
|
14
|
-
return new RegExp(`^[a-zA-Z0-9_-]{${length}}$`);
|
|
15
|
-
}
|
|
16
|
-
/** ISO 8601-1 duration regex. Does not support the 8601-2 extensions like negative durations or fractional/negative components. */
|
|
17
|
-
export const duration = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;
|
|
18
|
-
/** Implements ISO 8601-2 extensions like explicit +- prefixes, mixing weeks with other units, and fractional/negative components. */
|
|
19
|
-
export const extendedDuration = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/;
|
|
20
|
-
/** A regex for any UUID-like identifier: 8-4-4-4-12 hex pattern */
|
|
21
|
-
export const guid = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/;
|
|
22
|
-
/** Returns a regex for validating an RFC 9562/4122 UUID.
|
|
23
|
-
*
|
|
24
|
-
* @param version Optionally specify a version 1-8. If no version is specified, all versions are supported. */
|
|
25
|
-
export const uuid = (version) => {
|
|
26
|
-
if (!version)
|
|
27
|
-
return /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;
|
|
28
|
-
return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${version}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`);
|
|
29
|
-
};
|
|
30
|
-
export const uuid4 = /*@__PURE__*/ uuid(4);
|
|
31
|
-
export const uuid6 = /*@__PURE__*/ uuid(6);
|
|
32
|
-
export const uuid7 = /*@__PURE__*/ uuid(7);
|
|
33
|
-
/** Practical email validation */
|
|
34
|
-
export const email = /^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;
|
|
35
|
-
/** Equivalent to the HTML5 input[type=email] validation implemented by browsers. Source: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email */
|
|
36
|
-
export const html5Email = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;
|
|
37
|
-
/** The classic emailregex.com regex for RFC 5322-compliant emails */
|
|
38
|
-
export const rfc5322Email = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
|
39
|
-
/** A loose regex that allows Unicode characters, enforces length limits, and that's about it. */
|
|
40
|
-
export const unicodeEmail = /^[^\s@"]{1,64}@[^\s@]{1,255}$/u;
|
|
41
|
-
export const idnEmail = unicodeEmail;
|
|
42
|
-
export const browserEmail = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;
|
|
43
|
-
// from https://thekevinscott.com/emojis-in-javascript/#writing-a-regular-expression
|
|
44
|
-
// Single character class, not an alternation: the two properties overlap (U+1F9B0-U+1F9B3), so `(A|B)+` backtracks exponentially on a failed match. The leading lookahead then demands one anchor — a pictograph, a regional indicator, or the enclosing keycap — because `\p{Emoji_Component}` on its own covers ASCII digits, `#`, `*`, ZWJ, variation selectors and skin tone modifiers, none of which is an emoji without a base.
|
|
45
|
-
const _emoji = `^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$`;
|
|
46
|
-
export function emoji() {
|
|
47
|
-
return new RegExp(_emoji, "u");
|
|
48
|
-
}
|
|
49
|
-
export const ipv4 = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/;
|
|
50
|
-
export const ipv6 = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/;
|
|
51
|
-
export const mac = (delimiter) => {
|
|
52
|
-
const escapedDelim = util.escapeRegex(delimiter ?? ":");
|
|
53
|
-
return new RegExp(`^(?:[0-9A-F]{2}${escapedDelim}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${escapedDelim}){5}[0-9a-f]{2}$`);
|
|
54
|
-
};
|
|
55
|
-
export const cidrv4 = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/;
|
|
56
|
-
export const cidrv6 = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/;
|
|
57
|
-
// https://stackoverflow.com/questions/7860392/determine-if-string-is-in-base64-using-javascript
|
|
58
|
-
export const base64 = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/;
|
|
59
|
-
export const base64url = /^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/;
|
|
60
|
-
// based on https://stackoverflow.com/questions/106179/regular-expression-to-match-dns-hostname-or-ip-address
|
|
61
|
-
// export const hostname: RegExp = /^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/;
|
|
62
|
-
export const 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])?)*\.?$/;
|
|
63
|
-
export const domain = /^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,63}$/;
|
|
64
|
-
export const httpProtocol = /^https?$/;
|
|
65
|
-
// https://blog.stevenlevithan.com/archives/validate-phone-number#r4-3 (regex sans spaces) E.164: leading digit must be 1-9; total digits (excluding '+') between 7-15
|
|
66
|
-
export const e164 = /^\+[1-9]\d{6,14}$/;
|
|
67
|
-
// Credit card shape: 12–19 digits, optionally separated by single spaces or single hyphens. ISO/IEC 7812 caps the PAN at 19 digits; 12 is the shortest issued length (Maestro).
|
|
68
|
-
export const creditCard = /^\d(?:[ -]?\d){11,18}$/;
|
|
69
|
-
// ISO 4217 alpha codes from the SIX list, regenerated by scripts/update-iso-4217.ts
|
|
70
|
-
export const currencyCode = /^(?:AED|AFN|ALL|AMD|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLE|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VED|VES|VND|VUV|WST|XAD|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XCG|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWG)$/;
|
|
71
|
-
// iban electronic format: 2-letter country, check digits 02-98 (the only values `98 - remainder` can produce), 11-30 bban characters
|
|
72
|
-
export const iban = /^[A-Z]{2}(?!00|01|99)\d{2}[A-Z0-9]{11,30}$/;
|
|
73
|
-
const 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])))`;
|
|
74
|
-
/** Anchors a pattern source. The interpolation lives here rather than at the call site because
|
|
75
|
-
* esbuild will not drop a `@__PURE__` call whose own argument interpolates a variable, but it
|
|
76
|
-
* will drop `anchor(dateSource)`. Keeping it inline pinned `date` into every bundle. */
|
|
77
|
-
function anchor(source) {
|
|
78
|
-
return new RegExp(`^${source}$`);
|
|
79
|
-
}
|
|
80
|
-
export const date = /*@__PURE__*/ anchor(dateSource);
|
|
81
|
-
function timeSource(args) {
|
|
82
|
-
const hhmm = `(?:[01]\\d|2[0-3]):[0-5]\\d`;
|
|
83
|
-
const regex = typeof args.precision === "number"
|
|
84
|
-
? args.precision === -1
|
|
85
|
-
? `${hhmm}`
|
|
86
|
-
: args.precision === 0
|
|
87
|
-
? `${hhmm}:[0-5]\\d`
|
|
88
|
-
: `${hhmm}:[0-5]\\d\\.\\d{${args.precision}}`
|
|
89
|
-
: args.seconds
|
|
90
|
-
? `${hhmm}:[0-5]\\d(?:\\.\\d+)?`
|
|
91
|
-
: `${hhmm}(?::[0-5]\\d(?:\\.\\d+)?)?`;
|
|
92
|
-
return regex;
|
|
93
|
-
}
|
|
94
|
-
export function time(args) {
|
|
95
|
-
return new RegExp(`^${timeSource(args)}$`);
|
|
96
|
-
}
|
|
97
|
-
// Adapted from https://stackoverflow.com/a/3143231
|
|
98
|
-
export function datetime(args) {
|
|
99
|
-
const opts = ["Z"];
|
|
100
|
-
// if (args.offset) opts.push(`([+-]\\d{2}:\\d{2})`);
|
|
101
|
-
if (args.offset)
|
|
102
|
-
opts.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);
|
|
103
|
-
// RFC 3339 mandates seconds wherever the time carries a `Z` or an offset, so only the unqualified form `local` adds may omit them
|
|
104
|
-
const qualified = `${timeSource({ precision: args.precision, seconds: true })}(?:${opts.join("|")})`;
|
|
105
|
-
const timeRegex = args.local ? `${qualified}|${timeSource({ precision: args.precision })}` : qualified;
|
|
106
|
-
return new RegExp(`^${dateSource}T(?:${timeRegex})$`);
|
|
107
|
-
}
|
|
108
|
-
// the unbounded form of `string()` as a literal, so every plain string shares one instance instead of building its own
|
|
109
|
-
export const anyString = /^[\s\S]{0,}$/;
|
|
110
|
-
export const string = (params) => {
|
|
111
|
-
const regex = params ? `[\\s\\S]{${params?.minimum ?? 0},${params?.maximum ?? ""}}` : `[\\s\\S]*`;
|
|
112
|
-
return new RegExp(`^${regex}$`);
|
|
113
|
-
};
|
|
114
|
-
export const bigint = /^-?\d+n?$/;
|
|
115
|
-
export const integer = /^-?\d+$/;
|
|
116
|
-
export const number = /^-?\d+(?:\.\d+)?$/;
|
|
117
|
-
export const boolean = /^(?:true|false)$/i;
|
|
118
|
-
const _null = /^null$/i;
|
|
119
|
-
export { _null as null };
|
|
120
|
-
const _undefined = /^undefined$/i;
|
|
121
|
-
export { _undefined as undefined };
|
|
122
|
-
// regex for string with no uppercase letters
|
|
123
|
-
export const lowercase = /^[^A-Z]*$/;
|
|
124
|
-
// regex for string with no lowercase letters
|
|
125
|
-
export const uppercase = /^[^a-z]*$/;
|
|
126
|
-
// regex for hexadecimal strings (any length)
|
|
127
|
-
export const hex = /^[0-9a-fA-F]*$/;
|
|
128
|
-
// Hash regexes for different algorithms and encodings
|
|
129
|
-
// Helper function to create base64 regex with exact length and padding
|
|
130
|
-
function fixedBase64(bodyLength, padding) {
|
|
131
|
-
return new RegExp(`^[A-Za-z0-9+/]{${bodyLength}}${padding}$`);
|
|
132
|
-
}
|
|
133
|
-
// Helper function to create base64url regex with exact length (no padding)
|
|
134
|
-
function fixedBase64url(length) {
|
|
135
|
-
return new RegExp(`^[A-Za-z0-9_-]{${length}}$`);
|
|
136
|
-
}
|
|
137
|
-
// MD5 (16 bytes): base64 = 24 chars total (22 + "==")
|
|
138
|
-
export const md5_hex = /^[0-9a-fA-F]{32}$/;
|
|
139
|
-
export const md5_base64 = /*@__PURE__*/ fixedBase64(22, "==");
|
|
140
|
-
export const md5_base64url = /*@__PURE__*/ fixedBase64url(22);
|
|
141
|
-
// SHA1 (20 bytes): base64 = 28 chars total (27 + "=")
|
|
142
|
-
export const sha1_hex = /^[0-9a-fA-F]{40}$/;
|
|
143
|
-
export const sha1_base64 = /*@__PURE__*/ fixedBase64(27, "=");
|
|
144
|
-
export const sha1_base64url = /*@__PURE__*/ fixedBase64url(27);
|
|
145
|
-
// SHA256 (32 bytes): base64 = 44 chars total (43 + "=")
|
|
146
|
-
export const sha256_hex = /^[0-9a-fA-F]{64}$/;
|
|
147
|
-
export const sha256_base64 = /*@__PURE__*/ fixedBase64(43, "=");
|
|
148
|
-
export const sha256_base64url = /*@__PURE__*/ fixedBase64url(43);
|
|
149
|
-
// SHA384 (48 bytes): base64 = 64 chars total (no padding)
|
|
150
|
-
export const sha384_hex = /^[0-9a-fA-F]{96}$/;
|
|
151
|
-
export const sha384_base64 = /*@__PURE__*/ fixedBase64(64, "");
|
|
152
|
-
export const sha384_base64url = /*@__PURE__*/ fixedBase64url(64);
|
|
153
|
-
// SHA512 (64 bytes): base64 = 88 chars total (86 + "==")
|
|
154
|
-
export const sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
155
|
-
export const sha512_base64 = /*@__PURE__*/ fixedBase64(86, "==");
|
|
156
|
-
export const sha512_base64url = /*@__PURE__*/ fixedBase64url(86);
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var _a;
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.globalRegistry = exports.$ZodRegistry = exports.$input = exports.$output = void 0;
|
|
5
|
-
exports.registry = registry;
|
|
6
|
-
exports.$output = Symbol("ZodOutput");
|
|
7
|
-
exports.$input = Symbol("ZodInput");
|
|
8
|
-
class $ZodRegistry {
|
|
9
|
-
constructor() {
|
|
10
|
-
this._map = new WeakMap();
|
|
11
|
-
this._idmap = new Map();
|
|
12
|
-
}
|
|
13
|
-
add(schema, ..._meta) {
|
|
14
|
-
const meta = _meta[0];
|
|
15
|
-
this._map.set(schema, meta);
|
|
16
|
-
if (meta && typeof meta === "object" && "id" in meta) {
|
|
17
|
-
this._idmap.set(meta.id, schema);
|
|
18
|
-
}
|
|
19
|
-
return this;
|
|
20
|
-
}
|
|
21
|
-
clear() {
|
|
22
|
-
this._map = new WeakMap();
|
|
23
|
-
this._idmap = new Map();
|
|
24
|
-
return this;
|
|
25
|
-
}
|
|
26
|
-
remove(schema) {
|
|
27
|
-
const meta = this._map.get(schema);
|
|
28
|
-
if (meta && typeof meta === "object" && "id" in meta) {
|
|
29
|
-
this._idmap.delete(meta.id);
|
|
30
|
-
}
|
|
31
|
-
this._map.delete(schema);
|
|
32
|
-
return this;
|
|
33
|
-
}
|
|
34
|
-
get(schema) {
|
|
35
|
-
// return this._map.get(schema) as any;
|
|
36
|
-
// inherit metadata
|
|
37
|
-
const p = schema._zod.parent;
|
|
38
|
-
if (p) {
|
|
39
|
-
const pm = { ...(this.get(p) ?? {}) };
|
|
40
|
-
delete pm.id; // do not inherit id
|
|
41
|
-
const f = { ...pm, ...this._map.get(schema) };
|
|
42
|
-
return Object.keys(f).length ? f : undefined;
|
|
43
|
-
}
|
|
44
|
-
return this._map.get(schema);
|
|
45
|
-
}
|
|
46
|
-
has(schema) {
|
|
47
|
-
return this._map.has(schema);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
exports.$ZodRegistry = $ZodRegistry;
|
|
51
|
-
// registries
|
|
52
|
-
function registry() {
|
|
53
|
-
return new $ZodRegistry();
|
|
54
|
-
}
|
|
55
|
-
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
56
|
-
exports.globalRegistry = globalThis.__zod_globalRegistry;
|
|
57
|
-
|
|
58
|
-
// seal-cjs-exports
|
|
59
|
-
(function () {
|
|
60
|
-
var keys = Object.getOwnPropertyNames(exports);
|
|
61
|
-
for (var i = 0; i < keys.length; i++) {
|
|
62
|
-
var desc = Object.getOwnPropertyDescriptor(exports, keys[i]);
|
|
63
|
-
if (!desc || !desc.get || !desc.configurable) continue;
|
|
64
|
-
var value;
|
|
65
|
-
try {
|
|
66
|
-
value = desc.get();
|
|
67
|
-
} catch (e) {
|
|
68
|
-
continue;
|
|
69
|
-
}
|
|
70
|
-
// a circular require may not have settled this one yet, so leave it live
|
|
71
|
-
if (value === undefined) continue;
|
|
72
|
-
Object.defineProperty(exports, keys[i], { value: value, writable: false, enumerable: desc.enumerable, configurable: false });
|
|
73
|
-
}
|
|
74
|
-
Object.freeze(exports);
|
|
75
|
-
})();
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type * as core from "./core.cjs";
|
|
2
|
-
import type { $ZodType } from "./schemas.cjs";
|
|
3
|
-
export declare const $output: unique symbol;
|
|
4
|
-
export type $output = typeof $output;
|
|
5
|
-
export declare const $input: unique symbol;
|
|
6
|
-
export type $input = typeof $input;
|
|
7
|
-
export type $replace<Meta, S extends $ZodType> = Meta extends $output ? core.output<S> : Meta extends $input ? core.input<S> : Meta extends (infer M)[] ? $replace<M, S>[] : Meta extends (...args: infer P) => infer R ? (...args: {
|
|
8
|
-
[K in keyof P]: $replace<P[K], S>;
|
|
9
|
-
}) => $replace<R, S> : Meta extends object ? {
|
|
10
|
-
[K in keyof Meta]: $replace<Meta[K], S>;
|
|
11
|
-
} : Meta;
|
|
12
|
-
type MetadataType = object | undefined;
|
|
13
|
-
export declare class $ZodRegistry<Meta extends MetadataType = MetadataType, Schema extends $ZodType = $ZodType> {
|
|
14
|
-
_meta: Meta;
|
|
15
|
-
_schema: Schema;
|
|
16
|
-
_map: WeakMap<Schema, $replace<Meta, Schema>>;
|
|
17
|
-
_idmap: Map<string, Schema>;
|
|
18
|
-
add<S extends Schema>(schema: S, ..._meta: undefined extends Meta ? [$replace<Meta, S>?] : [$replace<Meta, S>]): this;
|
|
19
|
-
clear(): this;
|
|
20
|
-
remove(schema: Schema): this;
|
|
21
|
-
get<S extends Schema>(schema: S): $replace<Meta, S> | undefined;
|
|
22
|
-
has(schema: Schema): boolean;
|
|
23
|
-
}
|
|
24
|
-
export interface JSONSchemaMeta {
|
|
25
|
-
id?: string | undefined;
|
|
26
|
-
title?: string | undefined;
|
|
27
|
-
description?: string | undefined;
|
|
28
|
-
deprecated?: boolean | undefined;
|
|
29
|
-
[k: string]: unknown;
|
|
30
|
-
}
|
|
31
|
-
export interface GlobalMeta extends JSONSchemaMeta {
|
|
32
|
-
}
|
|
33
|
-
export declare function registry<T extends MetadataType = MetadataType, S extends $ZodType = $ZodType>(): $ZodRegistry<T, S>;
|
|
34
|
-
export declare const globalRegistry: $ZodRegistry<GlobalMeta>;
|
|
35
|
-
export {};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type * as core from "./core.js";
|
|
2
|
-
import type { $ZodType } from "./schemas.js";
|
|
3
|
-
export declare const $output: unique symbol;
|
|
4
|
-
export type $output = typeof $output;
|
|
5
|
-
export declare const $input: unique symbol;
|
|
6
|
-
export type $input = typeof $input;
|
|
7
|
-
export type $replace<Meta, S extends $ZodType> = Meta extends $output ? core.output<S> : Meta extends $input ? core.input<S> : Meta extends (infer M)[] ? $replace<M, S>[] : Meta extends (...args: infer P) => infer R ? (...args: {
|
|
8
|
-
[K in keyof P]: $replace<P[K], S>;
|
|
9
|
-
}) => $replace<R, S> : Meta extends object ? {
|
|
10
|
-
[K in keyof Meta]: $replace<Meta[K], S>;
|
|
11
|
-
} : Meta;
|
|
12
|
-
type MetadataType = object | undefined;
|
|
13
|
-
export declare class $ZodRegistry<Meta extends MetadataType = MetadataType, Schema extends $ZodType = $ZodType> {
|
|
14
|
-
_meta: Meta;
|
|
15
|
-
_schema: Schema;
|
|
16
|
-
_map: WeakMap<Schema, $replace<Meta, Schema>>;
|
|
17
|
-
_idmap: Map<string, Schema>;
|
|
18
|
-
add<S extends Schema>(schema: S, ..._meta: undefined extends Meta ? [$replace<Meta, S>?] : [$replace<Meta, S>]): this;
|
|
19
|
-
clear(): this;
|
|
20
|
-
remove(schema: Schema): this;
|
|
21
|
-
get<S extends Schema>(schema: S): $replace<Meta, S> | undefined;
|
|
22
|
-
has(schema: Schema): boolean;
|
|
23
|
-
}
|
|
24
|
-
export interface JSONSchemaMeta {
|
|
25
|
-
id?: string | undefined;
|
|
26
|
-
title?: string | undefined;
|
|
27
|
-
description?: string | undefined;
|
|
28
|
-
deprecated?: boolean | undefined;
|
|
29
|
-
[k: string]: unknown;
|
|
30
|
-
}
|
|
31
|
-
export interface GlobalMeta extends JSONSchemaMeta {
|
|
32
|
-
}
|
|
33
|
-
export declare function registry<T extends MetadataType = MetadataType, S extends $ZodType = $ZodType>(): $ZodRegistry<T, S>;
|
|
34
|
-
export declare const globalRegistry: $ZodRegistry<GlobalMeta>;
|
|
35
|
-
export {};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
var _a;
|
|
2
|
-
export const $output = /*@__PURE__*/ Symbol("ZodOutput");
|
|
3
|
-
export const $input = /*@__PURE__*/ Symbol("ZodInput");
|
|
4
|
-
export class $ZodRegistry {
|
|
5
|
-
constructor() {
|
|
6
|
-
this._map = new WeakMap();
|
|
7
|
-
this._idmap = new Map();
|
|
8
|
-
}
|
|
9
|
-
add(schema, ..._meta) {
|
|
10
|
-
const meta = _meta[0];
|
|
11
|
-
this._map.set(schema, meta);
|
|
12
|
-
if (meta && typeof meta === "object" && "id" in meta) {
|
|
13
|
-
this._idmap.set(meta.id, schema);
|
|
14
|
-
}
|
|
15
|
-
return this;
|
|
16
|
-
}
|
|
17
|
-
clear() {
|
|
18
|
-
this._map = new WeakMap();
|
|
19
|
-
this._idmap = new Map();
|
|
20
|
-
return this;
|
|
21
|
-
}
|
|
22
|
-
remove(schema) {
|
|
23
|
-
const meta = this._map.get(schema);
|
|
24
|
-
if (meta && typeof meta === "object" && "id" in meta) {
|
|
25
|
-
this._idmap.delete(meta.id);
|
|
26
|
-
}
|
|
27
|
-
this._map.delete(schema);
|
|
28
|
-
return this;
|
|
29
|
-
}
|
|
30
|
-
get(schema) {
|
|
31
|
-
// return this._map.get(schema) as any;
|
|
32
|
-
// inherit metadata
|
|
33
|
-
const p = schema._zod.parent;
|
|
34
|
-
if (p) {
|
|
35
|
-
const pm = { ...(this.get(p) ?? {}) };
|
|
36
|
-
delete pm.id; // do not inherit id
|
|
37
|
-
const f = { ...pm, ...this._map.get(schema) };
|
|
38
|
-
return Object.keys(f).length ? f : undefined;
|
|
39
|
-
}
|
|
40
|
-
return this._map.get(schema);
|
|
41
|
-
}
|
|
42
|
-
has(schema) {
|
|
43
|
-
return this._map.has(schema);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
// registries
|
|
47
|
-
export function registry() {
|
|
48
|
-
return new $ZodRegistry();
|
|
49
|
-
}
|
|
50
|
-
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
51
|
-
export const globalRegistry = globalThis.__zod_globalRegistry;
|