Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/usb

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/usb - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

10

usb/index.d.ts

@@ -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"
}
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