UNPKG

2valid

Version:

JavaScript simple data validator

129 lines (70 loc) 3.26 kB
# 2valid changelog ## [3.1.1](http://github.com/ivanoff/2valid/tree/3.1.1) (2017-10-31) [Full Changelog](http://github.com/ivanoff/2valid/compare/2.5.4...3.1.1) **What Was Done:** - add valid function to return true if validate is ok. Or false if validate not passed. - add check function instead of depricateded validate one ## [2.5.4](http://github.com/ivanoff/2valid/tree/2.5.4) (2017-08-12) [Full Changelog](http://github.com/ivanoff/2valid/compare/2.5.1...2.5.4) **What Was Done:** - update to remove cannot read property of undefined error ## [2.5.1](http://github.com/ivanoff/2valid/tree/2.5.1) (2017-06-24) [Full Changelog](http://github.com/ivanoff/2valid/compare/2.4.1...2.5.1) **What Was Done:** - remove empty error - avoid deep recursion ## [2.4.1](http://github.com/ivanoff/2valid/tree/2.4.1) (2017-02-22) [Full Changelog](http://github.com/ivanoff/2valid/compare/2.3.1...2.4.1) **What Was Done:** - add ```any``` validator type ## [2.3.1](http://github.com/ivanoff/2valid/tree/2.3.1) (2017-02-22) [Full Changelog](http://github.com/ivanoff/2valid/compare/2.2.4...2.3.1) **What Was Done:** - add more examples - add getRandomExample function - add getExample workflow to readme ## [2.2.4](http://github.com/ivanoff/2valid/tree/2.2.4) (2017-02-13) [Full Changelog](http://github.com/ivanoff/2valid/compare/2.2.2...2.2.4) **What Was Done:** - make airbnb style ## [2.2.2](http://github.com/ivanoff/2valid/tree/2.2.2) (2017-01-26) [Full Changelog](http://github.com/ivanoff/2valid/compare/2.2.1...2.2.2) **What Was Done:** - add examples for each type ## [2.2.1](http://github.com/ivanoff/2valid/tree/2.2.1) (2017-01-24) [Full Changelog](http://github.com/ivanoff/2valid/compare/2.1.5...2.2.1) **What Was Done:** - add boolean type - add array type - made 100% testing code coverage ## [2.1.5](http://github.com/ivanoff/2valid/tree/2.1.5) (2016-11-17) [Full Changelog](http://github.com/ivanoff/2valid/compare/2.1.4...2.1.5) **What Was Done:** - add notRequired option ## [2.1.4](http://github.com/ivanoff/2valid/tree/2.1.4) (2016-09-24) [Full Changelog](http://github.com/ivanoff/2valid/compare/2.1.3...2.1.4) **What Was Done:** - add boolean type - check integer in not string ## [2.1.3](http://github.com/ivanoff/2valid/tree/2.1.3) (2016-09-22) [Full Changelog](http://github.com/ivanoff/2valid/compare/2.1.2...2.1.3) **What Was Done:** - check integer in string - check float in string ## [2.1.2](http://github.com/ivanoff/2valid/tree/2.1.2) (2016-08-25) [Full Changelog](http://github.com/ivanoff/2valid/compare/2.1.1...2.1.2) **What Was Done:** - add password validation example ## [2.1.1](http://github.com/ivanoff/2valid/tree/2.1.1) (2016-08-25) [Full Changelog](http://github.com/ivanoff/2valid/compare/2.0.2...2.1.1) **What Was Done:** - add validate with no creating model - add notRequired field to result ## [2.0.2](http://github.com/ivanoff/2valid/tree/2.0.2) (2016-08-24) [Full Changelog](http://github.com/ivanoff/2valid/compare/2.0.1...2.0.2) **What Was Done:** - add validate unsync mode ## [2.0.1](http://github.com/ivanoff/2valid/tree/2.0.1) (2016-08-24) [Full Changelog](http://github.com/ivanoff/2valid/compare/2.0.1...2.0.1) **What Was Done:** - rename project to 2valid