1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +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

@@ -59,7 +59,7 @@ export class LastPassMultifactorPromptComponent {
constructor(
public dialogRef: DialogRef,
@Inject(DIALOG_DATA) protected data: LastPassMultifactorPromptData
@Inject(DIALOG_DATA) protected data: LastPassMultifactorPromptData,
) {}
submit = () => {

View File

@@ -56,7 +56,7 @@ export class ImportLastPassComponent implements OnInit, OnDestroy {
if (status === "PENDING") {
return this.i18nService.t("importingYourAccount");
}
})
}),
);
@Output() csvDataLoaded = new EventEmitter<string>();
@@ -66,7 +66,7 @@ export class ImportLastPassComponent implements OnInit, OnDestroy {
private controlContainer: ControlContainer,
private logService: LogService,
private lastPassDirectImportService: LastPassDirectImportService,
private i18nService: I18nService
private i18nService: I18nService,
) {}
ngOnInit(): void {
@@ -88,7 +88,7 @@ export class ImportLastPassComponent implements OnInit, OnDestroy {
try {
const csvData = await this.lastPassDirectImportService.handleImport(
this.formGroup.controls.email.value,
this.formGroup.controls.includeSharedFolders.value
this.formGroup.controls.includeSharedFolders.value,
);
this.csvDataLoaded.emit(csvData);
return null;

View File

@@ -41,7 +41,7 @@ export class LastPassDirectImportService {
private passwordGenerationService: PasswordGenerationServiceAbstraction,
private broadcasterService: BroadcasterService,
private ngZone: NgZone,
private dialogService: DialogService
private dialogService: DialogService,
) {
this.vault = new Vault(this.cryptoFunctionService, this.tokenService);
@@ -73,7 +73,7 @@ export class LastPassDirectImportService {
const csvData = await this.handleFederatedImport(
oidc.oidcCode,
oidc.oidcState,
includeSharedFolders
includeSharedFolders,
);
return csvData;
}
@@ -155,7 +155,7 @@ export class LastPassDirectImportService {
private async handleStandardImport(
email: string,
password: string,
includeSharedFolders: boolean
includeSharedFolders: boolean,
): Promise<string> {
const clientInfo = await this.createClientInfo(email);
await this.vault.open(email, password, clientInfo, this.lastPassDirectImportUIService, {
@@ -168,10 +168,10 @@ export class LastPassDirectImportService {
private async handleFederatedImport(
oidcCode: string,
oidcState: string,
includeSharedFolders: boolean
includeSharedFolders: boolean,
): Promise<string> {
const response = await this.oidcClient.processSigninResponse(
this.getOidcRedirectUrlWithParams(oidcCode, oidcState)
this.getOidcRedirectUrlWithParams(oidcCode, oidcState),
);
const userState = response.userState as any;