Inquirer.js, a popular Node.js library for building interactive command-line interfaces, has released version 12.0.1, a minor update following version 12.0.0. Both versions offer a collection of user-friendly prompts, simplifying the creation of engaging CLI experiences. The core functionality remains consistent, providing developers with tools for various input types like text, password, confirmations, lists, and checkboxes. Developers will find these tools crucial for crafting intuitive command-line workflows.
A key difference lies in the updated dependencies. Version 12.0.1 includes newer versions of @inquirer/core (updated from 10.0.0 to 10.0.1) and @inquirer/prompts (updated from 7.0.0 to 7.0.1). These updates might contain bug fixes, performance improvements, or minor feature enhancements within the underlying prompt system. While the API exposed to developers might remain largely unchanged, upgrading is recommended to leverage the latest refinements and ensure compatibility.
Both versions maintain the same development dependencies, peer dependencies, license, and repository information. The unpacked size of version 12.0.1 is slightly larger (71735 bytes) compared to 12.0.0 (71524 bytes), indicating that the updates did add a little bit of code on top of the previous version probably. The release date also highlights the recent nature of both versions, with 12.0.1 deployed on October 25, 2024. Developers looking to incorporate interactive CLI elements into their Node.js projects should consider exploring Inquirer.js for its ease of use and versatile prompt options and pick the latest version to improve performance and stability.
The are not vulnerabilities for the version 12.0.1 of the package inquirer