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.20 to 0.11.21

6

lib/client/doc.js

@@ -158,3 +158,3 @@ var emitter = require('../emitter');

// ingested snapshot and need ops in order to update the document
if (this.type || this.hasWritePending()) {
if (this.type) {
// The version should only be null on a created document when it was

@@ -182,2 +182,6 @@ // created locally without fetching

// Ignore the snapshot if we are already at a newer version. Under no
// circumstance should we ever set the current version backward
if (this.version > snapshot.v) return callback && callback();
this.version = snapshot.v;

@@ -184,0 +188,0 @@ this.data = snapshot.data;

2

package.json
{
"name": "sharedb",
"version": "0.11.20",
"version": "0.11.21",
"description": "JSON OT database backend",

@@ -5,0 +5,0 @@ "main": "lib/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