Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

calidation

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calidation - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

3

dist/Form.js

@@ -74,3 +74,4 @@ 'use strict';

}, _this.onChange = function (e) {
var fields = _extends({}, _this.state.fields, _defineProperty({}, e.target.name, e.target.value));
var value = e.target.type === 'checkbox' ? e.target.checked : e.target.value;
var fields = _extends({}, _this.state.fields, _defineProperty({}, e.target.name, value));
var errors = _this.validate(fields, _this.state.config);

@@ -77,0 +78,0 @@ _this.setState({ errors: errors, fields: fields });

{
"name": "calidation",
"version": "1.5.0",
"version": "1.5.1",
"description": "A red hot validation library for React",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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