Socket
Socket
Sign inDemoInstall

mute-server

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mute-server - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

12

lib/coordinator.js

@@ -24,11 +24,2 @@ /*

// Connection to the mongoDB running instance
mongoose.connect('mongodb://localhost/mute');
// Check if connection succeed
var db = mongoose.connection;
db.on('error', console.error.bind(console, 'connection error:'));
db.once('open', function callback () {
console.log('Connection to mongoDB instance succeed!');
});
var modelSchema = mongoose.Schema({

@@ -51,5 +42,6 @@ docID: String,

var Coordinator = function () {
var Coordinator = function (db) {
this.models = {};
this.network = null;
this.db = db;
};

@@ -56,0 +48,0 @@

2

package.json
{
"name": "mute-server",
"version": "0.0.15",
"version": "0.0.16",
"description": "Server-side application creating a data-structure representing a text and initializing a network to allow clients to edit the text and broadcast theirs changes in real-time",

@@ -5,0 +5,0 @@ "main": "index.js",

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