Socket
Socket
Sign inDemoInstall

@hocuspocus/server

Package Overview
Dependencies
Maintainers
4
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hocuspocus/server - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

7

dist/packages/extension-redis/src/Redis.d.ts

@@ -45,2 +45,7 @@ import RedisClient, { ClusterNode, ClusterOptions, RedisOptions } from 'ioredis';

lockTimeout: number;
/**
* A delay before onDisconnect is executed. This allows last minute updates'
* sync messages to be received by the subscription before it's closed.
*/
disconnectDelay: number;
}

@@ -107,3 +112,3 @@ export declare class Redis implements Extension {

*/
onDisconnect: ({ documentName, clientsCount }: onDisconnectPayload) => Promise<void>;
onDisconnect: ({ document, documentName }: onDisconnectPayload) => Promise<void>;
beforeBroadcastStateless(data: beforeBroadcastStatelessPayload): Promise<number>;

@@ -110,0 +115,0 @@ /**

@@ -80,2 +80,3 @@ import * as Y from 'yjs';

get hasUnsyncedChanges(): boolean;
updateUnsyncedChanges(unsyncedChanges?: number): void;
forceSync(): void;

@@ -82,0 +83,0 @@ boundBeforeUnload: () => void;

4

package.json
{
"name": "@hocuspocus/server",
"description": "plug & play collaboration backend",
"version": "2.0.2",
"version": "2.0.3",
"homepage": "https://hocuspocus.dev",

@@ -31,3 +31,3 @@ "keywords": [

"dependencies": {
"@hocuspocus/common": "^2.0.2",
"@hocuspocus/common": "^2.0.3",
"@types/async-lock": "^1.1.3",

@@ -34,0 +34,0 @@ "@types/uuid": "^9.0.0",

Sorry, the diff of this file is not supported yet

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

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