joelpurra / uvcc

USB Video Class (UVC) device configurator. Used for webcams, camcorders, etcetera. Command line interface for automation.
https://joelpurra.com/projects/uvcc/
GNU General Public License v3.0
95 stars 5 forks source link

Add support for node 18.0.0 #25

Closed galak closed 2 years ago

galak commented 2 years ago

uvcc with node 18.0.0 installed:

Detected node version: 18.0.0. Required node version: ^12.20.0 || ^14.13.1 || ^16.0.0 || ^17.0.0.

joelpurra commented 2 years ago

@galak: thanks for the report! Didn't use uvcc since Node.js v18 was released in April, so this was helpful.

Just released uvcc v6.0.0 on npm; install/upgrade to get Node.js v18 compatibility.

npm install --global uvcc@latest

There are some other fixes included, such as an upgraded node-usb, a fix for (infinite) delays in uvcc devices, and additional device example output. If there are any problems, please create a new issue. Thanks again!