New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sharedb

Package Overview
Dependencies
Maintainers
1
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sharedb - npm Package Compare versions

Comparing version 0.11.9 to 0.11.10

2

lib/agent.js

@@ -208,2 +208,3 @@ var hat = require('hat');

this.backend.agentsCount++;
if (!this.stream.isServer) this.backend.remoteAgentsCount++;

@@ -235,2 +236,3 @@ var agent = this;

agent.backend.agentsCount--;
if (!agent.stream.isServer) this.backend.remoteAgentsCount--;
agent._cleanup();

@@ -237,0 +239,0 @@ });

@@ -34,2 +34,3 @@ var async = require('async');

this.agentsCount = 0;
this.remoteAgentsCount = 0;
}

@@ -36,0 +37,0 @@ module.exports = Backend;

2

package.json
{
"name": "sharedb",
"version": "0.11.9",
"version": "0.11.10",
"description": "JSON OT database backend",

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

@@ -81,6 +81,6 @@ var expect = require('expect.js');

connection.close();
process.nextTick(function() {
setTimeout(function() {
expect(backend.agentsCount).equal(0);
done();
});
}, 10);
});

@@ -87,0 +87,0 @@ });

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