Skip to content

Commit 58099ed

Browse files
committedJan 21, 2020
Remove outdated and insecure binaries
See #87
1 parent a985662 commit 58099ed

File tree

8 files changed

+6
-21
lines changed

8 files changed

+6
-21
lines changed
 

‎package.json

+3-18
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,7 @@
44
"description": "gifsicle wrapper that makes it seamlessly available as a local dependency",
55
"license": "MIT",
66
"repository": "imagemin/gifsicle-bin",
7-
"author": {
8-
"name": "Kevin Martensson",
9-
"email": "kevinmartensson@gmail.com",
10-
"url": "github.com/kevva"
11-
},
12-
"maintainers": [
13-
{
14-
"name": "Sindre Sorhus",
15-
"email": "sindresorhus@gmail.com",
16-
"url": "sindresorhus.com"
17-
},
18-
{
19-
"name": "Shinnosuke Watanabe",
20-
"url": "github.com/shinnn"
21-
}
22-
],
7+
"funding": "https://github.com/imagemin/gisicle-bin?sponsor=1",
238
"bin": "cli.js",
249
"engines": {
2510
"node": ">=6"
@@ -51,10 +36,10 @@
5136
"logalot": "^2.0.0"
5237
},
5338
"devDependencies": {
54-
"ava": "*",
39+
"ava": "^1.4.1",
5540
"bin-check": "^4.0.1",
5641
"compare-size": "^3.0.0",
5742
"tempy": "^0.2.1",
58-
"xo": "*"
43+
"xo": "^0.18.0"
5944
}
6045
}

‎test/test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const binBuild = require('bin-build');
99
const compareSize = require('compare-size');
1010
const m = require('..');
1111

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

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

38-
test('minify a gif', async t => {
38+
test.serial('minify a gif', async t => {
3939
const tmp = tempy.directory();
4040
const src = path.join(__dirname, 'fixtures/test.gif');
4141
const dest = path.join(tmp, 'test.gif');

‎vendor/freebsd/x64/gifsicle

-557 KB
Binary file not shown.

‎vendor/freebsd/x86/gifsicle

-111 KB
Binary file not shown.

‎vendor/linux/x64/gifsicle

-717 KB
Binary file not shown.

‎vendor/linux/x86/gifsicle

-371 KB
Binary file not shown.

‎vendor/sunos/x64/gifsicle

-668 KB
Binary file not shown.

‎vendor/sunos/x86/gifsicle

-513 KB
Binary file not shown.

0 commit comments

Comments
 (0)