Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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

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 @@ ==================

5

lib/form.js

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

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc