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.2.8
to
1.2.9
+1
-1
package.json
{
"name": "https-client",
"version": "1.2.8",
"version": "1.2.9",
"description": "Simple REST client for `node.js` `https` module. Adds retries and timeout support to `https` module.",

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

@@ -233,7 +233,6 @@ module.exports = class HttpsClient {

abortSignal.addEventListener('abort', () => {
try {
req.destroy(new Error("Aborted"))
} catch (e) {
resolve(e)
}
req.destroy()
const error = new Error('Aborted');
error.statusCode = 499
resolve(error)
});

@@ -240,0 +239,0 @@ }