News for hackers. Stuff that matters.
Re:Zod 4 by colinmcd on Tuesday May 20, 2025 @02:55PM (#44044693)
As you allude to: your aliased "zod-next" dependency wouldn't be able to satisfy the requirements of any packages with a peer dep on Zod. But this approach has a more fundamental flaw. My goal is to let ecosystem libraries support Zod 3 and Zod 4 simultaneously. There's no reliable way to do that if they aren't in the same package.[0]

[0] https://github.com/colinhacks/zod/issues/4371

There are no comments on this comment yet.