Skip to content

v5.2.1

Choose a tag to compare

@AviVahl AviVahl released this 21 Dec 10:44
  • New: adjusted several types to be more in-sync with @types/node@14.
  • New: writeFile/writeFileSync now accepts a Uint8Array instead of just Buffer.
  • Fix: return type of readFile/readFileSync now handles "utf-8" and other updated BufferEncoding values.
  • Fix: combined overload of readFile/readFileSync no longer accepts a wide string as encoding, giving better auto-completions.