Yargs version 13.1.0 introduces several updates compared to its predecessor, version 12.0.5, making it a compelling upgrade for developers leveraging this popular command-line argument parsing library. One significant change lies in the updated dependencies. Notably, y18n jumps to version ^4.0.0 (compared to ^3.2.1 || ^4.0.0), potentially improving internationalization support and related bug fixes. Similarly, string-width advances to ^3.0.0 resolving potential layout issues and compatibility with newer terminal environments, while yargs-parser moves to ^13.0.0 from ^11.1.1 incorporating improvements and fixes in argument parsing logic. os-locale also sees an upgrade to ^3.1.0 from ^3.0.0 offering better locale detection and accuracy.
Furthermore, get-caller-file and require-main-filename get updated to versions ^2.0.1 and ^2.0.0 respectively, from ^1.0.1 which may influence how yargs handles file paths and module resolution – areas critical for larger projects. While many developer dependencies remain similar, chalk version jumps from ^1.1.3 to ^2.4.2, supplying enhanced terminal styling abilities. Generally, the library seems to evolve incrementing the dependencies versions. The new version contains improvements in the parsing that will allow developers to have cleaner parameters values on their code, and offers an improved i18n support which will help to deliver nicer CLI utilities for end users.
The are not vulnerabilities for the version 13.1.0 of the package yargs