Sinon.js, a popular JavaScript testing library providing spies, stubs, and mocks, saw a couple of interesting updates between versions 6.1.3 and 6.1.4. While the core functionality remained consistent, there were adjustments in the dependency tree that developers should be aware of. Most prominently, nise, a library often used with Sinon to simulate the browser environment, was updated from version 1.3.3 to version 1.4.2. Lolex, important for manipulating time in tests, increased its version from 2.4.2 to version 2.7.1. Both of these updates often imply bug fixes, performance improvements, and possibly new features within those respective dependencies that trickle down to the Sinon user.
Furthermore, focusing on the distribution package, 6.1.4 features a slightly smaller unpacked size (4516173 bytes) compared to 6.1.3 (4524405 bytes), which might hint at some optimization. The number of files within the package has increased from 55 to 56 suggesting added resources or changes in the project structure. Lastly, 6.1.4 was released on July 21, 2018, while 6.1.3 was released on July 7, 2018. Developers who are mindful of package size or rely on the latest bug fixes and features benefiting from time or browser mocking should consider upgrading to version 6.1.4. These relatively rapid iterations highlight the active maintenance and continuous improvements in the Sinon.js ecosystem, crucial for reliable testing practices.
The are not vulnerabilities for the version 6.1.4 of the package sinon