then-request
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -25,3 +25,3 @@ 'use strict'; | ||
res.pipe(concat(function (body) { | ||
resolve(new Response(res.statusCode, res.headers, body)); | ||
resolve(new Response(res.statusCode, res.headers, Array.isArray(body) ? new Buffer() : body)); | ||
})); | ||
@@ -28,0 +28,0 @@ }); |
{ | ||
"name": "then-request", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A request library that returns promises, inspired by request", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
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
10591