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

manymerge

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

manymerge - npm Package Compare versions

Comparing version 2.0.4 to 2.1.0

4

dist/hub.js

@@ -27,2 +27,6 @@ "use strict";

ourDoc = automerge_1.applyChanges(doc, msg.changes);
// We broadcast here for the other members of the hub
this.broadcastMsg({
clock: automerge_clocks_1.getClock(ourDoc)
});
}

@@ -29,0 +33,0 @@ // 2. If we have any changes to let them know about,

3

dist/hub.test.js

@@ -27,3 +27,4 @@ "use strict";

expect(hubSendMsg.mock.calls.length).toBe(0);
expect(hubBroadcastMsg.mock.calls.length).toBe(0);
// We should expect to broadcast our changes to other peers
expect(hubBroadcastMsg.mock.calls.length).toBe(1);
// We've stored this peer's current state

@@ -30,0 +31,0 @@ expect(hub._theirClocks.get("my-peer")).toEqual(automerge_clocks_1.getClock(newDoc));

{
"name": "manymerge",
"version": "2.0.4",
"version": "2.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