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.1.0 to 1.1.1

8

dist/Form.js

@@ -84,3 +84,3 @@ 'use strict';

_this.props.onSubmitRequested({
_this.props.onSubmit({
errors: errors,

@@ -117,3 +117,3 @@ fields: fields,

var validator = _this.props.validators[validatorName];
(0, _invariant2.default)(validator, 'You specified a validator that doesn\'t exist. You specified\n ' + validatorName + '. Available validators:\n ' + Object.keys(_this.props.validators).join(',\n'));
(0, _invariant2.default)(validator, "You specified a validator that doesn't exist. You " + ('specified ' + validatorName + '. Available validators: \n\n') + Object.keys(_this.props.validators).join(',\n'));

@@ -172,3 +172,3 @@ return validator(validatorConfig)(allFields[name]);

Form.defaultProps = {
onSubmitRequested: function onSubmitRequested(f) {
onSubmit: function onSubmit(f) {
return f;

@@ -178,5 +178,5 @@ }

Form.propTypes = {
onSubmitRequested: _propTypes.func,
onSubmit: _propTypes.func,
validators: (0, _propTypes.shape)({}).isRequired
};
exports.default = (0, _ValidatorsContext.withValidators)(Form);
{
"name": "calidation",
"version": "1.1.0",
"version": "1.1.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