Sinon.js is a popular JavaScript library providing test spies, stubs, and mocks aiding developers in writing more robust and maintainable unit tests. Version 7.3.2 introduces minor enhancements and dependency updates following version 7.3.1.
A key difference lies in the lolex dependency, which has been upgraded from version 3.1.0 to 4.0.1. lolex is Sinon's clock manipulation library. This is interesting for developers because this could introduce new features, API changes, or bug fixes related to simulating time in tests. You should check the lolex documentation for details on what changed between these versions.
Both versions share the same core dependencies, including diff, nise, @sinonjs/samsam, @sinonjs/commons, and @sinonjs/formatio, indicating a consistent core functionality. The developer tooling and testing dependencies remain largely the same across both versions, so most of the build/testing environment is consistent.
The dist object shows a slight increase in unpackedSize from 7067073 to 7067410 bytes, suggesting minor code additions or alterations. The releaseDate indicates that version 7.3.2 was published on April 17, 2019, subsequent to version 7.3.1, which was released on March 27, 2019. Developers should consider upgrading to version 7.3.2 due to potential bug fixes, performance improvements, or new features introduced in the updated lolex dependency. Refer to the changelog for detailed information on specific changes.
The are not vulnerabilities for the version 7.3.2 of the package sinon