@lenne.tech/ng-base 14.13.0 → 14.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2438,7 +2438,6 @@ class FileService {
2438
2438
  */
2439
2439
  async upload(url, path, file, compressOptions) {
2440
2440
  return new Promise(async (resolve, reject) => {
2441
- console.log(url, path, compressOptions, file);
2442
2441
  if (compressOptions) {
2443
2442
  file = await this.compress(file, compressOptions);
2444
2443
  }
@@ -2558,7 +2557,7 @@ function fullEmail() {
2558
2557
 
2559
2558
  function securePasswordValidator() {
2560
2559
  return (control) => {
2561
- const PASSWORD_REGEX = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$/i;
2560
+ const PASSWORD_REGEX = /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{8,}$/i;
2562
2561
  return !PASSWORD_REGEX.test(control.value) ? { invalidSecurePassword: true } : null;
2563
2562
  };
2564
2563
  }