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

eh-api-client

Package Overview
Dependencies
Maintainers
2
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eh-api-client - npm Package Compare versions

Comparing version 0.41.5 to 0.42.0

5

index.js

@@ -25,4 +25,5 @@ var

}
// only retry if got an ECONNRESET/ETIMEDOUT/ESOCKETTIMEDOUT error
return err.code === "ECONNRESET" || err.code === "ETIMEDOUT" || err.code === "ESOCKETTIMEDOUT";
// only retry if got an ECONNRESET/ETIMEDOUT/ESOCKETTIMEDOUT/EAI_AGAIN/ECONNREFUSED error
// https://man7.org/linux/man-pages/man3/errno.3.html
return err.code === "ECONNRESET" || err.code === "ETIMEDOUT" || err.code === "ESOCKETTIMEDOUT" || err.code === 'EAI_AGAIN' || err.code === 'ECONNREFUSED';
}

@@ -29,0 +30,0 @@ };

2

lib/client.js

@@ -243,3 +243,3 @@ var

else {
reject(buildError(res, data));
return reject(buildError(res, data));
}

@@ -246,0 +246,0 @@ }

{
"name": "eh-api-client",
"version": "0.41.5",
"version": "0.42.0",
"description": "Node.js rest client",

@@ -5,0 +5,0 @@ "main": "index.js",

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