File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 41
41
"execa" : " ^6.1.0"
42
42
},
43
43
"devDependencies" : {
44
- "ava" : " ^4.1 .0" ,
44
+ "ava" : " ^4.2 .0" ,
45
45
"bin-check" : " ^4.0.1" ,
46
46
"compare-size" : " ^3.0.0" ,
47
- "tempy" : " ^2 .0.0" ,
47
+ "tempy" : " ^3 .0.0" ,
48
48
"xo" : " ^0.48.0"
49
49
}
50
50
}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import process from 'node:process';
4
4
import { fileURLToPath } from 'node:url' ;
5
5
import test from 'ava' ;
6
6
import { execa } from 'execa' ;
7
- import tempy from 'tempy' ;
7
+ import { temporaryDirectory } from 'tempy' ;
8
8
import binCheck from 'bin-check' ;
9
9
import binBuild from 'bin-build' ;
10
10
import compareSize from 'compare-size' ;
@@ -17,7 +17,7 @@ test.serial('rebuild the gifsicle binaries', async t => {
17
17
return ;
18
18
}
19
19
20
- const temporary = tempy . directory ( ) ;
20
+ const temporary = temporaryDirectory ( ) ;
21
21
const cfg = [
22
22
'./configure --disable-gifview --disable-gifdiff' ,
23
23
`--prefix="${ temporary } " --bindir="${ temporary } "` ,
@@ -38,7 +38,7 @@ test.serial('verify binary', async t => {
38
38
} ) ;
39
39
40
40
test . serial ( 'minify a gif' , async t => {
41
- const temporary = tempy . directory ( ) ;
41
+ const temporary = temporaryDirectory ( ) ;
42
42
const src = fileURLToPath ( new URL ( 'fixtures/test.gif' , import . meta. url ) ) ;
43
43
const dest = path . join ( temporary , 'test.gif' ) ;
44
44
const args = [
You can’t perform that action at this time.
0 commit comments