Socket
Socket
Sign inDemoInstall

gifsicle

Package Overview
Dependencies
Maintainers
7
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 4.0.1 to 5.0.0

49

lib/install.js

@@ -7,26 +7,31 @@ 'use strict';

bin.run(['--version']).then(() => {
log.success('gifsicle pre-build test passed successfully');
}).catch(error => {
log.warn(error.message);
log.warn('gifsicle pre-build test failed');
log.info('compiling from source');
(async () => {
try {
await bin.run(['--version']);
log.success('gifsicle pre-build test passed successfully');
} catch (error) {
log.warn(error.message);
log.warn('gifsicle pre-build test failed');
log.info('compiling from source');
const cfg = [
'./configure --disable-gifview --disable-gifdiff',
`--prefix="${bin.dest()}" --bindir="${bin.dest()}"`
].join(' ');
const config = [
'./configure --disable-gifview --disable-gifdiff',
`--prefix="${bin.dest()}" --bindir="${bin.dest()}"`
].join(' ');
binBuild.file(path.resolve(__dirname, '../vendor/source/gifsicle.tar.gz'), [
'autoreconf -ivf',
cfg,
'make install'
]).then(() => {
log.success('gifsicle built successfully');
}).catch(error => {
log.error(error.stack);
try {
await binBuild.file(path.resolve(__dirname, '../vendor/source/gifsicle.tar.gz'), [
'autoreconf -ivf',
config,
'make install'
]);
// eslint-disable-next-line unicorn/no-process-exit
process.exit(1);
});
});
log.success('gifsicle built successfully');
} catch (error2) {
log.error(error2.stack);
// eslint-disable-next-line unicorn/no-process-exit
process.exit(1);
}
}
})();
{
"name": "gifsicle",
"version": "4.0.1",
"version": "5.0.0",
"description": "gifsicle wrapper that makes it seamlessly available as a local dependency",
"license": "MIT",
"repository": "imagemin/gifsicle-bin",
"author": {
"name": "Kevin Martensson",
"email": "kevinmartensson@gmail.com",
"url": "github.com/kevva"
},
"maintainers": [
{
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
{
"name": "Shinnosuke Watanabe",
"url": "github.com/shinnn"
}
],
"funding": "https://github.com/imagemin/gisicle-bin?sponsor=1",
"bin": "cli.js",
"engines": {
"node": ">=6"
"node": ">=10"
},

@@ -54,8 +39,8 @@ "scripts": {

"devDependencies": {
"ava": "*",
"ava": "^1.4.1",
"bin-check": "^4.0.1",
"compare-size": "^3.0.0",
"tempy": "^0.2.1",
"xo": "*"
"xo": "^0.25.3"
}
}

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