◑docsParity
colinhacks/zod★ 44,199TypeScript

vs https://zod.dev/api

The provided code surface is only a thin set of package entry-point re-exports (from zod, zod/mini, zod/v4, zod/v3, locales) and contains no schema-method signatures, so there is very little in the supplied ground truth to contradict the api.mdx page. I could not confirm any runtime API mismatches from the material given, and I am not inventing signatures I cannot see. The only actionable item visible is that `z.promise()` is documented as deprecated, which is consistent with intent but its deprecation status cannot be verified against the exports shown.

0 high0 medium1 low
Open issue with all findings ↗
12
Files analyzed
17
API symbols
2
Doc pages
20.4s
Analyzed in
100%
API coverage: Well documented
17 of 17 exported symbols mentioned in docs
12 source files inspected · deepseek-chat · Oct 26, 2026

1 mismatch found

01

Package entry points documented only as "zod"; mini/v4/v3/locales entry points are undocumented

packages/zod/src/index.ts

low
In the code
export * from "zod/mini"  // packages/mini/src/index.ts
export * from "../v4/mini/external.js"  // packages/zod/src/mini/index.ts
export * from "./classic/index.js"  // packages/zod/src/v4/index.ts
export * from "./external.js"  // packages/zod/src/v3/index.ts
export * from "../v4/locales/index.js"  // packages/zod/src/locales/index.ts
In the docs
import * as z from "zod";

The docs page only ever imports from `"zod"` and mentions Zod Mini via the UI toggle, but never states the actual import paths that the package exports (`zod/mini`, `zod/v4`, `zod/v4-mini`, `zod/v3`, `zod/locales`). Developers following the api page cannot discover how to import Zod Mini or the v3 compat entry point from what is shown.

Suggested fix
Add a short "Imports" note documenting the supported entry points: `import * as z from "zod"` (classic v4), `import * as z from "zod/mini"` (Zod Mini), `import * as z from "zod/v3"` (v3 compat), and `zod/locales`.