New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

formcheck-validation

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formcheck-validation - npm Package Compare versions

Comparing version 1.0.0 to 1.0.3

5

index.js

@@ -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 @@ }

7

package.json
{
"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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc