From 048d8c417d9e46e34d1a954e6b67a8f1d4162bf2 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 17 Jul 2023 13:15:03 +0100 Subject: [PATCH] Remove redundant dependencies (#25814) --- package.json | 3 --- webpack.config.js | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/package.json b/package.json index 71e4035a6c..2dccdb8f1b 100644 --- a/package.json +++ b/package.json @@ -73,13 +73,11 @@ "@matrix-org/react-sdk-module-api": "^1.0.0", "gfm.css": "^1.1.2", "jsrsasign": "^10.5.25", - "katex": "^0.16.0", "matrix-js-sdk": "github:matrix-org/matrix-js-sdk#develop", "matrix-react-sdk": "github:matrix-org/matrix-react-sdk#develop", "matrix-widget-api": "^1.3.1", "react": "17.0.2", "react-dom": "17.0.2", - "sanitize-html": "^2.3.2", "ua-parser-js": "^1.0.0" }, "devDependencies": { @@ -112,7 +110,6 @@ "@types/node": "^16", "@types/react": "17.0.58", "@types/react-dom": "17.0.19", - "@types/sanitize-html": "^2.3.1", "@types/ua-parser-js": "^0.7.36", "@typescript-eslint/eslint-plugin": "^5.45.0", "@typescript-eslint/parser": "^5.45.0", diff --git a/webpack.config.js b/webpack.config.js index b77825e396..676fc300ea 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -216,8 +216,7 @@ module.exports = (env, argv) => { // Same goes for js/react-sdk - we don't need two copies. "matrix-js-sdk": path.resolve(__dirname, "node_modules/matrix-js-sdk"), "matrix-react-sdk": path.resolve(__dirname, "node_modules/matrix-react-sdk"), - // and sanitize-html & matrix-events-sdk & matrix-widget-api - "sanitize-html": path.resolve(__dirname, "node_modules/sanitize-html"), + // and matrix-events-sdk & matrix-widget-api "matrix-events-sdk": path.resolve(__dirname, "node_modules/matrix-events-sdk"), "matrix-widget-api": path.resolve(__dirname, "node_modules/matrix-widget-api"),