comparar
Yup vs Zod
Los mismos datos para ambos, leídos de GitHub cada noche, y la relación que revisó una persona.
| Dato | Yup | Zod |
|---|---|---|
| Lenguaje | TypeScript | TypeScript |
| Licencia | MIT | MIT |
| Estrellas | 24k | 44k |
| Última versión | v1.0.0 | v4.6.7 |
| Último push | 2026-11-22 | 2026-11-22 |
| Ritmo de versiones | muy pocas versiones | alrededor de 1 día entre versiones |
| Colaboradores activos | 0 autores de commits en la rama por defecto en los últimos 90 días | 8 autores de commits en la rama por defecto en los últimos 90 días |
| Avisos | ninguno | ninguno |
Cómo se relacionan
Yup sustituye a Zod. Alternativas a Zod →
Sustitución completaSchema builders with TypeScript type inference.
Zod sustituye a Yup. Alternativas a Yup →
Sustitución completaSchemas that infer their TypeScript types, with a similar chaining API.
Ambos sustituyen a Joi. Alternativas a Joi →
Sustitución completaYupChained schema builders with validation and casting, for browsers and Node.js.
Sustitución 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 fieldversión preliminar
- v1.0.0-beta.52022-08-22v1.0.0-beta.5 - partial fixes and cast migration pathversión preliminar
- v1.0.0-beta.42022-08-22chore(deps): update all non-major dependenciesversión preliminar
- v1.0.0-beta.32022-03-09Fix object.partial(), `required` changesversión preliminar
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
sin firmar La última versión, v1.0.0, no lleva ninguna firma que GitHub haya podido verificar.
Cargando el informe de seguridad
Zod
✓ firmada La última versión, v4.6.7, lleva una firma que GitHub ha verificado.
Cargando el informe de seguridad