Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 1.1.0 to 1.1.1

6

index.js

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

streamForward(requestStream, ['complete'])
streamForward(requestStream)
.on('error', onResponse)

@@ -100,5 +100,3 @@ .on('response', onResponse.bind(null, null))

if (streamMode) {
retryStream.emit('response', response);
streamForward(cacheStream, ['error', 'complete'])
streamForward(cacheStream)
.on('error', resetStreams)

@@ -105,0 +103,0 @@ .pipe(retryStream);

{
"name": "retry-request",
"version": "1.1.0",
"version": "1.1.1",
"description": "Retry a request.",

@@ -23,3 +23,3 @@ "main": "index.js",

"stream-cache": "0.0.2",
"stream-forward": "^1.0.0",
"stream-forward": "^2.0.0",
"through2": "^2.0.0"

@@ -26,0 +26,0 @@ },

@@ -16,2 +16,4 @@ # retry-request

Note: This module only works when used as a readable stream, i.e. POST requests aren't supported ([#3](https://github.com/stephenplusplus/retry-request/issues/3)).
#### Callback

@@ -18,0 +20,0 @@

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