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

@types/ws

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/ws - npm Package Compare versions

Comparing version 5.1.1 to 5.1.2

8

ws/index.d.ts

@@ -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,

6

ws/package.json
{
"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

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