Comparing version 5.0.2 to 5.0.3
5.0.3 / 2017-03-19 | ||
================== | ||
* fix: ensure inflate in promise chain (#54) | ||
5.0.2 / 2017-03-10 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -39,3 +39,6 @@ | ||
// raw-body returns a Promise when no callback is specified | ||
return raw(inflate(req), opts) | ||
return Promise.resolve() | ||
.then(function() { | ||
return raw(inflate(req), opts); | ||
}) | ||
.then(function(str){ | ||
@@ -42,0 +45,0 @@ try { |
@@ -38,3 +38,6 @@ | ||
// raw-body returns a promise when no callback is specified | ||
return raw(inflate(req), opts) | ||
return Promise.resolve() | ||
.then(function() { | ||
return raw(inflate(req), opts); | ||
}) | ||
.then(function(str) { | ||
@@ -41,0 +44,0 @@ try { |
@@ -32,3 +32,6 @@ /** | ||
// raw-body returns a Promise when no callback is specified | ||
return raw(inflate(req), opts); | ||
return Promise.resolve() | ||
.then(function() { | ||
return raw(inflate(req), opts); | ||
}); | ||
}; |
{ | ||
"name": "co-body", | ||
"version": "5.0.2", | ||
"version": "5.0.3", | ||
"repository": "cojs/co-body", | ||
@@ -5,0 +5,0 @@ "description": "request body parsing for co", |
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
9886
174