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 4.0.4 to 4.0.5

19

lib/Document.js

@@ -105,4 +105,2 @@ /**

// XXX Detach link!
/**

@@ -119,3 +117,3 @@ * Attaches a link as master

link.on('close', function() {
link.on('finish', function() {
this.master = null

@@ -140,3 +138,3 @@ }.bind(this))

link.on('close', function onclose() {
link.on('finish', function onclose() {
this.slaves.splice(this.slaves.indexOf(link), 1)

@@ -169,5 +167,5 @@ }.bind(this))

}.bind(this))
link.on('close', function onclose() {
this.links.splice(this.links.indexOf(link), 1)
link.on('finish', function onclose() {
this.detachLink(link)
}.bind(this))

@@ -179,2 +177,9 @@

Document.prototype.detachLink = function(link) {
var idx
if(!~(idx = this.links.indexOf(link))) return;
this.links.splice(idx, 1)
link.reset()
}
Document.prototype.receiveRequestInit = function(link) {

@@ -181,0 +186,0 @@ if(!this.initialized) {

{
"name": "gulf",
"version": "4.0.4",
"version": "4.0.5",
"description": "transport-agnostic operational transformation control layer",

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

# Gulf [![Build Status](https://travis-ci.org/marcelklehr/gulf.png)](https://travis-ci.org/marcelklehr/gulf)
[![Join the chat at https://gitter.im/marcelklehr/gulf](https://badges.gitter.im/marcelklehr/gulf.svg)](https://gitter.im/marcelklehr/gulf?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
OT is too hard on you? The Gulf stream will sync your documents in real-time. Anywhere in the world, in node.js and the browser!

@@ -3,0 +5,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