Socket
Socket
Sign inDemoInstall

socket.io-adapter

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socket.io-adapter - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3-rc1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## [2.0.3-rc1](https://github.com/socketio/socket.io-adapter/compare/2.0.2...2.0.3-rc1) (2020-10-15)
## [2.0.2](https://github.com/socketio/socket.io-adapter/compare/2.0.1...2.0.2) (2020-09-28)

@@ -2,0 +6,0 @@

8

dist/index.js

@@ -102,3 +102,3 @@ "use strict";

continue;
const socket = this.nsp.connected.get(id);
const socket = this.nsp.sockets.get(id);
if (socket) {

@@ -115,3 +115,3 @@ socket.packet(encodedPackets, packetOpts);

continue;
const socket = this.nsp.connected.get(id);
const socket = this.nsp.sockets.get(id);
if (socket)

@@ -134,3 +134,3 @@ socket.packet(encodedPackets, packetOpts);

for (const id of this.rooms.get(room)) {
if (this.nsp.connected.has(id)) {
if (this.nsp.sockets.has(id)) {
sids.add(id);

@@ -143,3 +143,3 @@ }

for (const [id] of this.sids) {
if (this.nsp.connected.has(id))
if (this.nsp.sockets.has(id))
sids.add(id);

@@ -146,0 +146,0 @@ }

{
"name": "socket.io-adapter",
"version": "2.0.2",
"version": "2.0.3-rc1",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": {

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