Skip to content

Commit

Permalink
Require Node.js 14
Browse files Browse the repository at this point in the history
Closes #22
  • Loading branch information
sindresorhus committed Jun 23, 2022
1 parent 779a6a7 commit 75682c2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
fail-fast: false
matrix:
node-version:
- 18
- 16
- 14
- 12
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"type": "module",
"exports": "./index.js",
"engines": {
"node": ">=12.20"
"node": ">=14.16"
},
"scripts": {
"test": "xo && ava && tsd"
Expand All @@ -33,14 +33,14 @@
"module"
],
"dependencies": {
"package-json": "^7.0.0"
"package-json": "^8.1.0"
},
"devDependencies": {
"ava": "^3.15.0",
"semver": "^7.3.5",
"semver-regex": "^4.0.0",
"tsd": "^0.17.0",
"typescript": "^4.3.5",
"xo": "^0.42.0"
"ava": "^4.3.0",
"semver": "^7.3.7",
"semver-regex": "^4.0.5",
"tsd": "^0.21.0",
"typescript": "^4.7.4",
"xo": "^0.50.0"
}
}
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Fetches the version directly from the registry instead of depending on the massi

## Install

```
$ npm install latest-version
```sh
npm install latest-version
```

## Usage
Expand Down

0 comments on commit 75682c2

Please sign in to comment.