@types/usb
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -60,3 +60,3 @@ // Type definitions for node-usb 1.1 | ||
descriptor: InterfaceDescriptor; | ||
endpoints: IEndpoint[]; | ||
endpoints: Endpoint[]; | ||
constructor(device: Device, id: number); | ||
@@ -69,3 +69,3 @@ claim(): void; | ||
setAltSetting(altSetting: number, cb: (err?: string) => void): void; | ||
endpoint(addr: number): IEndpoint; | ||
endpoint(addr: number): Endpoint; | ||
} | ||
@@ -86,3 +86,3 @@ | ||
interface IEndpoint { | ||
interface Endpoint { | ||
direction: string; | ||
@@ -94,3 +94,3 @@ transferType: number; | ||
export class InEndpoint implements IEndpoint { | ||
export class InEndpoint implements Endpoint { | ||
direction: string; | ||
@@ -106,3 +106,3 @@ transferType: number; | ||
export class OutEndpoint implements IEndpoint { | ||
export class OutEndpoint implements Endpoint { | ||
direction: string; | ||
@@ -109,0 +109,0 @@ transferType: number; |
{ | ||
"name": "@types/usb", | ||
"version": "1.1.1", | ||
"description": "TypeScript definitions for node-usb 1.1", | ||
"version": "1.1.2", | ||
"description": "TypeScript definitions for node-usb", | ||
"license": "MIT", | ||
@@ -17,4 +17,3 @@ "author": "Eric Brody <https://github.com/underscorebrody>", | ||
"peerDependencies": {}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "e887b5b1301661f0e5ec42d119a25e7fb39bfc092be0358d0a2e00a7c57495c6" | ||
"typesPublisherContentHash": "6e85e08c3b75e6a3adf86506d8940e618a04ac9e0b642ff7c32dcc99ad261de0" | ||
} |
@@ -5,10 +5,9 @@ # Installation | ||
# Summary | ||
This package contains type definitions for node-usb 1.1 (https://github.com/nonolith/node-usb). | ||
This package contains type definitions for node-usb (https://github.com/nonolith/node-usb). | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/usb | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/usb | ||
Additional Details | ||
* Last updated: Mon, 21 Nov 2016 18:48:35 GMT | ||
* File structure: ProperModule | ||
* Last updated: Thu, 15 Dec 2016 18:57:17 GMT | ||
* Library Dependencies: node | ||
@@ -15,0 +14,0 @@ * Module Dependencies: none |
{ | ||
"authors": "Eric Brody <https://github.com/underscorebrody>", | ||
"definitionFilename": "index.d.ts", | ||
"libraryDependencies": [ | ||
@@ -10,8 +9,7 @@ "node" | ||
"libraryMinorVersion": 1, | ||
"libraryName": "node-usb 1.1", | ||
"libraryName": "node-usb", | ||
"typingsPackageName": "usb", | ||
"projectName": "https://github.com/nonolith/node-usb", | ||
"sourceRepoURL": "https://www.github.com/DefinitelyTyped/DefinitelyTyped", | ||
"sourceBranch": "types-2.0", | ||
"kind": "ProperModule", | ||
"sourceBranch": "master", | ||
"globals": [], | ||
@@ -25,3 +23,3 @@ "declaredModules": [ | ||
"hasPackageJson": false, | ||
"contentHash": "e887b5b1301661f0e5ec42d119a25e7fb39bfc092be0358d0a2e00a7c57495c6" | ||
"contentHash": "6e85e08c3b75e6a3adf86506d8940e618a04ac9e0b642ff7c32dcc99ad261de0" | ||
} |
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
9839
236
18