Closed juliendorra closed 6 years ago
Bonjour Julien. Thanks for the PR. However, I would prefer not to break backwards-compatibility. It would be best to first check if isOpen
is available and, if not, fallback to using isOpen()
.
Added a check. Also indicated the dependency in package.json, that could help new users installing.
There seems to be a discrepancy between the serialport
module and the browser-serialport
module on this regard.
This has been fixed in the latest version. Closing.
Fix #3 and makes the module work with the current version of node SerialPort.