ata-validator
1.61.3 · 29 Oct 2026MIT21.8k / weekRepositoryHomepagenpmAtom feed
Upgrading ata-validator from 1.5.0 to 1.5.1
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 2
- fixes
Release by release
- fixed
isValid()on a buffer disagreed withvalidate()on the parsed value for 294 of 2208 cases in the official suite, in both directions. Two causes: the path returned the code generator'sfalsedirectly, which is ambiguous between "invalid" and "the plan stopped at a composition opcode and the walker should finish", so every schema usingallOf,anyOf,oneOfor$refwas rejected outright; and it ended in a second, simpler walker that had drifted from the onevalidate()uses. It now calls the same walker with all errors off, so there is one set of semantics rather than two kept in step by hand. The disagreement drops to 243 cases, the rest being the on-demand plan answering before the walker runs, which is engine work rather than a setting. - fixed
tests/test_buffer_path_parity.jsrecords that number so it cannot widen, and the README and the edge runtimes guide now state the gap, sinceisValid,countValidandbatchIsValidare shipped APIs and a caller has no way to know otherwise.
- fixed
1 other line we could not sort, mostly version bumps
- 1.5.1
ATA_NO_MIMALLOCskips the bundledmimalloc-new-delete.hinclude. A toolchain that ships the mimalloc headers along with its ownoperator new/deleteover the same allocator hits a duplicate symbol at link time; Emscripten with-sMALLOC=mimallocis that case, so the source could not be compiled to WebAssembly at all. The native build does not define it and is unchanged.