Socket
Socket
Sign inDemoInstall

retry-request

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

retry-request - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

7

index.js

@@ -117,3 +117,3 @@ 'use strict';

// is up with the `streamResponseHandled` tracking.
.on('error', function(err) {
.on('error', function (err) {
if (streamResponseHandled) {

@@ -126,3 +126,3 @@ return;

})
.on('response', function(resp, body) {
.on('response', function (resp, body) {
if (streamResponseHandled) {

@@ -180,2 +180,5 @@ return;

delayStream.pipe(retryStream);
requestStream.on('error', function (err) {
retryStream.destroy(err);
});
} else {

@@ -182,0 +185,0 @@ callback(err, response, body);

{
"name": "retry-request",
"version": "3.1.0",
"version": "3.1.1",
"description": "Retry a request.",

@@ -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