Socket
Socket
Sign inDemoInstall

@types/socket.io

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/socket.io - npm Package Compare versions

Comparing version 2.1.8 to 2.1.9

25

socket.io/index.d.ts

@@ -49,2 +49,27 @@ // Type definitions for socket.io 2.1

/**
* Default Server constructor
*/
new (): SocketIO.Server;
/**
* Creates a new Server
* @param srv The HTTP server that we're going to bind to
* @param opts An optional parameters object
*/
new (srv: any, opts?: SocketIO.ServerOptions): SocketIO.Server;
/**
* Creates a new Server
* @param port A port to bind to, as a number, or a string
* @param An optional parameters object
*/
new (port: string | number, opts?: SocketIO.ServerOptions): SocketIO.Server;
/**
* Creates a new Server
* @param A parameters object
*/
new (opts: SocketIO.ServerOptions): SocketIO.Server;
/**
* Backwards compatibility

@@ -51,0 +76,0 @@ * @see io().listen()

4

socket.io/package.json
{
"name": "@types/socket.io",
"version": "2.1.8",
"version": "2.1.9",
"description": "TypeScript definitions for socket.io",

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

},
"typesPublisherContentHash": "f250d6de6457dde7693791499e750eca1a5211b42364d04b914077f73a25219b",
"typesPublisherContentHash": "1c3ea769a76f12761354b309b9166d3e46e8878db36bc2bdaa3556a656691433",
"typeScriptVersion": "3.0"
}

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

### Additional Details
* Last updated: Thu, 21 May 2020 20:08:59 GMT
* Last updated: Mon, 20 Jul 2020 11:55:36 GMT
* Dependencies: [@types/engine.io](https://npmjs.com/package/@types/engine.io), [@types/node](https://npmjs.com/package/@types/node)

@@ -14,0 +14,0 @@ * Global values: `SocketIO`

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