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

koa-body

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-body - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

4

index.js

@@ -9,6 +9,6 @@ 'use strict';

if(this.is('application/json')){
this.request.req.body = yield co_body.json(this);
this.request.body = yield co_body.json(this);
}
else if(this.is('application/x-www-form-urlencoded')){
this.request.req.body = yield co_body.form(this);
this.request.body = yield co_body.form(this);
}

@@ -15,0 +15,0 @@ yield next;

{
"name": "koa-body",
"version": "0.0.1",
"version": "0.0.2",
"description": "Simple wrapper around co-body for koa",

@@ -5,0 +5,0 @@ "main": "index.js",

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