New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

https-client

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

https-client - npm Package Compare versions

Comparing version
1.3.5
to
1.3.6
+1
-1
package.json
{
"name": "https-client",
"version": "1.3.5",
"version": "1.3.6",
"description": "Simple REST client for `node.js` `https` module. Adds retries and timeout support to `https` module.",

@@ -5,0 +5,0 @@ "author": "Will Tesler",

@@ -231,3 +231,3 @@ module.exports = class HttpsClient {

let responseStr = response;
const serverError = new Error();
const serverError = new Error(`Received not OK status code with call to ${host}${path}`);
serverError.statusCode = statusCode;

@@ -234,0 +234,0 @@ if (typeof response === 'string') {