1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 23:03:32 +00:00

[deps] Autofill: Update prettier to v3 (#7014)

* [deps] Autofill: Update prettier to v3

* prettier formatting updates

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Prusik <jprusik@classynemesis.com>
This commit is contained in:
renovate[bot]
2023-11-29 16:15:20 -05:00
committed by GitHub
parent 4ff5f38e89
commit 28de9439be
1145 changed files with 5898 additions and 5612 deletions

View File

@@ -87,7 +87,7 @@ export class ViewComponent implements OnDestroy, OnInit {
private logService: LogService,
protected stateService: StateService,
protected fileDownloadService: FileDownloadService,
protected dialogService: DialogService
protected dialogService: DialogService,
) {}
ngOnInit() {
@@ -115,7 +115,7 @@ export class ViewComponent implements OnDestroy, OnInit {
const cipher = await this.cipherService.get(this.cipherId);
this.cipher = await cipher.decrypt(
await this.cipherService.getKeyForCipherKeyDecryption(cipher)
await this.cipherService.getKeyForCipherKeyDecryption(cipher),
);
this.canAccessPremium = await this.stateService.getCanAccessPremium();
this.showPremiumRequiredTotp =
@@ -208,7 +208,7 @@ export class ViewComponent implements OnDestroy, OnInit {
this.platformUtilsService.showToast(
"success",
null,
this.i18nService.t(this.cipher.isDeleted ? "permanentlyDeletedItem" : "deletedItem")
this.i18nService.t(this.cipher.isDeleted ? "permanentlyDeletedItem" : "deletedItem"),
);
this.onDeletedCipher.emit(this.cipher);
} catch (e) {
@@ -244,7 +244,7 @@ export class ViewComponent implements OnDestroy, OnInit {
if (this.showPassword) {
this.eventCollectionService.collect(
EventType.Cipher_ClientToggledPasswordVisible,
this.cipherId
this.cipherId,
);
}
}
@@ -266,7 +266,7 @@ export class ViewComponent implements OnDestroy, OnInit {
if (this.showCardNumber) {
this.eventCollectionService.collect(
EventType.Cipher_ClientToggledCardNumberVisible,
this.cipherId
this.cipherId,
);
}
}
@@ -280,7 +280,7 @@ export class ViewComponent implements OnDestroy, OnInit {
if (this.showCardCode) {
this.eventCollectionService.collect(
EventType.Cipher_ClientToggledCardCodeVisible,
this.cipherId
this.cipherId,
);
}
}
@@ -301,7 +301,7 @@ export class ViewComponent implements OnDestroy, OnInit {
this.platformUtilsService.showToast(
"warning",
null,
this.i18nService.t("passwordExposed", matches.toString())
this.i18nService.t("passwordExposed", matches.toString()),
);
} else {
this.platformUtilsService.showToast("success", null, this.i18nService.t("passwordSafe"));
@@ -337,7 +337,7 @@ export class ViewComponent implements OnDestroy, OnInit {
this.platformUtilsService.showToast(
"info",
null,
this.i18nService.t("valueCopied", this.i18nService.t(typeI18nKey))
this.i18nService.t("valueCopied", this.i18nService.t(typeI18nKey)),
);
if (typeI18nKey === "password") {
@@ -368,7 +368,7 @@ export class ViewComponent implements OnDestroy, OnInit {
this.platformUtilsService.showToast(
"error",
this.i18nService.t("premiumRequired"),
this.i18nService.t("premiumRequiredDesc")
this.i18nService.t("premiumRequiredDesc"),
);
return;
}
@@ -377,7 +377,7 @@ export class ViewComponent implements OnDestroy, OnInit {
try {
const attachmentDownloadResponse = await this.apiService.getAttachmentData(
this.cipher.id,
attachment.id
attachment.id,
);
url = attachmentDownloadResponse.url;
} catch (e) {