Comparing version 2.29.2 to 2.30.0
@@ -6,3 +6,3 @@ /*global JSON, setTimeout, setImmediate*/ | ||
urlModule = require('url'), | ||
_ = require('underscore'), | ||
_ = require('lodash'), | ||
fs = require('fs'), | ||
@@ -678,4 +678,2 @@ zlib = require('zlib'), | ||
return retryUponError(responseError); | ||
} else { | ||
responseBodyMustBeDisposedUnlessPiped = true; | ||
} | ||
@@ -703,3 +701,3 @@ } else if (response.statusCode === 304) { | ||
var responseBodyMustBeBuffered = eventEmitter.listeners('responseBody').length > 0; | ||
var responseBodyMustBeBuffered = eventEmitter.listeners('responseBody').length > 0 || responseError; | ||
@@ -767,2 +765,5 @@ if (cb) { | ||
} | ||
if (responseError) { | ||
responseError.data = response.body; | ||
} | ||
eventEmitter.emit('responseBody', response); | ||
@@ -769,0 +770,0 @@ returnSuccessOrError(); |
{ | ||
"name": "teepee", | ||
"version": "2.29.2", | ||
"version": "2.30.0", | ||
"description": "Generic HTTP client", | ||
@@ -20,9 +20,6 @@ "main": "lib/Teepee.js", | ||
"httperrors": "2.2.0", | ||
"lodash": "^4.17.4", | ||
"passerror": "1.1.1", | ||
"socketerrors-papandreou": "0.2.0-patch3", | ||
"underscore": "1.8.3" | ||
"socketerrors-papandreou": "0.2.0-patch3" | ||
}, | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/" | ||
}, | ||
"devDependencies": { | ||
@@ -32,3 +29,3 @@ "coveralls": "^2.11.9", | ||
"eslint-config-onelint": "^1.1.0", | ||
"httpception": "0.2.1", | ||
"httpception": "0.5.0", | ||
"istanbul": "^0.4.3", | ||
@@ -35,0 +32,0 @@ "mocha": "^3.0.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
129277
2726
+ Addedlodash@^4.17.4
+ Addedlodash@4.17.21(transitive)
- Removedunderscore@1.8.3
- Removedunderscore@1.8.3(transitive)