Socket
Socket
Sign inDemoInstall

@hocuspocus/common

Package Overview
Dependencies
Maintainers
4
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.0.3 to 2.0.4

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

11

dist/hocuspocus-common.esm.js

@@ -684,2 +684,11 @@ /**

/**
* The server is terminating the connection because a data frame was received
* that is too large.
* See: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/code
*/
const MessageTooBig = {
code: 1009,
reason: 'Message Too Big',
};
/**
* The server successfully processed the request, asks that the requester reset

@@ -737,3 +746,3 @@ * its document view, and is not returning any content.

export { ConnectionTimeout, Forbidden, ResetConnection, Unauthorized, WsReadyStates, awarenessStatesToArray, readAuthMessage, writeAuthenticated, writeAuthentication, writePermissionDenied };
export { ConnectionTimeout, Forbidden, MessageTooBig, ResetConnection, Unauthorized, WsReadyStates, awarenessStatesToArray, readAuthMessage, writeAuthenticated, writeAuthentication, writePermissionDenied };
//# sourceMappingURL=hocuspocus-common.esm.js.map

@@ -6,2 +6,8 @@ export interface CloseEvent {

/**
* The server is terminating the connection because a data frame was received
* that is too large.
* See: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/code
*/
export declare const MessageTooBig: CloseEvent;
/**
* The server successfully processed the request, asks that the requester reset

@@ -8,0 +14,0 @@ * its document view, and is not returning any content.

export * from './HocuspocusProvider';
export * from './TiptapCollabProvider';
export * from './TiptapCollabProviderWebsocket';
export * from './HocuspocusProviderWebsocket';
export * from './types';

2

package.json
{
"name": "@hocuspocus/common",
"description": "shared code for multiple Hocuspocus packages",
"version": "2.0.3",
"version": "2.0.4",
"homepage": "https://hocuspocus.dev",

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

@@ -7,2 +7,12 @@ export interface CloseEvent {

/**
* The server is terminating the connection because a data frame was received
* that is too large.
* See: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent/code
*/
export const MessageTooBig: CloseEvent = {
code: 1009,
reason: 'Message Too Big',
}
/**
* The server successfully processed the request, asks that the requester reset

@@ -9,0 +19,0 @@ * its document view, and is not returning any content.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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