Socket
Socket
Sign inDemoInstall

@types/websocket

Package Overview
Dependencies
2
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.34 to 0.0.35

11

websocket/index.d.ts
// Type definitions for websocket
// Project: https://github.com/theturtle32/WebSocket-Node
// Definitions by: Paul Loyd <https://github.com/loyd>,
// Kay Schecker <https://github.com/flynetworks>
// Kay Schecker <https://github.com/flynetworks>,
// Zhao Lei <https://github.com/zhaoleimxd>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -566,6 +567,6 @@

*/
connect(requestUrl: url.Url, protocols?: string[], origin?: string, headers?: any[]): void;
connect(requestUrl: string, protocols?: string[], origin?: string, headers?: any[]): void;
connect(requestUrl: url.Url, protocols?: string, origin?: string, headers?: any[]): void;
connect(requestUrl: string, protocols?: string, origin?: string, headers?: any[]): void;
connect(requestUrl: url.Url, protocols?: string[], origin?: string, headers?: any[], extraRequestOptions?: http.RequestOptions): void;
connect(requestUrl: string, protocols?: string[], origin?: string, headers?: any[], extraRequestOptions?: http.RequestOptions): void;
connect(requestUrl: url.Url, protocols?: string, origin?: string, headers?: any[], extraRequestOptions?: http.RequestOptions): void;
connect(requestUrl: string, protocols?: string, origin?: string, headers?: any[], extraRequestOptions?: http.RequestOptions): void;

@@ -572,0 +573,0 @@ // Events

{
"name": "@types/websocket",
"version": "0.0.34",
"version": "0.0.35",
"description": "TypeScript definitions for websocket",

@@ -9,7 +9,14 @@ "license": "MIT",

"name": "Paul Loyd",
"url": "https://github.com/loyd"
"url": "https://github.com/loyd",
"githubUsername": "loyd"
},
{
"name": "Kay Schecker",
"url": "https://github.com/flynetworks"
"url": "https://github.com/flynetworks",
"githubUsername": "flynetworks"
},
{
"name": "Zhao Lei",
"url": "https://github.com/zhaoleimxd",
"githubUsername": "zhaoleimxd"
}

@@ -26,5 +33,4 @@ ],

},
"peerDependencies": {},
"typesPublisherContentHash": "85a03d6c0b2d98a01bf08609ca84503c9f9612343083721835e862034c78869d",
"typesPublisherContentHash": "395d5affa86c699fa711061801b8d32f4a64a8f2bff0093c6a107e6f9b1ece1f",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Wed, 28 Jun 2017 15:40:48 GMT
* Last updated: Thu, 23 Nov 2017 02:09:41 GMT
* Dependencies: events, http, https, net, url, node

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Paul Loyd <https://github.com/loyd>, Kay Schecker <https://github.com/flynetworks>.
These definitions were written by Paul Loyd <https://github.com/loyd>, Kay Schecker <https://github.com/flynetworks>, Zhao Lei <https://github.com/zhaoleimxd>.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc