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.0 to 2.0.1

10

index.js

@@ -24,6 +24,8 @@ 'use strict'

const req = (parsedUrl.protocol === 'https:' ? https : http).request(Object.assign({
method: options.method || 'GET',
headers: Object.assign({ Range: 'bytes=' + start + '-' }, options.headers)
}, parsedUrl), res => {
const req = (parsedUrl.protocol === 'https:' ? https : http).request(Object.assign(
{ method: 'GET' },
parsedUrl,
options,
{ headers: Object.assign({ Range: 'bytes=' + start + '-' }, options.headers) }
), res => {
options.onresponse && options.onresponse(res)

@@ -30,0 +32,0 @@

2

package.json
{
"name": "downit",
"version": "2.0.0",
"version": "2.0.1",
"description": "Resumeable downloader",

@@ -5,0 +5,0 @@ "main": "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