Socket
Socket
Sign inDemoInstall

@hocuspocus/common

Package Overview
Dependencies
Maintainers
0
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hocuspocus/common - npm Package Compare versions

Comparing version 2.13.4-rc.0 to 2.13.5-rc.0

4

dist/packages/server/src/Document.d.ts

@@ -20,3 +20,3 @@ import WebSocket from 'ws';

mux: mutex;
logger: Debugger;
logger?: Debugger;
isLoading: boolean;

@@ -27,3 +27,3 @@ isDestroyed: boolean;

*/
constructor(name: string, logger: Debugger, yDocOptions: {});
constructor(name: string, logger?: Debugger, yDocOptions?: {});
/**

@@ -30,0 +30,0 @@ * Check if the Document (XMLFragment or Map) is empty

@@ -11,4 +11,4 @@ import Connection from './Connection.js';

apply(document: Document, connection?: Connection, reply?: (message: Uint8Array) => void): void;
readSyncMessage(message: IncomingMessage, document: Document, connection?: Connection, reply?: (message: Uint8Array) => void, requestFirstSync?: boolean): 0 | 2 | 1;
readSyncMessage(message: IncomingMessage, document: Document, connection?: Connection, reply?: (message: Uint8Array) => void, requestFirstSync?: boolean): 0 | 1 | 2;
applyQueryAwarenessMessage(document: Document, reply?: (message: Uint8Array) => void): void;
}
{
"name": "@hocuspocus/common",
"description": "shared code for multiple Hocuspocus packages",
"version": "2.13.4-rc.0",
"version": "2.13.5-rc.0",
"homepage": "https://hocuspocus.dev",

@@ -6,0 +6,0 @@ "keywords": [

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