zod
4.6.7 · 12 Oct 2026MIT468.6M / weekRepositoryHomepagenpmAtom feed
Upgrading zod From 4.1.2 to 4.1.3
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 4
- fixes
Security
1 advisory still affects 4.1.3
- Zod can exhaust memory while validating oversized constrained collectionshigh · GHSA-mrhx-c7xc-m3w5
Upgrading to 4.6.6 clears it.
Release by release
- Fixed
v4: toJSONSchema - add missing oneOf inside items in tuple conversion
- Fixed
v4: toJSONSchema tuple path handling for draft-7 with metadata IDs
- Fixed
v4: toJSONSchema - wrong record output when targeting
openapi-3.0 - Fixed
v4: toJSONSchema - output numbers with exclusive range correctly when targeting
openapi-3.0
- Fixed
1 other line we could not sort, mostly version bumps
- 4.1.3
Drop stringToBoolean
4 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.