Comparing version 2.2.2 to 2.2.3
@@ -700,2 +700,7 @@ ////////////////////////////////////////// | ||
// make sure timer is cleared if request is aborted (issue #257) | ||
request.once('abort', function() { | ||
if (timer) clearTimeout(timer); | ||
}) | ||
// handle socket 'end' event to ensure we don't get delayed EPIPE errors. | ||
@@ -702,0 +707,0 @@ request.once('socket', function(socket) { |
{ | ||
"name": "needle", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "The leanest and most handsome HTTP client in the Nodelands.", | ||
@@ -48,9 +48,9 @@ "keywords": [ | ||
"devDependencies": { | ||
"JSONStream": "", | ||
"jschardet": "", | ||
"mocha": "", | ||
"sinon": "", | ||
"should": "", | ||
"xml2js": "", | ||
"JSONStream": "", | ||
"q": "", | ||
"jschardet": "" | ||
"should": "^13.2.3", | ||
"sinon": "^2.3.0", | ||
"xml2js": "" | ||
}, | ||
@@ -57,0 +57,0 @@ "scripts": { |
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
198732
44
4706