Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cacheable-lookup

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cacheable-lookup - npm Package Compare versions

Comparing version 6.0.3 to 6.0.4

2

package.json
{
"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 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc