Skip to content

v4.0.0

Compare
Choose a tag to compare
@sindresorhus sindresorhus released this 22 Sep 09:01

Breaking

  • Require Node.js 8 6459090
  • Discard stdin by default (#112) b1f140b
    This prevents the spinner from twitching on input, outputting broken lines on Enter key presses, and prevents buffering of input while the spinner is running.

Breaking for TypeScript users

  • Only use a CommonJS export for the TypeScript definition
    You need to change import ora from 'ora'; to import ora = require('ora');

Fixes

  • Set the correct interval when changing spinner (#125) ad324dc
  • Hide prefixText when it's an empty string (#124) 8bcde17
  • Fix Typescript definition for the frame method (#126) b653b5a

v3.4.0...v4.0.0