GeezerVison is showing github.com — 2018-07-04, Version 10.6.0 (Current) · kylef/node@4716fd1
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: CHANGELOG.md +2-1Lines changed: 2 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -33,7 +33,8 @@ release. | 33 | 33 | </tr> | 34 | 34 | <tr> | 35 | 35 | <td valign="top"> | 36 | | -<b><a href="doc/changelogs/CHANGELOG_V10.md#10.5.0">10.5.0</a></b><br/> | | 36 | +<b><a href="doc/changelogs/CHANGELOG_V10.md#10.6.0">10.6.0</a></b><br/> | | 37 | +<a href="doc/changelogs/CHANGELOG_V10.md#10.5.0">10.5.0</a><br/> | 37 | 38 | <a href="doc/changelogs/CHANGELOG_V10.md#10.4.1">10.4.1</a><br/> | 38 | 39 | <a href="doc/changelogs/CHANGELOG_V10.md#10.4.0">10.4.0</a><br/> | 39 | 40 | <a href="doc/changelogs/CHANGELOG_V10.md#10.3.0">10.3.0</a><br/> | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/dns.md +18-18Lines changed: 18 additions & 18 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -585,7 +585,7 @@ via `require('dns').promises`. | 585 | 585 |
| 586 | 586 | ### Class: dnsPromises.Resolver | 587 | 587 | <!-- YAML | 588 | | -added: REPLACEME | | 588 | +added: v10.6.0 | 589 | 589 | --> | 590 | 590 |
| 591 | 591 | An independent resolver for DNS requests. | @@ -631,7 +631,7 @@ The following methods from the `dnsPromises` API are available: | 631 | 631 |
| 632 | 632 | ### dnsPromises.getServers() | 633 | 633 | <!-- YAML | 634 | | -added: REPLACEME | | 634 | +added: v10.6.0 | 635 | 635 | --> | 636 | 636 |
| 637 | 637 | * Returns: {string[]} | @@ -652,7 +652,7 @@ section if a custom port is used. | 652 | 652 |
| 653 | 653 | ### dnsPromises.lookup(hostname[, options]) | 654 | 654 | <!-- YAML | 655 | | -added: REPLACEME | | 655 | +added: v10.6.0 | 656 | 656 | --> | 657 | 657 | - `hostname` {string} | 658 | 658 | - `options` {integer | Object} | @@ -715,7 +715,7 @@ dnsPromises.lookup('example.com', options).then((result) => { | 715 | 715 |
| 716 | 716 | ### dnsPromises.lookupService(address, port) | 717 | 717 | <!-- YAML | 718 | | -added: REPLACEME | | 718 | +added: v10.6.0 | 719 | 719 | --> | 720 | 720 | - `address` {string} | 721 | 721 | - `port` {number} | @@ -740,7 +740,7 @@ dnsPromises.lookupService('127.0.0.1', 22).then((result) => { | 740 | 740 |
| 741 | 741 | ### dnsPromises.resolve(hostname[, rrtype]) | 742 | 742 | <!-- YAML | 743 | | -added: REPLACEME | | 743 | +added: v10.6.0 | 744 | 744 | --> | 745 | 745 | - `hostname` {string} Hostname to resolve. | 746 | 746 | - `rrtype` {string} Resource record type. **Default:** `'A'`. | @@ -769,7 +769,7 @@ is one of the [DNS error codes](#dns_error_codes). | 769 | 769 |
| 770 | 770 | ### dnsPromises.resolve4(hostname[, options]) | 771 | 771 | <!-- YAML | 772 | | -added: REPLACEME | | 772 | +added: v10.6.0 | 773 | 773 | --> | 774 | 774 | - `hostname` {string} Hostname to resolve. | 775 | 775 | - `options` {Object} | @@ -784,7 +784,7 @@ addresses (e.g. `['74.125.79.104', '74.125.79.105', '74.125.79.106']`). | 784 | 784 |
| 785 | 785 | ### dnsPromises.resolve6(hostname[, options]) | 786 | 786 | <!-- YAML | 787 | | -added: REPLACEME | | 787 | +added: v10.6.0 | 788 | 788 | --> | 789 | 789 | - `hostname` {string} Hostname to resolve. | 790 | 790 | - `options` {Object} | @@ -799,7 +799,7 @@ addresses. | 799 | 799 |
| 800 | 800 | ### dnsPromises.resolveAny(hostname) | 801 | 801 | <!-- YAML | 802 | | -added: REPLACEME | | 802 | +added: v10.6.0 | 803 | 803 | --> | 804 | 804 | - `hostname` {string} | 805 | 805 |
| @@ -843,7 +843,7 @@ Here is an example of the result object: | 843 | 843 |
| 844 | 844 | ### dnsPromises.resolveCname(hostname) | 845 | 845 | <!-- YAML | 846 | | -added: REPLACEME | | 846 | +added: v10.6.0 | 847 | 847 | --> | 848 | 848 | - `hostname` {string} | 849 | 849 |
| @@ -853,7 +853,7 @@ the `hostname` (e.g. `['bar.example.com']`). | 853 | 853 |
| 854 | 854 | ### dnsPromises.resolveMx(hostname) | 855 | 855 | <!-- YAML | 856 | | -added: REPLACEME | | 856 | +added: v10.6.0 | 857 | 857 | --> | 858 | 858 | - `hostname` {string} | 859 | 859 |
| @@ -864,7 +864,7 @@ containing both a `priority` and `exchange` property (e.g. | 864 | 864 |
| 865 | 865 | ### dnsPromises.resolveNaptr(hostname) | 866 | 866 | <!-- YAML | 867 | | -added: REPLACEME | | 867 | +added: v10.6.0 | 868 | 868 | --> | 869 | 869 | - `hostname` {string} | 870 | 870 |
| @@ -893,7 +893,7 @@ of objects with the following properties: | 893 | 893 |
| 894 | 894 | ### dnsPromises.resolveNs(hostname) | 895 | 895 | <!-- YAML | 896 | | -added: REPLACEME | | 896 | +added: v10.6.0 | 897 | 897 | --> | 898 | 898 | - `hostname` {string} | 899 | 899 |
| @@ -904,7 +904,7 @@ records available for `hostname` (e.g. | 904 | 904 |
| 905 | 905 | ### dnsPromises.resolvePtr(hostname) | 906 | 906 | <!-- YAML | 907 | | -added: REPLACEME | | 907 | +added: v10.6.0 | 908 | 908 | --> | 909 | 909 | - `hostname` {string} | 910 | 910 |
| @@ -914,7 +914,7 @@ containing the reply records. | 914 | 914 |
| 915 | 915 | ### dnsPromises.resolveSoa(hostname) | 916 | 916 | <!-- YAML | 917 | | -added: REPLACEME | | 917 | +added: v10.6.0 | 918 | 918 | --> | 919 | 919 | - `hostname` {string} | 920 | 920 |
| @@ -945,7 +945,7 @@ following properties: | 945 | 945 |
| 946 | 946 | ### dnsPromises.resolveSrv(hostname) | 947 | 947 | <!-- YAML | 948 | | -added: REPLACEME | | 948 | +added: v10.6.0 | 949 | 949 | --> | 950 | 950 | - `hostname` {string} | 951 | 951 |
| @@ -970,7 +970,7 @@ the following properties: | 970 | 970 |
| 971 | 971 | ### dnsPromises.resolveTxt(hostname) | 972 | 972 | <!-- YAML | 973 | | -added: REPLACEME | | 973 | +added: v10.6.0 | 974 | 974 | --> | 975 | 975 | - `hostname` {string} | 976 | 976 |
| @@ -983,7 +983,7 @@ treated separately. | 983 | 983 |
| 984 | 984 | ### dnsPromises.reverse(ip) | 985 | 985 | <!-- YAML | 986 | | -added: REPLACEME | | 986 | +added: v10.6.0 | 987 | 987 | --> | 988 | 988 | - `ip` {string} | 989 | 989 |
| @@ -995,7 +995,7 @@ is one of the [DNS error codes](#dns_error_codes). | 995 | 995 |
| 996 | 996 | ### dnsPromises.setServers(servers) | 997 | 997 | <!-- YAML | 998 | | -added: REPLACEME | | 998 | +added: v10.6.0 | 999 | 999 | --> | 1000 | 1000 | - `servers` {string[]} array of [rfc5952][] formatted addresses | 1001 | 1001 |
| |
Collapse file Copy file name to clipboardExpand all lines: doc/api/fs.md +3-3Lines changed: 3 additions & 3 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1904,7 +1904,7 @@ Synchronous lchmod(2). Returns `undefined`. | 1904 | 1904 | ## fs.lchown(path, uid, gid, callback) | 1905 | 1905 | <!-- YAML | 1906 | 1906 | changes: | 1907 | | - - version: REPLACEME | | 1907 | + - version: v10.6.0 | 1908 | 1908 | pr-url: https://github.com/nodejs/node/pull/21498 | 1909 | 1909 | description: This API is no longer deprecated. | 1910 | 1910 | - version: v10.0.0 | @@ -1929,7 +1929,7 @@ to the completion callback. | 1929 | 1929 | ## fs.lchownSync(path, uid, gid) | 1930 | 1930 | <!-- YAML | 1931 | 1931 | changes: | 1932 | | - - version: REPLACEME | | 1932 | + - version: v10.6.0 | 1933 | 1933 | pr-url: https://github.com/nodejs/node/pull/21498 | 1934 | 1934 | description: This API is no longer deprecated. | 1935 | 1935 | --> | @@ -3906,7 +3906,7 @@ no arguments upon success. This method is only implemented on macOS. | 3906 | 3906 | <!-- YAML | 3907 | 3907 | added: v10.0.0 | 3908 | 3908 | changes: | 3909 | | - - version: REPLACEME | | 3909 | + - version: v10.6.0 | 3910 | 3910 | pr-url: https://github.com/nodejs/node/pull/21498 | 3911 | 3911 | description: This API is no longer deprecated. | 3912 | 3912 | --> | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/n-api.md +7-7Lines changed: 7 additions & 7 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -4045,7 +4045,7 @@ prevent the event loop from exiting. The APIs `napi_ref_threadsafe_function` and | 4045 | 4045 | > Stability: 1 - Experimental | 4046 | 4046 |
| 4047 | 4047 | <!-- YAML | 4048 | | -added: REPLACEME | | 4048 | +added: v10.6.0 | 4049 | 4049 | --> | 4050 | 4050 | ```C | 4051 | 4051 | NAPI_EXTERN napi_status | @@ -4088,7 +4088,7 @@ parameters and with `undefined` as its `this` value. | 4088 | 4088 | > Stability: 1 - Experimental | 4089 | 4089 |
| 4090 | 4090 | <!-- YAML | 4091 | | -added: REPLACEME | | 4091 | +added: v10.6.0 | 4092 | 4092 | --> | 4093 | 4093 | ```C | 4094 | 4094 | NAPI_EXTERN napi_status | @@ -4106,7 +4106,7 @@ This API may be called from any thread which makes use of `func`. | 4106 | 4106 | > Stability: 1 - Experimental | 4107 | 4107 |
| 4108 | 4108 | <!-- YAML | 4109 | | -added: REPLACEME | | 4109 | +added: v10.6.0 | 4110 | 4110 | --> | 4111 | 4111 | ```C | 4112 | 4112 | NAPI_EXTERN napi_status | @@ -4134,7 +4134,7 @@ This API may be called from any thread which makes use of `func`. | 4134 | 4134 | > Stability: 1 - Experimental | 4135 | 4135 |
| 4136 | 4136 | <!-- YAML | 4137 | | -added: REPLACEME | | 4137 | +added: v10.6.0 | 4138 | 4138 | --> | 4139 | 4139 | ```C | 4140 | 4140 | NAPI_EXTERN napi_status | @@ -4156,7 +4156,7 @@ This API may be called from any thread which will start making use of `func`. | 4156 | 4156 | > Stability: 1 - Experimental | 4157 | 4157 |
| 4158 | 4158 | <!-- YAML | 4159 | | -added: REPLACEME | | 4159 | +added: v10.6.0 | 4160 | 4160 | --> | 4161 | 4161 | ```C | 4162 | 4162 | NAPI_EXTERN napi_status | @@ -4184,7 +4184,7 @@ This API may be called from any thread which will stop making use of `func`. | 4184 | 4184 | > Stability: 1 - Experimental | 4185 | 4185 |
| 4186 | 4186 | <!-- YAML | 4187 | | -added: REPLACEME | | 4187 | +added: v10.6.0 | 4188 | 4188 | --> | 4189 | 4189 | ```C | 4190 | 4190 | NAPI_EXTERN napi_status | @@ -4205,7 +4205,7 @@ This API may only be called from the main thread. | 4205 | 4205 | > Stability: 1 - Experimental | 4206 | 4206 |
| 4207 | 4207 | <!-- YAML | 4208 | | -added: REPLACEME | | 4208 | +added: v10.6.0 | 4209 | 4209 | --> | 4210 | 4210 | ```C | 4211 | 4211 | NAPI_EXTERN napi_status | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/util.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -360,8 +360,8 @@ stream.write('With ES6'); | 360 | 360 | <!-- YAML | 361 | 361 | added: v0.3.0 | 362 | 362 | changes: | 363 | | - - version: REPLACEME | 364 | | - pr-url: https://github.com/nodejs/node/pull/REPLACEME | | 363 | + - version: v10.6.0 | | 364 | + pr-url: https://github.com/nodejs/node/pull/20725 | 365 | 365 | description: Inspecting linked lists and similar objects is now possible | 366 | 366 | up to the maximum call stack size. | 367 | 367 | - version: v10.0.0 | |
Collapse file Copy file name to clipboardExpand all lines: doc/api/vm.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -411,7 +411,7 @@ changes: | 411 | 411 | pr-url: https://github.com/nodejs/node/pull/4777 | 412 | 412 | description: The `cachedData` and `produceCachedData` options are | 413 | 413 | supported now. | 414 | | - - version: REPLACEME | | 414 | + - version: v10.6.0 | 415 | 415 | pr-url: https://github.com/nodejs/node/pull/20300 | 416 | 416 | description: The `produceCachedData` is deprecated in favour of | 417 | 417 | `script.createCachedData()` | @@ -443,7 +443,7 @@ any global object; rather, it is bound before each run, just for that run. | 443 | 443 |
| 444 | 444 | ### script.createCachedData() | 445 | 445 | <!-- YAML | 446 | | -added: REPLACEME | | 446 | +added: v10.6.0 | 447 | 447 | --> | 448 | 448 |
| 449 | 449 | * Returns: {Buffer} | |
|