util-helpers 5.0.3 → 5.0.4

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.
@@ -1077,7 +1077,7 @@
1077
1077
  return sizes[i] ? "".concat(Number((numBytes / Math.pow(k, i)).toFixed(precision))).concat(spaceMark).concat(sizes[i]) : numBytes + '';
1078
1078
  }
1079
1079
 
1080
- var regIdCard = /^(?<province>\d{2})(?<city>\d{2})(?<area>\d{2})(?<year>(?:\d{2})?\d{2})(?<month>\d{2})(?<day>\d{2})\d{2}(?<gender>\d)(?:\d|X)?$/i;
1080
+ var regIdCard = /^(\d{2})(\d{2})(\d{2})((?:\d{2})?\d{2})(\d{2})(\d{2})\d{2}(\d)(?:\d|X)?$/i;
1081
1081
  var Provinces = [
1082
1082
  ['11', '北京市'],
1083
1083
  ['12', '天津市'],
@@ -1120,7 +1120,7 @@
1120
1120
  if (!match) {
1121
1121
  return null;
1122
1122
  }
1123
- var origin = match.groups || {
1123
+ var origin = {
1124
1124
  province: match[1],
1125
1125
  city: match[2],
1126
1126
  area: match[3],
@@ -2006,7 +2006,7 @@
2006
2006
  return internalFindTreeSelect(tree, predicate, childrenField);
2007
2007
  }
2008
2008
 
2009
- var VERSION = "5.0.3";
2009
+ var VERSION = "5.0.4";
2010
2010
 
2011
2011
  var EmitterPro = /** @class */ (function () {
2012
2012
  function EmitterPro() {