ajv
8.20.0 · 24 Apr 2026MIT544M / weekRepositoryHomepagenpmAtom feed
Upgrading ajv From 7.2.0 to 7.2.1
1 release in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 0
- new
- 2
- fixes
Before you upgrade
Tick each one off as you go- Breaking7.2.1
Security
1 advisory still affects 7.2.1
- ajv has ReDoS when using `$data` optionmoderate · GHSA-2g4f-4pwh-qvx6
Upgrading to 8.18.0 clears it.
Release by release
- Breaking
It is a breaking change for compiled parsers compared with 7.2.0 that was released earlier on the same day.
- Fixed
Fix parsing of u-escaped characters
- Fixed
Do not fail on duplicate object keys (consistent with JSON.parse)
- Breaking
5 other lines we could not sort, mostly version bumps
- 7.2.1
Trailing comma in arrays/objects
- 7.2.1
Invalid JSON numbers
- 7.2.1
Control characters in strings
- 7.2.1
Consistent with JSON.parse in case of invalid JSON
- 7.2.1
Only parse data that is valid for JTD schema
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.