You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

koa

Package Overview
Dependencies
Maintainers
11
Versions
123
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
3.0.1
to
3.0.2
+3
-1
lib/response.js

@@ -354,3 +354,5 @@ 'use strict'

attachment (filename, options) {
if (filename) this.type = extname(filename)
if (filename && !this.has('Content-Type')) {
this.type = extname(filename)
}
this.set('Content-Disposition', contentDisposition(filename, options))

@@ -357,0 +359,0 @@ },

{
"name": "koa",
"version": "3.0.1",
"version": "3.0.2",
"description": "Koa web app framework",

@@ -5,0 +5,0 @@ "main": "lib/application.js",