feat: Upgrade to node-serialport v10 (or v11)
alexrudd2 opened this issue · comments
node-serialport
is a major change (see blog release announcement).
This is a major breaking changing, and there's an upgrade guide. Of significance,
- the bindings and
MockSerialPort
have been reworked. I have a branch with the refactors necessary that's almost ready. - As of
10.3.0
, the TypeScript types are directly bundled with the package, which means@types/serialport
can be dropped. (It was stuck at8.x
anyway and didn't get updated to9.x
)
I believe there's an upstream bug with the type definitions: serialport/node-serialport#2651