New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

downit

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

downit - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

3

index.js

@@ -11,2 +11,3 @@ 'use strict'

const parsedUrl = URL.parse(url)
, resume = options.resume !== false

@@ -23,3 +24,3 @@ return new Promise((res, rej) => {

let start = (stat && stat.size) ? stat.size - 1 : 0
let start = (resume && stat && stat.size) ? stat.size - 1 : 0

@@ -26,0 +27,0 @@ const req = (parsedUrl.protocol === 'https:' ? https : http).request(Object.assign(

{
"name": "downit",
"version": "2.0.1",
"version": "2.1.0",
"description": "Resumeable downloader",

@@ -20,3 +20,6 @@ "main": "index.js",

"downit": "bin/downit"
}
},
"files": [
"index.js"
]
}
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