From de0c85ca334d06f042e685b8263a3261b8f8b055 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 6 Dec 2021 18:38:53 +0800 Subject: ... --- FrontEnd/package.json | 8 ++++---- FrontEnd/src/i18n.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/FrontEnd/package.json b/FrontEnd/package.json index 0e515302..6e4cd95d 100644 --- a/FrontEnd/package.json +++ b/FrontEnd/package.json @@ -6,7 +6,7 @@ "keywords": [], "description": "Timeline app.", "dependencies": { - "@microsoft/signalr": "^5.0.10", + "@microsoft/signalr": "^6.0.0", "@popperjs/core": "^2.10.2", "axios": "^0.24.0", "bootstrap": "^5.1.3", @@ -59,10 +59,10 @@ "@types/react-router-dom": "^5.3.2", "@types/react-transition-group": "^4.4.4", "@types/remarkable": "^2.0.3", - "@typescript-eslint/eslint-plugin": "^4.33.0", - "@typescript-eslint/parser": "^4.33.0", + "@typescript-eslint/eslint-plugin": "^5.5.0", + "@typescript-eslint/parser": "^5.5.0", "@vitejs/plugin-react-refresh": "^1.3.6", - "eslint": "^7.32.0", + "eslint": "^8.4.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-react": "^7.27.0", diff --git a/FrontEnd/src/i18n.ts b/FrontEnd/src/i18n.ts index 8caf51ec..5f71c7ea 100644 --- a/FrontEnd/src/i18n.ts +++ b/FrontEnd/src/i18n.ts @@ -51,7 +51,7 @@ export const i18nPromise = i18n fallbackLng: false, lowerCaseLng: true, - debug: process.env.NODE_ENV === "development", + debug: import.meta.env.DEV, interpolation: { escapeValue: false, // not needed for react!! -- cgit v1.2.3