Sinon.js, a popular JavaScript testing library for spies, stubs, and mocks, recently released version 18.0.0, succeeding the previous stable version 17.0.2. Both versions share a BSD-3-Clause license and maintain the same core functionality for robust unit testing. A key difference lies in the updated dependencies. While most dependencies remain consistent, version 18.0.0 features an upgrade of the nise dependency from version 5.1.9 to ^6.0.0. This likely introduces enhancements and bug fixes related to fake server and fake XHR/fetch implementations, benefitting developers who rely on these features for simulating server interactions during testing.
Another notable change involves the size of the unpacked package, with version 18.0.0 slightly larger at 5294434 bytes compared to version 17.0.2's 5293111 bytes. The upgrade to version 18.0.0 also brings the prettier dev dependency to ^3.2.5 from a previous version, probably upgrading code formating pre-commit hooks. Finally, the release date marks a clear difference, with version 18.0.0 released on May 15, 2024, giving developers access to the latest improvements and fixes since version 17.0.2. For developers focusing on stability and minimizing disruptions, the incremental nature of these changes suggests a relatively smooth transition to the latest version.
The are not vulnerabilities for the version 18.0.0 of the package sinon