Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 1.52 KB

CHANGELOG.md

File metadata and controls

54 lines (43 loc) · 1.52 KB

Changelog

2.0.3

  • Fixed compatibility with typescript 2.7

2.0.1

  • Fixed #26

2.0.0

  • 2.0.0-rc2 became 2.0.0

2.0.0-rc2

  • Added type guards
  • Added description for all predicates
  • Added assert
  • Decreased verbosity with simple type to predicate mapping

2.0.0-rc1

  • Dropped support for bower, use webpack or any other module bundler
  • Rewritten in typescript for much better code completion and function signature detection
  • Added asyncFunction, generator, map, set, symbol, thenable, weakMap, weakSet, emptyArray, notEmptyArray (#22) predicates
  • Fixed #23

1.0.1

  • Fixed #21

1.0.0-rc.2

  • Added bower support #16

1.0.0-rc.1

  • Provided names for all the functions to make debugging easier #13
  • Added primitive predicate #12
  • Added plainObject predicate #4
  • Added divisible and divisibleWithRemainder predicates
  • Added property predicate #14
  • Added notBlank predicate
  • Improved performance

0.3

  • Fixed path to finite polyfill
  • Better support for is.NaN #11
  • Added notEmpty predicate #9
  • Improved is.false and is.true to accept new Boolean(true/false) as well
  • Fixed behavior of is.object to accept Object.create(null) #10

0.2.1

  • Fix: instanceof renamed to instanceOf

0.2

  • Added information how to use predicates for arguments assertions
  • Added documentation with examples and design rules
  • Added "startsWith" and "endsWith" functions
  • Added type checking for property names for hasOwnProperty and hasProperty predicate
  • Fixed error type declaration for @throws