istextorbinary v5.0.0 Release Notes
Release Date: 2020-05-30 // almost 4 years ago-
- 🔀 Potential Breaking Change: Removed the long-standing deprecated sync, callback, and promise wrappers, now the only exports are
isText
,isBinary
, andgetEncoding
- Potential Breaking Change:
getEncoding
now checks start, middle, and end ifcheckBegin
was not provided. Prior functionality only checked start, middle, and end, ifopts
were not provided. This new functionality allows customcheckLength
for start, middle, and end. - 📚 Converted to TypeScript, and provided proper documentation for
isBinary
instead of just referencingisText
, so your intellisense is now more helpful - ⚡️ Updated dependencies, base files, and editions using boundation
- 🔀 Potential Breaking Change: Removed the long-standing deprecated sync, callback, and promise wrappers, now the only exports are