Inquirer.js is a popular npm package for building interactive command-line user interfaces. Version 1.0.0, released in April 2016, builds upon the previous stable version, 0.12.0 released in February 2016, with some notable changes.
A key difference lies in the dependencies. Version 1.0.0 favors rx (Reactive Extensions) with version ^4.1.0, offering more robust asynchronous capabilities and better control over data streams. This contrasts with version 0.12.0, which relied on rx-lite (^3.1.2), a lighter version of Reactive Extensions. The move to rx suggests enhanced handling of complex user interactions and asynchronous operations within the prompts.
Another significant difference is the updated run-async dependency, bumped from ^0.1.0 to ^2.2.0. This likely indicates improvements in the library's task execution, offering potentially better performance and reliability when dealing with asynchronous prompt logic. Also, ansi-regex dependency has been removed in the newer version 1.0.0.
Furthermore, the development dependencies see significant updates. Grunt-related tools in version 0.12.0 are swapped for Gulp-based equivalents in version 1.0.0, demonstrating a shift in the preferred build and testing processes. The addition of tools like eslint-config-xo-space and gulp-line-ending-corrector hint at a stronger focus on code quality and consistency. The inclusion of code coverage tools (gulp-istanbul,gulp-coveralls) is an important upgrade. This suggests a greater emphasis on maintainability and reliability in the new version. For developers, the choice between versions depends on their comfort level with Reactive Extensions and their preference for build tools. Version 1.0.0, while potentially offering more advanced features and a modernized development workflow, introduces rx as a core dependency.
The are not vulnerabilities for the version 1.0.0 of the package inquirer