nornagon / saxi

Tools & library for driving the AxiDraw pen plotter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feat: Upgrade to node-serialport v10 (or v11)

alexrudd2 opened this issue · comments

commented

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 at 8.x anyway and didn't get updated to 9.x)
commented

I believe there's an upstream bug with the type definitions: serialport/node-serialport#2651