Comparing version 0.2.0 to 0.2.1
@@ -22,3 +22,3 @@ { | ||
], | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"engines": { | ||
@@ -25,0 +25,0 @@ "node": ">=0.8.x" |
@@ -41,3 +41,3 @@ USB Library for Node.JS | ||
### usb.getDevices() | ||
### usb.getDeviceList() | ||
Return a list of `Device` objects for the USB devices attached to the system. | ||
@@ -271,5 +271,5 @@ | ||
git clone https://github.com/nonolith/node-usb.git | ||
cd node-usb | ||
npm install | ||
git clone https://github.com/nonolith/node-usb.git | ||
cd node-usb | ||
npm install | ||
@@ -276,0 +276,0 @@ To execute the unit tests, [CoffeeScript](http://coffeescript.org) is required. Run |
@@ -113,3 +113,3 @@ var usb = exports = module.exports = require("bindings")("usb_bindings") | ||
var desc = this.descriptor.endpoints[i] | ||
var c = (desc.bEndpointAddress&(1 << 7) == usb.LIBUSB_ENDPOINT_IN)?InEndpoint:OutEndpoint | ||
var c = (desc.bEndpointAddress&usb.LIBUSB_ENDPOINT_IN)?InEndpoint:OutEndpoint | ||
this.endpoints[i] = new c(this.device, desc) | ||
@@ -116,0 +116,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
16
261
1
83209