Skip to content

Releases: times/data-validator

v0.6.3

17 Jul 11:41
9a8b3c5
Compare
Choose a tag to compare
  • Documentation has landed

v0.6.2

08 May 15:52
42e1893
Compare
Choose a tag to compare
  • Use Rollup correctly

v0.6.1

08 May 15:13
8df7e42
Compare
Choose a tag to compare
  • Correctly list ramda as a regular dependency
  • Correctly list babel-plugin-external-helpers as a dev dependency

v0.6.0

23 Apr 15:10
fc9ccb1
Compare
Choose a tag to compare
  • Change Result structure to be more AST-like to enable customised printing
  • Add eslint (#30)
  • Add .prettierrc
  • Introduce Ramda (#9)

v0.5.5

13 Sep 11:31
Compare
Choose a tag to compare
  • Add .npmignore file so that we correctly ship dist

v0.5.4

16 Aug 13:15
Compare
Choose a tag to compare
  • Fix bug in flattenResults

v0.5.3

15 Aug 11:35
Compare
Choose a tag to compare
  • Use Rollup for build process

v0.5.2

15 Aug 10:51
Compare
Choose a tag to compare

Add the following functions:

  • fromPredicate to construct a validator from a predicate function
  • validateIsIn to validate whether a value is contained within an array of values
  • validateIsType to validate whether a value is of a given type
  • prefixErrors to simplify the most common use of mapErrors

v0.5.1

28 Jul 13:56
Compare
Choose a tag to compare
  • Export all functions by default

v0.5.0

27 Jul 10:16
Compare
Choose a tag to compare
  • Change the order in which schema validation errors occur
  • Rename all composer to allWhileOK
  • Add new all composer that actually runs all the given validators
  • Rename helpers.js to typecheck.js
  • Restructure some internals