util-helpers 4.12.0 → 4.12.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.
- package/dist/util-helpers.js +3 -0
- 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/index.js +5 -3
- package/esm/utils/config.js +2 -1
- package/lib/index.js +6 -0
- package/lib/utils/config.js +3 -1
- package/package.json +3 -1
- package/types/src/blobToDataURL.d.ts +25 -0
- package/types/src/bytesToSize.d.ts +24 -0
- package/types/src/calculateCursorPosition.d.ts +26 -0
- package/types/src/dataURLToBlob.d.ts +15 -0
- package/types/src/divide.d.ts +21 -0
- package/types/src/formatBankCard.d.ts +35 -0
- package/types/src/formatMobile.d.ts +27 -0
- package/types/src/formatMoney.d.ts +50 -0
- package/types/src/index.d.ts +45 -0
- package/types/src/isBankCard.d.ts +32 -0
- package/types/src/isBusinessLicense.d.ts +29 -0
- package/types/src/isChinese.d.ts +41 -0
- package/types/src/isEmail.d.ts +19 -0
- package/types/src/isHMCard.d.ts +24 -0
- package/types/src/isIPv4.d.ts +25 -0
- package/types/src/isIPv6.d.ts +50 -0
- package/types/src/isIdCard.d.ts +34 -0
- package/types/src/isMobile.d.ts +19 -0
- package/types/src/isPassport.d.ts +21 -0
- package/types/src/isPassword.d.ts +46 -0
- package/types/src/isPostcode.d.ts +19 -0
- package/types/src/isPromiseLike.d.ts +21 -0
- package/types/src/isQQ.d.ts +19 -0
- package/types/src/isSocialCreditCode.d.ts +31 -0
- package/types/src/isSwiftCode.d.ts +22 -0
- package/types/src/isTWCard.d.ts +23 -0
- package/types/src/isTelephone.d.ts +25 -0
- package/types/src/isUrl.d.ts +34 -0
- package/types/src/isVehicle.d.ts +29 -0
- package/types/src/isWX.d.ts +19 -0
- package/types/src/minus.d.ts +21 -0
- package/types/src/normalizeString.d.ts +22 -0
- package/types/src/numberToChinese.d.ts +57 -0
- package/types/src/padZero.d.ts +24 -0
- package/types/src/parseIdCard.d.ts +107 -0
- package/types/src/plus.d.ts +21 -0
- package/types/src/randomString.d.ts +19 -0
- package/types/src/replaceChar.d.ts +54 -0
- package/types/src/round.d.ts +22 -0
- package/types/src/safeDate.d.ts +22 -0
- package/types/src/setDataURLPrefix.d.ts +24 -0
- package/types/src/strlen.d.ts +20 -0
- package/types/src/times.d.ts +21 -0
- package/types/src/utils/config.d.ts +13 -0
- package/types/src/utils/constants.d.ts +2 -0
- package/types/src/utils/convertToString.d.ts +8 -0
- package/types/src/utils/devWarn.d.ts +7 -0
- package/types/src/utils/math.util.d.ts +63 -0
- package/types/src/utils/type/index.d.ts +19 -0
- package/types/src/utils/type/isArguments.d.ts +18 -0
- package/types/src/utils/type/isArray.d.ts +18 -0
- package/types/src/utils/type/isBoolean.d.ts +18 -0
- package/types/src/utils/type/isDate.d.ts +18 -0
- package/types/src/utils/type/isError.d.ts +18 -0
- package/types/src/utils/type/isFunction.d.ts +18 -0
- package/types/src/utils/type/isMap.d.ts +18 -0
- package/types/src/utils/type/isNaN.d.ts +18 -0
- package/types/src/utils/type/isNil.d.ts +11 -0
- package/types/src/utils/type/isNull.d.ts +18 -0
- package/types/src/utils/type/isNumber.d.ts +27 -0
- package/types/src/utils/type/isObject.d.ts +21 -0
- package/types/src/utils/type/isRegExp.d.ts +18 -0
- package/types/src/utils/type/isSet.d.ts +18 -0
- package/types/src/utils/type/isString.d.ts +18 -0
- package/types/src/utils/type/isSymbol.d.ts +18 -0
- package/types/src/utils/type/isType.d.ts +11 -0
- package/types/src/utils/type/isUndefined.d.ts +21 -0
- package/types/src/utils/type/isWeakMap.d.ts +18 -0
- package/types/src/utils/type/isWeakSet.d.ts +18 -0
- package/types/src/validatePassword.d.ts +134 -0
- package/types/src/waitTime.d.ts +20 -0
package/dist/util-helpers.js
CHANGED
|
@@ -562,6 +562,8 @@
|
|
|
562
562
|
return lastCode === checkCode;
|
|
563
563
|
}
|
|
564
564
|
|
|
565
|
+
const version = "4.12.1";
|
|
566
|
+
|
|
565
567
|
var config = {
|
|
566
568
|
// 禁用warning提示
|
|
567
569
|
disableWarning: true
|
|
@@ -3165,6 +3167,7 @@
|
|
|
3165
3167
|
exports.strlen = strlen;
|
|
3166
3168
|
exports.times = times;
|
|
3167
3169
|
exports.validatePassword = validatePassword;
|
|
3170
|
+
exports.version = version;
|
|
3168
3171
|
exports.waitTime = waitTime;
|
|
3169
3172
|
|
|
3170
3173
|
Object.defineProperty(exports, '__esModule', { value: true });
|