zod
4.6.7 · 12 Oct 2026MIT468.6M / weekRepositoryHomepagenpmAtom feed
Upgrading zod From 4.0.17 to 4.1.0
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 0
- fixes
Security
1 advisory still affects 4.1.0
- Zod can exhaust memory while validating oversized constrained collectionshigh · GHSA-mrhx-c7xc-m3w5
Upgrading to 4.6.6 clears it.
7 other lines we could not sort, mostly version bumps
- 4.1.0
Codecs — runs from
B->Aand executes theencodetransform during encoding - 4.1.0
Pipes — these execute
B->Ainstead ofA->B - 4.1.0
Defaults and prefaults — Only applied in the forward direction
- 4.1.0
Catch — Only applied in the forward direction
- 4.1.0
z.uuid() now supports the "Max UUID" (
FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF) per the RFC - 4.1.0
$ZodFunctionis now a subtype of$ZodType - 4.1.0
Closes #5127
24 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.