https-client
Advanced tools
+1
-1
| { | ||
| "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 @@ } |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
10042
0.04%231
-0.43%