Skip to content

v1.2.0

Compare
Choose a tag to compare
@tinovyatkin tinovyatkin released this 25 Aug 19:04
· 291 commits to master since this release
2780445
  • Validate string for a correctness as a host name (via very nice RegEx) before attempting to resolve it
  • Use native promisified versions of dns.lookup (utils.promisify on Node < 11.14 and dns.promises on latest)
  • Pick just one of IP addresses families (IPv4 or IPv6) if any of them are available on all local network interfaces
  • Added types for TypeScript and Flow
  • Tests on Node 10.x and 12.x
  • Re-licensed under MIT license