MCPcopy Create free account

hub / github.com/colinhacks/zod / functions

Functions2,104 in github.com/colinhacks/zod

↓ 1 callersFunctionbundleAndRun
(code: string)
packages/treeshake/default-locale.test.ts:53
↓ 1 callersFunctionbytesToUtf8
()
packages/zod/src/v4/classic/tests/codec-examples.test.ts:276
↓ 1 callersFunctioncached
(getter: () => T)
packages/zod/src/v4/core/util.ts:264
↓ 1 callersFunctioncalibrate
iterations that put one measurement near ~40ms, so a round is short but not noise
packages/bench/moltar-libs.ts:197
↓ 1 callersFunctioncalibrate
Iterations that put one measurement near ~40ms, so a round is short but not noise.
packages/bench/compile-matrix.ts:252
↓ 1 callersFunctioncallSite
()
packages/zod/src/v4/classic/tests/error.test.ts:911
↓ 1 callersFunctioncallSite
()
packages/zod/src/v4/core/tests/compile.test.ts:1548
↓ 1 callersFunctioncallSite
()
packages/zod/src/v4/mini/tests/error.test.ts:27
↓ 1 callersFunctioncallback
(predicate: (val: string) => boolean)
packages/zod/src/v3/tests/base.test.ts:23
↓ 1 callersFunctioncapitalizeFirstCharacter
(text: string)
packages/zod/src/v4/locales/lt.ts:5
↓ 1 callersFunctioncapture
(key: string)
packages/zod/src/v4/classic/tests/issue-schema.test.ts:147
↓ 1 callersFunctioncaptureMeta
Collects the owning schema's registered metadata for every issue an error map sees.
packages/zod/src/v4/classic/tests/issue-schema.test.ts:9
↓ 1 callersFunctioncensus
(a: any, b: any)
packages/bench/memory/survey.ts:13
↓ 1 callersFunctionchance
(p: number)
scripts/compile-fuzz.ts:18
↓ 1 callersFunctioncheck
(child: any)
packages/zod/src/v4/core/memoizer.ts:46
↓ 1 callersFunctioncheckErrors
(a: z.ZodTypeAny, bad: any)
packages/zod/src/v3/tests/optional.test.ts:6
↓ 1 callersFunctioncheckErrors
(a: z.ZodTypeAny, bad: any)
packages/zod/src/v3/tests/nullable.test.ts:6
↓ 1 callersFunctioncheckPropertyNames
* Rejects every own key that fails `keySchema`, before `objectSchema` runs. The * guard has to see the raw input: an object parse drops `__proto__` a
packages/zod/src/v4/classic/from-json-schema.ts:163
↓ 1 callersFunctionchecker
()
packages/zod/src/v3/tests/function.test.ts:104
↓ 1 callersFunctionchecker
()
packages/zod/src/v4/classic/tests/function.test.ts:181
↓ 1 callersMethodcidr
(options?: string | { version?: IpVersion; message?: string | undefined })
packages/zod/src/v3/types.ts:1104
↓ 1 callersFunctionclaim
Returns the prototype to install on, or `undefined` if this group is already installed on it.
packages/zod/src/v4/core/util.ts:1105
↓ 1 callersFunctioncleanParams
(params: unknown, data: unknown)
packages/zod/src/v3/types.ts:4908
↓ 1 callersMethodclear
()
packages/zod/src/v4/core/registries.ts:45
↓ 1 callersFunctionclone
(o: any)
packages/bench/moltar-libs.ts:216
↓ 1 callersFunctionclone
(def, params)
packages/zod/src/v4/classic/schemas.ts:199
↓ 1 callersFunctionclone
(_def, params)
packages/zod/src/v4/mini/schemas.ts:89
↓ 1 callersFunctioncloneIssues
(issues: errors.$ZodRawIssue[])
packages/zod/src/v4/core/memoizer.ts:31
↓ 1 callersFunctioncodePointLengthVar
(doc: Doc, ctx: CompileContext, accessor: string, inDoubt: string)
packages/zod/src/v4/core/compile.ts:439
↓ 1 callersFunctioncollect
()
packages/bench/memory/harness.ts:8
↓ 1 callersFunctioncollect
()
packages/bench/memory/snapshot.ts:36
↓ 1 callersFunctioncollect
(iss: errors.$ZodRawIssue, side: "l" | "r")
packages/zod/src/v4/core/schemas.ts:2797
↓ 1 callersFunctioncompactTypeUnion
Rewrites `anyOf: [{type: "a"}, {type: "b"}]` to `type: ["a", "b"]`, which every JSON Schema draft treats as equivalent and most consumers render far b
packages/zod/src/v4/core/to-json-schema.ts:439
↓ 1 callersFunctioncompareCodeFences
(block: TabsBlock, zodTab: TabBlock, zodMiniTab: TabBlock, failures: string[])
packages/docs/content/api.test.ts:201
↓ 1 callersFunctioncompileValidator
* Build the validator `validate` calls: the same codegen as the parser with the output construction * dropped. A schema the flag cannot express reuse
packages/zod/src/v4/core/compile.ts:93
↓ 1 callersFunctionconvert
(withIntersection: boolean)
packages/zod/src/v4/classic/tests/to-json-schema.test.ts:2992
↓ 1 callersFunctionconvertBaseSchema
(schema: JSONSchema.JSONSchema, ctx: ConversionContext)
packages/zod/src/v4/classic/from-json-schema.ts:199
↓ 1 callersFunctioncorrupt
(rnd: () => number, value: unknown, depth = 0)
packages/zod/src/v4/core/tests/compile-differential.test.ts:894
↓ 1 callersFunctioncount
(root: any)
packages/zod/src/v4/classic/tests/cyclic-data.test.ts:576
↓ 1 callersFunctioncreateSortItemSchema
(sortKeySchema: T)
packages/zod/src/v4/classic/tests/assignability.test.ts:343
↓ 1 callersFunctioncreateToJSONSchemaMethod
(schema: T, processors: Record<string, Processor> = {})
packages/zod/src/v4/core/to-json-schema.ts:829
↓ 1 callersFunctioncreateV4Schema
(opts: { schema: z.ZodType<Output>; })
packages/zod/src/v4/classic/tests/generics.test.ts:61
↓ 1 callersFunctioncreateZodEnum
(values: [string, ...string[]], params?: RawCreateParams)
packages/zod/src/v3/types.ts:4071
↓ 1 callersFunctioncustom
( check?: (data: any) => any, _params: string | CustomParams | ((input: any) => CustomParams) = {}, /**
packages/zod/src/v3/types.ts:4915
↓ 1 callersFunctioncustom
( fn?: (data: O) => unknown, _params?: string | core.$ZodCustomParams | undefined )
packages/zod/src/v4/mini/schemas.ts:1866
↓ 1 callersFunctioncyclic
()
packages/zod/src/v4/mini/tests/cyclic-data.test.ts:9
↓ 1 callersFunctiondatetimeRegex
(args: { precision?: number | null; offset?: boolean; local?: boolean; })
packages/zod/src/v3/types.ts:673
↓ 1 callersFunctiondecodeJSONPointerSegment
(segment: string)
packages/zod/src/v4/classic/from-json-schema.ts:128
↓ 1 callersFunctiondedupe
(xs: string[])
scripts/triage-signal.ts:161
↓ 1 callersFunctiondeepEq
(a: unknown, b: unknown)
packages/bench/moltar-libs.ts:179
↓ 1 callersFunctiondeepEq
(a: unknown, b: unknown)
packages/bench/compile-matrix.ts:228
↓ 1 callersFunctiondeepPartial
(schema: T)
packages/zod/src/v4/classic/deep-partial.ts:67
↓ 1 callersFunctiondeepPartialify
(schema: ZodTypeAny)
packages/zod/src/v3/types.ts:2424
↓ 1 callersFunctiondefineBound
(proto: object, key: string, fn: AnyFunc)
packages/zod/src/v4/core/util.ts:1092
↓ 1 callersFunctiondescribe
(label: string, a: any, b: any)
packages/bench/memory/own-props.ts:9
↓ 1 callersFunctiondescribe
(description: string)
packages/zod/src/v4/core/api.ts:1729
↓ 1 callersFunctiondescribe
(s: any, d = 0)
scripts/compile-fuzz.ts:259
↓ 1 callersFunctiondetectVersion
(schema: JSONSchema.JSONSchema, defaultTarget?: JSONSchemaVersion)
packages/zod/src/v4/classic/from-json-schema.ts:105
↓ 1 callersFunctiondetectVuln
(item: Item)
scripts/triage-signal.ts:127
↓ 1 callersFunctiondiffAllocation
(factory: () => unknown, baseline = 2_000, delta = 8_000)
packages/bench/memory/snapshot.ts:100
↓ 1 callersFunctiondifferential
(schema: z.ZodType, inputs: unknown[], opts?: { fallbackOk?: boolean })
packages/zod/src/v4/core/tests/compile-differential.test.ts:59
↓ 1 callersFunctiondoStuff
(arg: MySchema)
packages/zod/src/v3/tests/branded.test.ts:18
↓ 1 callersFunctiondoStuff
(arg: MySchema)
packages/zod/src/v4/classic/tests/brand.test.ts:16
↓ 1 callersFunctiondoStuff
(arg: MySchema)
packages/zod/src/v4/mini/tests/brand.test.ts:16
↓ 1 callersFunctiondu
(n: number)
packages/bench/compile-matrix.ts:168
↓ 1 callersFunctionemail
(params)
packages/zod/src/v4/classic/schemas.ts:528
↓ 1 callersMethodemit
* Emit the final JSON Schema after processing. * Must call process() first.
packages/zod/src/v4/core/json-schema-generator.ts:112
↓ 1 callersFunctionemitRuntimeIsland
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:324
↓ 1 callersFunctionencodeJSONPointerSegment
(segment: string)
packages/zod/src/v4/core/to-json-schema.ts:290
↓ 1 callersFunctionentry
(code: string)
packages/treeshake/default-locale.test.ts:43
↓ 1 callersFunctionentry
(code: string)
packages/treeshake/locale-treeshake.test.ts:33
↓ 1 callersFunctionepochMillisToDate
()
packages/zod/src/v4/classic/tests/codec-examples.test.ts:180
↓ 1 callersFunctionepochSecondsToDate
()
packages/zod/src/v4/classic/tests/codec-examples.test.ts:152
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/pl.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/th.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/sl.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/az.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/ca.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/zh-CN.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/ar.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/nn.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/hi.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/ko.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/nl.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/km.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/mk.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/ota.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/sv.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/uk.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/bn.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/gu.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/fr.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/es.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/id.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/cs.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/pt-BR.ts:6
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/it.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/ckb.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/kn.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/vi.ts:5
← previousnext →401–500 of 2,104, ranked by callers