@@ -73,7 +73,9 @@ const myURL =
7373
7474### Class: URL
7575<!-- YAML
76- added: v7.0.0
76+ added:
77+ - v7.0.0
78+ - v6.13.0
7779changes:
7880 - version: v10.0.0
7981 pr-url: https://github.com/nodejs/node/pull/18281
@@ -525,7 +527,9 @@ console.log(JSON.stringify(myURLs));
525527
526528### Class: URLSearchParams
527529<!-- YAML
528- added: v7.5.0
530+ added:
531+ - v7.5.0
532+ - v6.13.0
529533changes:
530534 - version: v10.0.0
531535 pr-url: https://github.com/nodejs/node/pull/18281
@@ -602,7 +606,9 @@ console.log(params.toString());
602606
603607#### Constructor: new URLSearchParams(obj)
604608<!-- YAML
605- added: v7.10.0
609+ added:
610+ - v7.10.0
611+ - v6.13.0
606612-->
607613
608614* ` obj ` {Object} An object representing a collection of key-value pairs
@@ -627,7 +633,9 @@ console.log(params.toString());
627633
628634#### Constructor: new URLSearchParams(iterable)
629635<!-- YAML
630- added: v7.10.0
636+ added:
637+ - v7.10.0
638+ - v6.13.0
631639-->
632640
633641* ` iterable ` {Iterable} An iterable object whose elements are key-value pairs
@@ -785,7 +793,9 @@ console.log(params.toString());
785793
786794#### urlSearchParams.sort()
787795<!-- YAML
788- added: v7.7.0
796+ added:
797+ - v7.7.0
798+ - v6.13.0
789799-->
790800
791801Sort all existing name-value pairs in-place by their names. Sorting is done
@@ -836,7 +846,9 @@ for (const [name, value] of params) {
836846
837847### url.domainToASCII(domain)
838848<!-- YAML
839- added: v7.4.0
849+ added:
850+ - v7.4.0
851+ - v6.13.0
840852-->
841853
842854* ` domain ` {string}
@@ -859,7 +871,9 @@ console.log(url.domainToASCII('xn--iñvalid.com'));
859871
860872### url.domainToUnicode(domain)
861873<!-- YAML
862- added: v7.4.0
874+ added:
875+ - v7.4.0
876+ - v6.13.0
863877-->
864878
865879* ` domain ` {string}
@@ -881,6 +895,9 @@ console.log(url.domainToUnicode('xn--iñvalid.com'));
881895```
882896
883897### url.fileURLToPath(url)
898+ <!-- YAML
899+ added: v10.12.0
900+ -->
884901
885902* ` url ` {URL | string} The file URL string or URL object to convert to a path.
886903* Returns: {string} The fully-resolved platform-specific Node.js file path.
@@ -942,6 +959,9 @@ console.log(url.format(myURL, { fragment: false, unicode: true, auth: false }));
942959```
943960
944961### url.pathToFileURL(path)
962+ <!-- YAML
963+ added: v10.12.0
964+ -->
945965
946966* ` path ` {string} The path to convert to a File URL.
947967* Returns: {URL} The file URL object.
0 commit comments