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

@levshitsvv/formsy-react

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@levshitsvv/formsy-react - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

19

lib/index.js

@@ -280,12 +280,9 @@ 'use strict';

_this.setFormPristine(false);
return _this.validateForm().then(function () {
var model = _this.getModel();
_this.props.onSubmit(model, _this.resetModel, _this.updateInputsWithError);
if (_this.state.isValid) {
_this.props.onValidSubmit(model, _this.resetModel, _this.updateInputsWithError);
} else {
_this.props.onInvalidSubmit(model, _this.resetModel, _this.updateInputsWithError);
}
});
var model = _this.getModel();
_this.props.onSubmit(model, _this.resetModel, _this.updateInputsWithError);
if (_this.state.isValid) {
_this.props.onValidSubmit(model, _this.resetModel, _this.updateInputsWithError);
} else {
_this.props.onInvalidSubmit(model, _this.resetModel, _this.updateInputsWithError);
}
};

@@ -324,3 +321,3 @@

externalError: null
}, null);
}, _this.validateForm);
});

@@ -327,0 +324,0 @@ };

{
"name": "@levshitsvv/formsy-react",
"version": "2.0.3",
"version": "2.0.4",
"description": "A form input builder and validator for React",

@@ -5,0 +5,0 @@ "keywords": [

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