Socket
Socket
Sign inDemoInstall

koa

Package Overview
Dependencies
Maintainers
6
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa - npm Package Compare versions

Comparing version 2.13.3 to 2.13.4

6

History.md
2.13.4 / 2021-10-19
==================
**fixes**
* [[`dbc9c5a`](http://github.com/koajs/koa/commit/dbc9c5a47e2b2799cab403186fdb010df5df6f67)] - fix: Do not response Content-Length if Transfer-Encoding is defined (#1602) (Yiyu He <<dead_horse@qq.com>>)
2.13.3 / 2021-09-24

@@ -3,0 +9,0 @@ ==================

4

lib/response.js

@@ -194,3 +194,5 @@

set length(n) {
this.set('Content-Length', n);
if (!this.has('Transfer-Encoding')) {
this.set('Content-Length', n);
}
},

@@ -197,0 +199,0 @@

{
"name": "koa",
"version": "2.13.3",
"version": "2.13.4",
"description": "Koa web app framework",

@@ -5,0 +5,0 @@ "main": "lib/application.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