Yargs-parser, a robust option parsing library utilized by Yargs, released version 21.1.1 shortly after version 21.1.0, indicating a likely quick patch or minor improvement. Both versions share the same core functionality and developer dependencies, including tools for testing (Chai, Mocha, C8), linting (ESLint, Standardx, @typescript-eslint), building (Rollup, Typescript), and environment setup (Cross-env). Significant for TypeScript developers, both versions rely on TypeScript and related type definitions (@types/node, @types/chai, @types/mocha), ensuring type safety in their projects.
The key differences lie in the dist object. Version 21.1.1 exhibits a smaller unpacked size (128470 bytes) and fewer files (11) compared to 21.1.0 (134475 bytes and 12 files). This suggests optimizations may have been implemented reducing the overall package size, which could result in faster installation times and reduced disk space usage. As for when they were released version 21.1.1 came out on '2022-08-04T21:13:43.411Z' and the previous version on '2022-08-03T19:24:40.722Z'.
Developers choosing between these versions might lean towards 21.1.1 because of the smaller footprint, assuming no breaking changes were introduced. Both versions benefit from an ISC license, allowing for broad usage in open-source and commercial projects. The repository remains consistent, ensuring access to the project's source code and issue tracker on GitHub.
The are not vulnerabilities for the version 21.1.1 of the package yargs-parser