From 262a6b16b16c926347ef013da9f4ab82db1a7e7b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 00:29:11 +0000 Subject: [PATCH] fix(deps): update dependency sharedb to v5 --- .../h5p-shared-state-server/package-lock.json | 45 +++++++------------ packages/h5p-shared-state-server/package.json | 4 +- 2 files changed, 17 insertions(+), 32 deletions(-) diff --git a/packages/h5p-shared-state-server/package-lock.json b/packages/h5p-shared-state-server/package-lock.json index b055368ec..705aba467 100644 --- a/packages/h5p-shared-state-server/package-lock.json +++ b/packages/h5p-shared-state-server/package-lock.json @@ -14,11 +14,11 @@ "ajv": "^8.12.0", "debug": "^4.3.4", "jsonpath-plus": "^7.2.0", - "sharedb": "^3.3.1", + "sharedb": "^5.0.0", "ws": "^8.13.0" }, "devDependencies": { - "@types/sharedb": "3.3.12", + "@types/sharedb": "5.1.0", "@types/ws": "8.5.12" } }, @@ -71,9 +71,9 @@ } }, "node_modules/@types/sharedb": { - "version": "3.3.12", - "resolved": "https://registry.npmjs.org/@types/sharedb/-/sharedb-3.3.12.tgz", - "integrity": "sha512-YhdqkvX3xiswt9sinfD3P7LOLMz5pg65o3VNP9wsW63E0tiYWm2gA+kSTNb8NmF+qm7EY5KRQNLpr0h71BcA4g==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@types/sharedb/-/sharedb-5.1.0.tgz", + "integrity": "sha512-vf/hxO31h+92S/HAVdIIwB/rSIF1vp/8ryjP/QWriJrwqvET5vgtp3hfVz4fGELSE3WKkcaXP1TtHFAui20utg==", "dev": true, "license": "MIT" }, @@ -751,12 +751,6 @@ "node": ">= 0.8.0" } }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "license": "MIT" - }, "node_modules/lodash.clonedeep": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", @@ -995,31 +989,22 @@ } }, "node_modules/sharedb": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/sharedb/-/sharedb-3.3.2.tgz", - "integrity": "sha512-ZEjuPPeIXjpDmED+ByXCdLmPQRnkFFIMxvSKzLOlHxbCesL3h55BGdruP2ZmMCo+btLf/DJRkg7X4NaxM17mzw==", + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/sharedb/-/sharedb-5.1.1.tgz", + "integrity": "sha512-qNiO2nJdvnQYRvKMiZzbPyyXuBN0uulP4VaFrybJRLVSif8XPEnNO7Up/aHO3nwA5UejizzncOL8KVba4Rj4KA==", "license": "MIT", "dependencies": { - "arraydiff": "^0.1.1", - "async": "^2.6.3", - "fast-deep-equal": "^2.0.1", + "arraydiff": "^0.1.3", + "async": "^3.2.4", + "fast-deep-equal": "^3.1.3", "hat": "0.0.3", - "ot-json0": "^1.0.1" + "ot-json0": "^1.1.0" } }, "node_modules/sharedb/node_modules/async": { - "version": "2.6.4", - "resolved": "https://registry.npmjs.org/async/-/async-2.6.4.tgz", - "integrity": "sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==", - "license": "MIT", - "dependencies": { - "lodash": "^4.17.14" - } - }, - "node_modules/sharedb/node_modules/fast-deep-equal": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz", - "integrity": "sha512-bCK/2Z4zLidyB4ReuIsvALH6w31YfAQDmXMqMx6FyfHqvBxtjC0eRumeSu4Bs3XtXwpyIywtSTrVT99BxY1f9w==", + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", "license": "MIT" }, "node_modules/side-channel": { diff --git a/packages/h5p-shared-state-server/package.json b/packages/h5p-shared-state-server/package.json index 3a791d62f..43a4ca487 100644 --- a/packages/h5p-shared-state-server/package.json +++ b/packages/h5p-shared-state-server/package.json @@ -17,11 +17,11 @@ "ajv": "^8.12.0", "debug": "^4.3.4", "jsonpath-plus": "^7.2.0", - "sharedb": "^3.3.1", + "sharedb": "^5.0.0", "ws": "^8.13.0" }, "devDependencies": { - "@types/sharedb": "3.3.12", + "@types/sharedb": "5.1.0", "@types/ws": "8.5.12" }, "publishConfig": {