Sinon.js, a popular JavaScript testing library providing spies, stubs, and mocks, released version 11.1.0 shortly after 11.0.0. While the core functionality remains consistent, a closer look reveals subtle yet important distinctions for developers.
Both versions share the same core dependencies like diff, nise, supports-color, @sinonjs/samsam, @sinonjs/commons, and @sinonjs/fake-timers, ensuring consistent behavior in these underlying modules. Similarly, the development dependencies, crucial for testing and building the library itself, remain identical, with familiar tools like mocha, nyc, browserify and @sinonjs/referee being used. This means the developer experience for contributing to Sinon.js remains unchanged.
The key differences lie in the dist object. Version 11.1.0 increases the fileCount from 51 to 52 and unpackedSize from 4,818,585 bytes to 4,848,240 bytes. That signifies that a file was added and the total size of the library increased.
For developers, this increment suggests potential bug fixes, performance improvements, or minor feature additions. While the changelog should be consulted for definitive details, users should be able to upgrade seamlessly and without worries from 11.0.0 to 11.1.0. Usually, such a small version upgrade (patch, not breaking change) it's not worrisome. Staying up-to-date improves project security helping to fix vulnerabilities. The release date difference of less than a day implies a quick follow-up release, possibly addressing an immediate issue identified in version 11.0.0.
The are not vulnerabilities for the version 11.1.0 of the package sinon