util-helpers 4.23.5 → 4.23.6
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.
- package/dist/util-helpers.js +4 -4
- package/dist/util-helpers.js.map +1 -1
- package/dist/util-helpers.min.js +1 -1
- package/dist/util-helpers.min.js.map +1 -1
- package/esm/VERSION.js +1 -1
- package/esm/index.js +1 -1
- package/esm/parseIdCard.js +2 -2
- package/lib/VERSION.js +1 -1
- package/lib/index.js +1 -1
- package/lib/parseIdCard.js +2 -2
- package/package.json +1 -1
package/dist/util-helpers.js
CHANGED
|
@@ -1094,7 +1094,7 @@
|
|
|
1094
1094
|
return sizes[i] ? "".concat(Number((numBytes / Math.pow(k, i)).toFixed(precision))).concat(spaceMark).concat(sizes[i]) : numBytes + '';
|
|
1095
1095
|
}
|
|
1096
1096
|
|
|
1097
|
-
var regIdCard = /^(
|
|
1097
|
+
var regIdCard = /^(\d{2})(\d{2})(\d{2})((?:\d{2})?\d{2})(\d{2})(\d{2})\d{2}(\d)(?:\d|X)?$/i;
|
|
1098
1098
|
var Provinces = [
|
|
1099
1099
|
['11', '北京市'],
|
|
1100
1100
|
['12', '天津市'],
|
|
@@ -1137,7 +1137,7 @@
|
|
|
1137
1137
|
if (!match) {
|
|
1138
1138
|
return null;
|
|
1139
1139
|
}
|
|
1140
|
-
var origin =
|
|
1140
|
+
var origin = {
|
|
1141
1141
|
province: match[1],
|
|
1142
1142
|
city: match[2],
|
|
1143
1143
|
area: match[3],
|
|
@@ -2599,9 +2599,9 @@
|
|
|
2599
2599
|
return internalFindTreeSelect(tree, predicate, childrenField);
|
|
2600
2600
|
}
|
|
2601
2601
|
|
|
2602
|
-
var VERSION = "4.23.
|
|
2602
|
+
var VERSION = "4.23.6";
|
|
2603
2603
|
|
|
2604
|
-
var version = "4.23.
|
|
2604
|
+
var version = "4.23.6";
|
|
2605
2605
|
|
|
2606
2606
|
exports.AsyncMemo = AsyncMemo;
|
|
2607
2607
|
exports.VERSION = VERSION;
|