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

gifsicle

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gifsicle - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

0

bin/gifsicle.js

@@ -0,0 +0,0 @@ #!/usr/bin/env node

@@ -0,0 +0,0 @@ 'use strict';

10

lib/gifsicle.js

@@ -76,12 +76,4 @@ 'use strict';

function setPath(target) {
try {
return which.sync(target.name);
} catch (err) {
return getPathToPackagedBinary(target);
}
}
exports.path = setPath(target);
exports.path = getPathToPackagedBinary(target);
exports.url = getPathToPackagedBinary(target, { url: true });
exports.src = target.src;

2

lib/util.js

@@ -95,2 +95,2 @@ 'use strict';

});
}
};
{
"name": "gifsicle",
"version": "0.1.0",
"version": "0.1.1",
"description": "gifsicle wrapper that makes it seamlessly available as a local dependency on OS X, Linux and Windows",

@@ -5,0 +5,0 @@ "keywords": [

# node-gifsicle [![Build Status](https://secure.travis-ci.org/yeoman/node-gifsicle.png?branch=master)](http://travis-ci.org/yeoman/node-gifsicle)
gifsicle 1.71 Node.js wrapper that makes it seamlessly available as a local dependency on OS X, Linux and Windows. Most commonly used to manipulate gif images in different ways.
[gifsicle](http://www.lcdf.org/gifsicle/) 1.71 Node.js wrapper that makes it seamlessly available as a local dependency on OS X, Linux and Windows.
> Gifsicle manipulates GIF image files in many different ways. Depending on command line options, it can merge several GIFs into a GIF animation; explode an animation into its component frames; change individual frames in an animation; turn interlacing on and off; add transparency and much more.
> gifsicle manipulates GIF image files in many different ways. Depending on command line options, it can merge several GIFs into a GIF animation; explode an animation into its component frames; change individual frames in an animation; turn interlacing on and off; add transparency and much more.

@@ -14,3 +14,3 @@

execFile(gifsiclePath, ['-o', 'output.gif', 'input.gif'], function(err, stdout) {
execFile(gifsiclePath, ['-o', 'output.gif', 'input.gif'], function() {
console.log('Image minified');

@@ -20,3 +20,3 @@ });

You can also run directly from `./node_modules/.bin/gifsicle`
Can also be run directly from `./node_modules/.bin/gifsicle`.

@@ -28,4 +28,8 @@

### OS X and Linux
### OS X
Run `npm install` on a OS X 10.7 machine to build the binary.
### Linux
Run `npm install` to build the binary.

@@ -35,5 +39,5 @@

- Download the [Windows files 32/64-bit](http://www.lcdf.org/gifsicle/) on a Windows machine
- Run the downloaded file to extract
- Go to the `bin` folder at the destination and copy `gifsicle.exe`
- Download the [Windows files 32/64-bit](http://www.lcdf.org/gifsicle/) on a Windows machine.
- Run the downloaded file to extract.
- Go to the `bin` folder at the destination and copy `gifsicle.exe`.

@@ -40,0 +44,0 @@

@@ -0,0 +0,0 @@ /*global describe, it */

@@ -23,3 +23,3 @@ /*global describe, it, after */

it('should successfully proxy gifsicle', function (cb) {
var binPath = path.join(__dirname, '../bin/gifsicle');
var binPath = path.join(__dirname, '../bin/gifsicle.js');

@@ -33,3 +33,3 @@ execFile('node', [binPath, '--version', '-'], function (err, stdout) {

it('should minify a .gif', function (cb) {
var binPath = path.join(__dirname, '../bin/gifsicle');
var binPath = path.join(__dirname, '../bin/gifsicle.js');
var args = [

@@ -36,0 +36,0 @@ '-o', path.join(__dirname, 'minified.gif'),

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