From d9ce609365c0a6dfc2322bd9f5d029f859ba0801 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 23 Nov 2023 22:03:28 -0500 Subject: [PATCH] Upgrading deps. (#2233) Co-authored-by: SleeplessOne1917 --- package.json | 8 +- .../components/comment/comment-form.tsx | 4 +- .../components/comment/comment-node.tsx | 4 +- .../components/common/loading-ellipses.tsx | 2 +- src/shared/components/common/totp-modal.tsx | 4 +- .../components/community/communities.tsx | 5 +- src/shared/components/community/community.tsx | 5 +- src/shared/components/home/login.tsx | 4 +- .../person/registration-applications.tsx | 5 +- src/shared/components/person/reports.tsx | 5 +- src/shared/components/post/post.tsx | 5 +- src/shared/components/search.tsx | 5 +- src/shared/utils/env/get-external-host.ts | 4 +- yarn.lock | 3099 ++++++++++------- 14 files changed, 1821 insertions(+), 1338 deletions(-) diff --git a/package.json b/package.json index e1120954..bdc4ef8a 100644 --- a/package.json +++ b/package.json @@ -38,13 +38,13 @@ "@babel/plugin-proposal-decorators": "^7.21.5", "@babel/plugin-transform-runtime": "^7.21.5", "@babel/plugin-transform-typescript": "^7.21.5", - "@babel/preset-env": "7.21.5", + "@babel/preset-env": "^7.23.3", "@babel/preset-typescript": "^7.21.5", "@babel/runtime": "^7.21.5", "@emoji-mart/data": "^1.1.0", "@shortcm/qr-image": "^9.0.2", "autosize": "^6.0.1", - "babel-loader": "^9.1.2", + "babel-loader": "^9.1.3", "babel-plugin-inferno": "^6.6.0", "bootstrap": "^5.3.1", "check-password-strength": "^2.0.7", @@ -95,12 +95,12 @@ "tippy.js": "^6.3.7", "toastify-js": "^1.12.0", "tributejs": "^5.1.3", - "webpack": "5.88.2", + "webpack": "^5.89.0", "webpack-cli": "^5.1.4", "webpack-node-externals": "^3.0.0" }, "devDependencies": { - "@babel/core": "^7.21.5", + "@babel/core": "^7.23.3", "@babel/plugin-proposal-class-properties": "^7.18.6", "@types/autosize": "^4.0.0", "@types/bootstrap": "^5.2.6", diff --git a/src/shared/components/comment/comment-form.tsx b/src/shared/components/comment/comment-form.tsx index 86830740..bc05a6f8 100644 --- a/src/shared/components/comment/comment-form.tsx +++ b/src/shared/components/comment/comment-form.tsx @@ -79,8 +79,8 @@ export class CommentForm extends Component { return typeof this.props.node === "number" ? capitalizeFirstLetter(I18NextService.i18n.t("post")) : this.props.edit - ? capitalizeFirstLetter(I18NextService.i18n.t("save")) - : capitalizeFirstLetter(I18NextService.i18n.t("reply")); + ? capitalizeFirstLetter(I18NextService.i18n.t("save")) + : capitalizeFirstLetter(I18NextService.i18n.t("reply")); } handleCommentSubmit(content: string, language_id?: number) { diff --git a/src/shared/components/comment/comment-node.tsx b/src/shared/components/comment/comment-node.tsx index 09136f35..a5a8740a 100644 --- a/src/shared/components/comment/comment-node.tsx +++ b/src/shared/components/comment/comment-node.tsx @@ -1217,8 +1217,8 @@ export class CommentNode extends Component { return comment.removed ? `*${I18NextService.i18n.t("removed")}*` : comment.deleted - ? `*${I18NextService.i18n.t("deleted")}*` - : comment.content; + ? `*${I18NextService.i18n.t("deleted")}*` + : comment.content; } handleReplyClick(i: CommentNode) { diff --git a/src/shared/components/common/loading-ellipses.tsx b/src/shared/components/common/loading-ellipses.tsx index ba96101f..d33d1d22 100644 --- a/src/shared/components/common/loading-ellipses.tsx +++ b/src/shared/components/common/loading-ellipses.tsx @@ -8,7 +8,7 @@ export class LoadingEllipses extends Component { state: LoadingEllipsesState = { ellipses: "...", }; - #interval?: NodeJS.Timer; + #interval?: NodeJS.Timeout; constructor(props: any, context: any) { super(props, context); diff --git a/src/shared/components/common/totp-modal.tsx b/src/shared/components/common/totp-modal.tsx index 2ea968ef..e949b499 100644 --- a/src/shared/components/common/totp-modal.tsx +++ b/src/shared/components/common/totp-modal.tsx @@ -151,8 +151,8 @@ export default class TotpModal extends Component< type === "generate" ? "enable_totp" : type === "remove" - ? "disable_totp" - : "enter_totp_code", + ? "disable_totp" + : "enter_totp_code", )}