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 4.0.6 to 4.0.7

6

index.js

@@ -104,5 +104,5 @@ /**

} else if (opts.includeUnparsed) {
ctx.req.body = body.parsed;
ctx.req.body = body.parsed || {};
if (! ctx.is('text')) {
ctx.request.body[symbolUnparsed] = body.raw;
ctx.req.body[symbolUnparsed] = body.raw;
}

@@ -118,3 +118,3 @@ } else {

} else if (opts.includeUnparsed) {
ctx.request.body = body.parsed;
ctx.request.body = body.parsed || {};
if (! ctx.is('text')) {

@@ -121,0 +121,0 @@ ctx.request.body[symbolUnparsed] = body.raw;

{
"name": "koa-body",
"version": "4.0.6",
"version": "4.0.7",
"description": "A Koa body parser middleware. Supports multipart, urlencoded and JSON request bodies.",

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