Re: [whatwg/url] Consider adding non-throwing URL.parse(input, base) (#372)

Thanks for bringing that to my attention. I don't see the need for parity with `JSON` as we don't try to mimic anything from that API in `URL`. If there was a more widespread pattern of `parse` and `tryParse` methods, maybe, but even then I'd hope we only use the `try` prefix if there's an existing throwing method as it looks rather ungainly.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/372#issuecomment-2022176315
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/url/issues/372/2022176315@github.com>

Received on Wednesday, 27 March 2024 08:14:23 UTC