Version 3.0.0 of @yarnpkg/fslib brings some notable changes compared to the previous stable version, 2.10.4. A key difference lies in the dependencies: version 3.0.0 upgrades tslib to ^2.4.0, whereas 2.10.4 uses ^1.13.0. The devDependencies also reflects a change with version 3.0.0 requiring @yarnpkg/libzip at ^3.0.0 while the previous version lists it as a dependency with version^2.3.0.
While both versions share the same BSD-2-Clause license and repository location, the distribution details reveal interesting insights. Version 3.0.0 has a smaller unpacked size of 229098 compared to version 2.10.4's 275862, suggesting potential optimizations or removal of features. The file count has also slightly decreased from 52 to 50. Developers considering upgrading should investigate these changes to ensure compatibility, particularly regarding their usage of functionality potentially impacted by these size reductions.
Importantly, the release date tells a story: version 3.0.0 was released in October 2023, whereas despite being the numerically lower version, 2.10.4 was released more recently in February 2024. This suggests 2.10.4 has critical fixes and potential backports so one should consider the details and changelogs before adopting a specific version for projects as the latest stable build. Developers interested in the most up-to-date fixes and enhancements should carefully evaluate if the newer version of the dependencies are important for their desired usage.
The are not vulnerabilities for the version 3.0.0 of the package @yarnpkg/fslib