Skip to content

Commit

Permalink
Merge pull request #242 from keichi/update-deps
Browse files Browse the repository at this point in the history
Bump node.js version requirement
  • Loading branch information
keichi authored Jul 17, 2023
2 parents f847630 + 9dbbeda commit b99ae40
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 67 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:

strategy:
matrix:
node-version: [12, 14, 16]
node-version: [16, 18, 20]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions benchmark/bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec
new Destruct.Spec({ mode: Destruct.Mode.LE })
.field("x", Destruct.UInt16)
.field("y", Destruct.UInt16)
.field("z", Destruct.UInt16)
.field("z", Destruct.UInt16),
);

// structron
Expand All @@ -47,7 +47,7 @@ const PointsStruct = new Struct()
.addMember(Struct.TYPES.USHORT_LE, "z"),
"points",
0,
"len"
"len",
);

// Prepare input
Expand Down
2 changes: 1 addition & 1 deletion example/tcp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const tcpHeader = new Parser()

const buf = Buffer.from(
"e8a203e108e177e13d20756b801829d3004100000101080a2ea486ba793310bc",
"hex"
"hex",
);

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

0 comments on commit b99ae40

Please sign in to comment.