[Snyk] Upgrade node-hid from 0.4.1 to 0.7.9 #912
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade node-hid from 0.4.1 to 0.7.9.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: node-hid
Linux: Add
HID.setDriverType(type)
where type can be"libusb"
or"hidraw"
.All Linux prebuilds have both driver types.
Update to support Node v12
Remove NAN deprecations when building
Update prebuild and bindings to solve Electron/node-abi prebuild issue #293.
Works with Electron v4.0.0 and Node v11.x.
However, prebuilds for Electron v4 had to be removed because
prebuild
is generating wrong binaries some how.Small fixes for Node v11.0 and Electron v4.0.0.
Note: Removed Electron prebuilds for Node v11 & Electron v4 because still getting the error:
No content.
Update to support Node v10
In this release:
HID.setDriverType()
support for Linux as it broke prebuilds for everyone (see issue #242)hidraw
driver instead oflibusb
(so usagePage works on Linux, for crypto keys mainly). See details belowNOTE for Linux users:
libusb
andhidraw
would be in the file/etc/udev/rules.d/51-blink1.rules
and contain:New and potentially breaking changes:
hidraw
driver is now used by default instead oflibusb
HID.setDriverType()
(see README for details)device.write()
anddevice.sendFeatureReport()
return number of bytes written. Issue #234Note: no prebuilt binaries available for this release
NOTE for Linux users:
/etc/udev/rules.d/51-blink1.rules
file to also contain:Commit messages
Package name: node-hid
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs