+3
-1
@@ -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 @@ }, |
+1
-1
| { | ||
| "name": "koa", | ||
| "version": "3.0.1", | ||
| "version": "3.0.2", | ||
| "description": "Koa web app framework", | ||
@@ -5,0 +5,0 @@ "main": "lib/application.js", |
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
64224
0.07%1739
0.12%