mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-16 01:40:15 +08:00
build(dashboard): upgrade lodash-es to 4.18.1 in overrides to fix security vulnerabilities
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
"overrides": {
|
||||
"flatted": "3.4.2",
|
||||
"immutable": "4.3.8",
|
||||
"lodash-es": "4.17.23",
|
||||
"lodash-es": "4.18.1",
|
||||
"minimatch": "3.1.4",
|
||||
"dompurify": "^3.3.3"
|
||||
}
|
||||
|
||||
@@ -121,9 +121,15 @@ const passwordRules = computed(() => [
|
||||
(v: string) =>
|
||||
v.length >= 12 ||
|
||||
t("core.header.accountDialog.validation.passwordMinLength"),
|
||||
(v: string) => /[A-Z]/.test(v) || t("core.header.accountDialog.validation.passwordUppercase"),
|
||||
(v: string) => /[a-z]/.test(v) || t("core.header.accountDialog.validation.passwordLowercase"),
|
||||
(v: string) => /\d/.test(v) || t("core.header.accountDialog.validation.passwordDigit")
|
||||
(v: string) =>
|
||||
/[A-Z]/.test(v) ||
|
||||
t("core.header.accountDialog.validation.passwordUppercase"),
|
||||
(v: string) =>
|
||||
/[a-z]/.test(v) ||
|
||||
t("core.header.accountDialog.validation.passwordLowercase"),
|
||||
(v: string) =>
|
||||
/\d/.test(v) ||
|
||||
t("core.header.accountDialog.validation.passwordDigit"),
|
||||
]);
|
||||
const confirmPasswordRules = computed(() => [
|
||||
(v: string) =>
|
||||
|
||||
Reference in New Issue
Block a user