Jest CLI version 28.0.0 represents an upgrade over the previous stable release, 27.5.1, bringing with it updated dependencies and under-the-hood enhancements. Developers considering an upgrade will find that many core Jest packages have been bumped to version 28.0.0, including @jest/core, @jest/types, @jest/test-result, jest-config, jest-util, and jest-validate. These internal updates likely involve performance improvements, new features, and bug fixes within the core testing framework.
A significant change lies in the updated dependency on yargs, moving from version 16.2.0 to 17.3.1. This update to yargs, a popular command-line argument parsing library, suggests potential changes or improvements in how Jest CLI handles command-line arguments, possibly introducing new options or modifying existing ones for test execution. Related to that, the corresponding dev dependency @types/yargs has been updated from 16.0.0 to 17.0.8.
While most dependencies remain consistent, such as exit, chalk, prompts, graceful-fs, and import-local, keeping the core functionality stable the yargs upgrade is the most noticeable change. Developers should review their Jest CLI command-line usage to ensure compatibility and leverage any new capabilities offered by the updated yargs library. Also, it is important to notice that the file count and unpacked size of the package have changed.
The are not vulnerabilities for the version 28.0.0 of the package jest-cli