changelogs.md


nswbmw/another-json-schema

Repository  -  API  -  Source

3.7.0

June 21, 2018
  • fix: type function maybe change value, then override original value

3.6.1

June 4, 2018
  • check schema value & throw TypeError when got null

3.6.0

May 14, 2018
  • add Types

3.5.1

April 12, 2018
  • add .eq .equal validator

3.5.0

April 11, 2018
  • add _customErrorMsg

3.4.0

January 9, 2018
  • fix validate logic, even pass required: false or default: false, still check type & other validators
  • upgrade deps

3.3.0

January 8, 2018
  • add ignoreNodeType

3.2.1

November 14, 2017
  • fix required throw error when value is 0|false

3.2.0

November 14, 2017
  • fix schema required: false bug

3.1.0

October 13, 2017
  • fix no required bug, when pass null will check type

3.0.0

October 13, 2017
  • fix bugs
  • update test
  • update README
  • use power-assert
  • use standard eslint
  • add default & required
  • rm ignoreNodeType option
  • change validator function, add key and parent paramters, return boolean