Comparing version 6.2.0 to 6.2.1
@@ -28,3 +28,3 @@ 'use strict'; | ||
const parsed = contentDisposition.parse(res.headers['content-disposition']); | ||
if (parsed.type === 'attachment' && parsed.parameters && parsed.parameters.filename) { | ||
if (parsed.parameters && parsed.parameters.filename) { | ||
return parsed.parameters.filename; | ||
@@ -31,0 +31,0 @@ } |
{ | ||
"name": "download", | ||
"version": "6.2.0", | ||
"version": "6.2.1", | ||
"description": "Download and extract files", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5792
1