node-serialport
node-serialport copied to clipboard
fix: avert crashes from missing package.json
Previously npx @serialport/list and npx @serialport/terminal would crash as they would search the local filesystem for package.json to find the version. Now these tools print the correct version.
Fixes #2972