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.2.1 to 1.2.2

12

dist/Form.js

@@ -125,7 +125,13 @@ 'use strict';

_this.setState({ config: config, fields: fields, errors: errors });
_this.setState(function (prevState) {
return {
config: _extends({}, prevState.config, config),
fields: _extends({}, prevState.fields, fields),
errors: _extends({}, prevState.errors, errors)
};
});
}, _this.unregisterSubComponent = function (fieldsToRemove) {
var keys = Object.keys(fieldsToRemove);
var fields = removeFrom(_this.state.fields)(keys);
var config = removeFrom(_this.state.config)(keys); // TODO: Revalidate errors?
var config = removeFrom(_this.state.config)(keys);
var errors = removeFrom(_this.state.errors)(keys);

@@ -135,3 +141,3 @@

config: config,
errors: errors,
errors: _this.validate(fields, config),
fields: fields

@@ -138,0 +144,0 @@ });

{
"name": "calidation",
"version": "1.2.1",
"version": "1.2.2",
"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