Socket
Socket
Sign inDemoInstall

eh-api-client

Package Overview
Dependencies
52
Maintainers
2
Versions
97
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.43.0 to 0.44.0

8

lib/client.js

@@ -69,2 +69,3 @@ var

this.urlPlaceholders = {}
this.headers = {}
};

@@ -135,2 +136,6 @@

Client.prototype.setHeaders = function(headers) {
this.headers = headers;
};
Client.prototype.request = function(method, options, body, cb) {

@@ -197,2 +202,5 @@ const callerStack = new Error().stack

}
if(this.headers) {
_.assign(reqParams.headers, this.headers);
}
if(options.headers) {

@@ -199,0 +207,0 @@ _.assign(reqParams.headers, options.headers);

2

package.json
{
"name": "eh-api-client",
"version": "0.43.0",
"version": "0.44.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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc