Skip to content
Browse files

doc: add entry to url.parse() changes metadata

Document that returned `pathname` is now `/` when the URL to parse has
no path and the protocol scheme is`ws:` or `wss:`.

PR-URL: #30348
Fixes: #30154
Refs: #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 <>
  • Loading branch information
lpinca authored and MylesBorins committed Nov 10, 2019
1 parent 2e6b3be commit d979a9d391efea38b35143b7f94db3e98c41c688
Showing with 5 additions and 0 deletions.
  1. +5 −0 doc/api/
@@ -1185,6 +1185,11 @@ The formatting process operates as follows:
<!-- YAML
added: v0.1.25
- version: v11.14.0
description: The `pathname` property on the returned URL object is now `/`
when there is no path and the protocol scheme is `ws:` or
- version: v11.0.0
description: The Legacy URL API is deprecated. Use the WHATWG URL API.

0 comments on commit d979a9d

Please sign in to comment.
You can’t perform that action at this time.