ajv
8.20.0 · 24 Apr 2026MIT544M / weekRepositoryHomepagenpmAtom feed
Upgrading ajv From 5.5.2 to 6.0.0
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 0
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking6.0.0
Security
2 advisories still affect 6.0.0
- ajv has ReDoS when using `$data` optionmoderate · GHSA-2g4f-4pwh-qvx6
- Prototype Pollution in Ajvmoderate · GHSA-v88g-cgmw-v5xw
Upgrading to 6.14.0 clears them.
18 other lines we could not sort, mostly version bumps
- 6.0.0
if/then/elsekeywords - 6.0.0
$commentkeyword - 6.0.0
Default meta-schema is draft-07
- 6.0.0
Only
$idkeyword is used as schema ID by default. - 6.0.0
schemaIdoption should be set to "id" or "auto" foridkeyword to be used. See Options. - 6.0.0
date,date-time,time: support leap year and leap second - 6.0.0
json-pointer: only validates a string format of JSON pointer - 6.0.0
json-pointer-uri-fragment: to validate uri-fragment format of JSON pointer - 6.0.0
Improved algorithm for
uniqueItemskeyword to validate an array of same-type scalars in one pass - 6.0.0
Keywords
uniqueItemsandcontainsare validated afteritemsand type coercion (withcoerceTypesoption)
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.