node-red-nodes icon indicating copy to clipboard operation
node-red-nodes copied to clipboard

[Snyk] Upgrade node-hid from 0.4.1 to 0.7.9

Open dceejay opened this issue 3 years ago • 1 comments

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.

merge advice :information_source: 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.


  • The recommended version is 17 versions ahead of your current version.
  • The recommended version was released 3 years ago, on 2019-05-31.
Release notes
Package name: node-hid
  • 0.7.9 - 2019-05-31

    Linux: Add HID.setDriverType(type) where type can be "libusb" or "hidraw".

    All Linux prebuilds have both driver types.

  • 0.7.8 - 2019-05-01

    Update to support Node v12
    Remove NAN deprecations when building

  • 0.7.7 - 2019-02-15

    Update prebuild and bindings to solve Electron/node-abi prebuild issue #293.

  • 0.7.6 - 2018-12-30

    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.

  • 0.7.5 - 2018-12-30

    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:

    dyld: lazy symbol binding failed: Symbol not found
     Expected in: flat namespace
    
  • 0.7.4 - 2018-11-24No content.
  • 0.7.3 - 2018-07-03

    Update to support Node v10

  • 0.7.2 - 2018-01-09

    In this release:

    • Roll-back HID.setDriverType() support for Linux as it broke prebuilds for everyone (see issue #242)
    • Linux: default to hidraw driver instead of libusb (so usagePage works on Linux, for crypto keys mainly). See details below

    NOTE for Linux users:

    • If you have udev rules they will need to be updated. For instance, for blink(1), the udev rules to support both libusb and hidraw would be in the file /etc/udev/rules.d/51-blink1.rules and contain:
      SUBSYSTEM=="input", GROUP="input", MODE="0666"
      SUBSYSTEM=="usb", ATTRS{idVendor}=="27b8", ATTRS{idProduct}=="01ed", MODE:="666", GROUP="plugdev"
      KERNEL=="hidraw*", ATTRS{idVendor}=="27b8", ATTRS{idProduct}=="01ed", MODE="0666", GROUP="plugdev"
      
      To install the new rules, unplug the HID device and run the command:
      sudo udevadm control --reload-rules
      
  • 0.7.0 - 2018-01-02

    New and potentially breaking changes:

    • Now we can have usagePages on Linux! Should address issues #180 #168 #190
    • Linux hidraw driver is now used by default instead of libusb
    • Linux driver type can be changed at runtime with HID.setDriverType() (see README for details)
    • Both device.write() and device.sendFeatureReport() return number of bytes written. Issue #234

    Note: no prebuilt binaries available for this release

    NOTE for Linux users:

    • Blink1Contro2 uses [email protected] which uses the 'hidraw' driver instead of 'libusb'. This means you need to edit your /etc/udev/rules.d/51-blink1.rules file to also contain:
      KERNEL=="hidraw*", ATTRS{idVendor}=="27b8", ATTRS{idProduct}=="01ed", MODE="0666", GROUP="plugdev"
      
      To install the new rules, unplug the blink(1) device and run the command:
      sudo udevadm control --reload-rules
      
  • 0.6.0 - 2017-12-30
  • 0.5.7 - 2017-08-16
  • 0.5.6 - 2017-08-16
  • 0.5.5 - 2017-08-16
  • 0.5.4 - 2017-01-16
  • 0.5.2 - 2016-11-09
  • 0.5.1 - 2015-10-15
  • 0.5.0 - 2015-10-07
  • 0.4.1 - 2015-10-07
from node-hid GitHub release notes
Commit messages
Package name: node-hid
  • cca7f89 no longer need this
  • ec56c2a fix prebuild script regex
  • 3a94334 fix prebuild script to correctly match and upload
  • bc6d818 fix binding.gyp to better handle multiple driverType binaries on Linux while only making one target binary on Mac/Win
  • 6f36b9f update README to reflect info about HID.setDriverType() and versions supported
  • afaa243 update README to reflect info about HID.setDriverType() and versions supported
  • e9bc24b add example of using HID.setDriverType()
  • c4d2375 comment out Windows pragma for now
  • 47fa54d Add hidraw and libusb drivers. Add Linux HID.setDriverType() to allow runtime driver selection. Addresses #309, #249
  • c01e986 update binding-multi-target for multi-prebuild test
  • 82a04a8 add explicit node-abi since prebuild seems to have older version?
  • 578b615 added pragma to reduce confusing warnings on Windows build
  • ea9d0b3 fix up test-teensyrawhid.js a bit
  • caf5e56 fix test-teensyrawhid.js to accurate match Teensy RawHID boards
  • a84566c Fix NAN deprecation error and warnings for Node v12. Addresses issue #306
  • ed4f896 potentionally fix some crashes reported when device is written after being closed
  • b1b4be0 update prebuild and bindings to hopefully solve Electron/node-abi prebuild issue #293
  • ec2de0d version bump because npm published package had extra crap in it
  • 468f108 bump version to prevent prebuild from getting 0.7.4 bad Node v10 versions
  • 3997045 update nan and bindings to potentially fix #293
  • 29acf92 bump minimal node ver to v6 since v4 has compile probs now
  • 9d870b0 bump minimal node ver to v6 since v4 has compile probs now
  • 7bef3be bump minimal node ver to v6 since v4 has compile probs now
  • 21642dd version bump to 0.7.4

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

dceejay avatar May 13 '22 03:05 dceejay

CLA Not Signed