Socket
Socket
Sign inDemoInstall

@types/ws

Package Overview
Dependencies
Maintainers
1
Versions
76
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.4.3 to 7.4.4

2

ws/index.d.ts

@@ -291,3 +291,3 @@ // Type definitions for ws 7.4

addListener(event: 'connection', cb: (client: WebSocket) => void): this;
addListener(event: 'connection', cb: (client: WebSocket, request: http.IncomingMessage) => void): this;
addListener(event: 'error', cb: (err: Error) => void): this;

@@ -294,0 +294,0 @@ addListener(event: 'headers', cb: (headers: string[], request: http.IncomingMessage) => void): this;

{
"name": "@types/ws",
"version": "7.4.3",
"version": "7.4.4",
"description": "TypeScript definitions for ws",

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

},
"typesPublisherContentHash": "d439208f4c055f95f144c1f69e8ea13f33aefd2860ba7bd676689b491eb0310a",
"typesPublisherContentHash": "0f06c4f2be6fc0cd19d4bc725964e3dd0e74843083aadf1716985b5be42bbb4d",
"typeScriptVersion": "3.5"
}

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

### Additional Details
* Last updated: Tue, 11 May 2021 00:01:24 GMT
* Last updated: Tue, 11 May 2021 01:01:57 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