koa-bodyparser
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -37,3 +37,3 @@ /**! | ||
if (this.request.is('application/json', 'application/csp-report')) { | ||
if (this.request.is('application/json', 'application/vnd.api+json', 'application/csp-report')) { | ||
this.request.body = yield parse.json(this, jsonOpts); | ||
@@ -40,0 +40,0 @@ } else if (this.request.is('application/x-www-form-urlencoded')) { |
{ | ||
"name": "koa-bodyparser", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "a body parser for koa", | ||
@@ -30,12 +30,13 @@ "main": "index.js", | ||
"devDependencies": { | ||
"autod": "1", | ||
"istanbul-harmony": "~0.3.0", | ||
"koa": "~0.5.0", | ||
"mocha": "~1.17.1", | ||
"should": "~3.1.3", | ||
"koa": "~0.13.0", | ||
"mocha": "~2.0.1", | ||
"should": "~4.2.0", | ||
"supertest": "~0.9.0" | ||
}, | ||
"dependencies": { | ||
"co-body": ">=0.0.1", | ||
"copy-to": ">=0.0.3" | ||
"co-body": "~1.0.0", | ||
"copy-to": "~2.0.1" | ||
} | ||
} |
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
5149
6
+ Addedbytes@1.0.0(transitive)
+ Addedco-body@1.0.0(transitive)
+ Addedqs@1.0.2(transitive)
+ Addedraw-body@1.1.7(transitive)
+ Addedstring_decoder@0.10.31(transitive)
- Removed@hapi/bourne@3.0.0(transitive)
- Removedbytes@3.1.2(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removedco-body@6.2.0(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removeddepd@2.0.0(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedgopd@1.0.1(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhttp-errors@2.0.0(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedinflation@2.1.0(transitive)
- Removedinherits@2.0.4(transitive)
- Removedmedia-typer@0.3.0(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedobject-inspect@1.13.3(transitive)
- Removedqs@6.13.0(transitive)
- Removedraw-body@2.5.2(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedsetprototypeof@1.2.0(transitive)
- Removedside-channel@1.0.6(transitive)
- Removedstatuses@2.0.1(transitive)
- Removedtoidentifier@1.0.1(transitive)
- Removedtype-is@1.6.18(transitive)
- Removedunpipe@1.0.0(transitive)
Updatedco-body@~1.0.0
Updatedcopy-to@~2.0.1