Comparing version 0.1.1 to 0.1.2
@@ -0,0 +0,0 @@ #!/usr/bin/env node |
@@ -0,0 +0,0 @@ 'use strict'; |
'use strict'; | ||
var path = require('path'); | ||
var url = require('url'); | ||
var which = require('which'); | ||
@@ -10,3 +9,3 @@ var target = { | ||
src: 'http://www.lcdf.org/gifsicle/gifsicle-1.71.tar.gz', | ||
pathPrefix: '../bin', | ||
pathPrefix: '../vendor', | ||
urlPrefix: 'vendor', | ||
@@ -13,0 +12,0 @@ platforms: { |
@@ -5,2 +5,3 @@ 'use strict'; | ||
var os = require('os'); | ||
var mkdir = require('mkdirp'); | ||
var chalk = require('chalk'); | ||
@@ -22,2 +23,6 @@ var exec = require('child_process').exec; | ||
if (!fs.existsSync(path.dirname(dest))) { | ||
mkdir.sync(path.dirname(dest)); | ||
} | ||
return progress(request.get(url)) | ||
@@ -24,0 +29,0 @@ .on('response', function (resp) { |
{ | ||
"name": "gifsicle", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "gifsicle wrapper that makes it seamlessly available as a local dependency on OS X, Linux and Windows", | ||
@@ -36,3 +36,4 @@ "keywords": [ | ||
"request-progress": "~0.2.1", | ||
"chalk": "~0.2.0" | ||
"chalk": "~0.2.0", | ||
"mkdirp": "~0.3.5" | ||
}, | ||
@@ -39,0 +40,0 @@ "engines": { |
@@ -8,2 +8,7 @@ # node-gifsicle [![Build Status](https://secure.travis-ci.org/yeoman/node-gifsicle.png?branch=master)](http://travis-ci.org/yeoman/node-gifsicle) | ||
## Install | ||
Install with [npm](https://npmjs.org/package/gifsicle): `npm install --save gifsicle` | ||
## Example usage | ||
@@ -10,0 +15,0 @@ |
@@ -0,0 +0,0 @@ /*global describe, it */ |
@@ -0,0 +0,0 @@ /*global describe, it, after */ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
253
51
3
10995
7
+ Addedmkdirp@~0.3.5