File tree 3 files changed +12
-12
lines changed
3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ jobs:
10
10
fail-fast : false
11
11
matrix :
12
12
node-version :
13
+ - 18
13
14
- 16
14
15
- 14
15
- - 12
16
16
steps :
17
- - uses : actions/checkout@v2
18
- - uses : actions/setup-node@v2
17
+ - uses : actions/checkout@v3
18
+ - uses : actions/setup-node@v3
19
19
with :
20
20
node-version : ${{ matrix.node-version }}
21
21
- run : npm install
Original file line number Diff line number Diff line change 13
13
"type" : " module" ,
14
14
"exports" : " ./index.js" ,
15
15
"engines" : {
16
- "node" : " ^12.20.0 || ^14.13.1 || >=16.0.0 "
16
+ "node" : " >=14.16 "
17
17
},
18
18
"scripts" : {
19
19
"test" : " xo && ava && tsd"
47
47
" path"
48
48
],
49
49
"dependencies" : {
50
- "find-up" : " ^6.1 .0"
50
+ "find-up" : " ^6.3 .0"
51
51
},
52
52
"devDependencies" : {
53
- "ava" : " ^3.15.0 " ,
54
- "tempy" : " ^2 .0.0" ,
55
- "tsd" : " ^0.17 .0" ,
56
- "typescript" : " ^4.4.3 " ,
57
- "xo" : " ^0.44 .0"
53
+ "ava" : " ^4.3.1 " ,
54
+ "tempy" : " ^3 .0.0" ,
55
+ "tsd" : " ^0.22 .0" ,
56
+ "typescript" : " ^4.7.4 " ,
57
+ "xo" : " ^0.51 .0"
58
58
}
59
59
}
Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ import fs from 'node:fs';
2
2
import path from 'node:path' ;
3
3
import { fileURLToPath } from 'node:url' ;
4
4
import test from 'ava' ;
5
- import tempy from 'tempy' ;
5
+ import { temporaryDirectory } from 'tempy' ;
6
6
import { packageDirectory , packageDirectorySync } from './index.js' ;
7
7
8
8
const __dirname = path . dirname ( fileURLToPath ( import . meta. url ) ) ;
9
9
10
10
// Create a disjoint directory, used for the not-found tests
11
11
test . beforeEach ( t => {
12
- t . context . disjoint = tempy . directory ( ) ;
12
+ t . context . disjoint = temporaryDirectory ( ) ;
13
13
} ) ;
14
14
15
15
test . afterEach ( t => {
You can’t perform that action at this time.
0 commit comments