Skip to content

Commit 7ccab70

Browse files
authoredOct 29, 2023
Drop support for Node 16 (#111)
1 parent d4c9f72 commit 7ccab70

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed
 

‎.github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
node-version:
13+
- 21
1314
- 20
1415
- 18
15-
- 16
1616
steps:
17-
- uses: actions/checkout@v3
18-
- uses: actions/setup-node@v3
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
1919
with:
2020
node-version: ${{ matrix.node-version }}
2121
- run: npm install

‎package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"default": "./source/index.js"
1717
},
1818
"engines": {
19-
"node": ">=16"
19+
"node": ">=18"
2020
},
2121
"scripts": {
2222
"benchmark": "node benchmarks/index.js",
@@ -43,11 +43,11 @@
4343
"concat"
4444
],
4545
"devDependencies": {
46-
"@types/node": "^20.5.0",
46+
"@types/node": "^20.8.9",
4747
"ava": "^5.3.1",
48-
"precise-now": "^2.0.0",
48+
"precise-now": "^3.0.0",
4949
"stream-json": "^1.8.0",
50-
"tsd": "^0.28.1",
50+
"tsd": "^0.29.0",
5151
"xo": "^0.56.0"
5252
}
5353
}

‎test/array-buffer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Buffer, constants as BufferConstants, Blob} from 'node:buffer';
1+
import {Buffer, constants as BufferConstants} from 'node:buffer';
22
import {arrayBuffer, blob} from 'node:stream/consumers';
33
import test from 'ava';
44
import {getStreamAsArrayBuffer, MaxBufferError} from '../source/index.js';

0 commit comments

Comments
 (0)
Please sign in to comment.