@hocuspocus/server
Advanced tools
Comparing version 2.11.3 to 2.12.0-rc.0
@@ -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/server", | ||
"description": "plug & play collaboration backend", | ||
"version": "2.11.3", | ||
"version": "2.12.0-rc.0", | ||
"homepage": "https://hocuspocus.dev", | ||
@@ -32,3 +32,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@hocuspocus/common": "^2.11.3", | ||
"@hocuspocus/common": "^2.12.0-rc.0", | ||
"async-lock": "^1.3.1", | ||
@@ -35,0 +35,0 @@ "kleur": "^4.1.4", |
@@ -10,3 +10,3 @@ # @hocuspocus/server | ||
## Offical Documentation | ||
## Official Documentation | ||
Documentation can be found in the [GitHub repository](https://github.com/ueberdosis/hocuspocus). | ||
@@ -13,0 +13,0 @@ |
@@ -287,3 +287,3 @@ import { IncomingMessage } from 'http' | ||
this.documents.forEach((document: Document) => { | ||
// If a documentName was specified, bail if it doesnt match | ||
// If a documentName was specified, bail if it doesn't match | ||
if (documentName && document.name !== documentName) { | ||
@@ -290,0 +290,0 @@ return |
@@ -107,3 +107,3 @@ import { | ||
/** | ||
* A list of hocuspocus extenions. | ||
* A list of hocuspocus extensions. | ||
*/ | ||
@@ -110,0 +110,0 @@ extensions: Array<Extension>, |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
811031
9574
1