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.9 to 2.1.10

10

socket.io/index.d.ts

@@ -17,2 +17,4 @@ // Type definitions for socket.io 2.1

import engine = require('engine.io');
import { Server as HttpServer } from 'http';
import { Server as HttpsServer } from 'https';
import { EventEmitter } from 'events';

@@ -34,3 +36,3 @@ export = SocketIO;

*/
(srv: any, opts?: SocketIO.ServerOptions): SocketIO.Server;
(srv: HttpServer | HttpsServer, opts?: SocketIO.ServerOptions): SocketIO.Server;

@@ -60,3 +62,3 @@ /**

*/
new (srv: any, opts?: SocketIO.ServerOptions): SocketIO.Server;
new (srv: HttpServer | HttpsServer, opts?: SocketIO.ServerOptions): SocketIO.Server;

@@ -194,3 +196,3 @@ /**

*/
attach(srv: any, opts?: ServerOptions): Server;
attach(srv: HttpServer | HttpsServer, opts?: ServerOptions): Server;

@@ -208,3 +210,3 @@ /**

*/
listen(srv: any, opts?: ServerOptions): Server;
listen(srv: HttpServer | HttpsServer, opts?: ServerOptions): Server;

@@ -211,0 +213,0 @@ /**

4

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

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

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

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

### Additional Details
* Last updated: Mon, 20 Jul 2020 11:55:36 GMT
* Last updated: Tue, 21 Jul 2020 18:50:27 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