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

gulf

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulf - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

lib/EditableDocument.js

@@ -60,3 +60,3 @@ /**

// Merge into the queue for increased collab speed
if(false && this.master.queue.length == 1) {
if(this.master.queue.length == 1) {
var parent = this.master.queue[0].parent

@@ -102,3 +102,3 @@ , callback =this.master.queue[0].callback

this.master.queue.forEach(function(pendingEdit) {
incoming.transfromAgainst(pendingEdit)
incoming.transformAgainst(pendingEdit)
})

@@ -105,0 +105,0 @@

{
"name": "gulf",
"version": "2.0.0",
"version": "2.0.1",
"description": "transport-agnostic operational transformation control layer",

@@ -5,0 +5,0 @@ "repository": {

@@ -160,2 +160,8 @@ # Gulf [![Build Status](https://travis-ci.org/marcelklehr/gulf.png)](https://travis-ci.org/marcelklehr/gulf)

#### Event: init
Fired when the document has received an `init` message containing a snapshot, has reset the history and set the new contents.
#### Event: edit (edit:Edit)
Fired by `gulf.Document#dispatchEdit()` when an incoming edit has been approved by the master, has been sanitized applied to the document's contents
#### new gulf.Document(adapter, ottype)

@@ -206,2 +212,5 @@ Instantiates a new, empty Document.

#### Event: update (edit:Edit)
Fired when EditableDocument#update() has been called, but before the changes have been approved by the master. `edit` is the newly created Edit.
### Class: gulf.Edit

@@ -208,0 +217,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