Sinon.js, a popular JavaScript library for creating test spies, stubs, and mocks, released version 9.2.2 as a minor update following version 9.2.1. Both versions share the same core functionality, providing developers with tools to write more robust and isolated unit tests. The description, dependencies like diff, nise, supports-color, @sinonjs/commons, @sinonjs/formatio, and @sinonjs/fake-timers remain consistent between the two emphasizing stability in the core features of the library.
The key difference emerges in the @sinonjs/samsam dependency. Version 9.2.2 updates @sinonjs/samsam from 5.2.0 to 5.3.0. This might include bug fixes, performance improvements, or new assertion features within the samsam library, used internally by Sinon for value comparison and assertion. Developers should consult the samsam changelog for detailed information about the changes introduced by this update.
The number of files in the distributed package and the unpacked size also sees a small change, increasing from 51 files and 4,807,133 bytes to 53 files and 4,820,209 bytes, respectively. This likely reflects the changes within the @sinonjs/samsam update and potentially minor adjustments in other parts of the library. The release dates also indicate the gap in time between these versions, with version 9.2.2 released later than 9.2.1. Developers are advised to upgrade to the latest version not only to get the latest features, but also security updates and bug fixes as soon as possible.
The are not vulnerabilities for the version 9.2.2 of the package sinon