Sinon, a popular JavaScript library for creating test spies, stubs, and mocks, released version 6.1.3 as a minor upgrade to the previous stable version, 6.1.2. Both versions share the same core functionality for isolating and testing JavaScript code. While the descriptions indicate similar purpose, a closer inspection reveals key differences in their dependencies. Specifically, version 6.1.3 introduces @sinonjs/samsam and @sinonjs/formatio as dependencies, elements not present in 6.1.2. These additions likely enhance Sinon's capabilities in assertion and formatting functionalities, which are critical for creating effective and readable tests.
Developers upgrading to 6.1.3 should be aware of these new dependencies, as they might influence compatibility or introduce new features related to assertion matching and output formatting. It's also worth noting that while the devDependencies section lists tools used in development and testing of Sinon itself (such as eslint, mocha, and rollup), their presence doesn't directly affect the end user's experience but it is proof that the library is well maintained. Consider that the size of the unpacked library increased slightly, suggesting a potential expansion of features or internal changes. Finally, it would be relevant for developers to examine the changelog for 6.1.3 to understand the specific bug fixes, performance improvements, or new features that motivated the update, as these granular details can significantly impact their testing workflows.
The are not vulnerabilities for the version 6.1.3 of the package sinon