diff --git a/package.json b/package.json
index 7ad0175e..bcdb20c6 100644
--- a/package.json
+++ b/package.json
@@ -50,7 +50,7 @@
"clean-webpack-plugin": "^4.0.0",
"cookie": "^0.5.0",
"copy-webpack-plugin": "^11.0.0",
- "cross-fetch": "^3.1.5",
+ "cross-fetch": "^4.0.0",
"css-loader": "^6.7.3",
"date-fns": "^2.30.0",
"emoji-mart": "^5.4.0",
@@ -58,14 +58,14 @@
"express": "~4.18.2",
"history": "^5.3.0",
"html-to-text": "^9.0.5",
- "i18next": "^22.4.15",
- "inferno": "^8.1.1",
- "inferno-create-element": "^8.1.1",
+ "i18next": "^23.2.8",
+ "inferno": "^8.2.2",
+ "inferno-create-element": "^8.2.2",
"inferno-helmet": "^5.2.1",
- "inferno-hydrate": "^8.1.1",
+ "inferno-hydrate": "^8.2.2",
"inferno-i18next-dess": "0.0.2",
- "inferno-router": "^8.1.1",
- "inferno-server": "^8.1.1",
+ "inferno-router": "^8.2.2",
+ "inferno-server": "^8.2.2",
"jwt-decode": "^3.1.2",
"lemmy-js-client": "0.18.1",
"lodash.isequal": "^4.5.0",
@@ -81,17 +81,17 @@
"mini-css-extract-plugin": "^2.7.5",
"register-service-worker": "^1.7.2",
"run-node-webpack-plugin": "^1.3.0",
- "sanitize-html": "^2.10.0",
- "sass": "^1.62.1",
- "sass-loader": "^13.2.2",
+ "sanitize-html": "^2.11.0",
+ "sass": "^1.63.6",
+ "sass-loader": "^13.3.2",
"serialize-javascript": "^6.0.1",
"service-worker-webpack": "^1.0.0",
"sharp": "^0.32.1",
"tippy.js": "^6.3.7",
"toastify-js": "^1.12.0",
"tributejs": "^5.1.3",
- "webpack": "5.82.1",
- "webpack-cli": "^5.1.1",
+ "webpack": "5.88.1",
+ "webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0"
},
"devDependencies": {
@@ -104,32 +104,32 @@
"@types/lodash.isequal": "^4.5.6",
"@types/markdown-it": "^12.2.3",
"@types/markdown-it-container": "^2.0.5",
- "@types/node": "^20.1.2",
+ "@types/node": "^20.4.0",
"@types/path-browserify": "^1.0.0",
"@types/sanitize-html": "^2.9.0",
"@types/serialize-javascript": "^5.0.1",
"@types/toastify-js": "^1.11.1",
- "@typescript-eslint/eslint-plugin": "^5.59.5",
- "@typescript-eslint/parser": "^5.59.5",
- "eslint": "^8.40.0",
+ "@typescript-eslint/eslint-plugin": "^5.61.0",
+ "@typescript-eslint/parser": "^5.61.0",
+ "eslint": "^8.44.0",
"eslint-plugin-inferno": "^7.32.2",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"import-sort-style-module": "^6.0.0",
- "lint-staged": "^13.2.2",
+ "lint-staged": "^13.2.3",
"prettier": "^2.8.8",
"prettier-plugin-import-sort": "^0.0.7",
"prettier-plugin-organize-imports": "^3.2.2",
- "prettier-plugin-packagejson": "^2.4.3",
+ "prettier-plugin-packagejson": "^2.4.4",
"rimraf": "^5.0.0",
"sortpack": "^2.3.4",
"style-loader": "^3.3.2",
- "terser": "^5.17.3",
- "typescript": "^5.0.4",
+ "terser": "^5.18.2",
+ "typescript": "^5.1.6",
"typescript-language-server": "^3.3.2",
"webpack-bundle-analyzer": "^4.9.0",
- "webpack-dev-server": "4.15.0"
+ "webpack-dev-server": "4.15.1"
},
"packageManager": "yarn@1.22.19",
"engines": {
diff --git a/src/client/index.tsx b/src/client/index.tsx
index 2bdd948f..6978c9c3 100644
--- a/src/client/index.tsx
+++ b/src/client/index.tsx
@@ -1,8 +1,8 @@
import { initializeSite, setupDateFns } from "@utils/app";
import { hydrate } from "inferno-hydrate";
-import { Router } from "inferno-router";
+import { BrowserRouter } from "inferno-router";
import { App } from "../shared/components/app/app";
-import { HistoryService, UserService } from "../shared/services";
+import { UserService } from "../shared/services";
import "bootstrap/js/dist/collapse";
import "bootstrap/js/dist/dropdown";
@@ -13,9 +13,9 @@ async function startClient() {
await setupDateFns();
const wrapper = (
-