perf(url): use URL.canParse for validation by yslpn · Pull Request #1608 · open-circle/valibot

Optimize URL validation Summary Use URL.canParse for URL validation when the API is available. Keep the existing URL constructor fallback for runtimes that do not support URL.canParse. Update the ...