Packages

ata-validator

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

Your version

1.13.0

6 Sep 2026Where it was published

1.61.3 is the newest release of 1.x.

In short

1 new1 changed

Release note

Changed

  • The default browser bundle stops carrying the AOT emitters. lib/aot.js has promised a browser stub via the package.json browser field since the fs-free build, but the mapping was never actually in the field, so every browser bundle shipped the emitters and the embedded safe-regex engine source they pull in, along with the native walker's routing table that only matters when the native addon loads. Both now map to stubs. Emitting validators in a browser still works, through the new ata-validator/aot entry, and the Validator.bundle* statics in a browser bundle throw a message that points there; Validator.loadBundle keeps working in the default bundle, since loading a bundle somebody already built is a runtime act. Measured with the schema-benchmarks rolldown pipeline: minified and gzipped 73,491 to 64,812 bytes, 11.8 percent smaller. The browser-imports guard now bans a token from each excluded file so the mapping cannot regress silently.

Added

  • ata-validator/aot: the standalone emitters (toStandalone, toStandaloneModule, bundle, bundleStandalone, bundleCompact, loadBundle) as an explicit, typed import. In Node it is the same module the statics use; in a browser it is the way to opt back into emission without paying for it on pages that never emit.