Packages

ata-validator

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

Your version

0.4.14

28 Mar 2026Where it was published

0.22.0 is the newest release of 0.4.x.

Release note

three codegen optimizations from profiling.

skip redundant required checks: if a property has a type constraint, the type check already catches undefined. no need to check required separately. one fewer property access per required field.

defer additionalProperties: moved property count check to end of function. V8 optimizes type checks better when they run first without interruption.

boolean identity check: replaced typeof d === 'boolean' with d === true || d === false. avoids typeof operator overhead.

isValidObject: 142M -> 215M ops/sec
1.4x faster than typebox, 3.8x faster than ajv on boolean checks