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 Versions

1345

4.0.6

Diff

markherhold
published 4.0.5 •

markherhold
published 4.0.4 •

markherhold
published 4.0.3 •

markherhold
published 4.0.2 •

markherhold
published 4.0.1 •

markherhold
published 4.0.0 •

Changelog

Source

4.0.0 - 4.0.8 - Summary of Changes

  • mutliple type definition updates
  • adds includeUnparsed option to get raw body

Breaking Changes in v3/4

To address a potential security vulnerability:

  • The files property has been moved to ctx.request.files. In prior versions, files was a property of ctx.request.body.
  • The fields property is flatten (merged) into ctx.request.body. In prior versions, fields was a property of ctx.request.body.

If you do not use multipart uploads, no changes to your code need to be made.

Versions 1 and 2 of koa-body are deprecated and replaced with versions 3 and 4, respectively.

markherhold
published 3.0.0 •

dlau
published 1.7.0 •

dlau
published 2.6.0 •

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