Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nodejs-file-downloader

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodejs-file-downloader - npm Package Compare versions

Comparing version 4.7.1 to 4.7.2

concurrency.test.js

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 4.7.2 31/07/2021
### Added
- Added concurrency test.
## 4.7.1 20/06/2021

@@ -2,0 +8,0 @@

3

package.json
{
"name": "nodejs-file-downloader",
"version": "4.7.1",
"version": "4.7.2",
"description": "A file downloader for NodeJs",

@@ -10,2 +10,3 @@ "main": "Downloader.js",

"test-timeout": "mocha timeout-cancellation.test.js",
"test-concurrency": "mocha concurrency.test.js",
"test-watch": "nodemon --exec \"npm test\""

@@ -12,0 +13,0 @@ },

@@ -130,2 +130,17 @@

app.get('/koala',async(req,res)=>{
const read = fs.createReadStream('./fixtures/Koala.jpg',{highWaterMark:2000});
const modifiedStream = Readable.from((async function* () {
for await (const chunk of read) {
yield chunk
}
})());
modifiedStream.pipe(res);
})
const server = app.listen(port, () => {

@@ -132,0 +147,0 @@ console.log(port)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc