diff --git a/doc/api/errors.md b/doc/api/errors.md index 3ff3c5c1797332..f199689f2dc432 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -1677,10 +1677,10 @@ An invalid URI was passed. ### `ERR_INVALID_URL` -An invalid URL was passed to the [WHATWG][WHATWG URL API] -[`URL` constructor][`new URL(input)`] to be parsed. The thrown error object -typically has an additional property `'input'` that contains the URL that failed -to parse. +An invalid URL was passed to the [WHATWG][WHATWG URL API] [`URL` +constructor][`new URL(input)`] or the legacy [`url.parse()`][] to be parsed. +The thrown error object typically has an additional property `'input'` that +contains the URL that failed to parse. ### `ERR_INVALID_URL_SCHEME` @@ -2824,6 +2824,7 @@ The native call from `process.cpuUsage` could not be processed. [`stream.write()`]: stream.md#stream_writable_write_chunk_encoding_callback [`subprocess.kill()`]: child_process.md#child_process_subprocess_kill_signal [`subprocess.send()`]: child_process.md#child_process_subprocess_send_message_sendhandle_options_callback +[`url.parse()`]: url.md#url_url_parse_urlstring_parsequerystring_slashesdenotehost [`util.getSystemErrorName(error.errno)`]: util.md#util_util_getsystemerrorname_err [`zlib`]: zlib.md [crypto digest algorithm]: crypto.md#crypto_crypto_gethashes diff --git a/doc/api/url.md b/doc/api/url.md index 2330755a6f1108..0aa42418993b3d 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -1232,6 +1232,11 @@ forward-slash characters (`/`) are required following the colon in the