Skip to content

Commit

Permalink
feat: drop node 16 support (#283)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: drop node 16 support
  • Loading branch information
andipaetzold authored Jun 8, 2023
1 parent 9896c61 commit 19bc255
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
node: ["16.0.0", "16", "18.0.0", "18", "20.0.0", "20"]
node: ["18.0.0", "18", "20.0.0", "20"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ yarn add mdb-reader

### Node / JavaScript

- Node 16, 18, and 20
- Node 18 and 20
- Works in the browser with [buffer](https://www.npmjs.com/package/buffer) ([Example](https://github.com/andipaetzold/mdb-reader/tree/main/examples/browser))

### Access Database versions
Expand Down
28 changes: 20 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@
"devDependencies": {
"@semantic-release/changelog": "6.0.2",
"@semantic-release/git": "10.0.1",
"@tsconfig/node16": "1.0.3",
"@tsconfig/node18": "2.0.1",
"@types/chai": "4.3.4",
"@types/mocha": "10.0.1",
"@types/mocha-each": "2.0.0",
"@types/node": "16.11.7",
"@types/node": "18.16.16",
"@typescript-eslint/eslint-plugin": "5.50.0",
"@typescript-eslint/parser": "5.50.0",
"chai": "4.3.7",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.browser.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node16/tsconfig.json",
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"outDir": "lib/browser",
"module": "Node16",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "@tsconfig/node16/tsconfig.json",
"extends": "@tsconfig/node18/tsconfig.json",
"compilerOptions": {
"outDir": "lib/node",
"module": "Node16",
Expand Down

0 comments on commit 19bc255

Please sign in to comment.