@sumor/validator
Advanced tools
Comparing version 1.0.0 to 1.0.2
{ | ||
"name": "@sumor/validator", | ||
"description": "This is a lightweight validator for Node.JS. It can validate the input string or number based on the rules you defined.", | ||
"version": "1.0.0", | ||
"version": "1.0.2", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": "sumor-cloud/validator", |
@@ -25,3 +25,3 @@ import parseInfo from './parseInfo.js' | ||
const validate = (info, value, language) => { | ||
const validate = (info, value, language = 'en-US') => { | ||
info = parseInfo(info) | ||
@@ -28,0 +28,0 @@ |
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
15094