From e80ee2ec55e88ef23f48cbc02a279d479ba23a4d Mon Sep 17 00:00:00 2001 From: Daniel James Smith <2670567+djsmith85@users.noreply.github.com> Date: Thu, 21 Mar 2024 12:30:01 +0100 Subject: [PATCH] [PM-6195] Refactor injection of services in browser services module (#8405) * Remove PasswordStrengthService from popup/services.module * Remove ImportService from popup/services.module --------- Co-authored-by: Daniel James Smith --- apps/browser/src/popup/services/services.module.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/apps/browser/src/popup/services/services.module.ts b/apps/browser/src/popup/services/services.module.ts index 52de0303fa..5e080adf16 100644 --- a/apps/browser/src/popup/services/services.module.ts +++ b/apps/browser/src/popup/services/services.module.ts @@ -82,7 +82,6 @@ import { import { SearchService } from "@bitwarden/common/services/search.service"; import { PasswordGenerationServiceAbstraction } from "@bitwarden/common/tools/generator/password"; import { UsernameGenerationServiceAbstraction } from "@bitwarden/common/tools/generator/username"; -import { PasswordStrengthServiceAbstraction } from "@bitwarden/common/tools/password-strength"; import { SendApiService } from "@bitwarden/common/tools/send/services/send-api.service"; import { SendApiService as SendApiServiceAbstraction } from "@bitwarden/common/tools/send/services/send-api.service.abstraction"; import { @@ -96,7 +95,6 @@ import { FolderService as FolderServiceAbstraction } from "@bitwarden/common/vau import { SyncService } from "@bitwarden/common/vault/abstractions/sync/sync.service.abstraction"; import { TotpService } from "@bitwarden/common/vault/abstractions/totp.service"; import { DialogService } from "@bitwarden/components"; -import { ImportServiceAbstraction } from "@bitwarden/importer/core"; import { VaultExportServiceAbstraction } from "@bitwarden/vault-export-core"; import { UnauthGuardService } from "../../auth/popup/services"; @@ -292,11 +290,6 @@ function getBgService(service: keyof MainBackground) { }, deps: [DomSanitizer, ToastrService], }, - { - provide: PasswordStrengthServiceAbstraction, - useFactory: getBgService("passwordStrengthService"), - deps: [], - }, { provide: PasswordGenerationServiceAbstraction, useFactory: getBgService("passwordGenerationService"), @@ -350,11 +343,6 @@ function getBgService(service: keyof MainBackground) { useFactory: getBgService("autofillService"), deps: [], }, - { - provide: ImportServiceAbstraction, - useFactory: getBgService("importService"), - deps: [], - }, { provide: VaultExportServiceAbstraction, useFactory: getBgService("exportService"),