Skip to content

Commit b1ebfd0

Browse files
authoredMay 2, 2022
Update dependencies (#140)
1 parent b653fc8 commit b1ebfd0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
"execa": "^6.1.0"
4242
},
4343
"devDependencies": {
44-
"ava": "^4.1.0",
44+
"ava": "^4.2.0",
4545
"bin-check": "^4.0.1",
4646
"compare-size": "^3.0.0",
47-
"tempy": "^2.0.0",
47+
"tempy": "^3.0.0",
4848
"xo": "^0.48.0"
4949
}
5050
}

‎test/test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import process from 'node:process';
44
import {fileURLToPath} from 'node:url';
55
import test from 'ava';
66
import {execa} from 'execa';
7-
import tempy from 'tempy';
7+
import {temporaryDirectory} from 'tempy';
88
import binCheck from 'bin-check';
99
import binBuild from 'bin-build';
1010
import compareSize from 'compare-size';
@@ -17,7 +17,7 @@ test.serial('rebuild the gifsicle binaries', async t => {
1717
return;
1818
}
1919

20-
const temporary = tempy.directory();
20+
const temporary = temporaryDirectory();
2121
const cfg = [
2222
'./configure --disable-gifview --disable-gifdiff',
2323
`--prefix="${temporary}" --bindir="${temporary}"`,
@@ -38,7 +38,7 @@ test.serial('verify binary', async t => {
3838
});
3939

4040
test.serial('minify a gif', async t => {
41-
const temporary = tempy.directory();
41+
const temporary = temporaryDirectory();
4242
const src = fileURLToPath(new URL('fixtures/test.gif', import.meta.url));
4343
const dest = path.join(temporary, 'test.gif');
4444
const args = [

0 commit comments

Comments
 (0)
Please sign in to comment.