Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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 1.4.36 to 1.4.37

20

socket.io/index.d.ts

@@ -700,2 +700,19 @@ // Type definitions for socket.io 1.4.5

/**
* The interface describing a room
*/
interface Room {
sockets: {[id: string]: boolean };
length: number;
}
/**
* The interface describing a dictionary of rooms
* Where room is the name of the room
*/
interface Rooms {
[room: string]: Room;
}
/**
* The interface used when dealing with rooms etc

@@ -712,5 +729,4 @@ */

* A dictionary of all the rooms that we have in this namespace
* The rooms are made of a `sockets` key which is the dictionary of sockets per ID
*/
rooms: {[room: string]: {sockets: {[id: string]: boolean }, length: number }};
rooms: Rooms;

@@ -717,0 +733,0 @@ /**

4

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

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

},
"typesPublisherContentHash": "c5495c2e3122176369227be32f2c410a2300ff6c4eebc709cc1140498b4ac165",
"typesPublisherContentHash": "937075b61c2a658ba528440049ed89bf0f962c1822adbb6654fd559a58312b74",
"typeScriptVersion": "2.0"
}

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

Additional Details
* Last updated: Mon, 18 Jun 2018 22:47:06 GMT
* Last updated: Sat, 18 Aug 2018 01:07:25 GMT
* Dependencies: 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