MCPcopy Create free account

hub / github.com/colinhacks/zod / functions

Functions2,105 in github.com/colinhacks/zod

↓ 1 callersFunctionnestedPlain
(input: any)
packages/bench/compile-wrapper-cost.ts:134
↓ 1 callersFunctionnestedTagged
(input: any)
packages/bench/compile-wrapper-cost.ts:128
↓ 1 callersFunctionnever
(params?: string | core.$ZodNeverParams)
packages/zod/src/v4/mini/schemas.ts:810
↓ 1 callersFunctionnewError
(Definition: new () => any)
packages/zod/src/v4/core/core.ts:30
↓ 1 callersFunctionnewestMtime
(dir: string)
packages/treeshake/default-locale.test.ts:24
↓ 1 callersFunctionnode
Get-or-create `obj[key]` as an own data property. A path segment naming an inherited member * ("toString", "constructor") would otherwise read throug
packages/zod/src/v4/core/errors.ts:314
↓ 1 callersFunctionnormalize
(node: any, kind: "issue" | "pr")
scripts/triage-signal.ts:278
↓ 1 callersFunctionnormalizeDef
(def: $ZodObjectDef)
packages/zod/src/v4/core/schemas.ts:1997
↓ 1 callersFunctionnormalizeTabValue
(value: string)
packages/docs/content/api.test.ts:229
↓ 1 callersFunctionnullChainCheckSymbol
(x: any)
packages/bench/instanceof.ts:31
↓ 1 callersFunctionnullChainCheckTag
(x: any)
packages/bench/instanceof.ts:32
↓ 1 callersFunctionnullable
()
packages/zod/src/v4/classic/schemas.ts:224
↓ 1 callersFunctionnullable
()
packages/zod/src/v4/classic/tests/recursive-types.test.ts:441
↓ 1 callersFunctionnullable
(innerType: T)
packages/zod/src/v4/mini/schemas.ts:1529
↓ 1 callersFunctionnum
()
packages/zod/src/v3/benchmarks/realworld.ts:25
↓ 1 callersFunctionnumber
(params?: string | core.$ZodNumberParams)
packages/zod/src/v4/classic/schemas.ts:1185
↓ 1 callersFunctionnumber
(params?: string | core.$ZodNumberParams)
packages/zod/src/v4/mini/schemas.ts:592
↓ 1 callersFunctionnumberToBigInt
()
packages/zod/src/v4/classic/tests/codec-examples.test.ts:95
↓ 1 callersFunctionobjPlain
(input: any)
packages/bench/compile-wrapper-cost.ts:69
↓ 1 callersFunctionobjSentinel
(input: any)
packages/bench/compile-wrapper-cost.ts:53
↓ 1 callersFunctionobjTagged
(input: any)
packages/bench/compile-wrapper-cost.ts:61
↓ 1 callersFunctionobject
()
packages/zod/src/v4/classic/tests/recursive-types.test.ts:465
↓ 1 callersFunctionobjectValues
(obj: any)
packages/zod/src/v3/helpers/util.ts:33
↓ 1 callersFunctionomit
(mask)
packages/zod/src/v4/classic/schemas.ts:1664
↓ 1 callersFunctionoptional
()
packages/zod/src/v4/classic/schemas.ts:218
↓ 1 callersFunctionoptional
(innerType: T)
packages/zod/src/v4/mini/schemas.ts:1486
↓ 1 callersMethodoverride
@deprecated Access via ctx instead
packages/zod/src/v4/core/json-schema-generator.ts:65
↓ 1 callersFunctionownLineComments
Line-owning `//` comments, keyed by zero-based line number. Trailing `// note` after code never stacks.
scripts/check-comments.ts:65
↓ 1 callersFunctionpad
(s: string, n: number)
packages/bench/compile-matrix.ts:272
↓ 1 callersFunctionpadL
(s: string, n: number)
packages/bench/compile-matrix.ts:273
↓ 1 callersMethodparameters
()
packages/zod/src/v3/types.ts:3904
↓ 1 callersFunctionparseArgs
(argv: string[])
packages/bench/compile-vs-arktype.ts:56
↓ 1 callersFunctionparseArgs
(argv: string[])
scripts/triage-signal.ts:25
↓ 1 callersFunctionparseArgsOrExit
()
packages/bench/compile-vs-arktype.ts:101
↓ 1 callersFunctionparseCaseValue
(value: string)
packages/bench/compile-vs-arktype.ts:45
↓ 1 callersFunctionparseNestedObject
(input: unknown)
packages/bench/compile-validate-vs-parse.ts:84
↓ 1 callersFunctionparseNumberArray
(input: unknown)
packages/bench/compile-validate-vs-parse.ts:114
↓ 1 callersFunctionparseObjectArray
(input: unknown)
packages/bench/compile-validate-vs-parse.ts:124
↓ 1 callersFunctionparseSimpleObject
(input: unknown)
packages/bench/compile-validate-vs-parse.ts:76
↓ 1 callersFunctionparseStr
(k: string)
packages/zod/src/v4/core/schemas.ts:2180
↓ 1 callersFunctionparseURLObject
( trimmed: string, def: Pick<$ZodURLDef, "protocol" | "normalize"> )
packages/zod/src/v4/core/schemas.ts:518
↓ 1 callersFunctionpartial
(...args)
packages/zod/src/v4/classic/schemas.ts:1667
↓ 1 callersFunctionpick
(mask)
packages/zod/src/v4/classic/schemas.ts:1661
↓ 1 callersFunctionpipe
(target)
packages/zod/src/v4/classic/schemas.ts:254
↓ 1 callersFunctionpipe
()
packages/zod/src/v4/classic/tests/recursive-types.test.ts:456
↓ 1 callersFunctionpositive
(params)
packages/zod/src/v4/classic/schemas.ts:1161
↓ 1 callersFunctionprefixStr
(id: string, k: string)
packages/zod/src/v4/core/schemas.ts:2183
↓ 1 callersFunctionpropKey
(k: string | symbol)
packages/zod/src/v4/core/compile.ts:1121
↓ 1 callersFunctionproseBlocks
(fileName: string, text: string, lines: string[])
scripts/check-comments.ts:92
↓ 1 callersFunctionprotoInput
()
packages/zod/src/v4/classic/tests/object.test.ts:672
↓ 1 callersFunctionprotoNode
(obj: any)
packages/zod/src/v4/classic/tests/error-utils.test.ts:847
↓ 1 callersFunctionreadCodeFence
(lines: SourceLine[], fenceStartIndex: number, startLine: number)
packages/docs/content/api.test.ts:166
↓ 1 callersFunctionreadNodes
(file: string)
packages/bench/memory/snapshot.ts:48
↓ 1 callersFunctionreadReactions
(groups: { content: string; users: { totalCount: number } }[])
scripts/triage-signal.ts:267
↓ 1 callersFunctionreadingMinutes
(page: any)
packages/docs/loaders/source.ts:38
↓ 1 callersFunctionrecord
( keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams )
packages/zod/src/v4/classic/schemas.ts:1917
↓ 1 callersFunctionrecord
( keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams )
packages/zod/src/v4/mini/schemas.ts:1262
↓ 1 callersFunctionrefine
(check, params)
packages/zod/src/v4/classic/schemas.ts:209
↓ 1 callersFunctionrefusedCases
()
packages/zod/src/v4/core/tests/compile.test.ts:1571
↓ 1 callersMethodregister
( registry: R, ...meta: this extends R["_schema"] ? undefined extends R["_meta"] ? [core
packages/zod/src/v4/classic/schemas.ts:56
↓ 1 callersFunctionregistry
()
packages/zod/src/v4/core/registries.ts:90
↓ 1 callersMethodremoveCatch
@deprecated Use `.unwrap()` instead.
packages/zod/src/v4/classic/schemas.ts:2446
↓ 1 callersFunctionreport
(rows: Row[], problems: string[])
packages/bench/compile-matrix.ts:275
↓ 1 callersFunctionrequired
(schema: z.ZodObject)
packages/zod/src/v4/classic/tests/to-json-schema.test.ts:3564
↓ 1 callersFunctionrequiresPresenceCheck
(schema: SomeType)
packages/zod/src/v4/core/compile.ts:1309
↓ 1 callersFunctionresolveRef
(ref: string, ctx: ConversionContext)
packages/zod/src/v4/classic/from-json-schema.ts:132
↓ 1 callersMethodreturnType
()
packages/zod/src/v3/types.ts:3908
↓ 1 callersMethodreturns
(returnType: NewReturnType)
packages/zod/src/v3/types.ts:3921
↓ 1 callersFunctionright
()
packages/zod/src/v4/classic/tests/cyclic-data.test.ts:630
↓ 1 callersFunctionrun
()
packages/tsc/bench/index.ts:5
↓ 1 callersFunctionrunAll
* Rounds are interleaved across all cases rather than run case-by-case, so a * transient (thermal, GC, other processes) hits every case roughly equal
packages/bench/memory/throughput.ts:30
↓ 1 callersFunctionrunAllTests
()
packages/resolution/test-resolution.ts:78
↓ 1 callersFunctionruntimeParse
()
packages/bench/compile-matrix.ts:363
↓ 1 callersFunctionsafeParseAsync
(data, params)
packages/zod/src/v4/classic/schemas.ts:303
↓ 1 callersFunctionsame
(a: unknown, b: unknown, path = "$")
scripts/compile-fuzz.ts:216
↓ 1 callersFunctionscore
(item: Item, now: number)
scripts/triage-signal.ts:334
↓ 1 callersFunctionser
JSON.stringify throws on BigInt and drops Symbols, Maps and Sets — none of which the grammar can avoid generating.
scripts/compile-fuzz.ts:279
↓ 1 callersFunctionsetError
()
packages/zod/src/v3/types.ts:346
↓ 1 callersMethodsetKey
( key: Key, schema: Schema )
packages/zod/src/v3/types.ts:2737
↓ 1 callersFunctionshape
(z: any)
packages/bench/failing-safeparse.ts:19
↓ 1 callersFunctionshape
(schema: z.ZodType)
packages/zod/src/v4/classic/tests/object.test.ts:798
↓ 1 callersFunctionshim
(payload: any, ctx: any)
packages/zod/src/compile.ts:23
↓ 1 callersFunctionsnap
(schema: z.ZodType, value: unknown)
packages/zod/src/v4/core/tests/compile.test.ts:1565
↓ 1 callersFunctionsnapshotNow
(tag: string)
packages/bench/memory/retainers.ts:85
↓ 1 callersFunctionstandardProps
(inst: $ZodType)
packages/zod/src/v4/core/schemas.ts:338
↓ 1 callersFunctionstr
()
packages/zod/src/v3/benchmarks/realworld.ts:29
↓ 1 callersFunctionstrPlain
(input: unknown)
packages/bench/compile-wrapper-cost.ts:31
↓ 1 callersFunctionstrSentinel
(input: unknown)
packages/bench/compile-wrapper-cost.ts:21
↓ 1 callersFunctionstrTagged
(input: unknown)
packages/bench/compile-wrapper-cost.ts:26
↓ 1 callersFunctionstringToBigInt
()
packages/zod/src/v4/classic/tests/codec-examples.test.ts:66
↓ 1 callersFunctionstringToBoolean
(options?: { truthy?: string[]; falsy?: string[] })
packages/zod/src/v4/classic/tests/codec-examples.test.ts:489
↓ 1 callersFunctionstringToHttpURL
()
packages/zod/src/v4/classic/tests/codec-examples.test.ts:423
↓ 1 callersFunctionstringToInt
()
packages/zod/src/v4/classic/tests/codec-examples.test.ts:37
↓ 1 callersFunctionstringToNumber
()
packages/zod/src/v4/classic/tests/codec-examples.test.ts:8
↓ 1 callersFunctionstringToURL
()
packages/zod/src/v4/classic/tests/codec-examples.test.ts:393
↓ 1 callersFunctionstringifyPrimitive
(value: any)
packages/zod/src/v4/core/util.ts:607
↓ 1 callersFunctionstringifyTitle
(title: any)
packages/docs/app/llms.txt/route.ts:6
↓ 1 callersFunctionstripBackticks
(text: string)
packages/docs/components/inline-code-title.tsx:15
↓ 1 callersFunctionstripMdxCommentSegments
(line: string, state: { inComment: boolean })
packages/docs/content/api.test.ts:123
↓ 1 callersFunctionstripMdxComments
(source: string)
packages/docs/content/api.test.ts:100
← previousnext →801–900 of 2,105, ranked by callers