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

@bangle.dev/collab-client

Package Overview
Dependencies
Maintainers
1
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bangle.dev/collab-client - npm Package Compare versions

Comparing version 0.20.0 to 0.21.0-alpha.1

5

__tests__/client.test.js

@@ -13,6 +13,5 @@ /**

import { CollabError } from '@bangle.dev/collab-server';
import { Selection } from '@bangle.dev/core/prosemirror/state';
import { Selection } from 'prosemirror-state';
import * as collab from '../collab-extension';
import { SpecRegistry } from '@bangle.dev/core/spec-registry';
import { components } from '@bangle.dev/core';
import { SpecRegistry, components } from '@bangle.dev/core';

@@ -19,0 +18,0 @@ const { paragraph, doc, text } = components;

2

__tests__/collab-test-helpers.js

@@ -16,3 +16,3 @@ /* istanbul ignore file */

} from '@bangle.dev/core/test-helpers/default-components';
import { SpecRegistry } from '@bangle.dev/core/spec-registry';
import { SpecRegistry } from '@bangle.dev/core';

@@ -19,0 +19,0 @@ const START = '💚';

@@ -5,5 +5,5 @@ /**

/** @jsx psx */
import { TextSelection } from '@bangle.dev/core/prosemirror/state';
import { TextSelection } from 'prosemirror-state';
import { psx } from '@bangle.dev/core/test-helpers/test-helpers';
import { sleep } from '@bangle.dev/core/utils/js-utils';
import { sleep } from '@bangle.dev/js-utils';
import {

@@ -10,0 +10,0 @@ setupDb,

import {
cancelablePromise,
CollabError,
GetDocument,
getIdleCallback,
PullEvents,
PushEvents,
serialExecuteQueue,
sleep,
uuid,
} from '@bangle.dev/collab-server';
import {
collab,
getVersion,
receiveTransaction,
getVersion,
sendableSteps,
} from 'prosemirror-collab';
import { Step } from 'prosemirror-transform';
import { Schema } from 'prosemirror-model';
import {

@@ -15,19 +26,8 @@ EditorState,

} from 'prosemirror-state';
import { Step } from 'prosemirror-transform';
import { EditorView } from 'prosemirror-view';
import StrictEventEmitter from 'strict-event-emitter-types';
import { Emitter } from '@bangle.dev/js-utils';
import { replaceDocument } from './helpers';
import StrictEventEmitter from 'strict-event-emitter-types';
import {
CollabError,
getIdleCallback,
sleep,
uuid,
cancelablePromise,
serialExecuteQueue,
PullEvents,
PushEvents,
GetDocument,
} from '@bangle.dev/collab-server';
import { Emitter } from './emitter';
import { Schema } from 'prosemirror-model';
type UnPromisify<T> = T extends Promise<infer U> ? U : T;

@@ -34,0 +34,0 @@ type CollabConnectionObj = {

@@ -0,4 +1,4 @@

import { CollabError, GetDocument, PullEvents, PushEvents } from '@bangle.dev/collab-server';
import { Schema } from 'prosemirror-model';
import { EditorState, Plugin, PluginKey } from 'prosemirror-state';
import { CollabError, PullEvents, PushEvents, GetDocument } from '@bangle.dev/collab-server';
import { Schema } from 'prosemirror-model';
export declare const spec: typeof specFactory;

@@ -5,0 +5,0 @@ export declare const plugins: typeof pluginsFactory;

@@ -1,7 +0,7 @@

import { collab, receiveTransaction, getVersion, sendableSteps, } from 'prosemirror-collab';
import { cancelablePromise, CollabError, getIdleCallback, serialExecuteQueue, sleep, uuid, } from '@bangle.dev/collab-server';
import { collab, getVersion, receiveTransaction, sendableSteps, } from 'prosemirror-collab';
import { Plugin, PluginKey, Selection, TextSelection, } from 'prosemirror-state';
import { Step } from 'prosemirror-transform';
import { Plugin, PluginKey, Selection, TextSelection, } from 'prosemirror-state';
import { Emitter } from '@bangle.dev/js-utils';
import { replaceDocument } from './helpers';
import { CollabError, getIdleCallback, sleep, uuid, cancelablePromise, serialExecuteQueue, } from '@bangle.dev/collab-server';
import { Emitter } from './emitter';
const LOG = false;

@@ -8,0 +8,0 @@ let log = LOG ? console.log.bind(console, 'collab/collab-extension') : () => { };

{
"name": "@bangle.dev/collab-client",
"version": "0.20.0",
"version": "0.21.0-alpha.1",
"homepage": "https://bangle.dev",

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

"devDependencies": {
"@bangle.dev/collab-server": "0.20.0",
"@bangle.dev/core": "0.20.0",
"@bangle.dev/disk": "0.20.0",
"@bangle.dev/collab-server": "0.21.0-alpha.1",
"@bangle.dev/core": "0.21.0-alpha.1",
"@bangle.dev/disk": "0.21.0-alpha.1",
"@types/jest": "^26.0.23",

@@ -55,2 +55,3 @@ "@types/node": "^15.12.2",

"dependencies": {
"@bangle.dev/js-utils": "0.21.0-alpha.1",
"localforage": "^1.9.0",

@@ -57,0 +58,0 @@ "prosemirror-collab": "^1.2.2",

Sorry, the diff of this file is not supported yet

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