Socket
Socket
Sign inDemoInstall

@jupyter/ydoc

Package Overview
Dependencies
Maintainers
7
Versions
32
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 0.3.0-a6 to 0.3.0

39

lib/api.d.ts

@@ -33,41 +33,2 @@ /**

/**
* A factory interface for creating `ISharedDocument` objects.
*/
export interface IFactory {
/**
* Create a new `ISharedDocument` instance.
*
* It should return `undefined` if the factory is not able to create a `ISharedDocument`.
*/
createNew(options: IFactory.IOptions): ISharedDocument | undefined;
}
/**
* The namespace for `IFactory`.
*/
export declare namespace IFactory {
/**
* The options used to instantiate a ISharedDocument
*/
interface IOptions {
/**
* The path of the file.
*/
path: string;
/**
* The format of the document.
*/
format: string;
/**
* The content type of the document.
*/
contentType: string;
/**
* Wether the document is collaborative or not.
*
* The default value is `true`.
*/
collaborative?: boolean;
}
}
/**
* ISharedBase defines common operations that can be performed on any shared object.

@@ -74,0 +35,0 @@ */

2

package.json
{
"name": "@jupyter/ydoc",
"version": "0.3.0-a6",
"version": "0.3.0",
"type": "module",

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

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