@vtj/utils 0.6.25 → 0.7.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.
package/types/crypto.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export declare function md5(content: string): string;
2
- export declare function RSA(key: string, content: string): string | false;
package/types/dayjs.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import dayjs from 'dayjs';
2
- export declare function dateFormat(date: string | number | Date, format?: string): string;
3
- export { dayjs };
@@ -1,3 +0,0 @@
1
- import numeral from 'numeral';
2
- export declare function numberFormat(value: number, format: string): string;
3
- export { numeral };
package/types/regex.d.ts DELETED
@@ -1,11 +0,0 @@
1
- export declare const URL_REGEX: RegExp;
2
- export declare const EMAIL_REGEX: RegExp;
3
- export declare const ID_NUMBER_REGEX: RegExp;
4
- export declare const MOBILE_PHONE_REGEX: RegExp;
5
- export declare const CAR_NUMBER_NEW_REGEX: RegExp;
6
- export declare const CAR_NUMBER_REGEX: RegExp;
7
- export declare function isUrl(str: string): boolean;
8
- export declare function isEmail(str: string): boolean;
9
- export declare function isIdNumber(str: string): boolean;
10
- export declare function isMobilePhone(str: string): boolean;
11
- export declare function isCarNo(str: string): boolean;
File without changes