v5.2.1
- New: adjusted several types to be more in-sync with
@types/node@14. - New:
writeFile/writeFileSyncnow accepts aUint8Arrayinstead of justBuffer. - Fix: return type of
readFile/readFileSyncnow handles"utf-8"and other updatedBufferEncodingvalues. - Fix: combined overload of
readFile/readFileSyncno longer accepts a widestringas encoding, giving better auto-completions.