Comparing version 5.1.1 to 5.1.2
@@ -171,2 +171,8 @@ // Type definitions for ws 5.1 | ||
interface AddressInfo { | ||
address: string; | ||
family: string; | ||
port: number; | ||
} | ||
// WebSocket Server | ||
@@ -180,3 +186,3 @@ class Server extends events.EventEmitter { | ||
address(): net.AddressInfo | string; | ||
address(): AddressInfo | string; | ||
close(cb?: (err?: Error) => void): void; | ||
@@ -183,0 +189,0 @@ handleUpgrade(request: http.IncomingMessage, socket: net.Socket, |
{ | ||
"name": "@types/ws", | ||
"version": "5.1.1", | ||
"version": "5.1.2", | ||
"description": "TypeScript definitions for ws", | ||
@@ -36,3 +36,3 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
}, | ||
@@ -44,4 +44,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "f4b5cf19b760d7f7ca8d7f554461d9cc93c7feac8665e698958d759ccd4867da", | ||
"typesPublisherContentHash": "8b5bb212f4589181238778c47f30acac73104ec397b8ff04f03b571834fa673b", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped.git/tree/master/types/ws | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ws | ||
Additional Details | ||
* Last updated: Tue, 08 May 2018 22:09:43 GMT | ||
* Last updated: Thu, 07 Jun 2018 19:55:42 GMT | ||
* Dependencies: events, http, https, net, node | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
12433
179