Ora is an elegant terminal spinner for Node.js, commonly used to enhance the user experience in command-line applications by providing visual feedback during long-running processes. Version 3.1.0, released in February 2019, builds upon the previous stable version 3.0.0 from July 2018, bringing several dependency updates that can impact developers.
A key change lies in the updated dependencies. Version 3.1.0 upgrades Chalk to "^2.4.2" from "^2.3.1", providing potentially new styling options and bug fixes for terminal text. Strip-ansi moves from "^4.0.0" to "^5.0.0", likely improving the handling of ANSI escape codes, responsible for formatting text in the terminal. Cli-spinners also sees an upgrade from "^1.1.0" to "^1.3.1", offering an expanded range of spinner animations and styles. The developer dependencies are also updated, with xo "^0.24.0", ava "^1.2.1" and get-stream "^4.1.0" used for linting, testing, and stream handling respectively.
These dependency updates collectively aim to improve the library's functionality, stability, and visual appeal. Developers upgrading to version 3.1.0 should review the changelogs of each updated dependency to understand any potential breaking changes or new features they can leverage. The core functionality of Ora remains the same, offering a simple API to start, stop, and update the spinner's text and appearance, making it a valuable tool for creating engaging command-line interfaces. The newer version can support newer versions of Node.js and underlying systems.
The are not vulnerabilities for the version 3.1.0 of the package ora