Library authors should only import from `core`, which is used by both v4 and v4-mini.
ref: https://zod.dev/library-authors?id=how-to-support-zod-and-zo...
Re:Zod 4
by CGamesPlay on Tuesday May 20, 2025 @08:07AM
(#44040612)
Glad to see that this was also considered. Iām curious why they went with a third API, though.
I guess this could be mostly avoided if zod/v4 actually a wrapper around zod/v4-mini. Is that the case?