Sinon.js updated from version 15.0.1 to 15.0.2, presenting a minor release with several dependency updates aimed at stability and developer experience. The core functionality remains consistent between versions, focusing on providing robust JavaScript test spies, stubs, and mocks. Developers upgrading will find the familiar Sinon API intact, ensuring minimal disruption to existing test suites.
Key changes reside in the updated dependencies. The "diff" package jumped from version 5.0.0 to 5.1.0, potentially introducing improvements in comparing values for assertion failures. @sinonjs/commons moved from version 2.0.0 to 3.0.0, indicating possible enhancements of the shared tools. Several development dependencies saw updates too. Mocha, a widely-used testing framework saw upgrade to 10.2.0 from 9.2.0, potentially introducing new features and performance improvements benefiting test development. Prettier moved from version 2.5.1 to 2.8.4, promising better code formatting capabilities. Puppeteer, a Node library which provides a high-level API to control Chrome or Chromium, saw a significant upgrade from 13.1.2 to 19.7.4, allowing a wider support for headless browser testing.
While these updates don't radically alter Sinon's core spy/stub/mock capabilities, they reflect a commitment to keeping the library modern and compatible. Dependency updates are crucial for security fixes and performance optimization, allowing developers to leverage the latest toolchain features. Upgrading to Sinon 15.0.2 offers a smoother testing experience and integration within the broader JavaScript ecosystem.
The are not vulnerabilities for the version 15.0.2 of the package sinon