Packages

ata-validator

1.61.3 · 29 Oct 2026MIT21.8k / weekRepositoryHomepagenpmAtom feed

Upgrading ata-validator from 1.44.0 to 1.45.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Security

  • With code generation blocked, validating and reading the errors takes 4.7 µs per tsconfig.json sample where it took 8.5, and 427 µs per SARIF log where it took 568; the other schemas measured are unchanged;

    1.45.0
  • On the valid samples of five popular schemas, a verdict takes 9.9 µs where it took 16.2, and a validation that collects errors 16.0 µs where it took 23.4.

    1.45.0
4 other lines we could not sort, mostly version bumps
  • uniqueItems over arrays of objects is faster in generated code too: each item is hashed instead of turned into a canonical string, in one implementation both engines now run. A verdict on SchemaStore's SARIF samples takes 57.5 µs where it took 71.8.

    1.45.0
  • Reading the errors of a rejected document is a little faster: the error list is created with its first error instead of grown from an empty array, and a schema that reaches its root again through a definition used once (a tree whose nodes hold trees) now gets the one-pass function that validates and collects together. On the official test suite, validating every case and reading every error, a run takes 1.05 times less time on Draft 2020-12 with the default errors and 1.05 times less on draft 7, and 1.05 and 1.11 times less with richErrors: false.

    1.45.0
  • The interpreted engine compares values for enum, const and uniqueItems by own properties, as generated code does. The two differed only for objects with inherited enumerable properties, which JSON never produces.

    1.45.0
  • Cost: The browser runtime bundle is 116.4 KB gzipped, up from 115.8 KB. Startup and accepting documents are unchanged within noise. Modules from ata build are byte for byte the same size.

    1.45.0