Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

koa-bodyparser

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-bodyparser - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

2

index.js

@@ -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"
}
}
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