From be374755bb73147bbcc327ad54bce72ae903c107 Mon Sep 17 00:00:00 2001 From: Gnuxie <50846879+Gnuxie@users.noreply.github.com> Date: Mon, 6 May 2024 13:51:44 +0100 Subject: [PATCH] Update to MPS 0.20.0. (#399) Part of https://github.com/the-draupnir-project/Draupnir/issues/380. We've updated typebox and changed the way events are decoded. --- package.json | 6 +++--- yarn.lock | 24 ++++++++++++------------ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index a65480f5..516e838c 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "dependencies": { "@sentry/node": "^7.17.2", "@sentry/tracing": "^7.17.2", - "@sinclair/typebox": "0.32.22", + "@sinclair/typebox": "0.32.29", "await-lock": "^2.2.2", "better-sqlite3": "^9.4.3", "body-parser": "^1.20.2", @@ -63,8 +63,8 @@ "js-yaml": "^4.1.0", "jsdom": "^24.0.0", "matrix-appservice-bridge": "^9.0.1", - "matrix-protection-suite": "npm:@gnuxie/matrix-protection-suite@0.19.1", - "matrix-protection-suite-for-matrix-bot-sdk": "npm:@gnuxie/matrix-protection-suite-for-matrix-bot-sdk@0.19.1", + "matrix-protection-suite": "npm:@gnuxie/matrix-protection-suite@0.20.0", + "matrix-protection-suite-for-matrix-bot-sdk": "npm:@gnuxie/matrix-protection-suite-for-matrix-bot-sdk@0.20.0", "parse-duration": "^1.0.2", "pg": "^8.8.0", "shell-quote": "^1.7.3", diff --git a/yarn.lock b/yarn.lock index d2109896..7264e8d4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -216,10 +216,10 @@ "@sentry/types" "7.22.0" tslib "^1.9.3" -"@sinclair/typebox@0.32.22": - version "0.32.22" - resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.32.22.tgz#209a323740911305b929d5ad960a21d19ba52cea" - integrity sha512-4uH8BLhNbptL2UkfS/a63tQ6uZGGZ4DT6zFq7ZkE+KQi7/56ZYkkWniAqz4bUr4cZGfoR83zRvSh39ZpH8DKDw== +"@sinclair/typebox@0.32.29": + version "0.32.29" + resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.32.29.tgz#35a31aac1078f14b722bd08086cea44fa73b206a" + integrity sha512-GWKskKPGQV0vVYizqCu0E1YLwGthvlkDqpRxB3iBuqxJ8dN/9n1cnDRSQHF59GMoxDJwzSgmxpU617SidtUnMw== "@sinclair/typebox@^0.27.8": version "0.27.8" @@ -2505,15 +2505,15 @@ matrix-appservice@^2.0.0: request-promise "^4.2.6" sanitize-html "^2.8.0" -"matrix-protection-suite-for-matrix-bot-sdk@npm:@gnuxie/matrix-protection-suite-for-matrix-bot-sdk@0.19.1": - version "0.19.1" - resolved "https://registry.yarnpkg.com/@gnuxie/matrix-protection-suite-for-matrix-bot-sdk/-/matrix-protection-suite-for-matrix-bot-sdk-0.19.1.tgz#ea785ec40661a032e975c5486031f88aa1c5a178" - integrity sha512-uacD/79/bMvn2KJH86wGQRbbeENyRPglw7oVx35Jui00zGdH6195pw50k2FIRHjEJE/fH4/PkNyeOPBykAr3IA== +"matrix-protection-suite-for-matrix-bot-sdk@npm:@gnuxie/matrix-protection-suite-for-matrix-bot-sdk@0.20.0": + version "0.20.0" + resolved "https://registry.yarnpkg.com/@gnuxie/matrix-protection-suite-for-matrix-bot-sdk/-/matrix-protection-suite-for-matrix-bot-sdk-0.20.0.tgz#c103fc6f66c14606c669f6e71de8049acf504b2b" + integrity sha512-HA85a64+2TqvgSY2us8wKBb7NoeAoeLBiIMf8btBVCJXppED+oiPxSdwsSy6nZmcWxgNUt1SEvlmhlUCm5EJGg== -"matrix-protection-suite@npm:@gnuxie/matrix-protection-suite@0.19.1": - version "0.19.1" - resolved "https://registry.yarnpkg.com/@gnuxie/matrix-protection-suite/-/matrix-protection-suite-0.19.1.tgz#3d66d5dd8c90626b36f7a989736bbea0ac6f729d" - integrity sha512-r6gFS3FSNVjCIYpwrDGriY2nqZg2tPnH1Ac56WXXHlv/48VNWvN4thGH+Oj1aZKktdYbhG1lcv/w7jGcGsSc1w== +"matrix-protection-suite@npm:@gnuxie/matrix-protection-suite@0.20.0": + version "0.20.0" + resolved "https://registry.yarnpkg.com/@gnuxie/matrix-protection-suite/-/matrix-protection-suite-0.20.0.tgz#a1ed3a7a2c1ac9bcda870d2c035f165ff2fe376d" + integrity sha512-CHGhyVfmG7Jn8SsxYlvqfFxs5Fyhv0fCP3RVht5pzhErYlvjsdphBRNrkzmq87kNBOJo9kGQ8HWFhxOaU5GCkA== dependencies: await-lock "^2.2.2" crypto-js "^4.2.0"