From d0d3244503c326d73f196155b03e29d1cfbd2568 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 21 Jan 2021 15:53:07 -0800 Subject: [PATCH] fix: Memory leak with old versions of yjs Versions of yjs prior to `13.4.6` did not emit a `"destroy"` event when a doc is destroyed, meaning that doc's in the websocket servers memory are not correctly cleaned up. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d7d8f32..5dd2b2f 100644 --- a/package.json +++ b/package.json @@ -54,10 +54,10 @@ "rollup-cli": "^1.0.9", "standard": "^12.0.1", "typescript": "^3.9.6", - "yjs": "^13.4.1" + "yjs": "^13.4.6" }, "peerDependenies": { - "yjs": "^13.0.0" + "yjs": "^13.4.6" }, "optionalDependencies": { "ws": "^6.2.1",