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

@@ -33,7 +33,7 @@ export class EncryptedMessageHandlerService {
private cipherService: CipherService,
private policyService: PolicyService,
private messagingService: MessagingService,
private passwordGenerationService: PasswordGenerationServiceAbstraction
private passwordGenerationService: PasswordGenerationServiceAbstraction,
) {}
async responseDataForCommand(commandData: DecryptedCommandData): Promise<MessageResponseData> {
@@ -95,12 +95,12 @@ export class EncryptedMessageHandlerService {
status: authStatus === AuthenticationStatus.Unlocked ? "unlocked" : "locked",
active: userId === activeUserId,
};
})
}),
);
}
private async credentialRetrievalCommandHandler(
payload: CredentialRetrievePayload
payload: CredentialRetrievePayload,
): Promise<CipherResponse[] | UserStatusErrorResponse> {
if (payload.uri == null) {
return [];
@@ -131,7 +131,7 @@ export class EncryptedMessageHandlerService {
}
private async credentialCreateCommandHandler(
payload: CredentialCreatePayload
payload: CredentialCreatePayload,
): Promise<SuccessStatusResponse | FailureStatusResponse | UserStatusErrorResponse> {
const userStatus = await this.checkUserStatus(payload.userId);
if (userStatus !== "valid") {
@@ -172,7 +172,7 @@ export class EncryptedMessageHandlerService {
}
private async credentialUpdateCommandHandler(
payload: CredentialUpdatePayload
payload: CredentialUpdatePayload,
): Promise<SuccessStatusResponse | FailureStatusResponse | UserStatusErrorResponse> {
const userStatus = await this.checkUserStatus(payload.userId);
if (userStatus !== "valid") {
@@ -191,7 +191,7 @@ export class EncryptedMessageHandlerService {
return { status: "failure" };
}
const cipherView = await cipher.decrypt(
await this.cipherService.getKeyForCipherKeyDecryption(cipher)
await this.cipherService.getKeyForCipherKeyDecryption(cipher),
);
cipherView.name = credentialUpdatePayload.name;
cipherView.login.password = credentialUpdatePayload.password;
@@ -213,7 +213,7 @@ export class EncryptedMessageHandlerService {
}
private async generateCommandHandler(
payload: PasswordGeneratePayload
payload: PasswordGeneratePayload,
): Promise<GenerateResponse | UserStatusErrorResponse> {
const userStatus = await this.checkUserStatus(payload.userId);
if (userStatus !== "valid") {