+5
-0
| 5.0.3 / 2017-03-19 | ||
| ================== | ||
| * fix: ensure inflate in promise chain (#54) | ||
| 5.0.2 / 2017-03-10 | ||
@@ -3,0 +8,0 @@ ================== |
+4
-1
@@ -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 { |
+4
-1
@@ -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 { |
+4
-1
@@ -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); | ||
| }); | ||
| }; |
+1
-1
| { | ||
| "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", |
9886
2.84%174
5.45%