Skip to content

Releases: santi100a/assertion-lib

Release v2.0.4

Choose a tag to compare

@github-actions github-actions released this 24 Sep 01:25
1b9bb7c
  • Added assertFinite.
  • Added assertValidNumber.

Release v2.0.3

Choose a tag to compare

@github-actions github-actions released this 23 Sep 22:08
757cd5c
  • Added assertArrayTypes.
  • Added assertDifferent.
  • Added assertEqual.
  • Added assertOneOfTypes.

Release v2.0.2

Choose a tag to compare

@github-actions github-actions released this 21 Aug 02:33
  • Fixed circular dependency bug with assertTypeOf and assertOneOf.

Release v2.0.1

Choose a tag to compare

@github-actions github-actions released this 31 Jul 23:40
  • Added assertMatch and assertDefined.

Release v2.0.0

Choose a tag to compare

@github-actions github-actions released this 29 Jul 02:25
  • 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

Choose a tag to compare

@github-actions github-actions released this 16 Apr 03:51
  • 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

Choose a tag to compare

@github-actions github-actions released this 02 Apr 20:58
  • Modified assertMax, assertMin and assertRange to throw RangeErrors instead of TypeErrors.
  • Added assertArray.

Release v1.0.6

Choose a tag to compare

@github-actions github-actions released this 01 Apr 01:08
feat: version 1.0.6