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 5.1.2 to 6.0.0

18

ws/index.d.ts

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

// Type definitions for ws 5.1
// Type definitions for ws 6.0
// Project: https://github.com/websockets/ws

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

type VerifyClientCallbackAsync = (info: { origin: string; secure: boolean; req: http.IncomingMessage }
, callback: (res: boolean, code?: number, message?: string) => void) => void;
, callback: (res: boolean, code?: number, message?: string, headers?: http.OutgoingHttpHeaders) => void) => void;

@@ -145,2 +145,3 @@ interface ClientOptions {

ca?: CertMeta;
maxPayload?: number;
}

@@ -153,4 +154,13 @@

clientMaxWindowBits?: number;
level?: number;
memLevel?: number;
zlibDeflateOptions?: {
flush?: number;
finishFlush?: number;
chunkSize?: number;
windowBits?: number;
level?: number;
memLevel?: number;
strategy?: number;
dictionary?: Buffer | Buffer[] | DataView;
info?: boolean;
};
threshold?: number;

@@ -157,0 +167,0 @@ concurrencyLimit?: number;

{
"name": "@types/ws",
"version": "5.1.2",
"version": "6.0.0",
"description": "TypeScript definitions for ws",

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

},
"typesPublisherContentHash": "8b5bb212f4589181238778c47f30acac73104ec397b8ff04f03b571834fa673b",
"typesPublisherContentHash": "485cc819a3e474f23677a0b60a530981b5ac1c9abcabfe606a81dfa97d5713e6",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Thu, 07 Jun 2018 19:55:42 GMT
* Last updated: Tue, 14 Aug 2018 00:52:13 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