@karta.io/utils 0.33.3 → 0.33.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.
- package/dist/index.cjs +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -530,6 +530,8 @@ function useLogger(scope, options) {
|
|
|
530
530
|
}
|
|
531
531
|
|
|
532
532
|
function validatePhone(rule, value) {
|
|
533
|
+
if (!value)
|
|
534
|
+
return true;
|
|
533
535
|
const phoneNumber = libphonenumberJs.parsePhoneNumberFromString(value);
|
|
534
536
|
return phoneNumber ? phoneNumber.isValid() : false;
|
|
535
537
|
}
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@karta.io/utils",
|
|
3
|
-
"version": "0.33.
|
|
3
|
+
"version": "0.33.4",
|
|
4
4
|
"description": "karta.io utils for admin and application",
|
|
5
5
|
"author": "Vitaly Blokhin <karambafe@gmail.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"vue": "3.2.x"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@karta.io/common-data": "^0.33.
|
|
26
|
+
"@karta.io/common-data": "^0.33.4",
|
|
27
27
|
"@vueuse/core": "9.13.0",
|
|
28
28
|
"async-validator": "4.2.5",
|
|
29
29
|
"dayjs": "1.11.7",
|