mobx-react-form
Advanced tools
Comparing version 1.13.21 to 1.13.22
@@ -20,2 +20,6 @@ 'use strict'; | ||
var _isString2 = require('lodash/isString'); | ||
var _isString3 = _interopRequireDefault(_isString2); | ||
var _first2 = require('lodash/first'); | ||
@@ -198,3 +202,3 @@ | ||
var diff = []; | ||
var $rules = (0, _split3.default)(_rules, '|'); | ||
var $rules = (0, _isString3.default)(_rules) ? (0, _split3.default)(_rules, '|') : _rules; | ||
if (type === 'sync') diff = (0, _difference3.default)($rules, this.asyncRules); | ||
@@ -201,0 +205,0 @@ if (type === 'async') diff = (0, _intersection3.default)($rules, this.asyncRules); |
{ | ||
"name": "mobx-react-form", | ||
"license": "MIT", | ||
"version": "1.13.21", | ||
"version": "1.13.22", | ||
"author": "Claudio Savino <claudio.savino@me.com> (https://twitter.com/foxhound87)", | ||
@@ -6,0 +6,0 @@ "description": "Automagically manage React forms state and automatic validation with MobX.", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1991821
14430