🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

co-body

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

co-body - npm Package Compare versions

Comparing version
5.0.2
to
5.0.3
+5
-0
History.md
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 {

@@ -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);
});
};
+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",