MCPcopy Create free account

hub / github.com/colinhacks/zod / functions

Functions2,280 in github.com/colinhacks/zod

↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/ur.ts:5
↓ 1 callersFunctionerror
()
packages/zod/src/v4/locales/de.ts:5
↓ 1 callersFunctionescapeXml
(text: string)
packages/docs/app/blog/rss.xml/route.ts:7
↓ 1 callersFunctionexactPartial
(...args)
packages/zod/src/v4/classic/schemas.ts:1722
↓ 1 callersFunctionexactPattern
(p: RegExp)
packages/zod/src/v4/core/json-schema-processors.ts:144
↓ 1 callersFunctionexpectFirstStackFrameAtCallsite
(error: unknown)
packages/zod/src/v4/classic/tests/error.test.ts:30
↓ 1 callersFunctionexpectMatch
(schema: z.ZodType, value: unknown)
packages/zod/src/v4/core/tests/compile.test.ts:15
↓ 1 callersFunctionexpectMethodMatch
(schema: z.ZodType, params?: z.core.ToJSONSchemaParams)
packages/zod/src/v4/classic/tests/to-json-schema-methods.test.ts:5
↓ 1 callersFunctionexpectStripped
(parsed: any)
packages/zod/src/v4/classic/tests/object.test.ts:762
↓ 1 callersFunctionextend
(incoming)
packages/zod/src/v4/classic/schemas.ts:1704
↓ 1 callersFunctionextractTabsBlocks
(source: string)
packages/docs/content/api.test.ts:53
↓ 1 callersFunctionextractToDef
(entry: [schemas.$ZodType<unknown, unknown>, Seen])
packages/zod/src/v4/core/to-json-schema.ts:364
↓ 1 callersFunctionfail
(r: { error?: unknown })
packages/zod/src/v4/classic/tests/issue-schema.test.ts:9
↓ 1 callersFunctionfallsThrough
True when the locale has no entry for `key`: the message is what the sentinel produces.
packages/zod/src/v4/core/tests/locales/parity.test.ts:23
↓ 1 callersFunctionfalsyThenCheckSymbol
(x: any)
packages/bench/instanceof.ts:30
↓ 1 callersFunctionfalsyThenCheckTag
(x: any)
packages/bench/instanceof.ts:29
↓ 1 callersFunctionfastPathAcceptsAbsence
(schema: SomeType)
packages/zod/src/v4/core/compile.ts:1402
↓ 1 callersFunctionfetchAdvisories
(repo: string)
scripts/triage-signal.ts:643
↓ 1 callersFunctionfetchAll
(repo: string, kind: "issue" | "pr", page: number)
scripts/triage-signal.ts:310
↓ 1 callersFunctionfinalizeLoop
(iss: any, c: any, cfg: any)
packages/bench/error-construction-breakdown.ts:30
↓ 1 callersFunctionfinalizeParams
(callee: util.AnyFunc, params: $ParseParams | undefined)
packages/zod/src/v4/core/parse.ts:10
↓ 1 callersFunctionfind
(x: number)
scripts/triage-signal.ts:399
↓ 1 callersFunctionfindClusters
* Groups open items that appear to address the same thing, so a pile of * near-identical drive-by PRs collapses into one decision.
scripts/triage-signal.ts:396
↓ 1 callersFunctionfindIndexJsFiles
* Recursively find all index.d.cts files in a directory
scripts/write-stub-package-jsons.ts:18
↓ 1 callersFunctionfiveKey
(p: string)
packages/bench/memory/compiled-slope.ts:6
↓ 1 callersFunctionfixedBase64
(bodyLength: number, padding: "" | "=" | "==")
packages/zod/src/v4/core/regexes.ts:185
↓ 1 callersFunctionfixedBase64url
(length: number)
packages/zod/src/v4/core/regexes.ts:190
↓ 1 callersMethodflatten
(mapper: (issue: ZodIssue) => U = (issue: ZodIssue) => issue.message as any)
packages/zod/src/v3/ZodError.ts:308
↓ 1 callersFunctionflattenRef
(zodSchema: schemas.$ZodType)
packages/zod/src/v4/core/to-json-schema.ts:576
↓ 1 callersFunctionfloatSafeRemainder
(val: number, step: number)
packages/zod/src/v3/types.ts:1354
↓ 1 callersFunctionfmt
(n: number)
packages/bench/moltar-libs.ts:328
↓ 1 callersFunctionfmt
(n: number)
packages/bench/compile-matrix.ts:271
↓ 1 callersFunctionfmtNs
(n: number)
packages/bench/validate-abort-sweep.ts:220
↓ 1 callersFunctionfmtNs
(n: number)
packages/bench/validate-vs-safeparse.ts:240
↓ 1 callersFunctionfoldIntersection
`additionalProperties` in an `allOf` member sees only that member's own `properties`, so two * closed object members reject each other's keys and the
packages/zod/src/v4/core/to-json-schema.ts:541
↓ 1 callersFunctionfoldObjects
Combines object members into the single object they describe together, or returns `null` if any of them carries a keyword outside {@link FOLDABLE_KEYS
packages/zod/src/v4/core/to-json-schema.ts:481
↓ 1 callersFunctionformatContributor
(ranges: Record<string, [Bound, Bound]>)
packages/zod/src/v4/core/json-schema-processors.ts:75
↓ 1 callersFunctionformatStars
(count: number)
packages/docs/components/github-star-pill.tsx:22
↓ 1 callersFunctionfreshCopies
()
packages/bench/compile-output.ts:81
↓ 1 callersFunctionfreshMultiCopies
()
packages/bench/compile-output.ts:255
↓ 1 callersFunctionfreshNestedCopies
()
packages/bench/compile-output.ts:198
↓ 1 callersFunctionfreshTrimCopies
()
packages/bench/compile-output.ts:136
↓ 1 callersFunctionfromJSONSchema
(schema: JSONSchema.JSONSchema | boolean, params?: FromJSONSchemaParams)
packages/zod/src/v4/classic/from-json-schema.ts:917
↓ 1 callersFunctionfuzz
(r: () => number)
packages/zod/src/v4/core/tests/email-regex.test.ts:91
↓ 1 callersFunctiongenerate
(rnd: () => number, depth: number)
packages/zod/src/v4/core/tests/compile-differential.test.ts:802
↓ 1 callersFunctiongenerateArrayCheck
( doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string, buildsValue = true )
packages/zod/src/v4/core/compile.ts:1560
↓ 1 callersFunctiongenerateBigIntCheck
(doc: Doc, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1142
↓ 1 callersFunctiongenerateBigIntFormatCheck
(doc: Doc, def: checks.$ZodCheckBigIntFormatDef, accessor: string)
packages/zod/src/v4/core/compile.ts:585
↓ 1 callersFunctiongenerateBooleanCheck
(doc: Doc, accessor: string)
packages/zod/src/v4/core/compile.ts:1137
↓ 1 callersFunctiongenerateCatchCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:2263
↓ 1 callersFunctiongenerateChecks
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:379
↓ 1 callersFunctiongenerateCustomCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:2229
↓ 1 callersFunctiongenerateCustomRefineCheck
(doc: Doc, ctx: CompileContext, check: CustomCheck, accessor: string)
packages/zod/src/v4/core/compile.ts:684
↓ 1 callersFunctiongenerateDateCheck
(doc: Doc, accessor: string)
packages/zod/src/v4/core/compile.ts:1185
↓ 1 callersFunctiongenerateDefaultCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1638
↓ 1 callersFunctiongenerateDiscriminatedUnionCheck
( doc: Doc, ctx: CompileContext, def: { options: SomeType[]; discriminator: string; unionFallback?: bool
packages/zod/src/v4/core/compile.ts:1864
↓ 1 callersFunctiongenerateEnumCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1622
↓ 1 callersFunctiongenerateExtendChain
(params: GenerateExtendChainParams)
packages/tsc/generate.ts:198
↓ 1 callersFunctiongenerateFastpass
(shape: any)
packages/zod/src/v4/core/schemas.ts:2282
↓ 1 callersFunctiongenerateFileCheck
(doc: Doc, accessor: string)
packages/zod/src/v4/core/compile.ts:2142
↓ 1 callersFunctiongenerateGreaterThanCheck
( doc: Doc, ctx: CompileContext, def: checks.$ZodCheckGreaterThanDef, accessor: string )
packages/zod/src/v4/core/compile.ts:515
↓ 1 callersFunctiongenerateIntersectionCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1932
↓ 1 callersFunctiongenerateLazyCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:2161
↓ 1 callersFunctiongenerateLessThanCheck
( doc: Doc, ctx: CompileContext, def: checks.$ZodCheckLessThanDef, accessor: string )
packages/zod/src/v4/core/compile.ts:525
↓ 1 callersFunctiongenerateLiteralCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1588
↓ 1 callersFunctiongenerateMapCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:2100
↓ 1 callersFunctiongenerateMimeTypeCheck
( doc: Doc, ctx: CompileContext, def: checks.$ZodCheckMimeTypeDef, accessor: string )
packages/zod/src/v4/core/compile.ts:602
↓ 1 callersFunctiongenerateMultipleOfCheck
( doc: Doc, ctx: CompileContext, def: checks.$ZodCheckMultipleOfDef, accessor: string )
packages/zod/src/v4/core/compile.ts:535
↓ 1 callersFunctiongenerateNaNCheck
(doc: Doc, accessor: string)
packages/zod/src/v4/core/compile.ts:1180
↓ 1 callersFunctiongenerateNonOptionalCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1694
↓ 1 callersFunctiongenerateNullCheck
(doc: Doc, accessor: string)
packages/zod/src/v4/core/compile.ts:1170
↓ 1 callersFunctiongenerateNullableCheck
( doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string, buildsValue = true )
packages/zod/src/v4/core/compile.ts:1535
↓ 1 callersFunctiongenerateNumberCheck
(doc: Doc, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1125
↓ 1 callersFunctiongenerateObjectCheck
( doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string, buildsValue = true )
packages/zod/src/v4/core/compile.ts:1190
↓ 1 callersFunctiongenerateOptionalCheck
( doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string, buildsValue = true )
packages/zod/src/v4/core/compile.ts:1346
↓ 1 callersFunctiongenerateOverwriteCheck
( doc: Doc, ctx: CompileContext, check: checks.$ZodCheckOverwrite, currentAccessor: string, newAcces
packages/zod/src/v4/core/compile.ts:649
↓ 1 callersFunctiongeneratePipeCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:2186
↓ 1 callersFunctiongeneratePropertiesChecks
( doc: Doc, ctx: CompileContext, def: checks.$ZodCheckPropertiesDef, accessor: string )
packages/zod/src/v4/core/compile.ts:616
↓ 1 callersFunctiongeneratePropertyCheck
( doc: Doc, ctx: CompileContext, def: checks.$ZodCheckPropertyDef, accessor: string )
packages/zod/src/v4/core/compile.ts:639
↓ 1 callersFunctiongenerateRecordCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1947
↓ 1 callersFunctiongenerateRedirects
* * @param {object} idmap * @param {string} page * * @param {string?} origin
packages/docs/next.config.mjs:11
↓ 1 callersFunctiongenerateSetCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:2122
↓ 1 callersFunctiongenerateStringCheck
( doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string, needsValue = true )
packages/zod/src/v4/core/compile.ts:1110
↓ 1 callersFunctiongenerateSymbolCheck
(doc: Doc, accessor: string)
packages/zod/src/v4/core/compile.ts:1160
↓ 1 callersFunctiongenerateTemplateLiteralCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:2148
↓ 1 callersFunctiongenerateTransformCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:2294
↓ 1 callersFunctiongenerateTupleCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1704
↓ 1 callersFunctiongenerateUndefinedCheck
(doc: Doc, accessor: string)
packages/zod/src/v4/core/compile.ts:1165
↓ 1 callersFunctiongenerateUnionCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1796
↓ 1 callersFunctiongenerateVoidCheck
(doc: Doc, accessor: string)
packages/zod/src/v4/core/compile.ts:1175
↓ 1 callersFunctiongenerateWrapperCheck
(doc: Doc, ctx: CompileContext, schema: SomeType, accessor: string)
packages/zod/src/v4/core/compile.ts:1633
↓ 1 callersFunctionget
(flag: string)
scripts/triage-signal.ts:26
↓ 1 callersFunctiongetArmenianPlural
(count: number, one: string, many: string)
packages/zod/src/v4/locales/hy.ts:5
↓ 1 callersFunctiongetBelarusianPlural
(count: number, one: string, few: string, many: string)
packages/zod/src/v4/locales/be.ts:5
↓ 1 callersFunctiongetDiscriminator
(type: T)
packages/zod/src/v3/types.ts:3067
↓ 1 callersFunctiongetEditDistance
(left: string, right: string)
packages/docs/content/api.test.ts:233
↓ 1 callersFunctiongetEnumValues
(entries: EnumLike)
packages/zod/src/v4/core/util.ts:276
↓ 1 callersFunctiongetIssueProperties
(val: Output)
packages/zod/src/v3/types.ts:335
↓ 1 callersFunctiongetRandomInt
(max: number)
packages/zod/src/v3/tests/Mocker.ts:1
↓ 1 callersFunctiongetRejectedError
(fn: () => Promise<unknown>)
packages/zod/src/v4/classic/tests/error.test.ts:21
← previousnext →601–700 of 2,280, ranked by callers