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 6.0.3 to 6.0.4

5

ws/index.d.ts

@@ -17,2 +17,3 @@ // Type definitions for ws 6.0

import * as net from 'net';
import * as url from 'url';
import * as zlib from 'zlib';

@@ -44,4 +45,4 @@

constructor(address: string, options?: WebSocket.ClientOptions);
constructor(address: string, protocols?: string | string[], options?: WebSocket.ClientOptions);
constructor(address: string | url.URL, options?: WebSocket.ClientOptions);
constructor(address: string | url.URL, protocols?: string | string[], options?: WebSocket.ClientOptions);

@@ -48,0 +49,0 @@ close(code?: number, data?: string): void;

8

ws/package.json
{
"name": "@types/ws",
"version": "6.0.3",
"version": "6.0.4",
"description": "TypeScript definitions for ws",

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

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -50,4 +50,4 @@ "type": "git",

},
"typesPublisherContentHash": "14ae4ed25682765570a159d21524779bb978a8a51bc61ffd23a68b175a0cd396",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "fe96747b9bb4f09959c055797757b71397d998345c0c940d8e5e67a5b1d23c68",
"typeScriptVersion": "2.8"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ws
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ws.
Additional Details
* Last updated: Fri, 23 Aug 2019 17:19:37 GMT
* Dependencies: @types/node
### Additional Details
* Last updated: Mon, 25 Nov 2019 22:27:05 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by Paul Loyd <https://github.com/loyd>, Matt Silverlock <https://github.com/elithrar>, Margus Lamp <https://github.com/mlamp>, Philippe D'Alva <https://github.com/TitaneBoy>, Orblazer <https://github.com/orblazer>, and reduckted <https://github.com/reduckted>.
These definitions were written by Paul Loyd (https://github.com/loyd), Matt Silverlock (https://github.com/elithrar), Margus Lamp (https://github.com/mlamp), Philippe D'Alva (https://github.com/TitaneBoy), Orblazer (https://github.com/orblazer), and reduckted (https://github.com/reduckted).
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