Replace ow with zod for runtime argument validation. ow is effectively unmaintained, and zod is already the validation library used across our packages.
Breaking: invalid arguments throw a new ArgumentValidationError instead of ow's ArgumentError, and a few values that ow let through (Infinity, invalid Date, arrays where an object is expected) are now rejected.
✍️ Drafted by Claude Code
Replace
owwithzodfor runtime argument validation.owis effectively unmaintained, and zod is already the validation library used across our packages.Breaking: invalid arguments throw a new
ArgumentValidationErrorinstead ofow'sArgumentError, and a few values thatowlet through (Infinity, invalidDate, arrays where an object is expected) are now rejected.✍️ Drafted by Claude Code