socket.io-adapter
Advanced tools
Comparing version 2.0.2 to 2.0.3-rc1
@@ -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 @@ |
@@ -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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9633
2