Sinon.JS, a popular JavaScript library for creating test spies, stubs, and mocks, saw a minor version bump from 1.16.0 to 1.16.1, released on August 20th, 2015. While seemingly small, this update holds subtle but potentially impactful changes for developers using the library in their testing workflows. Both versions share the same core functionality, description, development dependencies, license, repository information, and author. Key dependencies like samsam and formatio remain unchanged.
The primary difference lies in the updated lolex dependency. Version 1.16.0 relies on lolex version 1.3.0, while version 1.16.1 upgrades this to lolex 1.3.1. Lolex is a crucial component of Sinon.JS, providing the ability to manipulate time within tests, allowing developers to simulate scenarios involving timeouts, intervals, and date/time calculations without waiting for real-time to elapse. This upgrade suggests potential bug fixes or enhancements within lolex that directly influence Sinon.JS's time-related mocking capabilities.
Developers upgrading to Sinon.JS 1.16.1 should investigate the changelog or release notes for lolex 1.3.1 to understand the specific changes introduced. While likely a minor update, ensuring compatibility and understanding the implications for time-sensitive tests is vital. The relatively short release window between the two versions (the 19th vs 20th of august) suggests that version 1.16.1 might address a bugfix immediately after the last version was released.
The are not vulnerabilities for the version 1.16.1 of the package sinon