Socket
Socket
Sign inDemoInstall

@hocuspocus/server

Package Overview
Dependencies
Maintainers
5
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hocuspocus/server - npm Package Compare versions

Comparing version 2.8.0 to 2.8.1

8

package.json
{
"name": "@hocuspocus/server",
"description": "plug & play collaboration backend",
"version": "2.8.0",
"version": "2.8.1",
"homepage": "https://hocuspocus.dev",

@@ -32,3 +32,3 @@ "keywords": [

"dependencies": {
"@hocuspocus/common": "^2.8.0",
"@hocuspocus/common": "^2.8.1",
"async-lock": "^1.3.1",

@@ -46,6 +46,6 @@ "kleur": "^4.1.4",

"peerDependencies": {
"y-protocols": "^1.0.5",
"yjs": "^13.6.4"
"y-protocols": "^1.0.6",
"yjs": "^13.6.8"
},
"gitHead": "b3454a4ca289a84ddfb7fa5607a2d4b8d5c37e9d"
}

@@ -301,4 +301,4 @@ import { IncomingMessage } from 'http'

*/
destroy(): Promise<any> {
return new Promise(async resolve => {
async destroy(): Promise<any> {
await new Promise(async resolve => {

@@ -316,3 +316,6 @@ this.server?.httpServer?.close()

this.server?.webSocketServer?.close()
if (this.getDocumentsCount() === 0) resolve('')
this.closeConnections()
} catch (error) {

@@ -324,5 +327,5 @@ console.error(error)

await this.hooks('onDestroy', { instance: this })
})
await this.hooks('onDestroy', { instance: this })
}

@@ -329,0 +332,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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc