From 04e45db1726e1d2c11ecbf8cbacc82c88672fc83 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Sun, 10 Nov 2019 09:10:14 +0100 Subject: [PATCH] doc: add entry to url.parse() changes metadata MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Document that returned `pathname` is now `/` when the URL to parse has no path and the protocol scheme is`ws:` or `wss:`. PR-URL: https://github.com/nodejs/node/pull/30348 Fixes: https://github.com/nodejs/node/issues/30154 Refs: https://github.com/nodejs/node/pull/26941 Reviewed-By: Anna Henningsen Reviewed-By: Yongsheng Zhang Reviewed-By: Masashi Hirano Reviewed-By: Trivikram Kamat Reviewed-By: Tobias Nießen Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater --- doc/api/url.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/api/url.md b/doc/api/url.md index d50061abe1153e..80deff6f4b9984 100644 --- a/doc/api/url.md +++ b/doc/api/url.md @@ -1185,6 +1185,11 @@ The formatting process operates as follows: