Skip to content

Commit 75682c2

Browse files
committed
Require Node.js 14
Closes #22
1 parent 779a6a7 commit 75682c2

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
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

Lines changed: 8 additions & 8 deletions
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"
16+
"node": ">=14.16"
1717
},
1818
"scripts": {
1919
"test": "xo && ava && tsd"
@@ -33,14 +33,14 @@
3333
"module"
3434
],
3535
"dependencies": {
36-
"package-json": "^7.0.0"
36+
"package-json": "^8.1.0"
3737
},
3838
"devDependencies": {
39-
"ava": "^3.15.0",
40-
"semver": "^7.3.5",
41-
"semver-regex": "^4.0.0",
42-
"tsd": "^0.17.0",
43-
"typescript": "^4.3.5",
44-
"xo": "^0.42.0"
39+
"ava": "^4.3.0",
40+
"semver": "^7.3.7",
41+
"semver-regex": "^4.0.5",
42+
"tsd": "^0.21.0",
43+
"typescript": "^4.7.4",
44+
"xo": "^0.50.0"
4545
}
4646
}

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Fetches the version directly from the registry instead of depending on the massi
66

77
## Install
88

9-
```
10-
$ npm install latest-version
9+
```sh
10+
npm install latest-version
1111
```
1212

1313
## Usage

0 commit comments

Comments
 (0)