nodejs-file-downloader
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -62,3 +62,3 @@ | ||
'Content-Type': 'image/jpeg', | ||
'Content-Length': '845941' | ||
'Content-Length': '23642' | ||
} | ||
@@ -88,3 +88,3 @@ | ||
await verifyFile('./downloads/contentType.jpeg', 845941); | ||
await verifyFile('./downloads/contentType.jpeg', 23642); | ||
// console.log(verify) | ||
@@ -101,3 +101,3 @@ | ||
'Content-Type': 'image/jpeg', | ||
'Content-Length': '845941' | ||
'Content-Length': '23642' | ||
} | ||
@@ -116,3 +116,3 @@ | ||
await verifyFile('./downloads/alternativeName.jpg', 845941); | ||
await verifyFile('./downloads/alternativeName.jpg', 23642); | ||
// console.log(verify) | ||
@@ -129,3 +129,3 @@ | ||
'Content-Type': 'image/jpeg', | ||
'Content-Length': '845941' | ||
'Content-Length': '23642' | ||
} | ||
@@ -143,3 +143,3 @@ | ||
await verifyFile('./downloads/May/2020/Desert.jpg', 845941); | ||
await verifyFile('./downloads/May/2020/Desert.jpg', 23642); | ||
// console.log(verify) | ||
@@ -170,3 +170,3 @@ | ||
await verifyFile('./downloads/May/2020/Desert2.jpg', 845941); | ||
await verifyFile('./downloads/May/2020/Desert2.jpg', 23642); | ||
// console.log(verify) | ||
@@ -289,3 +289,3 @@ | ||
'Content-Type': 'image/jpeg', | ||
'Content-Length': '780831' | ||
'Content-Length': '29051' | ||
} | ||
@@ -303,3 +303,3 @@ | ||
await verifyFile('./downloads/Koala.jpg', 780831); | ||
await verifyFile('./downloads/Koala.jpg', 29051); | ||
@@ -306,0 +306,0 @@ const downloader2 = new Downloader({ |
{ | ||
"name": "nodejs-file-downloader", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "A file downloader for NodeJs", | ||
@@ -5,0 +5,0 @@ "main": "Downloader.js", |
@@ -66,3 +66,3 @@ nodejs-file-downloader is a simple utility for downloading files. It hides the complexity of dealing with streams, paths and duplicate file names. | ||
nodejs-file-downloader "deduces" the file name, from the URL or the response headers. If you want to overwrite it, supply a config.fileName property. | ||
Normally, nodejs-file-downloader "deduces" the file name, from the URL or the response headers. If you want to choose a custom file name, supply a config.fileName property. | ||
@@ -69,0 +69,0 @@ ```javascript |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
126138