Skip to content

v10.0.0

Latest

Choose a tag to compare

@sindresorhus sindresorhus released this 05 Feb 09:17

Breaking

  • getStdin.buffer() now returns Uint8Array instead of Buffer 2399242
  • Default TTY behavior now resolves to empty string/Uint8Array eb25606
    • This prevents CLIs from hanging in interactive terminals when no input is piped, and it lets them immediately fall back to other input sources. Interactive, cat‑style blocking input is still available via allowTTY: true.

Improvements

  • Added stdin option for custom input streams (useful for testing or custom streams).

v9.0.0...v10.0.0