From 77885ff39af5d4474a66117a917424f24870061e Mon Sep 17 00:00:00 2001
From: Luigi Pinca <luigipinca@gmail.com>
Date: Sun, 10 Nov 2019 09:10:14 +0100
Subject: [PATCH] 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:`.

Fixes: https://github.com/nodejs/node/issues/30154
Refs: https://github.com/nodejs/node/pull/26941
---
 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:
 <!-- YAML
 added: v0.1.25
 changes:
+  - version: v11.14.0
+    pr-url: https://github.com/nodejs/node/pull/26941
+    description: The `pathname` property on the returned URL object is now `/`
+                 when there is no path and the protocol scheme is `ws:` or
+                 `wss:`.
   - version: v11.0.0
     pr-url: https://github.com/nodejs/node/pull/22715
     description: The Legacy URL API is deprecated. Use the WHATWG URL API.