File size: 50,223 Bytes
24918f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{"repo": "zod", "file": "packages/bench/benchUtil.ts", "line": 5, "symbol": "zod4", "task": "load the published build regardless of the workspace's source condition", "query": "load published build", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/compile-helper-scope.ts", "line": 75, "symbol": "def", "task": "the runtime's own sequence: trim, parse, then the hostname and protocol predicates", "query": "runtime sequence trim", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/compile-matrix.ts", "line": 253, "symbol": "calibrate", "task": "Iterations that put one measurement near ~40ms, so a round is short but not noise.", "query": "iterations that measurement", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/compile-matrix.ts", "line": 321, "symbol": "arg", "task": "Every case shares one `safeParse` call site, and so do zod's own internal dispatch sites.", "query": "every case shares", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/compile-matrix.ts", "line": 362, "symbol": "pool", "task": "Feed the input through an array load.", "query": "feed input through", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/failing-safeparse.ts", "line": 7, "symbol": "require", "task": "the built 4.4.3 package by absolute path: a bare \"zod443\" import would follow the @zod/source condition into its src, whose bare \"zod/…\" imports resolve to the workspace source and bench 4.5 against itself", "query": "built package absolute", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/memory/dict-mode.ts", "line": 13, "symbol": "hasFast", "task": "biome-ignore lint/security/noGlobalEval: V8 natives syntax is not valid in a module body.", "query": "biome ignore lint", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/memory/dict-mode.ts", "line": 29, "symbol": "plain", "task": "Reference points so the reader can see what fast/slow looks like.", "query": "reference points reader", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/memory/harness.ts", "line": 32, "symbol": "measure", "task": "Builds `count` instances via `factory`, holds them all live, and reports the retained heap delta.", "query": "builds count instances", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/memory/indent-leak.ts", "line": 23, "symbol": "branch", "task": "distinct key names per schema so V8's compilation cache never shares generated source between instances", "query": "distinct names schema", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/memory/prop-slack.ts", "line": 10, "symbol": "Empty", "task": "A constructor that assigns nothing, so V8 infers zero in-object slots and every property lands in a growable backing store — same as $constructor.", "query": "constructor that assigns", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/memory/snapshot.ts", "line": 100, "symbol": "diffAllocation", "task": "Runs `factory` `delta` extra times on top of `baseline` live instances and reports which node kinds grew, normalized per added instance.", "query": "runs factory delta", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/moltar-libs.ts", "line": 229, "symbol": "calibrate", "task": "iterations that put one measurement near ~40ms, so a round is short but not noise", "query": "iterations that measurement", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/moltar-libs.ts", "line": 281, "symbol": "source", "task": "distinct objects, and an array load rather than a constant, so nothing is hoisted and a pass-through library cannot escape one shared reference", "query": "distinct objects array", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/property-access.ts", "line": 33, "symbol": "objD", "task": "with Proxy, get/set trap, use Reflect", "query": "with proxy trap", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/validate-abort-sweep.ts", "line": 124, "symbol": "CTX_OFF", "task": "Both carry both keys, so the guard is the only difference the measurement can see.", "query": "both carry both", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/validate-abort-sweep.ts", "line": 156, "symbol": "off", "task": "_zod.run is read at call time: the object JIT replaces it on first use, so a reference captured up front would measure the stale interpreted path.", "query": "read call time", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/validate-vs-safeparse.ts", "line": 115, "symbol": "calibrate", "task": "Iterations that put one measurement near ~40ms, so a round is short but not noise.", "query": "iterations that measurement", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/validate-vs-safeparse.ts", "line": 137, "symbol": "measure", "task": "all four calls alternate inside a round and share one iteration count, so every ratio the harness prints is paired", "query": "four calls alternate", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/bench/validate-vs-safeparse.ts", "line": 139, "symbol": "pool", "task": "Feed the input through an array load.", "query": "feed input through", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/docs/app/llms.txt/route.ts", "line": 53, "symbol": "title", "task": "Skip separator entries that start with \"---\"", "query": "skip separator entries", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/docs/components/blog-toc.tsx", "line": 41, "symbol": "sync", "task": "the observer is just a trigger, so every callback re-reads positions", "query": "observer just trigger", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/integration/fixtures/drizzle-zod/index.ts", "line": 19, "symbol": "schema", "task": "This line was causing \"Type instantiation is excessively deep\" before the fix", "query": "this line causing", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/resolution/src/index.cts", "line": 40, "symbol": "validateDescriptor", "task": "the CommonJS entrypoint settles its re-export accessors into data properties, so callers do not read every API through a getter", "query": "commonjs entrypoint settles", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/tsc/generate.ts", "line": 49, "symbol": "generate", "task": "Step 4: Write the generated schemas to a file", "query": "step write generated", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v3/tests/branded.test.ts", "line": 42, "symbol": "age", "task": "keeping brands out of input types", "query": "keeping brands input", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v3/tests/string.test.ts", "line": 341, "symbol": "start", "task": "a failing match over the overlapping code points used to backtrack exponentially", "query": "failing match over", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/deep-partial.ts", "line": 67, "symbol": "deepPartial", "task": "Returns a copy of the schema with every nested object's properties made optional.", "query": "returns copy schema", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/errors.ts", "line": 28, "symbol": "_installedErrorProtos", "task": "Prototypes that already carry the lazy helper methods.", "query": "prototypes that already", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/from-json-schema.ts", "line": 462, "symbol": "literalSchemas", "task": "Mixed types - use union of literals", "query": "mixed types union", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/in-out.ts", "line": 7, "symbol": "input", "task": "Co-located with the functions: a type and a value can only share a name from one module.", "query": "located with functions", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/schemas.ts", "line": 350, "symbol": "description", "task": "Reads through to the registry on every access, so it must not cache.", "query": "reads through registry", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/assignability.test.ts", "line": 325, "symbol": "Intersected", "task": "An intersection and the flat object with the same keys are interchangeable as targets, since the normalizer flattens both.", "query": "intersection flat object", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/bigint.test.ts", "line": 75, "symbol": "schema", "task": "`value % 0n` throws RangeError, so the compiled path declines and the runtime reports the failure", "query": "value throws rangeerror", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/bigint.test.ts", "line": 86, "symbol": "obj", "task": "a zero divisor nested in an object must not break the surrounding parse", "query": "zero divisor nested", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/brand.test.ts", "line": 40, "symbol": "age", "task": "keeping brands out of input types", "query": "keeping brands input", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/catch.test.ts", "line": 313, "symbol": "result", "task": "A pipe hands its `out` schema the caller's issues array so an unrecognized key can survive to an enclosing intersection.", "query": "pipe hands schema", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/catch.test.ts", "line": 321, "symbol": "schema", "task": "Forwarding the unrecognized key is what lets the intersection reconcile it.", "query": "forwarding unrecognized what", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/catch.test.ts", "line": 518, "symbol": "schema", "task": "A pipe marks the payload aborted when its `in` fails, and `util.aborted` tests that flag alone, so leaving it set skips every check after the optional.", "query": "pipe marks payload", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/codec.test.ts", "line": 178, "symbol": "decoded", "task": "These should compile without type errors", "query": "these should compile", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/codec.test.ts", "line": 556, "symbol": "mixedCodec", "task": "Test that both sync and async work", "query": "test that both", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/datetime.test.ts", "line": 151, "symbol": "mixed", "task": "no single precision covers both, so the docs point at this union — pin that it works", "query": "single precision covers", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/discriminated-unions.test.ts", "line": 306, "symbol": "Base", "task": "A def rebuilt by a builder is a different object, so it inherits nothing and is left to the lookup map.", "query": "rebuilt builder different", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/discriminated-unions.test.ts", "line": 312, "symbol": "variantA", "task": "`Object.keys` lists a shape's keys without invoking them, so the check sees `child` without running the getter that references the union being constructed.", "query": "object keys lists", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/error-utils.test.ts", "line": 662, "symbol": "syntheticError", "task": "When a nested invalid_union appears inside another invalid_union, the inner errors must stay nested under their parent path, not flatten to root.", "query": "when nested invalid", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/from-json-schema.test.ts", "line": 333, "symbol": "schema1", "task": "Empty allOf without explicit type returns any", "query": "empty allof without", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/from-json-schema.test.ts", "line": 646, "symbol": "schema", "task": "Note: When patternProperties is combined with properties, the intersection validates all keys against the pattern.", "query": "note when patternproperties", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/hash.test.ts", "line": 64, "symbol": "schemaWithEmptyParams", "task": "Param object present but enc omitted should still default to hex at runtime", "query": "param object present", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/in-out.test.ts", "line": 105, "symbol": "checked", "task": "A check on the pipe itself travels with whichever side wins.", "query": "check pipe itself", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/in-out.test.ts", "line": 110, "symbol": "c", "task": "Control: a codec has two real sides, so its input side is still `in`, by identity.", "query": "control codec real", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/index.test.ts", "line": 92, "symbol": "a", "task": "local: false, offset: false, precision: null", "query": "local false offset", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/instance-footprint.test.ts", "line": 86, "symbol": "other", "task": "An explicit assignment behaves like one, as before.", "query": "explicit assignment behaves", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/instance-footprint.test.ts", "line": 145, "symbol": "seen", "task": "the install used to read a module-level flag the outer construction set, so a nested `init` on an unrelated receiver inherited an answer that was not about it", "query": "install used read", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/instance-footprint.test.ts", "line": 148, "symbol": "Nested", "task": "an assertion signature needs the call target explicitly annotated", "query": "assertion signature needs", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/instance-footprint.test.ts", "line": 181, "symbol": "schema", "task": "the derived metadata members live on the prototype and shadow as own data on first read", "query": "derived metadata members", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/instance-footprint.test.ts", "line": 236, "symbol": "Third", "task": "two levels deep: neither prototype takes a copy, so the inherited member is one function", "query": "levels deep neither", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/instance-footprint.test.ts", "line": 243, "symbol": "schema", "task": "Every member was an accessor with a setter before they moved onto `proto`, so a getter written by hand needs one too.", "query": "every member accessor", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/instanceof.test.ts", "line": 112, "symbol": "stringToLength", "task": "the check feeds the property value into its schema, so it is typed over the input side rather than the output", "query": "check feeds property", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/intersection.test.ts", "line": 55, "symbol": "result", "task": "Keys unrecognized by BOTH sides should error", "query": "keys unrecognized both", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/intersection.test.ts", "line": 244, "symbol": "strict", "task": "A key NEITHER side governs is still rejected.", "query": "neither side governs", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/issue-schema.test.ts", "line": 9, "symbol": "fail", "task": "Error maps run on the first read of `error`, so a test that only observes them reads it.", "query": "error maps first", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/lazy.test.ts", "line": 251, "symbol": "union", "task": "`undefined` is the legitimate answer here and still has to cache: these getters are read per parse, so recomputing them is a parse-path cost.", "query": "undefined legitimate answer", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/number.test.ts", "line": 391, "symbol": "Sql", "task": "the point of the distinction: dispatching on the schema type in a conditional type", "query": "point distinction dispatching", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/optin-ladder.test.ts", "line": 34, "symbol": "tup", "task": "a trailing defaulted tuple slot stays optional in the input tuple", "query": "trailing defaulted tuple", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/optional.test.ts", "line": 358, "symbol": "result", "task": "A pipe hands its `out` schema the caller's issues array so an unrecognized key can survive to an enclosing intersection.", "query": "pipe hands schema", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/partial.test.ts", "line": 301, "symbol": "jitlessResult", "task": "Test both paths produce identical results", "query": "test both paths", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/partial.test.ts", "line": 414, "symbol": "result", "task": "The refinement should still be applied", "query": "refinement should still", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/properties.test.ts", "line": 44, "symbol": "chained", "task": "chains, and each call narrows further", "query": "chains each call", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/properties.test.ts", "line": 50, "symbol": "W", "task": "nothing is written back, so the narrowing is over the shape's input side", "query": "nothing written back", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/properties.test.ts", "line": 69, "symbol": "png", "task": "a literal still narrows a wider property", "query": "literal still narrows", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/properties.test.ts", "line": 75, "symbol": "p", "task": "the 4.5 array call sites: the check yields itself from Symbol.iterator", "query": "array call sites", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/properties.test.ts", "line": 126, "symbol": "p", "task": "`when` is not publicly settable, since it gates the assertion inside the run loop.", "query": "when publicly settable", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/record.test.ts", "line": 101, "symbol": "caught", "task": "A catch and a preprocess pipe declare no static optin, so the key stays required even where the parser can fill it.", "query": "catch preprocess pipe", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/record.test.ts", "line": 329, "symbol": "part", "task": "matches partialRecord, which already applied transforms", "query": "matches partialrecord which", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/record.test.ts", "line": 338, "symbol": "schema", "task": "refine rejects \"b\" but it's still in the literal's value set", "query": "refine rejects still", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/recursive-types.test.ts", "line": 184, "symbol": "Shape", "task": "should not surface `readonly` modifiers from getter-defined keys.", "query": "should surface readonly", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/redos.test.ts", "line": 8, "symbol": "allPatterns", "task": "Every pattern `core/regexes.ts` ships, with the parameterized ones materialized across their argument space.", "query": "every pattern core", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/redos.test.ts", "line": 46, "symbol": "confirmed", "task": "The fuzz checker derives \"vulnerable\" from how long an attack string runs, so CPU contention from parallel test files can flip a safe pattern.", "query": "fuzz checker derives", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/refine.test.ts", "line": 208, "symbol": "result", "task": "Should fail with too many items and duplicates", "query": "should fail with", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/refine.test.ts", "line": 244, "symbol": "result", "task": "Should fail with too many items and duplicates", "query": "should fail with", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/refine.test.ts", "line": 372, "symbol": "inner", "task": "Forwarding a nested parse's issues must not overwrite their input with the outer payload.", "query": "forwarding nested parse", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/registries.test.ts", "line": 241, "symbol": "result", "task": "Should not throw - same schema instance used twice", "query": "should throw same", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/string.test.ts", "line": 424, "symbol": "input", "task": "Test the specific case from the user report", "query": "test specific case", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/string.test.ts", "line": 485, "symbol": "result", "task": "A rejection has to surface as an issue, not just success: false.", "query": "rejection surface issue", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/template-literal.test.ts", "line": 784, "symbol": "wrapped", "task": "a constrained string keeps its bounds under a wrapper and inside a union", "query": "constrained string keeps", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/template-literal.test.ts", "line": 801, "symbol": "lazy", "task": "resolves its inner schema on the internals, not the def", "query": "resolves inner schema", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/to-json-schema.test.ts", "line": 810, "symbol": "after", "task": "runtime rejects 1.5 in both orders, so both must emit type integer", "query": "runtime rejects both", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/to-json-schema.test.ts", "line": 1032, "symbol": "refined", "task": "a `type` array must have unique members, so two branches that erase to the same bare type collapse", "query": "type array must", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/to-json-schema.test.ts", "line": 1049, "symbol": "decorated", "task": "an override decorates the string branch, so it is no longer a bare type and must survive in anyOf", "query": "override decorates string", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/to-json-schema.test.ts", "line": 1070, "symbol": "shared", "task": "a branch extracted into $defs is a $ref, not a bare type, so `reused` is not silently bypassed", "query": "branch extracted into", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/to-json-schema.test.ts", "line": 1378, "symbol": "key", "task": "the value position still wants the number form, so the two cannot share one def", "query": "value position still", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/to-json-schema.test.ts", "line": 1402, "symbol": "stringy", "task": "a key with nothing to re-express keeps the reference it had", "query": "with nothing express", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/to-json-schema.test.ts", "line": 1490, "symbol": "schema", "task": "looseRecord with plain string key should still use propertyNames", "query": "looserecord with plain", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/tuple.test.ts", "line": 229, "symbol": "many", "task": "Multiple trailing optionals trim the same way — we don't fill the tail with literal `undefined`s.", "query": "multiple trailing optionals", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/tuple.test.ts", "line": 276, "symbol": "refusesUndefined", "task": "An absent optional-output slot can only be swallowed when every later output slot is optional too.", "query": "absent optional output", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/tuple.test.ts", "line": 331, "symbol": "orUndefined", "task": "The trim only runs for slots PAST `input.length`.", "query": "trim only runs", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/union.test.ts", "line": 221, "symbol": "name", "task": "non-strict objects strip unknown keys, so both branches accept the extra key", "query": "strict objects strip", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/validate.test.ts", "line": 124, "symbol": "piped", "task": "a plain function handing back a promise answers INVALID for union parity, so a transform is never a decidable rejection", "query": "plain function handing", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/validate.test.ts", "line": 139, "symbol": "thenable", "task": "guards the `definite` flag: a new generator that answers INVALID for something the interpreter throws on must clear it, or this fails", "query": "guards definite flag", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/validate.test.ts", "line": 331, "symbol": "counted", "task": "counts reads of each child slot, so a stopped walk is observable without putting a callback in the schema — a refinement spy would work too, but reading the input says nothing about what ran", "query": "counts reads each", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/validate.test.ts", "line": 364, "symbol": "arr", "task": "an array stops at the first bad element", "query": "array stops first", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/validate.test.ts", "line": 384, "symbol": "tup", "task": "and a tuple's fixed items carry into its rest", "query": "tuple fixed items", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/validate.test.ts", "line": 426, "symbol": "skips", "task": "reads of the trailing key say whether the walk stopped, without putting a callback in the schema", "query": "reads trailing whether", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/classic/tests/validate.test.ts", "line": 556, "symbol": "lateSym", "task": "the deliberate divergence, in every shape that can carry a callback: an earlier sibling settles the boolean, so the later throw is never reached", "query": "deliberate divergence every", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/api.ts", "line": 34, "symbol": "CheckParams", "task": "strips types that are not exposed in the public factory incl.", "query": "strips types that", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/api.ts", "line": 41, "symbol": "StringFormatParams", "task": "strips types that are not exposed in the public factory incl.", "query": "strips types that", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/compile.ts", "line": 25, "symbol": "INVALID", "task": "@internal Sentinel the compiled fast path returns when validation fails.", "query": "internal sentinel compiled", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/compile.ts", "line": 30, "symbol": "FALLBACK_FLAG", "task": "Set on the parse ctx when a compiled wrapper falls back to the runtime, so nested compiled wrappers skip their fast paths for the rest of that parse.", "query": "parse when compiled", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/compile.ts", "line": 58, "symbol": "ZodCompileUnsupportedError", "task": "Raised when the schema contains a feature whose semantics the fast path can't fully model.", "query": "raised when schema", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/compile.ts", "line": 126, "symbol": "compile", "task": "bypass the fast path and use the runtime directly.", "query": "bypass fast path", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/compile.ts", "line": 165, "symbol": "wrapped", "task": "Delegate to the *original* schema's run on bypass/fallback, not the clone's.", "query": "delegate original schema", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/compile.ts", "line": 237, "symbol": "compileFn", "task": "@internal Generate the standalone compiled function: a parser by default, a validator under `assertOnly`.", "query": "internal generate standalone", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/compile.ts", "line": 332, "symbol": "compileChild", "task": "`null` means the node built no value because nothing reads it.", "query": "null means node", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/core.ts", "line": 59, "symbol": "zodProto", "task": "Prototype for this constructor's `_zod` internals.", "query": "prototype this constructor", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/core.ts", "line": 71, "symbol": "initialized", "task": "One trait's members land on every prototype whose chain composes it, so the answer is per prototype rather than per trait.", "query": "trait members land", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/errors.ts", "line": 259, "symbol": "_installedToString", "task": "Prototypes that already carry the lazy `toString`.", "query": "prototypes that already", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/json-schema-processors.ts", "line": 185, "symbol": "exMin", "task": "when both minimum and exclusiveMinimum exist, pick the more restrictive one", "query": "when both minimum", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/memoizer.ts", "line": 26, "symbol": "STATE", "task": "Keyed off the context object every schema in one parse call already shares.", "query": "keyed context object", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/memoizer.ts", "line": 32, "symbol": "isRef", "task": "a value a cycle can close through", "query": "value cycle close", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/memoizer.ts", "line": 37, "symbol": "cloneIssues", "task": "Receivers prefix paths in place, so the cache and every hand-out need their own copies.", "query": "receivers prefix paths", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/memoizer.ts", "line": 44, "symbol": "NONE", "task": "What the walk established, in order of certainty: ordered so the strongest answer among children wins.", "query": "what walk established", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/memoizer.ts", "line": 50, "symbol": "isRecursive", "task": "Whether this schema's subtree contains a cycle, so one parse can re-enter it.", "query": "whether this schema", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/memoizer.ts", "line": 66, "symbol": "shape", "task": "`Reflect.ownKeys` rather than `Object.keys`, so a cycle through a declared symbol key is still seen", "query": "reflect ownkeys rather", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/memoizer.ts", "line": 73, "symbol": "child", "task": "resolving runs user code, and a factory mints a fresh subtree per read, so an edge the walk can't follow counts as a cycle", "query": "resolving runs user", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/memoizer.ts", "line": 184, "symbol": "settle", "task": "An assumed answer must not outlive the resolution that settles it, so only a certain one is cached.", "query": "assumed answer must", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/memoizer.ts", "line": 303, "symbol": "entry", "task": "A container that rejected its input outright allocated nothing.", "query": "container that rejected", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/parse.ts", "line": 10, "symbol": "finalizeParams", "task": "Always both keys, so the `_params` read site in `_parse` sees one object shape rather than two.", "query": "always both keys", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/parse.ts", "line": 122, "symbol": "COMPILE_INVALID", "task": "registry mirrors of the compiler's sentinels, so this module never imports the compiler", "query": "registry mirrors compiler", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/parse.ts", "line": 137, "symbol": "validate", "task": "Deliberately tiny, because v8 will not inline a body carrying the fallback's object literals and throw.", "query": "deliberately tiny because", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/regexes.ts", "line": 23, "symbol": "extendedDuration", "task": "Implements ISO 8601-2 extensions like explicit +- prefixes, mixing weeks with other units, and fractional/negative components.", "query": "implements extensions like", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/regexes.ts", "line": 27, "symbol": "guid", "task": "A regex for any UUID-like identifier: 8-4-4-4-12 hex pattern", "query": "regex uuid like", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/regexes.ts", "line": 102, "symbol": "currencyCode", "task": "ISO 4217 alpha codes from the SIX list, regenerated by scripts/update-iso-4217.ts", "query": "alpha codes from", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/regexes.ts", "line": 151, "symbol": "qualified", "task": "RFC 3339 mandates seconds wherever the time carries a `Z` or an offset, so only the unqualified form `local` adds may omit them", "query": "mandates seconds wherever", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/regexes.ts", "line": 175, "symbol": "lowercase", "task": "regex for string with no uppercase letters", "query": "regex string with", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/regexes.ts", "line": 177, "symbol": "uppercase", "task": "regex for string with no lowercase letters", "query": "regex string with", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/schemas.ts", "line": 38, "symbol": "$ZodMemoizer", "task": "Gives a container cycle support: `attach` wraps its parse, and `alloc` registers the object it builds into before any child is parsed so a reference back to the same input resolves to it.", "query": "gives container cycle", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/standard-schema.ts", "line": 157, "symbol": "StandardSchemaWithJSON", "task": "An interface that combines StandardJSONSchema and StandardSchema.", "query": "interface that combines", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/compile-differential.test.ts", "line": 16, "symbol": "assertIdentical", "task": "Stricter-than-toEqual structural identity: own-key order, symbol keys, undefined-valued vs absent keys, array holes, frozenness, NaN/-0.", "query": "stricter than toequal", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/compile-differential.test.ts", "line": 66, "symbol": "at", "task": "A schema may throw rather than return — an async check reached synchronously does.", "query": "schema throw rather", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/compile-differential.test.ts", "line": 112, "symbol": "attempt", "task": "so a bail-out silently becomes a different parse result with no error at all.", "query": "bail silently becomes", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/compile-differential.test.ts", "line": 569, "symbol": "schema", "task": "The callback reads issues finalized against the caller's per-parse error map, which generated code has no access to.", "query": "callback reads issues", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/compile-differential.test.ts", "line": 577, "symbol": "inner", "task": "A container normally absorbs an unsupported child by running just that node through the runtime.", "query": "container normally absorbs", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/compile-differential.test.ts", "line": 648, "symbol": "inputs", "task": "`parseValidURL` is a second implementation of what `$ZodURL`'s own check does inline — the trim, the `://` guard, the hostname and protocol tests, the normalize step.", "query": "parsevalidurl second implementation", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/compile-generative.test.ts", "line": 333, "symbol": "g", "task": "map and set: the compiled result still has to agree", "query": "compiled result still", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/compile-generative.test.ts", "line": 389, "symbol": "shape", "task": "own-key order and undefined-valued-vs-absent keys, which toStrictEqual does not see", "query": "order undefined valued", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/compile-generative.test.ts", "line": 401, "symbol": "failures", "task": "every failing seed is collected, so one run names all of them", "query": "every failing seed", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/compile-global.test.ts", "line": 22, "symbol": "r1", "task": "First parse: shim fires, compiles, replaces self.", "query": "first parse shim", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/compile-global.test.ts", "line": 26, "symbol": "r2", "task": "Second parse: directly through compiled wrapper.", "query": "second parse directly", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/compile-global.test.ts", "line": 81, "symbol": "bag", "task": "Without this the shim leaves no validator behind, validate misses its fast path and answers from the runtime parser instead.", "query": "without this shim", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/compile.test.ts", "line": 15, "symbol": "expectMatch", "task": "Differential helper: assert compiled schema matches the original on a value.", "query": "differential helper assert", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/compile.test.ts", "line": 256, "symbol": "prop", "task": "The runtime separates an absent key from an explicit undefined here: absent fails, explicit undefined takes the default.", "query": "runtime separates absent", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/email-regex.test.ts", "line": 52, "symbol": "classes", "task": "one representative per character class the two grammars can tell apart", "query": "representative character class", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/email-regex.test.ts", "line": 109, "symbol": "base", "task": "single-character mutation of a valid address", "query": "single character mutation", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/locales/es.test.ts", "line": 113, "symbol": "dateSchema", "task": "Test with a type that's not in the TypeNames dictionary.", "query": "test with type", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/locales/parity.test.ts", "line": 23, "symbol": "fallsThrough", "task": "True when the locale has no entry for `key`: the message is what the sentinel produces.", "query": "true when locale", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/locales/tg.test.ts", "line": 28, "symbol": "tooShort", "task": "singular units after numerals in Tajik", "query": "singular units after", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/tests/polyfill-collision.test.ts", "line": 17, "symbol": "ENTRY", "task": "toJSONSchema has to be reachable: a bundle that only parses a schema tree-shakes the offending module away and would pass no matter what it declares.", "query": "tojsonschema reachable bundle", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/to-json-schema.ts", "line": 288, "symbol": "_result", "task": "pulling fresh from ctx.seen in case it was overwritten", "query": "pulling fresh from", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/to-json-schema.ts", "line": 315, "symbol": "idToSchema", "task": "Track ids to detect duplicates across different schemas", "query": "track detect duplicates", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/to-json-schema.ts", "line": 376, "symbol": "schema", "task": "wipe away all properties except $ref", "query": "wipe away properties", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/to-json-schema.ts", "line": 470, "symbol": "FOLDABLE_KEYS", "task": "Keywords `foldIntersection` knows how to combine.", "query": "keywords foldintersection knows", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/to-json-schema.ts", "line": 499, "symbol": "parts", "task": "Every member constrains this key: the ones that declare it say how, and a `catchall` member constrains it too even though it does not name it.", "query": "every member constrains", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/util.ts", "line": 97, "symbol": "ToZodKeyMismatch", "task": "Stays a `$ZodType` so it still satisfies the shape constraint, and carries a brand no real schema has so the offending property is the one TypeScript reports as unassignable.", "query": "stays zodtype still", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/util.ts", "line": 105, "symbol": "ToZodNormalize", "task": "Homomorphic, so `readonly` and optional modifiers survive the rebuild and only leaves are normalized.", "query": "homomorphic readonly optional", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/util.ts", "line": 131, "symbol": "ToZodExpand", "task": "Forces the mapped type to display expanded, so the error prints the keys rather than the alias name.", "query": "forces mapped type", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/util.ts", "line": 134, "symbol": "ToZodTarget", "task": "Only localizes when a key is genuinely at fault.", "query": "only localizes when", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/core/visit.ts", "line": 156, "symbol": "original", "task": "Invoking the getter here would trip the cycle check, so lazy nodes always re-clone.", "query": "invoking getter here", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/locales/he.ts", "line": 29, "symbol": "Sizable", "task": "Sizing units for size-related messages + localized origin labels", "query": "sizing units size", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/locales/he.ts", "line": 38, "symbol": "typeEntry", "task": "Helpers — labels, articles, and verbs", "query": "helpers labels articles", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/locales/he.ts", "line": 128, "symbol": "stringified", "task": "Join values with proper Hebrew formatting", "query": "join values with", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/locales/he.ts", "line": 155, "symbol": "verb", "task": "Natural Hebrew for arrays and sets", "query": "natural hebrew arrays", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/locales/he.ts", "line": 187, "symbol": "verb", "task": "Natural Hebrew for arrays and sets", "query": "natural hebrew arrays", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/locales/tg.ts", "line": 7, "symbol": "Sizable", "task": "singular units after numerals in Tajik", "query": "singular units after", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/mini/tests/brand.test.ts", "line": 40, "symbol": "age", "task": "keeping brands out of input types", "query": "keeping brands input", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/mini/tests/codec.test.ts", "line": 181, "symbol": "decoded", "task": "These should compile without type errors", "query": "these should compile", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/mini/tests/codec.test.ts", "line": 475, "symbol": "mixedCodec", "task": "Test that both sync and async work", "query": "test that both", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/mini/tests/codec.test.ts", "line": 579, "symbol": "plain", "task": "A wrapper over a pipe-free schema keeps both its value and its identity.", "query": "wrapper over pipe", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/mini/tests/index.test.ts", "line": 148, "symbol": "a", "task": "local: false, offset: false, precision: null", "query": "local false offset", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/mini/tests/index.test.ts", "line": 334, "symbol": "viaPipe", "task": "An option whose shape cannot be listed without resolving it is left to the lookup map, on the first object parsed.", "query": "option whose shape", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "packages/zod/src/v4/mini/tests/object.test.ts", "line": 131, "symbol": "strict", "task": "the second schema's catchall wins, matching classic", "query": "second schema catchall", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "scripts/compile-fuzz.ts", "line": 217, "symbol": "same", "task": "Structural equality that is strict about the things parity actually turns on: key order, absent vs undefined-valued keys, NaN, -0, frozenness.", "query": "structural equality that", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "scripts/compile-fuzz.ts", "line": 280, "symbol": "ser", "task": "JSON.stringify throws on BigInt and drops Symbols, Maps and Sets — none of which the grammar can avoid generating.", "query": "json stringify throws", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "scripts/triage-signal.ts", "line": 46, "symbol": "W", "task": "Channel weights, applied to log-compressed counts so no one channel runs away.", "query": "channel weights applied", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "scripts/triage-signal.ts", "line": 54, "symbol": "PENALTY", "task": "Multipliers applied after the engagement score is assembled.", "query": "multipliers applied after", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "scripts/triage-signal.ts", "line": 101, "symbol": "VULN_CONTEXTUAL", "task": "Real security terms that also appear incidentally — a PR body noting \"1 flaky timeout in the redos checker\" is not a ReDoS report.", "query": "real security terms", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "scripts/triage-signal.ts", "line": 110, "symbol": "VULN_WEAK", "task": "Weaker markers — flagged for a human look but not promoted.", "query": "weaker markers flagged", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "scripts/triage-signal.ts", "line": 133, "symbol": "title", "task": "Only the leading slice of the body is scanned.", "query": "only leading slice", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "scripts/triage-signal.ts", "line": 336, "symbol": "voices", "task": "Each channel is log-compressed independently so a single 200-comment thread can't outrank broad, quiet demand — and reactions stay the dominant term.", "query": "each channel compressed", "lang": "en", "source": "docs"}
{"repo": "zod", "file": "scripts/triage-signal.ts", "line": 396, "symbol": "findClusters", "task": "Groups open items that appear to address the same thing, so a pile of near-identical drive-by PRs collapses into one decision.", "query": "groups open items", "lang": "en", "source": "docs"}