particle-iot / particle-usb

A library for accessing Particle USB devices
Apache License 2.0
5 stars 1 forks source link

Update dependencies #53

Closed sergeuz closed 2 years ago

sergeuz commented 2 years ago

This PR updates node-usb to 1.9.2 and removes some other dependencies such as Babel and VError. Tested on Linux, macOS and Windows with Node 12 and 16 using particle-cli, device-os-flash-util and device-os-test-runner.

particle-cli required some changes in order to make it work with the latest particle-usb as it uses the isMeshDevice property that was removed in https://github.com/particle-iot/particle-usb/pull/44. ~I'll submit a PR with the fix when we release particle-usb 2.0.0.~ Edit: There's a PR already: https://github.com/particle-iot/particle-cli/pull/617.

monkbroc commented 2 years ago

Sergey, the changes for the CLI are already available in https://github.com/particle-iot/particle-cli/pull/617