js-textfield-validation
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -60,3 +60,3 @@ export default class Validation { | ||
/** Accept number and dot only */ | ||
Validations.prototype.ipAddress = function() { | ||
Validation.prototype.ipAddress = function() { | ||
this.value = this.value.replace(/([^0-9.])|(^[.])/, "").replace(/[.]{2}/, "."); | ||
@@ -63,0 +63,0 @@ return this; |
{ | ||
"name": "js-textfield-validation", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "An npm Package to validate textfield value.", | ||
@@ -5,0 +5,0 @@ "main": "index.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
8600