ajv
8.20.0 · 24 Apr 2026MIT544M / weekRepositoryHomepagenpmAtom feed
Upgrading ajv From 5.0.0 to 6.14.0
54 releases in betweennotes for 26
- 1+
- change to make
- 2
- advisories fixed
- ?
- new
- ?
- fixes
Counted from 26 of 54 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking6.0.0
Security
Fixes 2 advisories affecting 5.0.0
- ajv has ReDoS when using `$data` optionmoderate · GHSA-2g4f-4pwh-qvx6
- Prototype Pollution in Ajvmoderate · GHSA-v88g-cgmw-v5xw
- 6.12.3
Fixed vulnerability related to untrusted schemas (CVE-2020-15366)
21 other lines we could not sort, mostly version bumps
- 6.12.0
TypeScript usage notes
- 6.9.0
dependenciesoption in to require the presence of keywords in the same schema. - 6.9.0
More strict validation of the definition using JSON Schema.
- 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
1 internal line (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.