Sinon version 17.0.0 is a notable release featuring enhancements and updates compared to its predecessor, version 16.1.3. Developers upgrading will find that @sinonjs/fake-timers has been updated from version 10.3.0 to 11.2.2, and @sinonjs/eslint-config was bumped from version 4.0.6 to 4.1.0, this could mean new linting rules to address. The update also includes a newer Prettier version (from 2.8.4 to 3.0.3), and Babel core moved to a newer version as well (from 7.21.0 to 7.23.2). Puppeteer received a significant update from version 19.7.4 to 21.4.0, meaning it now supports newer javascript features.
Several devDependencies were removed, including proxyquire, proxyquireify, and proxyquire-universal suggesting adjustments in the testing or build process. The rimraf package experienced an upgrade, advancing from version 4.4.0 to 5.0.5, and @sinonjs/referee saw an update from version 10.0.0 to 10.0.1. The "unimported" dev dependency saw a jump from version 1.26.0 to 1.30.0.
This new version also includes improvements aimed at enhancing the developer experience and overall library stability. The unpacked size of the package has increased, likely due to these updates and new features. Developers considering the upgrade should review their test suites and build configurations to ensure compatibility with the updated dependencies, particularly Prettier, Puppeteer and Babel. Sinon remains a powerful tool for creating test spies, stubs, and mocks in JavaScript.
The are not vulnerabilities for the version 17.0.0 of the package sinon