Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
net: export isIPv4, isIPv6 directly from cares
The function objects encapsulating `isIPv4` and `isIPv6` are not necessary. They can be directly exposed from `cares`. PR-URL: #7481 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
- Loading branch information
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -1569,14 +1569,10 @@ Server.prototype.unref = function() { | ||
| exports.isIP = cares.isIP; | ||
|
|
||
|
|
||
| exports.isIPv4 = cares.isIPv4; | ||
|
|
||
|
|
||
| exports.isIPv6 = cares.isIPv6; | ||
|
|
||
|
|
||
| if (process.platform === 'win32') { | ||

