Socket
Socket
Sign inDemoInstall

usb

Package Overview
Dependencies
Maintainers
2
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

usb - npm Package Compare versions

Comparing version 0.3.7 to 0.3.8-beta1

2

package.json

@@ -22,3 +22,3 @@ {

],
"version": "0.3.7",
"version": "0.3.8-beta1",
"optionalDependencies": {

@@ -25,0 +25,0 @@ "usb-shyp-win32-x64": "0.3.x",

@@ -5,2 +5,7 @@ var usb = exports = module.exports = require("bindings-shyp")("usb_bindings")

// Check that libusb was initialized.
if (usb.INIT_ERROR) {
throw new Error('Could not initialize libusb. Check that your system has a usb controller.');
}
// convenience method for finding a device by vendor and product id

@@ -7,0 +12,0 @@ exports.findByIds = function(vid, pid) {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc