Skip to content

Commit 9969d55

Browse files
authored
chore(deps): bump optional serialport to ^13.0.0 (#608)
- Refresh lockfile for serialport 13.x (@serialport/bindings-cpp 13) - Document Node 20+ requirement for bundled serialport range in README
1 parent b5e3a59 commit 9969d55

3 files changed

Lines changed: 105 additions & 121 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ try these options on npm install to build, if you have problems to install
3434

3535
[`serialport`](https://www.npmjs.com/package/serialport) is an **optional** dependency: npm tries to install it, but if the install fails (or you skip optionals), `modbus-serial` still installs and TCP/UDP usage works.
3636

37+
The version range pulled in by this package targets **serialport 13.x**, which requires **Node.js 20 or newer**. If you need serial on an older Node release, install a compatible `serialport` major (for example 12.x) explicitly alongside `modbus-serial`, or use `--no-optional` and TCP-only flows.
38+
3739
**Skip installing optional dependencies** (no native serial build, smaller tree):
3840

3941
npm install modbus-serial --no-optional

0 commit comments

Comments
 (0)