cacheable-lookup
Advanced tools
Comparing version 6.0.3 to 6.0.4
{ | ||
"name": "cacheable-lookup", | ||
"version": "6.0.3", | ||
"version": "6.0.4", | ||
"description": "A cacheable dns.lookup(…) that respects TTL", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -68,3 +68,7 @@ 'use strict'; | ||
return dnsPromise.catch(error => { | ||
if (error.code === 'ENODATA' || error.code === 'ENOTFOUND') { | ||
if ( | ||
error.code === 'ENODATA' || | ||
error.code === 'ENOTFOUND' || | ||
error.code === 'ENOENT' // Windows: name exists, but not this record type | ||
) { | ||
return []; | ||
@@ -71,0 +75,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24496
486