Socket
Socket
Sign inDemoInstall

@hocuspocus/common

Package Overview
Dependencies
Maintainers
5
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.11.3 to 2.12.0-rc.0

2

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

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

* Make sure to *not* listen for further changes, when there’s
* noone connected anymore.
* no one connected anymore.
*/

@@ -116,0 +116,0 @@ onDisconnect: ({ documentName }: onDisconnectPayload) => Promise<void>;

@@ -1,3 +0,2 @@

import type { MessageEvent } from 'ws';
import { Event } from 'ws';
import { type MessageEvent, Event } from 'ws';
import EventEmitter from './EventEmitter.js';

@@ -38,3 +37,3 @@ import { HocuspocusProvider } from './HocuspocusProvider.js';

/**
* The intialDelay is the amount of time to wait before making the first attempt. This option should typically be 0 since you typically want the first attempt to happen immediately.
* The initialDelay is the amount of time to wait before making the first attempt. This option should typically be 0 since you typically want the first attempt to happen immediately.
*/

@@ -41,0 +40,0 @@ initialDelay: number;

@@ -116,3 +116,3 @@ import { Encoder } from 'lib0/encoding';

/**
* if changes havent been persisted to a version yet, we'll create one with the specified name,
* if changes haven't been persisted to a version yet, we'll create one with the specified name,
* expect when `false` is passed.

@@ -119,0 +119,0 @@ */

@@ -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 | 1 | 2;
readSyncMessage(message: IncomingMessage, document: Document, connection?: Connection, reply?: (message: Uint8Array) => void, requestFirstSync?: boolean): 0 | 2 | 1;
applyQueryAwarenessMessage(document: Document, reply?: (message: Uint8Array) => void): void;
}

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

/**
* A list of hocuspocus extenions.
* A list of hocuspocus extensions.
*/

@@ -86,0 +86,0 @@ extensions: Array<Extension>;

{
"name": "@hocuspocus/common",
"description": "shared code for multiple Hocuspocus packages",
"version": "2.11.3",
"version": "2.12.0-rc.0",
"homepage": "https://hocuspocus.dev",

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

@@ -10,3 +10,3 @@ # @hocuspocus/common

## Offical Documentation
## Official Documentation
Documentation can be found in the [GitHub repository](https://github.com/ueberdosis/hocuspocus).

@@ -13,0 +13,0 @@

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