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.9.0 to 1.10.0

6

dist/Form.js

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

}),
resetAll: _this.onReset
resetAll: _this.onReset,
setError: _this.setError
});

@@ -124,2 +125,5 @@ }, _this.setField = function (diff) {

_this.setState({ errors: errors, fields: fields });
}, _this.setError = function (diff) {
var errors = _extends({}, _this.state.errors, diff);
_this.setState({ errors: errors });
}, _this.validate = function (fields, config) {

@@ -126,0 +130,0 @@ return Object.entries(config).reduce(function (allErrors, _ref6) {

4

package.json
{
"name": "calidation",
"version": "1.9.0",
"version": "1.10.0",
"description": "A red hot validation library for React",

@@ -42,3 +42,3 @@ "main": "dist/index.js",

"react-dom": "^16.3.1",
"react-testing-library": "^2.0.0",
"react-testing-library": "^6.0.0",
"rimraf": "^2.6.2",

@@ -45,0 +45,0 @@ "semantic-release": "^15.1.5",

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