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
4
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 1.0.0-beta.6 to 1.0.0-beta.7

1

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

@@ -11,2 +11,3 @@ /// <reference types="node" />

port: number;
address: string;
timeout: number;

@@ -13,0 +14,0 @@ debounce: number;

16

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

@@ -33,6 +33,2 @@ /// <reference types="node" />

onAuthenticate?(data: onAuthenticatePayload): Promise<any>;
/**
* @deprecated onCreateDocument is deprecated, use onLoadDocument instead
*/
onCreateDocument?(data: onLoadDocumentPayload): Promise<any>;
onLoadDocument?(data: onLoadDocumentPayload): Promise<any>;

@@ -49,7 +45,3 @@ afterLoadDocument?(data: onLoadDocumentPayload): Promise<any>;

}
export declare type HookName = 'onConfigure' | 'onListen' | 'onUpgrade' | 'onConnect' | 'connected' | 'onAuthenticate' |
/**
* @deprecated onCreateDocument is deprecated, use onLoadDocument instead
*/
'onCreateDocument' | 'onLoadDocument' | 'afterLoadDocument' | 'beforeHandleMessage' | 'onChange' | 'onStoreDocument' | 'afterStoreDocument' | 'onAwarenessUpdate' | 'onRequest' | 'onDisconnect' | 'onDestroy';
export declare type HookName = 'onConfigure' | 'onListen' | 'onUpgrade' | 'onConnect' | 'connected' | 'onAuthenticate' | 'onLoadDocument' | 'afterLoadDocument' | 'beforeHandleMessage' | 'onChange' | 'onStoreDocument' | 'afterStoreDocument' | 'onAwarenessUpdate' | 'onRequest' | 'onDisconnect' | 'onDestroy';
export declare type HookPayload = onConfigurePayload | onListenPayload | onUpgradePayload | onConnectPayload | connectedPayload | onAuthenticatePayload | onLoadDocumentPayload | onChangePayload | onStoreDocumentPayload | afterStoreDocumentPayload | onAwarenessUpdatePayload | onRequestPayload | onDisconnectPayload | onDestroyPayload;

@@ -68,4 +60,8 @@ export interface Configuration extends Extension {

*/
port: number | null;
port?: number;
/**
* The address which the server listens on.
*/
address?: string;
/**
* Defines in which interval the server sends a ping, and closes the connection when no pong is sent back.

@@ -72,0 +68,0 @@ */

import { Hocuspocus, Configuration } from '@hocuspocus/server';
export declare const newHocuspocus: (options?: Partial<Configuration> | undefined) => Hocuspocus;
export declare const newHocuspocus: (options?: Partial<Configuration> | undefined) => Promise<Hocuspocus>;
{
"name": "@hocuspocus/extension-redis",
"version": "1.0.0-beta.6",
"version": "1.0.0-beta.7",
"description": "Scale Hocuspocus horizontally with Redis",

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

"dependencies": {
"@hocuspocus/server": "^1.0.0-beta.6",
"@hocuspocus/server": "^1.0.0-beta.7",
"ioredis": "^4.28.2",

@@ -41,3 +41,3 @@ "kleur": "^4.1.4",

"redlock": "^4.2.0",
"uuid": "^8.3.2"
"uuid": "^9.0.0"
},

@@ -44,0 +44,0 @@ "peerDependencies": {

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