Comparing version 2.0.0 to 3.0.0
3.0.0 / 2015-07-25 | ||
================== | ||
* Updated dependencies. Added qs options support via queryString option key. (@yanickrochon) | ||
* upgrade qs@4.0.0, raw-body@2.1.2 | ||
2.0.0 / 2015-05-04 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -36,3 +36,3 @@ | ||
try { | ||
done(null, qs.parse(str)); | ||
done(null, qs.parse(str, opts.queryString)); | ||
} catch (err) { | ||
@@ -39,0 +39,0 @@ err.status = 400; |
{ | ||
"name": "co-body", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"repository": "cojs/co-body", | ||
@@ -16,11 +16,11 @@ "description": "request body parsing for co", | ||
"dependencies": { | ||
"qs": "~2.4.1", | ||
"raw-body": "~1.3.4" | ||
"qs": "~4.0.0", | ||
"raw-body": "~2.1.2" | ||
}, | ||
"devDependencies": { | ||
"istanbul-harmony": "~0.3.12", | ||
"koa": "~0.20.0", | ||
"istanbul-harmony": "~0.3.16", | ||
"koa": "~0.21.0", | ||
"mocha": "*", | ||
"should": "*", | ||
"supertest": "~0.8.2" | ||
"supertest": "~1.0.1" | ||
}, | ||
@@ -27,0 +27,0 @@ "license": "MIT", |
@@ -33,2 +33,3 @@ | ||
- `strict` when set to `true`, JSON parser will only accept arrays and objects; when `false` will accept anything `JSON.parse` accepts. Defaults to `true`. (also `strict` mode will always return object). | ||
- `queryString` an object of options when parsing query strings and form data. See [qs](https://github.com/hapijs/qs) for more information. | ||
@@ -35,0 +36,0 @@ more options available via [raw-body](https://github.com/stream-utils/raw-body#getrawbodystream-options-callback): |
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
7641
78
+ Addedbytes@2.4.0(transitive)
+ Addediconv-lite@0.4.13(transitive)
+ Addedqs@4.0.0(transitive)
+ Addedraw-body@2.1.7(transitive)
+ Addedunpipe@1.0.0(transitive)
- Removedbytes@1.0.0(transitive)
- Removediconv-lite@0.4.8(transitive)
- Removedqs@2.4.2(transitive)
- Removedraw-body@1.3.4(transitive)
Updatedqs@~4.0.0
Updatedraw-body@~2.1.2