comparar
Yup vs Zod
Os mesmos fatos para os dois, lidos do GitHub toda noite, e a relação que uma pessoa revisou.
| Fato | Yup | Zod |
|---|---|---|
| Linguagem | TypeScript | TypeScript |
| Licença | MIT | MIT |
| Estrelas | 24k | 44k |
| Última release | v1.0.0 | v4.6.7 |
| Último push | 2026-11-22 | 2026-11-22 |
| Ritmo de releases | poucas releases | cerca de 1 dia entre releases |
| Contribuidores ativos | 0 autor de commits na branch padrão nos últimos 90 dias | 8 autores de commits na branch padrão nos últimos 90 dias |
| Alertas | nenhum | nenhum |
Como se relacionam
Yup substitui Zod. Alternativas a Zod →
Substituição completaSchema builders with TypeScript type inference.
Zod substitui Yup. Alternativas a Yup →
Substituição completaSchemas that infer their TypeScript types, with a similar chaining API.
Os dois substituem Joi. Alternativas a Joi →
Substituição completaYupChained schema builders with validation and casting, for browsers and Node.js.
Substituição completaZodSchema validation with static type inference, for Node.js and browsers.
Yup
- v1.0.02023-02-08v1 Because I finally got around to it
- v1.0.0-beta.72022-08-22Fixes published artifacts for the main fieldpré-release
- v1.0.0-beta.52022-08-22v1.0.0-beta.5 - partial fixes and cast migration pathpré-release
- v1.0.0-beta.42022-08-22chore(deps): update all non-major dependenciespré-release
- v1.0.0-beta.32022-03-09Fix object.partial(), `required` changespré-release
Zod
- v4.6.72026-10-12b500a2ee95134f81d74da7911d7378dd2853d042 4.6.7
- v4.6.62026-10-11> Six malicious commits pushed to main on September 21 with a compromised git credential were reverted the same day in…
- v4.6.52026-09-13d2b135cfb7a3582b9eb515756b9166bcb9521f4a docs: add the 4.6.x patch highlights to the 4.6 post
- v4.6.42026-09-13A patch on top of 4.6.3.
- v4.6.32026-09-12A patch on top of 4.6.2.
Yup
não assinada A última release, v1.0.0, não tem nenhuma assinatura que o GitHub consiga verificar.
Carregando o relatório de segurança
Zod
✓ assinada A última release, v4.6.7, tem uma assinatura verificada pelo GitHub.
Carregando o relatório de segurança