Closed alumni closed 2 months ago
Can you fix merge conflict @alumni ?
released in v9.0.2
This is possibly a breaking change. Previously, a value like "0.0.0.0" was accepted, while it now errors with "0.0.0.0 is not a valid URL"
@alumni I think this change broke IPv6 queries. See https://github.com/ladjs/superagent/pull/1805 . The change makes node resolve [x]:port as a hostname instead of IPv6 address.
There's a pr open to fix it ;)
@alumni ah, I was hoping you would review that PR :-D (also, there was an edit in that PR saying it's hard to test)
Checklist
Replaces the other occurrences of
url.parse()
withnew URL()
. Continuation of PR #1802.