webusb
webusb copied to clipboard
Node.js implementation of the WebUSB Specification
Bumps [terser](https://github.com/terser/terser) from 4.4.3 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) v4.8.0 Support for numeric separators (million...
Anyone run into this issue? Using the coding from your selector.js. I added a connect button to execute but keep running into this pop-up error when executing. Thoughts?
I'm developing an app using electron. Requesting devices with: usb.requestDevice({ filters: [] }) This promise simply does not return all available devices, when vendor id is passed it works. Is...
Can't find much on this around the net, but including webusb within an electron app (just using the blank/quick-start guide to keep it simple), and installing webusb, then running the...
Not going to open a PR for this because I haven't tested it beyond compilation, and not sure it's something you'll want. Switching the code to using `async`/`await` instead of...
Putting 'thread-safe' in quotes because really I'm referring to async code, but the idea is the same. Two different parts of code simultaneously accessing `requestDevice` will lead to a crash:...
For the errors listed in the spec (`InvalidStateError`, `NotFoundError`, etc), these should be `DOMException`s with the name set accordingly. Example: ```javascript throw new DOMException('interface not found', 'NotFoundError'); ``` To make...
The `controlTransferOut()` and `transferOut()` methods should return the count of actual bytes written. Instead, `bytesWritten` is being set to the same length as the buffer being written as `node-usb` doesn't...
The specification outlines 2 isochronous transfer methods on a `USBDevice`; `isochronousTransferIn` and `isochronousTransferOut`: https://wicg.github.io/webusb/#dom-usbdevice-isochronoustransferin These transfer methods are currently [unsupported in node-usb](https://github.com/tessel/node-usb#limitations) so probably need to be exposed there first.
Removes [highlight.js](https://github.com/highlightjs/highlight.js). It's no longer used after updating ancestor dependency [typedoc](https://github.com/TypeStrong/TypeDoc). These dependencies need to be updated together. Removes `highlight.js` Updates `typedoc` from 0.15.0 to 0.24.4 Release notes Sourced from...