mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
Move PasswordStrengthComponent to Tools (#7125)
* Moved password-strength component to Tools * Move zxcvbn into Tools ownership zxcvbn is the library currently used to calculate the password-strength --------- Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
5
.github/renovate.json
vendored
5
.github/renovate.json
vendored
@@ -79,7 +79,6 @@
|
|||||||
"matchPackageNames": [
|
"matchPackageNames": [
|
||||||
"@types/duo_web_sdk",
|
"@types/duo_web_sdk",
|
||||||
"@types/node-ipc",
|
"@types/node-ipc",
|
||||||
"@types/zxcvbn",
|
|
||||||
"duo_web_sdk",
|
"duo_web_sdk",
|
||||||
"node-ipc",
|
"node-ipc",
|
||||||
"qrious",
|
"qrious",
|
||||||
@@ -215,6 +214,7 @@
|
|||||||
"@microsoft/signalr-protocol-msgpack",
|
"@microsoft/signalr-protocol-msgpack",
|
||||||
"@types/jsdom",
|
"@types/jsdom",
|
||||||
"@types/papaparse",
|
"@types/papaparse",
|
||||||
|
"@types/zxcvbn",
|
||||||
"electron",
|
"electron",
|
||||||
"electron-builder",
|
"electron-builder",
|
||||||
"electron-log",
|
"electron-log",
|
||||||
@@ -225,7 +225,8 @@
|
|||||||
"jszip",
|
"jszip",
|
||||||
"oidc-client-ts",
|
"oidc-client-ts",
|
||||||
"papaparse",
|
"papaparse",
|
||||||
"utf-8-validate"
|
"utf-8-validate",
|
||||||
|
"zxcvbn"
|
||||||
],
|
],
|
||||||
"description": "Tools owned dependencies",
|
"description": "Tools owned dependencies",
|
||||||
"commitMessagePrefix": "[deps] Tools:",
|
"commitMessagePrefix": "[deps] Tools:",
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import {
|
|||||||
import { Subject, takeUntil } from "rxjs";
|
import { Subject, takeUntil } from "rxjs";
|
||||||
import zxcvbn from "zxcvbn";
|
import zxcvbn from "zxcvbn";
|
||||||
|
|
||||||
import { PasswordStrengthComponent } from "@bitwarden/angular/shared/components/password-strength/password-strength.component";
|
import { PasswordStrengthComponent } from "@bitwarden/angular/tools/password-strength/password-strength.component";
|
||||||
import { PolicyService } from "@bitwarden/common/admin-console/abstractions/policy/policy.service.abstraction";
|
import { PolicyService } from "@bitwarden/common/admin-console/abstractions/policy/policy.service.abstraction";
|
||||||
import { MasterPasswordPolicyOptions } from "@bitwarden/common/admin-console/models/domain/master-password-policy-options";
|
import { MasterPasswordPolicyOptions } from "@bitwarden/common/admin-console/models/domain/master-password-policy-options";
|
||||||
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import { MasterKey, UserKey } from "@bitwarden/common/platform/models/domain/sym
|
|||||||
import { PasswordGenerationServiceAbstraction } from "@bitwarden/common/tools/generator/password";
|
import { PasswordGenerationServiceAbstraction } from "@bitwarden/common/tools/generator/password";
|
||||||
import { DialogService } from "@bitwarden/components";
|
import { DialogService } from "@bitwarden/components";
|
||||||
|
|
||||||
import { PasswordColorText } from "../../shared/components/password-strength/password-strength.component";
|
import { PasswordColorText } from "../../tools/password-strength/password-strength.component";
|
||||||
|
|
||||||
@Directive()
|
@Directive()
|
||||||
export class ChangePasswordComponent implements OnInit, OnDestroy {
|
export class ChangePasswordComponent implements OnInit, OnDestroy {
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ import {
|
|||||||
AllValidationErrors,
|
AllValidationErrors,
|
||||||
FormValidationErrorsService,
|
FormValidationErrorsService,
|
||||||
} from "../../platform/abstractions/form-validation-errors.service";
|
} from "../../platform/abstractions/form-validation-errors.service";
|
||||||
import { PasswordColorText } from "../../shared/components/password-strength/password-strength.component";
|
import { PasswordColorText } from "../../tools/password-strength/password-strength.component";
|
||||||
import { InputsFieldMatch } from "../validators/inputs-field-match.validator";
|
import { InputsFieldMatch } from "../validators/inputs-field-match.validator";
|
||||||
|
|
||||||
import { CaptchaProtectedComponent } from "./captcha-protected.component";
|
import { CaptchaProtectedComponent } from "./captcha-protected.component";
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ import { UserTypePipe } from "./pipes/user-type.pipe";
|
|||||||
import { EllipsisPipe } from "./platform/pipes/ellipsis.pipe";
|
import { EllipsisPipe } from "./platform/pipes/ellipsis.pipe";
|
||||||
import { FingerprintPipe } from "./platform/pipes/fingerprint.pipe";
|
import { FingerprintPipe } from "./platform/pipes/fingerprint.pipe";
|
||||||
import { I18nPipe } from "./platform/pipes/i18n.pipe";
|
import { I18nPipe } from "./platform/pipes/i18n.pipe";
|
||||||
import { PasswordStrengthComponent } from "./shared/components/password-strength/password-strength.component";
|
|
||||||
import { ExportScopeCalloutComponent } from "./tools/export/components/export-scope-callout.component";
|
import { ExportScopeCalloutComponent } from "./tools/export/components/export-scope-callout.component";
|
||||||
|
import { PasswordStrengthComponent } from "./tools/password-strength/password-strength.component";
|
||||||
import { IconComponent } from "./vault/components/icon.component";
|
import { IconComponent } from "./vault/components/icon.component";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import { EncryptedExportType } from "@bitwarden/common/tools/enums/encrypted-exp
|
|||||||
import { DialogService } from "@bitwarden/components";
|
import { DialogService } from "@bitwarden/components";
|
||||||
import { VaultExportServiceAbstraction } from "@bitwarden/exporter/vault-export";
|
import { VaultExportServiceAbstraction } from "@bitwarden/exporter/vault-export";
|
||||||
|
|
||||||
import { PasswordStrengthComponent } from "../../../shared/components/password-strength/password-strength.component";
|
import { PasswordStrengthComponent } from "../../password-strength/password-strength.component";
|
||||||
|
|
||||||
@Directive()
|
@Directive()
|
||||||
export class ExportComponent implements OnInit, OnDestroy {
|
export class ExportComponent implements OnInit, OnDestroy {
|
||||||
|
|||||||
Reference in New Issue
Block a user