-
Error thrown by
.assert
orout.throw()
is now an instance of AggregateError, with the cause being anArkErrors
array. -
Throw an error immediately if multiple versions of
arktype
are imported -
Fix an issue causing some discriminated unions including a prototype like
string | RegExp
to return incorrect validation results.