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

socket.io-redis

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socket.io-redis - npm Package Compare versions

Comparing version 5.0.0 to 5.0.1

5

History.md
5.0.1 / 2017-05-13
===================
* [fix] Fix broken protocol in 5.0.0 (#221)
5.0.0 / 2017-05-11

@@ -3,0 +8,0 @@ ===================

9

index.js

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

var room = channel.substring(this.channel.length);
var room = channel.slice(this.channel.length, -1);
if (room !== '' && !this.rooms.hasOwnProperty(room)) {

@@ -408,7 +408,8 @@ return debug('ignore unknown room %s', room);

var msg = msgpack.encode([uid, packet, opts]);
var channel = this.channel;
if (opts.rooms && opts.rooms.length === 1) {
pub.publish(this.channel + opts.rooms[0], msg);
} else {
pub.publish(this.channel, msg);
channel += opts.rooms[0] + '#';
}
debug('publishing message to channel %s', channel);
pub.publish(channel, msg);
}

@@ -415,0 +416,0 @@ Adapter.prototype.broadcast.call(this, packet, opts);

{
"name": "socket.io-redis",
"version": "5.0.0",
"version": "5.0.1",
"description": "",

@@ -5,0 +5,0 @@ "license": "MIT",

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