Sinon.js, a popular JavaScript library for test spies, stubs, and mocks, released version 15.2.0 as an incremental update following version 15.1.2. Both versions maintain the core functionality that developers rely on for robust unit testing. Key dependencies like diff, nise, supports-color, @sinonjs/samsam, @sinonjs/commons remain at the same major and minor versions ensuring compatibility and stable core features. The main difference lies in the update of @sinonjs/fake-timers from version 10.1.0 to 10.3.0. This resolves problems with the way the timers are mocked and brings some bug fixing.
Developers should note the slight difference in unpackedSize in the dist section, with v15.2.0 being marginally larger, although the changes between those versions are small and will not affect speed or usage. Both versions share the same development dependencies, including testing frameworks like mocha, linting tools, and build utilities, meaning the development environment around Sinon.js remains consistent. The releaseDate indicates that version 15.2.0 was published about a week after version 15.1.2.
For developers, this update signifies a minor refinement. While upgrading, it's advisable to review your tests regarding the usage of timers in order to leverage on the new features brought by the new version of fake-timers. The stability of core dependencies suggests a smooth transition for existing users while ensuring they benefit from the latest improvements.
The are not vulnerabilities for the version 15.2.0 of the package sinon