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

automerge-clocks

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

automerge-clocks - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

6

dist/index.js

@@ -49,2 +49,8 @@ "use strict";

function recentChanges(doc, theirClock) {
// This is a really common bug that happens when people incorrectly
// assume that something they got from the network is already converted
// into an immutable obj.
if (!immutable_1.isImmutable(theirClock)) {
throw new Error("theirClock is not an Immutable.js object, but it should be. You may be passing in a JSON map instead.");
}
const state = automerge_1.Frontend.getBackendState(doc);

@@ -51,0 +57,0 @@ // @ts-ignore because automerge has bad typings

2

package.json
{
"name": "automerge-clocks",
"version": "1.0.0",
"version": "1.1.0",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "author": "Evan Conrad",

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