Skip to content

Releases: santi100a/assertion-lib

Release v2.0.4

24 Sep 01:25
1b9bb7c
Compare
Choose a tag to compare
  • Added assertFinite.
  • Added assertValidNumber.

Release v2.0.3

23 Sep 22:08
757cd5c
Compare
Choose a tag to compare
  • Added assertArrayTypes.
  • Added assertDifferent.
  • Added assertEqual.
  • Added assertOneOfTypes.

Release v2.0.2

21 Aug 02:33
Compare
Choose a tag to compare
  • Fixed circular dependency bug with assertTypeOf and assertOneOf.

Release v2.0.1

31 Jul 23:40
Compare
Choose a tag to compare
  • Added assertMatch and assertDefined.

Release v2.0.0

29 Jul 02:25
Compare
Choose a tag to compare
  • DELETED assertType.
  • Replaced assertOneOf's shallow parameter with comparator to remove reliance on @santi100/equal-lib.
  • Modified module system to use export = for all individual module files, whilst keeping compatibility.

Release v1.0.8

16 Apr 03:51
Compare
Choose a tag to compare
  • Added assertInstanceOf, assertMaxExclusive and assertMinExclusive.
  • Modified randomFromArray to make sure TypeScript enforces there's at least one element in the input array.

Release v1.0.7

02 Apr 20:58
Compare
Choose a tag to compare
  • Modified assertMax, assertMin and assertRange to throw RangeErrors instead of TypeErrors.
  • Added assertArray.

Release v1.0.6

01 Apr 01:08
Compare
Choose a tag to compare
feat: version 1.0.6