Socket
Socket
Sign inDemoInstall

co-body

Package Overview
Dependencies
3
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 4.1.0

5

History.md
4.1.0 / 2016-05-05
==================
* feat: form parse support custom qs module
4.0.0 / 2015-08-15

@@ -3,0 +8,0 @@ ==================

5

lib/form.js

@@ -30,2 +30,3 @@

opts.limit = opts.limit || '56kb';
opts.qs = opts.qs || qs;

@@ -36,3 +37,3 @@ // raw-body returns a Promise when no callback is specified

try {
return qs.parse(str, opts.queryString);
return opts.qs.parse(str, opts.queryString);
} catch (err) {

@@ -44,2 +45,2 @@ err.status = 400;

});
};
};

3

package.json
{
"name": "co-body",
"version": "4.0.0",
"version": "4.1.0",
"repository": "cojs/co-body",

@@ -24,2 +24,3 @@ "description": "request body parsing for co",

"mocha": "*",
"safe-qs": "^6.0.1",
"should": "*",

@@ -26,0 +27,0 @@ "supertest": "~1.0.1"

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc