Socket
Socket
Sign inDemoInstall

gifsicle

Package Overview
Dependencies
Maintainers
3
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 3.0.3 to 3.0.4

2

cli.js
#!/usr/bin/env node
'use strict';
var spawn = require('child_process').spawn;
var gifsicle = require('./');
var input = process.argv.slice(2);

@@ -7,0 +7,0 @@

'use strict';
var path = require('path');
var BinWrapper = require('bin-wrapper');
var pkg = require('../package.json');
var url = 'https://raw.githubusercontent.com/imagemin/gifsicle-bin/v' + pkg.version + '/vendor/';
module.exports = new BinWrapper()
.src(url + 'osx/gifsicle', 'darwin')
.src(url + 'macos/gifsicle', 'darwin')
.src(url + 'linux/x86/gifsicle', 'linux', 'x86')

@@ -11,0 +11,0 @@ .src(url + 'linux/x64/gifsicle', 'linux', 'x64')

'use strict';
var BinBuild = require('bin-build');

@@ -4,0 +3,0 @@ var log = require('logalot');

{
"name": "gifsicle",
"version": "3.0.3",
"version": "3.0.4",
"description": "gifsicle wrapper that makes it seamlessly available as a local dependency",

@@ -10,4 +10,15 @@ "license": "MIT",

"email": "kevinmartensson@gmail.com",
"url": "kevinmartensson.com"
"url": "github.com/kevva"
},
"maintainers": [
{
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
{
"name": "Shinnosuke Watanabe",
"url": "github.com/shinnn"
}
],
"engines": {

@@ -19,3 +30,3 @@ "node": ">=0.10.0"

"postinstall": "node lib/install.js",
"test": "mocha --timeout 50000"
"test": "xo && mocha --timeout 50000"
},

@@ -45,4 +56,5 @@ "files": [

"mocha": "^2.2.4",
"rimraf": "^2.3.2"
"rimraf": "^2.3.2",
"xo": "*"
}
}

@@ -1,2 +0,2 @@

# gifsicle-bin [![Build Status](http://img.shields.io/travis/imagemin/gifsicle-bin.svg?style=flat)](http://travis-ci.org/imagemin/gifsicle-bin)
# gifsicle-bin [![Build Status](https://travis-ci.org/imagemin/gifsicle-bin.svg?branch=master)](https://travis-ci.org/imagemin/gifsicle-bin)

@@ -16,6 +16,6 @@ > 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.

```js
var execFile = require('child_process').execFile;
var gifsicle = require('gifsicle');
const {execFile} = require('child_process');
const gifsicle = require('gifsicle');
execFile(gifsicle, ['-o', 'output.gif', 'input.gif'], function (err) {
execFile(gifsicle, ['-o', 'output.gif', 'input.gif'], err => {
console.log('Image minified!');

@@ -22,0 +22,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