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 0.0.32 to 0.0.33

8

ws/index.d.ts

@@ -25,3 +25,3 @@ // Type definitions for ws

supports: any;
upgradeReq: http.ServerRequest;
upgradeReq: http.IncomingMessage;
protocol: string;

@@ -83,4 +83,4 @@

type VerifyClientCallbackSync = (info: { origin: string; secure: boolean; req: http.ServerRequest }) => boolean;
type VerifyClientCallbackAsync = (info: { origin: string; secure: boolean; req: http.ServerRequest }
type VerifyClientCallbackSync = (info: { origin: string; secure: boolean; req: http.IncomingMessage }) => boolean;
type VerifyClientCallbackAsync = (info: { origin: string; secure: boolean; req: http.IncomingMessage }
, callback: (res: boolean) => void) => void;

@@ -124,3 +124,3 @@

close(cb?: () => {}): void;
handleUpgrade(request: http.ServerRequest, socket: net.Socket,
handleUpgrade(request: http.IncomingMessage, socket: net.Socket,
upgradeHead: Buffer, callback: (client: WebSocket) => void): void;

@@ -127,0 +127,0 @@

{
"name": "@types/ws",
"version": "0.0.32",
"version": "0.0.33",
"description": "TypeScript definitions for ws",

@@ -17,3 +17,3 @@ "license": "MIT",

"typings": "index.d.ts",
"typesPublisherContentHash": "86a0a46a928e0b303a9f785e21e661a6d40f91f4c7f0431dcb7e94c674f72eb0"
"typesPublisherContentHash": "614262839f2e003b201893b64f8c4856e1ab5baeafde03d27486e8a0d60ae161"
}

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

Additional Details
* Last updated: Wed, 21 Sep 2016 20:25:58 GMT
* Last updated: Fri, 23 Sep 2016 17:58:37 GMT
* File structure: ProperModule

@@ -14,0 +14,0 @@ * Library Dependencies: node

@@ -31,3 +31,3 @@ {

"hasPackageJson": false,
"contentHash": "86a0a46a928e0b303a9f785e21e661a6d40f91f4c7f0431dcb7e94c674f72eb0"
"contentHash": "614262839f2e003b201893b64f8c4856e1ab5baeafde03d27486e8a0d60ae161"
}
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