Yargs-parser, a widely adopted option parser favored by the popular yargs command-line argument parser, saw a minor version bump from 18.1.1 to 18.1.2 in March 2020. Both versions share the same core dependencies: camelcase for converting strings to camel case and decamelize for the reverse operation. The developer tooling also remains consistent, with c8 for code coverage, chai for assertions, mocha for testing, and standard for code style linting and fixing.
While the functional dependencies and developer tools didn't change, an interesting difference lies in the unpacked size of the package. Version 18.1.2 is slightly larger, with an unpacked size of 70943 bytes, compared to 18.1.1's 70119 bytes. This suggests that the newer version contains some internal changes or additions, possibly bug fixes, performance improvements, or updated documentation, even though the dependency list remains the same. This version was released 10 days after the previous one.
For developers looking to use yargs-parser, both 18.1.1 and 18.1.2 offer robust option parsing capabilities. However, opting for the newer 18.1.2 is generally recommended to benefit from any potential bug fixes or enhancements made since the previous release. Always evaluate if a new version is compatible with your setup before deploying it. The core functionality remains consistent between the two.
The are not vulnerabilities for the version 18.1.2 of the package yargs-parser