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 4.0.0 to 4.0.1

2

ws/index.d.ts

@@ -71,3 +71,3 @@ // Type definitions for ws 4.0

on(event: 'close', listener: (code: number, reason: string) => void): this;
on(event: 'error', listener: (event: {error: any, message: any, type: string, target: WebSocket }) => void): this;
on(event: 'error', listener: (err: Error) => void): this;
on(event: 'upgrade', listener: (request: http.IncomingMessage) => void): this;

@@ -74,0 +74,0 @@ on(event: 'message', listener: (data: WebSocket.Data) => void): this;

{
"name": "@types/ws",
"version": "4.0.0",
"version": "4.0.1",
"description": "TypeScript definitions for ws",

@@ -38,4 +38,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "dcf842dc3ab2a896b721a1f5e6eaff590564a9fd8845d036498c2911ea0d4a6b",
"typesPublisherContentHash": "6570a37fea4c6f9f4d0592253926e8be0b4e436e647f8eb7cb9f3fd14bed9bb0",
"typeScriptVersion": "2.0"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Fri, 12 Jan 2018 18:52:17 GMT
* Last updated: Tue, 13 Feb 2018 02:54:18 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