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

bandicoot

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bandicoot - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

lib/broadcast.js
var Promise = require('bluebird')
, redis = require('reeve');
module.exports = function(channel, data, user) {
redis.connection.publish('channel:' + channel, JSON.stringify({ data: data, user: user }));
module.exports = function(channel, data) {
redis.connection.publish('channel:' + channel, JSON.stringify(data));
};

@@ -23,5 +23,3 @@ var redis = require('reeve')

message = JSON.parse(message);
that.emit('message', message.data);
that.emit('data', JSON.parse(message));
});

@@ -28,0 +26,0 @@ };

{
"name": "bandicoot",
"version": "1.0.2",
"version": "1.0.3",
"description": "Background message broadcasting",

@@ -5,0 +5,0 @@ "main": "node index",

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