retry-request
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6786
110
91
+ Addedarray-to-map@1.0.3(transitive)
+ Addedon-everything@1.0.0(transitive)
+ Addedstream-forward@2.0.1(transitive)
- Removedstream-forward@1.0.0(transitive)
Updatedstream-forward@^2.0.0