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

8

History.md
0.1.0 - February 11, 2013
0.1.1 - March 31, 2014
----------------------
* switch to `download` dep
0.1.0 - February 11, 2014
-------------------------
* add option for branch or tag
0.0.1 - January 26, 2013
0.0.1 - January 26, 2014
------------------------
:sparkles:

@@ -5,3 +5,3 @@

var tar = require('tar');
var wget = require('wget');
var wget = require('download');
var zlib = require('zlib');

@@ -25,3 +25,3 @@

var url = github(normalize(repo));
var dl = wget.download(url, dest + '.tar.gz');
var dl = wget(url, dest, { extract: true, strip: 1 });

@@ -32,10 +32,4 @@ dl.on('error', function(err){

dl.on('end', function(file){
fs.createReadStream(file)
.pipe(zlib.createGunzip())
.pipe(tar.Extract({ path: dest, strip: 1 }))
.on('error', function(err){ fn(err); })
.on('end', function(){
rm(file, fn);
});
dl.on('close', function(){
fn();
});

@@ -82,2 +76,2 @@ }

};
}
}

@@ -14,7 +14,7 @@ {

],
"version": "0.1.0",
"version": "0.1.1",
"license": "MIT",
"dependencies": {
"download": "^0.1.11",
"rimraf": "~2.2.6",
"wget": "0.0.1",
"tar": "~0.1.19"

@@ -21,0 +21,0 @@ },

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