Sinon.js, a popular JavaScript testing utility providing spies, stubs, and mocks, released version 13.0.1 as a minor patch update to its previous stable version, 13.0.0. Examining the changes reveals a few key differences that developers should consider. While the core functionality and dependencies remain largely consistent, with shared packages like diff, nise, supports-color, @sinonjs/samsam, @sinonjs/commons, and @sinonjs/fake-timers staying at the same major and minor versions, there's a notable update to the nise dependency, moving from version 5.1.0 to 5.1.1. This presumably includes bug fixes or minor enhancements to the nise package, which is used by Sinon.js for mocking the JavaScript environment.
Furthermore, there are slight differences in the distributed package. Version 13.0.1 has a smaller unpacked size (4858266 bytes) and fewer files (48) compared to version 13.0.0 (5072520 bytes and 51 files). This might suggest optimizations in the build process or removal of unnecessary files in the newer version. Developers upgrading should ensure compatibility with any custom build processes they might have. The release date also indicates the recency of the update, with version 13.0.1 released on February 1, 2022, shortly after version 13.0.0's release on January 28, 2022. For most developers, upgrading to 13.0.1 is recommended for the potentially improved stability and efficiency provided by the dependency update and package optimizations.
The are not vulnerabilities for the version 13.0.1 of the package sinon