Skip to content

Commit b05b835

Browse files
committedAug 16, 2022
Require Node.js 14
1 parent 7fac1fa commit b05b835

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed
 

‎.github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
node-version:
13+
- 18
1314
- 16
1415
- 14
15-
- 12
1616
steps:
17-
- uses: actions/checkout@v2
18-
- uses: actions/setup-node@v2
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-node@v3
1919
with:
2020
node-version: ${{ matrix.node-version }}
2121
- run: npm install

‎package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"type": "module",
1414
"exports": "./index.js",
1515
"engines": {
16-
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
16+
"node": ">=14.16"
1717
},
1818
"scripts": {
1919
"test": "xo && ava && tsd"
@@ -47,13 +47,13 @@
4747
"path"
4848
],
4949
"dependencies": {
50-
"find-up": "^6.1.0"
50+
"find-up": "^6.3.0"
5151
},
5252
"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"
5858
}
5959
}

‎test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import fs from 'node:fs';
22
import path from 'node:path';
33
import {fileURLToPath} from 'node:url';
44
import test from 'ava';
5-
import tempy from 'tempy';
5+
import {temporaryDirectory} from 'tempy';
66
import {packageDirectory, packageDirectorySync} from './index.js';
77

88
const __dirname = path.dirname(fileURLToPath(import.meta.url));
99

1010
// Create a disjoint directory, used for the not-found tests
1111
test.beforeEach(t => {
12-
t.context.disjoint = tempy.directory();
12+
t.context.disjoint = temporaryDirectory();
1313
});
1414

1515
test.afterEach(t => {

0 commit comments

Comments
 (0)
Please sign in to comment.