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

download-github-repo

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

download-github-repo - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

10

index.js

@@ -19,11 +19,7 @@ var wget = require('download');

var url = github(normalize(repo));
var dl = wget(url, dest, { extract: true, strip: 1 });
dl.on('error', function(err){
wget(url, dest, { extract: true, strip: 1 }).then(function () {
fn();
}).catch(function(err) {
fn(err);
});
dl.on('close', function(){
fn();
});
}

@@ -30,0 +26,0 @@

{
"name": "download-github-repo",
"version": "0.1.3",
"version": "0.1.4",
"license": "MIT",

@@ -17,3 +17,3 @@ "repository": "git://github.com/ianstormtaylor/download-github-repo",

"dependencies": {
"download": "^0.1.11"
"download": "^6.2.5"
},

@@ -28,2 +28,2 @@ "devDependencies": {

}
}
}

Sorry, the diff of this file is not supported yet

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