Upgrading deps. (#2233)

Co-authored-by: SleeplessOne1917 <abias1122@gmail.com>
This commit is contained in:
Dessalines 2023-11-23 22:03:28 -05:00 committed by GitHub
parent c2bde493eb
commit d9ce609365
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 1821 additions and 1338 deletions

View File

@ -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",

View File

@ -8,7 +8,7 @@ export class LoadingEllipses extends Component<any, LoadingEllipsesState> {
state: LoadingEllipsesState = {
ellipses: "...",
};
#interval?: NodeJS.Timer;
#interval?: NodeJS.Timeout;
constructor(props: any, context: any) {
super(props, context);

View File

@ -319,9 +319,8 @@ export class Communities extends Component<any, CommunitiesState> {
};
return {
listCommunitiesResponse: await client.listCommunities(
listCommunitiesForm,
),
listCommunitiesResponse:
await client.listCommunities(listCommunitiesForm),
};
}

View File

@ -782,9 +782,8 @@ export class Community extends Component<
}
async handleTransferCommunity(form: TransferCommunity) {
const transferCommunityRes = await HttpService.client.transferCommunity(
form,
);
const transferCommunityRes =
await HttpService.client.transferCommunity(form);
toast(I18NextService.i18n.t("transfer_community"));
this.updateCommunityFull(transferCommunityRes);
}

View File

@ -235,9 +235,8 @@ export class RegistrationApplications extends Component<
}
async handleApproveApplication(form: ApproveRegistrationApplication) {
const approveRes = await HttpService.client.approveRegistrationApplication(
form,
);
const approveRes =
await HttpService.client.approveRegistrationApplication(form);
this.setState(s => {
if (s.appsRes.state === "success" && approveRes.state === "success") {
s.appsRes.data.registration_applications = editRegistrationApplication(

View File

@ -601,9 +601,8 @@ export class Reports extends Component<any, ReportsState> {
if (amAdmin()) {
this.setState({
messageReportsRes: await HttpService.client.listPrivateMessageReports(
form,
),
messageReportsRes:
await HttpService.client.listPrivateMessageReports(form),
});
}
}

View File

@ -906,9 +906,8 @@ export class Post extends Component<any, PostState> {
}
async handleTransferCommunity(form: TransferCommunity) {
const transferCommunityRes = await HttpService.client.transferCommunity(
form,
);
const transferCommunityRes =
await HttpService.client.transferCommunity(form);
this.updateCommunityFull(transferCommunityRes);
}

View File

@ -439,9 +439,8 @@ export class Search extends Component<any, SearchState> {
const resolveObjectForm: ResolveObject = {
q: query,
};
resolveObjectResponse = await HttpService.silent_client.resolveObject(
resolveObjectForm,
);
resolveObjectResponse =
await HttpService.silent_client.resolveObject(resolveObjectForm);
// If we return this object with a state of failed, the catch-all-handler will redirect
// to an error page, so we ignore it by covering up the error with the empty state.

3099
yarn.lock

File diff suppressed because it is too large Load Diff