Skip to content

Commit 4b1922a

Browse files
authored
docs(content/v4/index): fix zod version (#5289)
1 parent 02a5840 commit 4b1922a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/content/v4/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ The core bundle is ~57% smaller in Zod 4 (2.3x). That's good! But we can do a lo
287287
Zod's method-heavy API is fundamentally difficult to tree-shake. Even our simple `z.boolean()` script pulls in the implementations of a bunch of methods we didn't use, like `.optional()`, `.array()`, etc. Writing slimmer implementations can only get you so far. That's where Zod Mini comes in.
288288
289289
```sh
290-
npm install zod@^3.25.0
290+
npm install zod@^4.0.0
291291
```
292292
293293
It's a Zod variant with a functional, tree-shakable API that corresponds one-to-one with `zod`. Where Zod uses methods, Zod Mini generally uses wrapper functions:

0 commit comments

Comments
 (0)