frontello-datas-format
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -22,3 +22,3 @@ "use strict"; | ||
case 10: | ||
phone = phone.replace('/^(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})$/', '$1 $2 $3 $4 $5'); | ||
phone = phone.replace(/^(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})$/, '$1 $2 $3 $4 $5'); | ||
@@ -28,3 +28,3 @@ break; | ||
case 11: | ||
phone = phone.replace('/^(\d{3})(\d{2})(\d{2})(\d{2})(\d{2})$/', '$1 $2 $3 $4 $5'); | ||
phone = phone.replace(/^(\d{3})(\d{2})(\d{2})(\d{2})(\d{2})$/, '$1 $2 $3 $4 $5'); | ||
@@ -34,3 +34,3 @@ break; | ||
case 12: | ||
phone = phone.replace('/^(\d{2})(\d{3})(\d{3})(\d{3})$/', '$1 $2 $3 $4'); | ||
phone = phone.replace(/^(\d{2})(\d{3})(\d{3})(\d{3})$/, '$1 $2 $3 $4'); | ||
@@ -40,3 +40,3 @@ break; | ||
case 13: | ||
phone = phone.replace('/^(\+\d{2})(\d{3})(\d{3})(\d{3})$/', '$1 $2 $3 $4'); | ||
phone = phone.replace(/^(\+\d{2})(\d{3})(\d{3})(\d{3})$/, '$1 $2 $3 $4'); | ||
@@ -43,0 +43,0 @@ break; |
{ | ||
"name": "frontello-datas-format", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "UI format", | ||
@@ -5,0 +5,0 @@ "main": "format.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12069