@purpurds/password-field 8.18.0 → 8.20.0

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.
@@ -1,4 +1,4 @@
1
- import { g as be } from "./password-field-rjwA_Jz0.mjs";
1
+ import { g as be } from "./password-field-BtkPLVY0.mjs";
2
2
  var Q, le;
3
3
  function ye() {
4
4
  if (le) return Q;
@@ -420,10 +420,8 @@ function oe() {
420
420
  symbols: 33
421
421
  }, i.regex_name in l)
422
422
  return Math.pow(l[i.regex_name], i.token.length);
423
- switch (i.regex_name) {
424
- case "recent_year":
425
- return h = Math.abs(parseInt(i.regex_match[0]) - this.REFERENCE_YEAR), h = Math.max(h, this.MIN_YEAR_SPACE), h;
426
- }
423
+ if (i.regex_name === "recent_year")
424
+ return h = Math.abs(parseInt(i.regex_match[0]) - this.REFERENCE_YEAR), h = Math.max(h, this.MIN_YEAR_SPACE), h;
427
425
  },
428
426
  date_guesses: function(i) {
429
427
  var l, h;
@@ -999,4 +997,4 @@ const je = /* @__PURE__ */ be(ze), qe = /* @__PURE__ */ Object.freeze(/* @__PURE
999
997
  export {
1000
998
  qe as m
1001
999
  };
1002
- //# sourceMappingURL=main-BR_vazIG.mjs.map
1000
+ //# sourceMappingURL=main-cIXswkZU.mjs.map