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

@jupyter/ydoc

Package Overview
Dependencies
Maintainers
12
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyter/ydoc - npm Package Compare versions

Comparing version 3.0.0-a1 to 3.0.0-a2

19

lib/ycell.js

@@ -116,3 +116,3 @@ /* -----------------------------------------------------------------------------

this._modelObserver = (events, transaction) => {
if (transaction.origin !== 'modeldb') {
if (transaction.origin !== 'silent-change') {
this._changed.emit(this.getChanges(events));

@@ -637,9 +637,8 @@ }

const newOutputs = [];
for (const output of outputs) {
let _newOutput;
const newOutput = new Y.Map();
for (const output of JSONExt.deepCopy(outputs)) {
let _newOutput1;
if (output.output_type === 'stream') {
// Set the text field as a Y.Text
const { text, ...outputWithoutText } = output;
_newOutput = outputWithoutText;
_newOutput1 = outputWithoutText;
const newText = new Y.Text();

@@ -652,10 +651,12 @@ let length = 0;

}
_newOutput['text'] = newText;
_newOutput1['text'] = newText;
}
else {
_newOutput = output;
_newOutput1 = output;
}
for (const [key, value] of Object.entries(_newOutput)) {
newOutput.set(key, value);
const _newOutput2 = [];
for (const [key, value] of Object.entries(_newOutput1)) {
_newOutput2.push([key, value]);
}
const newOutput = new Y.Map(_newOutput2);
newOutputs.push(newOutput);

@@ -662,0 +663,0 @@ }

{
"name": "@jupyter/ydoc",
"version": "3.0.0-a1",
"version": "3.0.0-a2",
"type": "module",

@@ -5,0 +5,0 @@ "description": "Jupyter document structures for collaborative editing using YJS",

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