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

yjs

Package Overview
Dependencies
Maintainers
1
Versions
286
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yjs - npm Package Compare versions

Comparing version 11.2.2 to 11.2.4

2

dist/bower.json
{
"name": "yjs",
"version": "11.2.2",
"version": "11.2.4",
"homepage": "y-js.org",

@@ -5,0 +5,0 @@ "authors": [

{
"name": "yjs",
"version": "11.2.2",
"version": "11.2.4",
"description": "A framework for real-time p2p shared editing on arbitrary complex data types",

@@ -5,0 +5,0 @@ "main": "./src/y.js",

@@ -373,9 +373,8 @@ /* @flow */

if (!isGarbageCollected) {
// TODO: reduce number of get / put calls for op ..
yield* Y.Struct[op.struct].execute.call(this, op)
yield* this.addOperation(op)
yield* this.store.operationAdded(this, op)
if (!Y.utils.compareIds(opid, op.id)) {
// operationAdded changed op
op = yield* this.getOperation(opid)
}
// operationAdded can change op..
op = yield* this.getOperation(opid)
// if insertion, try to combine with left

@@ -444,2 +443,3 @@ yield* this.tryCombineWithLeft(op)

var startId = op.id // You must not use op.id in the following loop, because op will change when deleted
// TODO: !! console.log('TODO: change this before commiting')
for (let i = 0; i < len; i++) {

@@ -446,0 +446,0 @@ var id = [startId[0], startId[1] + i]

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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