diff --git a/packages/h5p-shared-state-server/package-lock.json b/packages/h5p-shared-state-server/package-lock.json index 6efa397b73..bc83b4ed6e 100644 --- a/packages/h5p-shared-state-server/package-lock.json +++ b/packages/h5p-shared-state-server/package-lock.json @@ -14,7 +14,7 @@ "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": { @@ -745,12 +745,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.0.2", + "resolved": "https://registry.npmjs.org/sharedb/-/sharedb-5.0.2.tgz", + "integrity": "sha512-kGB0wlORi7rnA47Lmu5rvy+Tyj/g8pka0+YDyGmjFFyFtSkcAKqqXW9ovkAtBg9vQX8O14ovQixbVn8JY/ExRg==", "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.5", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.5.tgz", + "integrity": "sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg==", "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 167fc0589f..d317a5c283 100644 --- a/packages/h5p-shared-state-server/package.json +++ b/packages/h5p-shared-state-server/package.json @@ -17,7 +17,7 @@ "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": {