Skip to content

Commit

Permalink
Remove outdated and insecure binaries
Browse files Browse the repository at this point in the history
See #87
  • Loading branch information
sindresorhus committed Jan 21, 2020
1 parent a985662 commit 58099ed
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 21 deletions.
21 changes: 3 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,7 @@
"description": "gifsicle wrapper that makes it seamlessly available as a local dependency",
"license": "MIT",
"repository": "imagemin/gifsicle-bin",
"author": {
"name": "Kevin Martensson",
"email": "[email protected]",
"url": "github.com/kevva"
},
"maintainers": [
{
"name": "Sindre Sorhus",
"email": "[email protected]",
"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"
Expand Down Expand Up @@ -51,10 +36,10 @@
"logalot": "^2.0.0"
},
"devDependencies": {
"ava": "*",
"ava": "^1.4.1",
"bin-check": "^4.0.1",
"compare-size": "^3.0.0",
"tempy": "^0.2.1",
"xo": "*"
"xo": "^0.18.0"
}
}
6 changes: 3 additions & 3 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const binBuild = require('bin-build');
const compareSize = require('compare-size');
const m = require('..');

test('rebuild the gifsicle binaries', async t => {
test.serial('rebuild the gifsicle binaries', async t => {
// Skip the test on Windows
if (process.platform === 'win32') {
t.pass();
Expand All @@ -31,11 +31,11 @@ test('rebuild the gifsicle binaries', async t => {
t.true(fs.existsSync(path.join(tmp, 'gifsicle')));
});

test('verify binary', async t => {
test.serial('verify binary', async t => {
t.true(await binCheck(m, ['--version']));
});

test('minify a gif', async t => {
test.serial('minify a gif', async t => {
const tmp = tempy.directory();
const src = path.join(__dirname, 'fixtures/test.gif');
const dest = path.join(tmp, 'test.gif');
Expand Down
Binary file removed vendor/freebsd/x64/gifsicle
Binary file not shown.
Binary file removed vendor/freebsd/x86/gifsicle
Binary file not shown.
Binary file removed vendor/linux/x64/gifsicle
Binary file not shown.
Binary file removed vendor/linux/x86/gifsicle
Binary file not shown.
Binary file removed vendor/sunos/x64/gifsicle
Binary file not shown.
Binary file removed vendor/sunos/x86/gifsicle
Binary file not shown.

0 comments on commit 58099ed

Please sign in to comment.