From f8b51be02c14a5a55d27844b832b9c965dd2a317 Mon Sep 17 00:00:00 2001 From: Nicolas Brichet Date: Tue, 29 Oct 2024 18:17:33 +0100 Subject: [PATCH] Update to jupyter collaboration 3 --- packages/jupyterlab-chat/package.json | 4 +- packages/jupyterlab-chat/src/widget.tsx | 2 +- packages/jupyterlab-chat/src/ychat.ts | 31 +++ python/jupyterlab-chat/package.json | 8 +- python/jupyterlab-chat/pyproject.toml | 2 +- python/jupyterlab-chat/src/index.ts | 2 +- yarn.lock | 297 ++---------------------- 7 files changed, 60 insertions(+), 286 deletions(-) diff --git a/packages/jupyterlab-chat/package.json b/packages/jupyterlab-chat/package.json index 70aecb7..498f20b 100644 --- a/packages/jupyterlab-chat/package.json +++ b/packages/jupyterlab-chat/package.json @@ -52,8 +52,8 @@ }, "dependencies": { "@jupyter/chat": "^0.6.2", - "@jupyter/docprovider": "^2.1.4", - "@jupyter/ydoc": "^1.1.1", + "@jupyter/collaborative-drive": "^3.0.0", + "@jupyter/ydoc": "^2.0.0 || ^3.0.0", "@jupyterlab/application": "^4.2.0", "@jupyterlab/apputils": "^4.3.0", "@jupyterlab/coreutils": "^6.2.0", diff --git a/packages/jupyterlab-chat/src/widget.tsx b/packages/jupyterlab-chat/src/widget.tsx index 488bcea..a0986b2 100644 --- a/packages/jupyterlab-chat/src/widget.tsx +++ b/packages/jupyterlab-chat/src/widget.tsx @@ -9,7 +9,7 @@ import { IChatModel, readIcon } from '@jupyter/chat'; -import { ICollaborativeDrive } from '@jupyter/docprovider'; +import { ICollaborativeDrive } from '@jupyter/collaborative-drive'; import { IThemeManager } from '@jupyterlab/apputils'; import { PathExt } from '@jupyterlab/coreutils'; import { DocumentWidget } from '@jupyterlab/docregistry'; diff --git a/packages/jupyterlab-chat/src/ychat.ts b/packages/jupyterlab-chat/src/ychat.ts index 19b3717..22aa68e 100644 --- a/packages/jupyterlab-chat/src/ychat.ts +++ b/packages/jupyterlab-chat/src/ychat.ts @@ -96,6 +96,37 @@ export class YChat extends YDocument { return JSONExt.deepCopy(this._messages.toJSON()); } + getSource(): JSONObject { + const users = this._users.toJSON(); + const messages = this._messages.toJSON(); + const metadata = this._metadata.toJSON(); + + return { users, messages, metadata }; + } + + setSource(value: JSONObject): void { + if (!value) { + return; + } + + this.transact(() => { + const messages = (value['messages'] as unknown as Array) ?? []; + messages.forEach(message => { + this._messages.push([message]); + }); + + const users = value['users'] ?? {}; + Object.entries(users).forEach(([key, val]) => + this._users.set(key, val as IUser) + ); + + const metadata = value['metadata'] ?? {}; + Object.entries(metadata).forEach(([key, val]) => + this._metadata.set(key, val as any) + ); + }); + } + getUser(username: string | undefined): IUser | undefined { if (!username) { return undefined; diff --git a/python/jupyterlab-chat/package.json b/python/jupyterlab-chat/package.json index 3f28bff..d886499 100644 --- a/python/jupyterlab-chat/package.json +++ b/python/jupyterlab-chat/package.json @@ -58,8 +58,8 @@ }, "dependencies": { "@jupyter-notebook/application": "^7.2.0", - "@jupyter/docprovider": "^2.1.4", - "@jupyter/ydoc": "^1.1.1", + "@jupyter/collaborative-drive": "^3.0.0", + "@jupyter/ydoc": "^2.0.0 || ^3.0.0", "@jupyterlab/application": "^4.2.0", "@jupyterlab/apputils": "^4.3.0", "@jupyterlab/coreutils": "^6.2.0", @@ -132,8 +132,8 @@ "bundled": true, "singleton": true }, - "@jupyter/docprovider": { - "bundled": true, + "@jupyter/collaborative-drive": { + "bundled": false, "singleton": true }, "jupyterlab-chat": { diff --git a/python/jupyterlab-chat/pyproject.toml b/python/jupyterlab-chat/pyproject.toml index 58146f9..384f810 100644 --- a/python/jupyterlab-chat/pyproject.toml +++ b/python/jupyterlab-chat/pyproject.toml @@ -27,7 +27,7 @@ classifiers = [ ] dependencies = [ "jupyterlab~=4.0", - "jupyter_collaboration>=2.1.4,<3", + "jupyter_collaboration>=3,<4", "jupyter_server>=2.0.1,<3", "jupyter_ydoc", "pycrdt" diff --git a/python/jupyterlab-chat/src/index.ts b/python/jupyterlab-chat/src/index.ts index 94a047e..a948f5a 100644 --- a/python/jupyterlab-chat/src/index.ts +++ b/python/jupyterlab-chat/src/index.ts @@ -17,7 +17,7 @@ import { import { ICollaborativeDrive, SharedDocumentFactory -} from '@jupyter/docprovider'; +} from '@jupyter/collaborative-drive'; import { ILayoutRestorer, JupyterFrontEnd, diff --git a/yarn.lock b/yarn.lock index 137b263..1007295 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2497,20 +2497,15 @@ __metadata: languageName: unknown linkType: soft -"@jupyter/docprovider@npm:^2.1.4": - version: 2.1.4 - resolution: "@jupyter/docprovider@npm:2.1.4" +"@jupyter/collaborative-drive@npm:^3.0.0": + version: 3.0.1 + resolution: "@jupyter/collaborative-drive@npm:3.0.1" dependencies: - "@jupyter/ydoc": ^1.1.0-a0 - "@jupyterlab/coreutils": ^6.0.5 - "@jupyterlab/services": ^7.0.5 + "@jupyter/ydoc": ^2.0.0 || ^3.0.0 + "@jupyterlab/services": ^7.2.0 "@lumino/coreutils": ^2.1.0 "@lumino/disposable": ^2.1.0 - "@lumino/signaling": ^2.1.0 - y-protocols: ^1.0.5 - y-websocket: ^1.3.15 - yjs: ^13.5.40 - checksum: 6553d1b76bc48ca20bc55548fe25b8bff75f6a3b2063232f50abdf731dad46dfb613166822f77063ee752f70c7b2173dc0e563102caeb63eb0e32516d01c64dc + checksum: 14ef4bdd8b190495b0fdf5607e25d9dd990b8000ce46f78b4403d806fa95893701dec39fd52cd834ba969f1fbfca0672da09bb955def851f5e5d5b6a2704cdac languageName: node linkType: hard @@ -2537,9 +2532,9 @@ __metadata: languageName: node linkType: hard -"@jupyter/ydoc@npm:^1.1.0-a0, @jupyter/ydoc@npm:^1.1.1": - version: 1.1.1 - resolution: "@jupyter/ydoc@npm:1.1.1" +"@jupyter/ydoc@npm:^2.0.0 || ^3.0.0": + version: 3.0.2 + resolution: "@jupyter/ydoc@npm:3.0.2" dependencies: "@jupyterlab/nbformat": ^3.0.0 || ^4.0.0-alpha.21 || ^4.0.0 "@lumino/coreutils": ^1.11.0 || ^2.0.0 @@ -2547,7 +2542,7 @@ __metadata: "@lumino/signaling": ^1.10.0 || ^2.0.0 y-protocols: ^1.0.5 yjs: ^13.5.40 - checksum: a239b1dd57cfc9ba36c06ac5032a1b6388849ae01a1d0db0d45094f71fdadf4d473b4bf8becbef0cfcdc85cae505361fbec0822b02da5aa48e06b66f742dd7a0 + checksum: 770f73459635c74bd0e5cacdca1ea1f77ee8efd6e7cd58f0ccbb167ae8374e73118620f4f3628646281160a7bc7389f374bd2106f1e799bdc8f78cad0ce05b28 languageName: node linkType: hard @@ -2779,7 +2774,7 @@ __metadata: languageName: node linkType: hard -"@jupyterlab/coreutils@npm:^6.0.5, @jupyterlab/coreutils@npm:^6.2.0, @jupyterlab/coreutils@npm:^6.2.3": +"@jupyterlab/coreutils@npm:^6.2.0, @jupyterlab/coreutils@npm:^6.2.3": version: 6.2.3 resolution: "@jupyterlab/coreutils@npm:6.2.3" dependencies: @@ -3108,7 +3103,7 @@ __metadata: languageName: node linkType: hard -"@jupyterlab/services@npm:^7.0.5, @jupyterlab/services@npm:^7.2.0, @jupyterlab/services@npm:^7.2.3": +"@jupyterlab/services@npm:^7.2.0, @jupyterlab/services@npm:^7.2.3": version: 7.2.3 resolution: "@jupyterlab/services@npm:7.2.3" dependencies: @@ -3635,7 +3630,7 @@ __metadata: languageName: node linkType: hard -"@lumino/signaling@npm:^1.10.0 || ^2.0.0, @lumino/signaling@npm:^2.0.0, @lumino/signaling@npm:^2.1.0, @lumino/signaling@npm:^2.1.2, @lumino/signaling@npm:^2.1.3": +"@lumino/signaling@npm:^1.10.0 || ^2.0.0, @lumino/signaling@npm:^2.0.0, @lumino/signaling@npm:^2.1.2, @lumino/signaling@npm:^2.1.3": version: 2.1.3 resolution: "@lumino/signaling@npm:2.1.3" dependencies: @@ -5207,32 +5202,6 @@ __metadata: languageName: node linkType: hard -"abstract-leveldown@npm:^6.2.1": - version: 6.3.0 - resolution: "abstract-leveldown@npm:6.3.0" - dependencies: - buffer: ^5.5.0 - immediate: ^3.2.3 - level-concat-iterator: ~2.0.0 - level-supports: ~1.0.0 - xtend: ~4.0.0 - checksum: 121a8509d8c6a540e656c2a69e5b8d853d4df71072011afefc868b98076991bb00120550e90643de9dc18889c675f62413409eeb4c8c204663124c7d215e4ec3 - languageName: node - linkType: hard - -"abstract-leveldown@npm:~6.2.1, abstract-leveldown@npm:~6.2.3": - version: 6.2.3 - resolution: "abstract-leveldown@npm:6.2.3" - dependencies: - buffer: ^5.5.0 - immediate: ^3.2.3 - level-concat-iterator: ~2.0.0 - level-supports: ~1.0.0 - xtend: ~4.0.0 - checksum: 00202b2eb7955dd7bc04f3e44d225e60160cedb8f96fe6ae0e6dca9c356d57071f001ece8ae1d53f48095c4c036d92b3440f2bc7666730610ddea030f9fbde4a - languageName: node - linkType: hard - "acorn-globals@npm:^7.0.0": version: 7.0.1 resolution: "acorn-globals@npm:7.0.1" @@ -5561,13 +5530,6 @@ __metadata: languageName: node linkType: hard -"async-limiter@npm:~1.0.0": - version: 1.0.1 - resolution: "async-limiter@npm:1.0.1" - checksum: 2b849695b465d93ad44c116220dee29a5aeb63adac16c1088983c339b0de57d76e82533e8e364a93a9f997f28bbfc6a92948cefc120652bd07f3b59f8d75cf2b - languageName: node - linkType: hard - "async@npm:^3.2.3": version: 3.2.5 resolution: "async@npm:3.2.5" @@ -5871,7 +5833,7 @@ __metadata: languageName: node linkType: hard -"buffer@npm:^5.5.0, buffer@npm:^5.6.0": +"buffer@npm:^5.5.0": version: 5.7.1 resolution: "buffer@npm:5.7.1" dependencies: @@ -6877,16 +6839,6 @@ __metadata: languageName: node linkType: hard -"deferred-leveldown@npm:~5.3.0": - version: 5.3.0 - resolution: "deferred-leveldown@npm:5.3.0" - dependencies: - abstract-leveldown: ~6.2.1 - inherits: ^2.0.3 - checksum: 5631e153528bb9de1aa60d59a5065d1a519374c5e4c1d486f2190dba4008dcf5c2ee8dd7f2f81396fc4d5a6bb6e7d0055e3dfe68afe00da02adaa3bf329addf7 - languageName: node - linkType: hard - "define-data-property@npm:^1.0.1, define-data-property@npm:^1.1.4": version: 1.1.4 resolution: "define-data-property@npm:1.1.4" @@ -7153,18 +7105,6 @@ __metadata: languageName: node linkType: hard -"encoding-down@npm:^6.3.0": - version: 6.3.0 - resolution: "encoding-down@npm:6.3.0" - dependencies: - abstract-leveldown: ^6.2.1 - inherits: ^2.0.3 - level-codec: ^9.0.0 - level-errors: ^2.0.0 - checksum: 74043e6d9061a470614ff61d708c849259ab32932a428fd5ddfb0878719804f56a52f59b31cccd95fddc2e636c0fd22dc3e02481fb98d5bf1bdbbbc44ca09bdc - languageName: node - linkType: hard - "encoding@npm:^0.1.13": version: 0.1.13 resolution: "encoding@npm:0.1.13" @@ -7232,17 +7172,6 @@ __metadata: languageName: node linkType: hard -"errno@npm:~0.1.1": - version: 0.1.8 - resolution: "errno@npm:0.1.8" - dependencies: - prr: ~1.0.1 - bin: - errno: cli.js - checksum: 1271f7b9fbb3bcbec76ffde932485d1e3561856d21d847ec613a9722ee924cdd4e523a62dc71a44174d91e898fe21fdc8d5b50823f4b5e0ce8c35c8271e6ef4a - languageName: node - linkType: hard - "error-ex@npm:^1.3.1": version: 1.3.2 resolution: "error-ex@npm:1.3.2" @@ -8726,13 +8655,6 @@ __metadata: languageName: node linkType: hard -"immediate@npm:^3.2.3": - version: 3.3.0 - resolution: "immediate@npm:3.3.0" - checksum: 634b4305101e2452eba6c07d485bf3e415995e533c94b9c3ffbc37026fa1be34def6e4f2276b0dc2162a3f91628564a4bfb26280278b89d3ee54624e854d2f5f - languageName: node - linkType: hard - "import-fresh@npm:^3.2.1, import-fresh@npm:^3.3.0": version: 3.3.0 resolution: "import-fresh@npm:3.3.0" @@ -10064,8 +9986,8 @@ __metadata: resolution: "jupyterlab-chat-extension@workspace:python/jupyterlab-chat" dependencies: "@jupyter-notebook/application": ^7.2.0 - "@jupyter/docprovider": ^2.1.4 - "@jupyter/ydoc": ^1.1.1 + "@jupyter/collaborative-drive": ^3.0.0 + "@jupyter/ydoc": ^2.0.0 || ^3.0.0 "@jupyterlab/application": ^4.2.0 "@jupyterlab/apputils": ^4.3.0 "@jupyterlab/builder": ^4.2.0 @@ -10115,8 +10037,8 @@ __metadata: resolution: "jupyterlab-chat@workspace:packages/jupyterlab-chat" dependencies: "@jupyter/chat": ^0.6.2 - "@jupyter/docprovider": ^2.1.4 - "@jupyter/ydoc": ^1.1.1 + "@jupyter/collaborative-drive": ^3.0.0 + "@jupyter/ydoc": ^2.0.0 || ^3.0.0 "@jupyterlab/application": ^4.2.0 "@jupyterlab/apputils": ^4.3.0 "@jupyterlab/coreutils": ^6.2.0 @@ -10292,109 +10214,6 @@ __metadata: languageName: node linkType: hard -"level-codec@npm:^9.0.0": - version: 9.0.2 - resolution: "level-codec@npm:9.0.2" - dependencies: - buffer: ^5.6.0 - checksum: 289003d51b8afcdd24c4d318606abf2bae81975e4b527d7349abfdbacc8fef26711f2f24e2d20da0e1dce0bb216a856c9433ccb9ca25fa78a96aed9f51e506ed - languageName: node - linkType: hard - -"level-concat-iterator@npm:~2.0.0": - version: 2.0.1 - resolution: "level-concat-iterator@npm:2.0.1" - checksum: 562583ef1292215f8e749c402510cb61c4d6fccf4541082b3d21dfa5ecde9fcccfe52bdcb5cfff9d2384e7ce5891f44df9439a6ddb39b0ffe31015600b4a828a - languageName: node - linkType: hard - -"level-errors@npm:^2.0.0, level-errors@npm:~2.0.0": - version: 2.0.1 - resolution: "level-errors@npm:2.0.1" - dependencies: - errno: ~0.1.1 - checksum: aca5d7670e2a40609db8d7743fce289bb5202c0bc13e4a78f81f36a6642e9abc0110f48087d3d3c2c04f023d70d4ee6f2db0e20c63d29b3fda323a67bfff6526 - languageName: node - linkType: hard - -"level-iterator-stream@npm:~4.0.0": - version: 4.0.2 - resolution: "level-iterator-stream@npm:4.0.2" - dependencies: - inherits: ^2.0.4 - readable-stream: ^3.4.0 - xtend: ^4.0.2 - checksum: 239e2c7e62bffb485ed696bcd3b98de7a2bc455d13be4fce175ae3544fe9cda81c2ed93d3e88b61380ae6d28cce02511862d77b86fb2ba5b5cf00471f3c1eccc - languageName: node - linkType: hard - -"level-js@npm:^5.0.0": - version: 5.0.2 - resolution: "level-js@npm:5.0.2" - dependencies: - abstract-leveldown: ~6.2.3 - buffer: ^5.5.0 - inherits: ^2.0.3 - ltgt: ^2.1.2 - checksum: 3c7f75979bb8c042e95a58245b8fe1230bb0f56a11ee418e08156e3eadda371efae6eb7b9bf10bf1e08e0b1b2a25d80c026858ca99ffd49109d6541e3d9d3b37 - languageName: node - linkType: hard - -"level-packager@npm:^5.1.0": - version: 5.1.1 - resolution: "level-packager@npm:5.1.1" - dependencies: - encoding-down: ^6.3.0 - levelup: ^4.3.2 - checksum: befe2aa54f2010a6ecf7ddce392c8dee225e1839205080a2704d75e560e28b01191b345494696196777b70d376e3eaae4c9e7c330cc70d3000839f5b18dd78f2 - languageName: node - linkType: hard - -"level-supports@npm:~1.0.0": - version: 1.0.1 - resolution: "level-supports@npm:1.0.1" - dependencies: - xtend: ^4.0.2 - checksum: 5d6bdb88cf00c3d9adcde970db06a548c72c5a94bf42c72f998b58341a105bfe2ea30d313ce1e84396b98cc9ddbc0a9bd94574955a86e929f73c986e10fc0df0 - languageName: node - linkType: hard - -"level@npm:^6.0.1": - version: 6.0.1 - resolution: "level@npm:6.0.1" - dependencies: - level-js: ^5.0.0 - level-packager: ^5.1.0 - leveldown: ^5.4.0 - checksum: bd4981f94162469a82a6c98d267d814d9d4a7beed4fc3d18fbe3b156f71cf4c6d35b424d14c46d401dbf0cd91425e842950a7cd17ddf7bf57acdab5af4c278da - languageName: node - linkType: hard - -"leveldown@npm:^5.4.0": - version: 5.6.0 - resolution: "leveldown@npm:5.6.0" - dependencies: - abstract-leveldown: ~6.2.1 - napi-macros: ~2.0.0 - node-gyp: latest - node-gyp-build: ~4.1.0 - checksum: 06d4683170d7fc661acd65457e531b42ad66480e9339d3154ba6d0de38ff0503d7d017c1c6eba12732b5488ecd2915c70c8dc3a7d67f4a836f3de34b8a993949 - languageName: node - linkType: hard - -"levelup@npm:^4.3.2": - version: 4.4.0 - resolution: "levelup@npm:4.4.0" - dependencies: - deferred-leveldown: ~5.3.0 - level-errors: ~2.0.0 - level-iterator-stream: ~4.0.0 - level-supports: ~1.0.0 - xtend: ~4.0.0 - checksum: 5a09e34c78cd7c23f9f6cb73563f1ebe8121ffc5f9f5f232242529d4fbdd40e8d1ffb337d2defa0b842334e0dbd4028fbfe7a072eebfe2c4d07174f0aa4aabca - languageName: node - linkType: hard - "leven@npm:^3.1.0": version: 3.1.0 resolution: "leven@npm:3.1.0" @@ -10412,7 +10231,7 @@ __metadata: languageName: node linkType: hard -"lib0@npm:^0.2.31, lib0@npm:^0.2.52, lib0@npm:^0.2.85, lib0@npm:^0.2.86": +"lib0@npm:^0.2.85, lib0@npm:^0.2.86": version: 0.2.94 resolution: "lib0@npm:0.2.94" dependencies: @@ -10666,13 +10485,6 @@ __metadata: languageName: node linkType: hard -"ltgt@npm:^2.1.2": - version: 2.2.1 - resolution: "ltgt@npm:2.2.1" - checksum: 7e3874296f7538bc8087b428ac4208008d7b76916354b34a08818ca7c83958c1df10ec427eeeaad895f6b81e41e24745b18d30f89abcc21d228b94f6961d50a2 - languageName: node - linkType: hard - "make-dir@npm:3.1.0": version: 3.1.0 resolution: "make-dir@npm:3.1.0" @@ -11218,13 +11030,6 @@ __metadata: languageName: node linkType: hard -"napi-macros@npm:~2.0.0": - version: 2.0.0 - resolution: "napi-macros@npm:2.0.0" - checksum: 30384819386977c1f82034757014163fa60ab3c5a538094f778d38788bebb52534966279956f796a92ea771c7f8ae072b975df65de910d051ffbdc927f62320c - languageName: node - linkType: hard - "natural-compare@npm:^1.4.0": version: 1.4.0 resolution: "natural-compare@npm:1.4.0" @@ -11301,17 +11106,6 @@ __metadata: languageName: node linkType: hard -"node-gyp-build@npm:~4.1.0": - version: 4.1.1 - resolution: "node-gyp-build@npm:4.1.1" - bin: - node-gyp-build: ./bin.js - node-gyp-build-optional: ./optional.js - node-gyp-build-test: ./build-test.js - checksum: 959d42221cc44b92700003efae741652bc4e379e4cf375830ddde03ba43c89f99694bf0883078ed0d4e03ffe2f85decab0572e04068d3900b8538d165dbc17df - languageName: node - linkType: hard - "node-gyp@npm:^9.0.0": version: 9.4.1 resolution: "node-gyp@npm:9.4.1" @@ -12529,13 +12323,6 @@ __metadata: languageName: node linkType: hard -"prr@npm:~1.0.1": - version: 1.0.1 - resolution: "prr@npm:1.0.1" - checksum: 3bca2db0479fd38f8c4c9439139b0c42dcaadcc2fbb7bb8e0e6afaa1383457f1d19aea9e5f961d5b080f1cfc05bfa1fe9e45c97a1d3fd6d421950a73d3108381 - languageName: node - linkType: hard - "psl@npm:^1.1.33": version: 1.9.0 resolution: "psl@npm:1.9.0" @@ -15318,15 +15105,6 @@ __metadata: languageName: node linkType: hard -"ws@npm:^6.2.1": - version: 6.2.3 - resolution: "ws@npm:6.2.3" - dependencies: - async-limiter: ~1.0.0 - checksum: bbc96ff5628832d80669a88fd117487bf070492dfaa50df77fa442a2b119792e772f4365521e0a8e025c0d51173c54fa91adab165c11b8e0674685fdd36844a5 - languageName: node - linkType: hard - "ws@npm:^8.11.0": version: 8.18.0 resolution: "ws@npm:8.18.0" @@ -15363,25 +15141,13 @@ __metadata: languageName: node linkType: hard -"xtend@npm:^4.0.1, xtend@npm:^4.0.2, xtend@npm:~4.0.0, xtend@npm:~4.0.1": +"xtend@npm:^4.0.1, xtend@npm:~4.0.1": version: 4.0.2 resolution: "xtend@npm:4.0.2" checksum: ac5dfa738b21f6e7f0dd6e65e1b3155036d68104e67e5d5d1bde74892e327d7e5636a076f625599dc394330a731861e87343ff184b0047fef1360a7ec0a5a36a languageName: node linkType: hard -"y-leveldb@npm:^0.1.0": - version: 0.1.2 - resolution: "y-leveldb@npm:0.1.2" - dependencies: - level: ^6.0.1 - lib0: ^0.2.31 - peerDependencies: - yjs: ^13.0.0 - checksum: 38e3293cfc5e754ba50af4c6bd03a96efde34c92809baf504b38cb4f45959187f896fe6971fa6a91823763e178807aaa14e190d1f7bea1b3a1e9b7265bb88b6d - languageName: node - linkType: hard - "y-protocols@npm:^1.0.5": version: 1.0.6 resolution: "y-protocols@npm:1.0.6" @@ -15393,29 +15159,6 @@ __metadata: languageName: node linkType: hard -"y-websocket@npm:^1.3.15": - version: 1.5.4 - resolution: "y-websocket@npm:1.5.4" - dependencies: - lib0: ^0.2.52 - lodash.debounce: ^4.0.8 - ws: ^6.2.1 - y-leveldb: ^0.1.0 - y-protocols: ^1.0.5 - peerDependencies: - yjs: ^13.5.6 - dependenciesMeta: - ws: - optional: true - y-leveldb: - optional: true - bin: - y-websocket: bin/server.js - y-websocket-server: bin/server.js - checksum: 4ab3f99cf5f3b2bb3dd12603bc85e7fc338c64636b0d2b654af16662b5600bdfa6fcaaeb4258e02b9a0dc7d90441728dc07874cf5f7eeeb837c27df53e72670f - languageName: node - linkType: hard - "y18n@npm:^5.0.5": version: 5.0.8 resolution: "y18n@npm:5.0.8"