Skip to content

Commit

Permalink
chore!: drop support for node 14 and 16
Browse files Browse the repository at this point in the history
BREAKING CHANGE: dropped support for EOL node 14 and 16
  • Loading branch information
Fdawgs committed Sep 17, 2023
1 parent 8ae0fdc commit f10cce4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module.exports = {
env: {
es2019: true,
es2023: true,
node: true,
},
extends: [
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
if: github.event.pull_request.draft == false
strategy:
matrix:
node-version: [14, 16, 18, 20]
node-version: [18, 20]
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"author": "Frazer Smith <frazer.dev@outlook.com>",
"funding": "https://github.com/sponsors/Fdawgs",
"engines": {
"node": ">=14.18.0"
"node": ">=18.0.0"
},
"scripts": {
"build": "tsc && jsdoc2md src/index.js > API.md && npm run lint:prettier:fix",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"allowJs": true,
"declaration": true,
"emitDeclarationOnly": true,
"lib": ["ES2019"],
"lib": ["ES2023"],
"module": "NodeNext",
"moduleResolution": "NodeNext",
"outDir": "types",
Expand Down

0 comments on commit f10cce4

Please sign in to comment.