Comparing version 0.2.0-beta.11 to 0.2.0-beta.12
@@ -136,3 +136,4 @@ "use strict"; | ||
return regexp.test(input) | ||
? { | ||
? null | ||
: { | ||
name: 'pattern', | ||
@@ -142,4 +143,3 @@ message: message, | ||
pattern: regexp, | ||
} | ||
: null; | ||
}; | ||
} | ||
@@ -146,0 +146,0 @@ return pattern; |
@@ -127,3 +127,4 @@ import Decimal from 'big.js'; | ||
return regexp.test(input) | ||
? { | ||
? null | ||
: { | ||
name: 'pattern', | ||
@@ -133,6 +134,5 @@ message: message, | ||
pattern: regexp, | ||
} | ||
: null; | ||
}; | ||
} | ||
return pattern; | ||
} |
{ | ||
"name": "formulr", | ||
"version": "0.2.0-beta.11", | ||
"version": "0.2.0-beta.12", | ||
"description": "Form toolkit for React", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -140,3 +140,4 @@ import Decimal from 'big.js'; | ||
return regexp.test(input) | ||
? { | ||
? null | ||
: { | ||
name: 'pattern', | ||
@@ -146,6 +147,5 @@ message, | ||
pattern: regexp, | ||
} | ||
: null; | ||
}; | ||
} | ||
return pattern; | ||
} |
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