mirror of
https://github.com/hanzoai/zod.git
synced 2026-09-24 17:04:49 +00:00
After #5845 added `string: "chaîne"` to the French TypeDictionary,
the resolution test fixture (which checks the safeParse output under
the `fr` locale) was still asserting the pre-translation message
"Entrée invalide : string attendu, nombre reçu". CI on main has been
red since 9f605483. Update all three entrypoints (`index.ts`,
`index.cts`, `index.mts`) to match the actual translated output.
Zod perftesting
node generateRandomSchemas.js to generate some random Zod schemas (pregenerated ones already exist in src/index.ts)
npm run build-bench to run tsc with extendedDiagnostics
Either modify zod's typings in node_modules/zod or npm link a local copy and do modifications there. Remember to build zod in between!