Skip to content

Commit

Permalink
breaking: remove node 14 & 16 support (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
lionralfs authored Dec 28, 2023
1 parent e88d56b commit 32660c6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
2 changes: 1 addition & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const commonBuildOptionsForNode = {
entryPoints: ['./lib/index.ts'],
bundle: true,
platform: 'node',
target: ['node14'],
target: ['node18'],
minify: false,
define: { 'process.env.VERSION_NUMBER': `'${PACKAGE.version}'` },
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"vitest": "^0.34.6"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"lint-staged": {
"*.{js,md,json}": "prettier --write"
Expand Down

0 comments on commit 32660c6

Please sign in to comment.