Packages

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…

Other targets from 1.5.0Newest 1.x, Latest1.61.3
0
changes to make
0
advisories fixed
0
new
2
fixes

Release by release

  1. 1.5.1

    7 Aug 20262 fixes
    • fixed

      isValid() on a buffer disagreed with validate() on the parsed value for 294 of 2208 cases in the official suite, in both directions. Two causes: the path returned the code generator's false directly, which is ambiguous between "invalid" and "the plan stopped at a composition opcode and the walker should finish", so every schema using allOf, anyOf, oneOf or $ref was rejected outright; and it ended in a second, simpler walker that had drifted from the one validate() 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.js records that number so it cannot widen, and the README and the edge runtimes guide now state the gap, since isValid, countValid and batchIsValid are shipped APIs and a caller has no way to know otherwise.

1 other line we could not sort, mostly version bumps
  • ATA_NO_MIMALLOC skips the bundled mimalloc-new-delete.h include. A toolchain that ships the mimalloc headers along with its own operator new/delete over the same allocator hits a duplicate symbol at link time; Emscripten with -sMALLOC=mimalloc is that case, so the source could not be compiled to WebAssembly at all. The native build does not define it and is unchanged.

    1.5.1