Skip to content

Commit

Permalink
Drop support for Node 16 (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Oct 29, 2023
1 parent d4c9f72 commit 7ccab70
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 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:
- 21
- 20
- 18
- 16
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"default": "./source/index.js"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"benchmark": "node benchmarks/index.js",
Expand All @@ -43,11 +43,11 @@
"concat"
],
"devDependencies": {
"@types/node": "^20.5.0",
"@types/node": "^20.8.9",
"ava": "^5.3.1",
"precise-now": "^2.0.0",
"precise-now": "^3.0.0",
"stream-json": "^1.8.0",
"tsd": "^0.28.1",
"tsd": "^0.29.0",
"xo": "^0.56.0"
}
}
2 changes: 1 addition & 1 deletion test/array-buffer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Buffer, constants as BufferConstants, Blob} from 'node:buffer';
import {Buffer, constants as BufferConstants} from 'node:buffer';
import {arrayBuffer, blob} from 'node:stream/consumers';
import test from 'ava';
import {getStreamAsArrayBuffer, MaxBufferError} from '../source/index.js';
Expand Down

0 comments on commit 7ccab70

Please sign in to comment.