Merlijn

Results issues of Merlijn

`QuicClientConfig`'s docs link to `ClientConfig::try_with_platform_verifier()`, which is gated behind `#[cfg(feature = "platform-verifier")]`. When docs are built without that feature, the intra-doc link is unresolved and `cargo doc` fails under `-D...

While reviewing the congestion control and token management logic, I identified several scenarios — particularly under extreme ACK-aggregation and token-replay conditions — where `unwrap()` calls and arithmetic operations could trigger...

## Summary `z.formatError` / `.format()` throws on validation errors whose path contains a key named after an `Object.prototype` member (`constructor`, `toString`, `valueOf`, `hasOwnProperty`, …). Because those keys can come straight...

## Summary `z.bigint().multipleOf(0n).safeParse(10n)` throws `RangeError: Division by zero` instead of returning a result object. `safeParse` is contractually never supposed to throw, and the number equivalent already returns `{ success: false...

Fixes #5966. ## Problem The input type of `z.preprocess` no longer reflects the preprocessor's argument type — a regression since v4.4.3. From the docs example: ```ts const trimmed = z.preprocess(...

Fixes #6019. ## Problem When `globalThis.Promise` is replaced by a subclass — Zone.js's `ZoneAwarePromise`, Angular NgZone, `@opentelemetry/context-zone`, etc. — zod silently drops issues added inside an `async` `superRefine`/`refine`, and `parseAsync`...

Fixes #5697. ## Problem Parsing a non-finite number produced a confusing, self-contradictory message: ```ts z.number().finite().safeParse(Infinity).error; // { // code: "invalid_type", // expected: "number", // received: "Infinity", // ← correct //...

Fixes #5663. ## Problem In `z.intersection(a, b)`, checks/refinements/transforms attached to a **strict** object branch were silently skipped, and an intersection of strict objects could pass validation that should have failed:...

Fixes #5990. ## Problem `z.toJSONSchema()` copied a schema's registered metadata over the generated schema with `Object.assign`, letting metadata clobber keywords Zod derives from the schema itself: ```ts z.toJSONSchema(z.string().meta({ type: "number"...

Fixes #5968. ## Problem `z.toJSONSchema(schema, { io: "input" })` marked object properties defined with `z.preprocess(...)` as **not required** — a regression since v4.4.3 (#5941): ```ts z.toJSONSchema( z.object({ a: z.string(), b:...