Sinon.js, a popular JavaScript library for creating test spies, stubs, and mocks, released version 6.3.0 as a minor update following version 6.2.0. Both versions share the same core functionality, providing developers with essential tools for writing robust and maintainable unit tests. Analyzing the package data reveals only a few subtle differences.
The dependencies in both versions remain largely the same, ensuring consistent behavior and compatibility with existing projects. Both rely on diff, nise, lolex, lodash.get, type-detect, supports-color, @sinonjs/samsam, @sinonjs/commons, and @sinonjs/formatio for core functionality.
A key difference lies in the lolex dependency, which is updated from version 2.7.2 to 2.7.4 and is concerning time manipulation. This might include bug fixes or minor improvements in time mocking capabilities.
The distribution size also sees a slight increase in version 6.3.0, with fileCount going from 54 to 55, and unpackedSize increasing from 4,549,250 bytes to 4,558,180 bytes. This difference could be attributed to the lolex upgrade and associated documentation or build changes.
Finally, releaseDate indicates that version 6.3.0 was published on September 12, 2018, shortly after version 6.2.0's release on September 4, 2018.
For developers already using Sinon.js, upgrading to version 6.3.0 should be straightforward and poses minimal migration cost. The updated lolex version might provide enhanced time-related testing capabilities.
The are not vulnerabilities for the version 6.3.0 of the package sinon