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.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 @@ */

@@ -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/provider",
"version": "2.11.3",
"version": "2.12.0-rc.0",
"description": "hocuspocus provider",

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

"dependencies": {
"@hocuspocus/common": "^2.11.3",
"@hocuspocus/common": "^2.12.0-rc.0",
"@lifeomic/attempt": "^3.0.2",

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

@@ -7,4 +7,3 @@ import {

import * as url from 'lib0/url'
import type { MessageEvent } from 'ws'
import { Event } from 'ws'
import { type MessageEvent, Event } from 'ws'
import EventEmitter from './EventEmitter.js'

@@ -54,3 +53,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.
*/

@@ -354,3 +353,3 @@ initialDelay: number,

// Init the WebSocket connection
const ws = new this.configuration.WebSocketPolyfill(this.url)
const ws = new this.configuration.WebSocketPolyfill(this.url, { followRedirects: true })
ws.binaryType = 'arraybuffer'

@@ -357,0 +356,0 @@ ws.identifier = this.identifier

@@ -146,3 +146,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.

@@ -149,0 +149,0 @@ */

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 too big to display

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