Sinon.js, a popular JavaScript testing library providing spies, stubs, and mocks, released version 7.3.1 shortly after 7.3.0 in March 2019. The core functionality remains consistent, ensuring a smooth transition for developers already using Sinon. Both versions offer robust tools for isolating and verifying code behavior during testing.
The primary difference lies within the dependencies. Version 7.3.1 upgrades @sinonjs/samsam from version 3.3.0 to 3.3.1. While the changelog for @sinonjs/samsam might contain specific fixes or minor improvements, this update generally doesn't introduce breaking changes. Therefore, most developers relying on Sinon's core features likely won't need to adjust their existing test suites. The @sinonjs/samsam package is a utility library used by other Sinon packages, so the fix probably contains some internal fix that doesn't affect the external API.
Both versions depend on a range of other packages such as diff, nise, and lolex for advanced testing functionalities such as mocking the time. The devDependencies list, including tools like mocha, eslint, and rollup, indicates the development and build pipeline used for Sinon itself, but does not directly impact developers using Sinon in their projects. The minor version bump from 7.3.0 to 7.3.1 addresses internal dependency adjustments and is recommended for developers for stability.
The are not vulnerabilities for the version 7.3.1 of the package sinon