Sinon.js has released version 21.0.0, building upon the functionality of the previous stable version, 20.0.0, offering a refined experience for JavaScript testing. Both versions provide powerful tools for creating spies, stubs, and mocks, crucial for isolating units of code and verifying interactions in test suites. The dependencies for core functionality remain consistent, including diff and supports-color for readable test output, @sinonjs/samsam for value comparison, @sinonjs/commons for shared utilities, and @sinonjs/fake-timers for manipulating time in tests.
A key difference lies in the updated development dependencies in version 21.0.0. Noticeable updates include a newer version of prettier, used for code formatting; and lint-staged, for running linters on staged git files. The esbuild build tool was updated too. These updates likely reflect a focus on modernized development workflows and improved code maintainability. While these changes are primarily relevant to contributors and maintainers, developers indirectly benefit from a more robust and well-maintained library. These development updates ensure that Sinon remains compatible with the latest tools and best practices in the JavaScript ecosystem. It is important to notice that the release date for both versions is set in the future, so the information might not be real.
The are not vulnerabilities for the version 21.0.0 of the package sinon