New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hocuspocus/extension-redis

Package Overview
Dependencies
Maintainers
7
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hocuspocus/extension-redis - npm Package Compare versions

Comparing version 2.15.1 to 2.15.2

2

dist/packages/provider/src/TiptapCollabProvider.d.ts

@@ -150,3 +150,3 @@ import type { AbstractType, YArrayEvent } from 'yjs';

*/
deleteComment(threadId: TCollabThread['id'], commentId: TCollabComment['id'], options: DeleteCommentOptions): TCollabThread | null | undefined;
deleteComment(threadId: TCollabThread['id'], commentId: TCollabComment['id'], options?: DeleteCommentOptions): TCollabThread | null | undefined;
/**

@@ -153,0 +153,0 @@ * Start watching threads for changes

@@ -53,6 +53,7 @@ /// <reference types="node" />

onDisconnect?(data: onDisconnectPayload): Promise<any>;
beforeUnloadDocument?(data: beforeUnloadDocumentPayload): Promise<any>;
afterUnloadDocument?(data: afterUnloadDocumentPayload): Promise<any>;
onDestroy?(data: onDestroyPayload): Promise<any>;
}
export type HookName = 'onConfigure' | 'onListen' | 'onUpgrade' | 'onConnect' | 'connected' | 'onAuthenticate' | 'onCreateDocument' | 'onLoadDocument' | 'afterLoadDocument' | 'beforeHandleMessage' | 'beforeBroadcastStateless' | 'onStateless' | 'onChange' | 'onStoreDocument' | 'afterStoreDocument' | 'onAwarenessUpdate' | 'onRequest' | 'onDisconnect' | 'afterUnloadDocument' | 'onDestroy';
export type HookName = 'onConfigure' | 'onListen' | 'onUpgrade' | 'onConnect' | 'connected' | 'onAuthenticate' | 'onCreateDocument' | 'onLoadDocument' | 'afterLoadDocument' | 'beforeHandleMessage' | 'beforeBroadcastStateless' | 'onStateless' | 'onChange' | 'onStoreDocument' | 'afterStoreDocument' | 'onAwarenessUpdate' | 'onRequest' | 'onDisconnect' | 'beforeUnloadDocument' | 'afterUnloadDocument' | 'onDestroy';
export type HookPayloadByName = {

@@ -78,2 +79,3 @@ onConfigure: onConfigurePayload;

afterUnloadDocument: afterUnloadDocumentPayload;
beforeUnloadDocument: beforeUnloadDocumentPayload;
onDestroy: onDestroyPayload;

@@ -315,2 +317,6 @@ };

}
export interface beforeUnloadDocumentPayload {
instance: Hocuspocus;
documentName: string;
}
export interface DirectConnection {

@@ -317,0 +323,0 @@ transact(transaction: (document: Document) => void): Promise<void>;

{
"name": "@hocuspocus/extension-redis",
"version": "2.15.1",
"version": "2.15.2",
"description": "Scale Hocuspocus horizontally with Redis",

@@ -36,3 +36,3 @@ "homepage": "https://hocuspocus.dev",

"dependencies": {
"@hocuspocus/server": "^2.15.1",
"@hocuspocus/server": "^2.15.2",
"ioredis": "^4.28.2",

@@ -39,0 +39,0 @@ "kleur": "^4.1.4",

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