Skip to content

Commit

Permalink
feat(node): require minimum Node 18
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Dropped support for Node 14 and 16 (although it probably still works)
  • Loading branch information
grantila committed Oct 1, 2023
1 parent 005b4b5 commit 1c00199
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
fail-fast: false
matrix:
node-version:
- 14.x
- 16.x
- 18.x
- 20.x
steps:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ jobs:
strategy:
matrix:
node-version:
- 14.x
- 16.x
- 18.x
- 20.x
steps:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ Uses libphonenumber v8.13.22
- The return value is like `toJSON( )` on v3
- v5:
- Dropped Node 12 support
- v6:
- Dropped Node 16 support


## Comparison with other libraries
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/grantila/awesome-phonenumber.git"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"main": "./index.js",
"types": "./index.d.ts",
Expand Down

0 comments on commit 1c00199

Please sign in to comment.