Comparing version 6.1.0 to 6.2.0
@@ -71,3 +71,4 @@ 'use strict'; | ||
const outputFilepath = path.join(output, filenamify(getFilename(res))); | ||
const filename = opts.filename || filenamify(getFilename(res)); | ||
const outputFilepath = path.join(output, filename); | ||
@@ -74,0 +75,0 @@ if (opts.extract) { |
{ | ||
"name": "download", | ||
"version": "6.1.0", | ||
"version": "6.2.0", | ||
"description": "Download and extract files", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -69,5 +69,11 @@ # download [![Build Status](https://travis-ci.org/kevva/download.svg?branch=master)](https://travis-ci.org/kevva/download) | ||
##### filename | ||
Type: `string` | ||
Name of the saved file. | ||
## License | ||
MIT © [Kevin Mårtensson](https://github.com/kevva) |
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
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
5824
69
79