Releases: vivin/condicio
Releases · vivin/condicio
Condicio 2.0.0
Version 2.0.0
Features:
- Added counterparts to check functions that do not throw exceptions. All existing check-functions have counterparts, except for
checkArgumentandcheckState. - Added
checkIsTypeandisTypeto 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:
TypeErroris thrown instead ofNullReferenceExceptionandInvalidTypeException.ReferenceErroris thrown instead ofUndefinedReferenceExceptionandPropertyNotFoundException.RangeErroris thrown instead ofIndexOutOfBoundsException.IllegalArgumentExceptionandIllegalStateExceptionhave been renamed toIllegalArgumentErrorandIllegalStateError.
Credits
- Vivin Paliath / author
Condicio 1.0.1
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
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