formcheck-validation
Advanced tools
Comparing version 1.0.0 to 1.0.3
@@ -17,7 +17,2 @@ function validateForm(data) { | ||
// Custom validation rule example | ||
if (data.customField !== 'expectedValue') { | ||
errors.customField = "Custom field does not match expected value"; | ||
} | ||
return errors; | ||
@@ -24,0 +19,0 @@ } |
{ | ||
"name": "formcheck-validation", | ||
"version": "1.0.0", | ||
"version": "1.0.3", | ||
"description": "A simple form validation package for web applications", | ||
@@ -27,3 +27,6 @@ "main": "index.js", | ||
"author": "Simritha", | ||
"license": "ISC" | ||
"license": "ISC", | ||
"dependencies": { | ||
"formcheck-simritha": "^1.0.0" | ||
} | ||
} |
1530
19
1
15
+ Addedformcheck-simritha@^1.0.0
+ Addedformcheck-simritha@1.0.0(transitive)