Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hocuspocus/provider

Package Overview
Dependencies
Maintainers
5
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hocuspocus/provider - npm Package Compare versions

Comparing version 2.4.0-rc.1 to 2.4.0

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

5

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

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

boundClose: (event?: CloseEvent) => void;
boundHandleMessage: (data: Uint8Array) => void;
boundHandlePong: () => void;

@@ -68,6 +67,6 @@ handlePong(): void;

* Handle an incoming message
* @private
* @public
*/
private handleMessage;
handleMessage(data: Uint8Array): void;
}
export default Connection;

10

dist/packages/server/src/Hocuspocus.d.ts
/// <reference types="node" />
/// <reference types="node" />
import { Server as HTTPServer, IncomingMessage } from 'http';
import WebSocket, { AddressInfo, WebSocketServer } from 'ws';
import { IncomingMessage } from 'http';
import WebSocket, { AddressInfo } from 'ws';
import { Server as HocuspocusServer } from './Server';
import { Debugger } from './Debugger.js';

@@ -28,4 +29,3 @@ import { DirectConnection } from './DirectConnection.js';

documents: Map<string, Document>;
httpServer?: HTTPServer;
webSocketServer?: WebSocketServer;
server?: HocuspocusServer;
debugger: Debugger;

@@ -70,3 +70,3 @@ constructor(configuration?: Partial<Configuration>);

*
* … and if nothings fails it’ll fully establish the connection and
* … and if nothing fails it’ll fully establish the connection and
* load the Document then.

@@ -73,0 +73,0 @@ */

{
"name": "@hocuspocus/provider",
"version": "2.4.0-rc.1",
"version": "2.4.0",
"description": "hocuspocus provider",

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

"dependencies": {
"@hocuspocus/common": "^2.4.0-rc.1",
"@hocuspocus/common": "^2.4.0",
"@lifeomic/attempt": "^3.0.2",

@@ -35,0 +35,0 @@ "lib0": "^0.2.47",

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