Safely parse a string into a URL.
The string to parse into a URL.
A URL object if the parsing is successful, undefined otherwise.
Safely parse a string into a URL.