Skip to content

Releases: vivin/condicio

Condicio 2.0.0

19 Nov 22:44

Choose a tag to compare

Version 2.0.0

Features:

  • Added counterparts to check functions that do not throw exceptions. All existing check-functions have counterparts, except for checkArgument and checkState.
  • Added checkIsType and isType to check if an object is an instance of a specific type.
  • Renamed error objects to end with "Error" instead of "Exception" and unnecessary error objects:
    • TypeError is thrown instead of NullReferenceException and InvalidTypeException.
    • ReferenceError is thrown instead of UndefinedReferenceException and PropertyNotFoundException.
    • RangeError is thrown instead of IndexOutOfBoundsException.
    • IllegalArgumentException and IllegalStateException have been renamed to IllegalArgumentError and IllegalStateError.

Credits

  • Vivin Paliath / author

Condicio 1.0.1

21 Sep 04:32

Choose a tag to compare

Version 1.0.1

Features:

  • Functions to check states of arguments, calling context/instance, whether arguments are null/undefined, and types of arguments.
  • Semantically-appropriate exceptions that extend Error.

Fixes:

  • Is an actual node module (instead of just pretending).

Credits

  • Vivin Paliath / author

Condicio 1.0.0

17 Jun 18:21

Choose a tag to compare

Version 1.0.0

Features:

  • Functions to check states of arguments, calling context/instance, whether arguments are null/undefined, and types of arguments.
  • Semantically-appropriate exceptions that extend Error.

Credits

  • Vivin Paliath / author