Skip to content

Commit b99ae40

Browse files
authored
Merge pull request #242 from keichi/update-deps
Bump node.js version requirement
2 parents f847630 + 9dbbeda commit b99ae40

File tree

7 files changed

+67
-67
lines changed

7 files changed

+67
-67
lines changed

.github/workflows/nodejs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [12, 14, 16]
16+
node-version: [16, 18, 20]
1717

1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v3
2020
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v2
21+
uses: actions/setup-node@v3
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424
- run: npm ci

benchmark/bench.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ spec
3434
new Destruct.Spec({ mode: Destruct.Mode.LE })
3535
.field("x", Destruct.UInt16)
3636
.field("y", Destruct.UInt16)
37-
.field("z", Destruct.UInt16)
37+
.field("z", Destruct.UInt16),
3838
);
3939

4040
// structron
@@ -47,7 +47,7 @@ const PointsStruct = new Struct()
4747
.addMember(Struct.TYPES.USHORT_LE, "z"),
4848
"points",
4949
0,
50-
"len"
50+
"len",
5151
);
5252

5353
// Prepare input

example/tcp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const tcpHeader = new Parser()
2323

2424
const buf = Buffer.from(
2525
"e8a203e108e177e13d20756b801829d3004100000101080a2ea486ba793310bc",
26-
"hex"
26+
"hex",
2727
);
2828

2929
console.log(tcpHeader.parse(buf));

0 commit comments

Comments
 (0)