istextorbinary v2.4.0 Release Notes
Release Date: 2019-01-20 // over 5 years ago-
- 🔀 Asynchronous methods now
try...catch
the synchronous methods to ensure an error from invalid inputs would be given to the callback.- Before they would not do any
try...catch
so if invalid inputs were given, the error would throw.
- Before they would not do any
- 📚 The JSDoc documentation has been updated for accuracy.
- It previously indicated that the return types of the sync methods could have been an error instance, this was incorrect, they would throw if received invalid inputs.
- It previously indicated that the result for of the async
getEncoding
callback was a boolean, this was incorrect, it would be the string result ofgetEncodingSync
.
- ⚡️ Updated base files and editions using boundation
- 🔀 Asynchronous methods now