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 7.2.9 to 7.4.0

4

ws/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for ws 7.2
// Type definitions for ws 7.4
// Project: https://github.com/websockets/ws

@@ -238,3 +238,3 @@ // Definitions by: Paul Loyd <https://github.com/loyd>

handleUpgrade(request: http.IncomingMessage, socket: net.Socket,
upgradeHead: Buffer, callback: (client: WebSocket) => void): void;
upgradeHead: Buffer, callback: (client: WebSocket, request: http.IncomingMessage) => void): void;
shouldHandle(request: http.IncomingMessage): boolean | Promise<boolean>;

@@ -241,0 +241,0 @@

{
"name": "@types/ws",
"version": "7.2.9",
"version": "7.4.0",
"description": "TypeScript definitions for ws",

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

},
"typesPublisherContentHash": "9e4ff321979a3045e8c05bb54ba43e32c493eb97b27cb6c15610126ff392de6a",
"typesPublisherContentHash": "77b3e10cf373ea323f596b45785b79dd2b23f671bdbc08a581245f57a083fd1b",
"typeScriptVersion": "3.2"
}

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

### Additional Details
* Last updated: Wed, 28 Oct 2020 17:03:42 GMT
* Last updated: Mon, 09 Nov 2020 23:49:39 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/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