@@ -73,7 +73,9 @@ const myURL = |
73 | 73 |
|
74 | 74 | ### Class: URL |
75 | 75 | <!-- YAML |
76 | | -added: v7.0.0 |
| 76 | +added: |
| 77 | + - v7.0.0 |
| 78 | + - v6.13.0 |
77 | 79 | changes: |
78 | 80 | - version: v10.0.0 |
79 | 81 | pr-url: https://github.com/nodejs/node/pull/18281 |
@@ -525,7 +527,9 @@ console.log(JSON.stringify(myURLs)); |
525 | 527 |
|
526 | 528 | ### Class: URLSearchParams |
527 | 529 | <!-- YAML |
528 | | -added: v7.5.0 |
| 530 | +added: |
| 531 | + - v7.5.0 |
| 532 | + - v6.13.0 |
529 | 533 | changes: |
530 | 534 | - version: v10.0.0 |
531 | 535 | pr-url: https://github.com/nodejs/node/pull/18281 |
@@ -602,7 +606,9 @@ console.log(params.toString()); |
602 | 606 |
|
603 | 607 | #### Constructor: new URLSearchParams(obj) |
604 | 608 | <!-- YAML |
605 | | -added: v7.10.0 |
| 609 | +added: |
| 610 | + - v7.10.0 |
| 611 | + - v6.13.0 |
606 | 612 | --> |
607 | 613 |
|
608 | 614 | * `obj` {Object} An object representing a collection of key-value pairs |
@@ -627,7 +633,9 @@ console.log(params.toString()); |
627 | 633 |
|
628 | 634 | #### Constructor: new URLSearchParams(iterable) |
629 | 635 | <!-- YAML |
630 | | -added: v7.10.0 |
| 636 | +added: |
| 637 | + - v7.10.0 |
| 638 | + - v6.13.0 |
631 | 639 | --> |
632 | 640 |
|
633 | 641 | * `iterable` {Iterable} An iterable object whose elements are key-value pairs |
@@ -785,7 +793,9 @@ console.log(params.toString()); |
785 | 793 |
|
786 | 794 | #### urlSearchParams.sort() |
787 | 795 | <!-- YAML |
788 | | -added: v7.7.0 |
| 796 | +added: |
| 797 | + - v7.7.0 |
| 798 | + - v6.13.0 |
789 | 799 | --> |
790 | 800 |
|
791 | 801 | Sort all existing name-value pairs in-place by their names. Sorting is done |
@@ -836,7 +846,9 @@ for (const [name, value] of params) { |
836 | 846 |
|
837 | 847 | ### url.domainToASCII(domain) |
838 | 848 | <!-- YAML |
839 | | -added: v7.4.0 |
| 849 | +added: |
| 850 | + - v7.4.0 |
| 851 | + - v6.13.0 |
840 | 852 | --> |
841 | 853 |
|
842 | 854 | * `domain` {string} |
@@ -859,7 +871,9 @@ console.log(url.domainToASCII('xn--iñvalid.com')); |
859 | 871 |
|
860 | 872 | ### url.domainToUnicode(domain) |
861 | 873 | <!-- YAML |
862 | | -added: v7.4.0 |
| 874 | +added: |
| 875 | + - v7.4.0 |
| 876 | + - v6.13.0 |
863 | 877 | --> |
864 | 878 |
|
865 | 879 | * `domain` {string} |
@@ -881,6 +895,9 @@ console.log(url.domainToUnicode('xn--iñvalid.com')); |
881 | 895 | ``` |
882 | 896 |
|
883 | 897 | ### url.fileURLToPath(url) |
| 898 | +<!-- YAML |
| 899 | +added: v10.12.0 |
| 900 | +--> |
884 | 901 |
|
885 | 902 | * `url` {URL | string} The file URL string or URL object to convert to a path. |
886 | 903 | * 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 })); |
942 | 959 | ``` |
943 | 960 |
|
944 | 961 | ### url.pathToFileURL(path) |
| 962 | +<!-- YAML |
| 963 | +added: v10.12.0 |
| 964 | +--> |
945 | 965 |
|
946 | 966 | * `path` {string} The path to convert to a File URL. |
947 | 967 | * Returns: {URL} The file URL object. |
|