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

vubsub

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vubsub - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

4

lib/client.js

@@ -27,3 +27,5 @@ var q = require('q')

Client.prototype.leave = function(channel) {
this.db.collection('clients').update({ _id: this.id }, { $unset: { "channels." + channel.name: true }});
var doc = { $unset: { } };
doc.$unset["channels." + channel.name] = true;
this.db.collection('clients').update({ _id: this.id }, doc);
channel._close();

@@ -30,0 +32,0 @@ delete this.channels[name];

{
"name": "vubsub",
"version": "1.0.3",
"version": "1.0.4",
"description": "Pub/Sub for Node.js and MongoDB",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/vivocha/vubsub",

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