Version 9.0.7 of @types/sinon, the TypeScript definitions for the popular Sinon.JS mocking library, was released on September 29, 2020, following closely after version 9.0.6 released on September 26, 2020. Both versions share the same core dependency on @types/sinonjs__fake-timers, the definitions for fake timers used within Sinon. The licensing remains under the MIT license, and both packages point to the DefinitelyTyped repository on GitHub for their source code.
The key difference between version 9.0.7 and 9.0.6 lies in a slight increase in the unpacked size of the package, growing from 76,173 bytes to 76,300 bytes. While seemingly small (little more than 100 bytes), this variation suggests minor updates or refinements to the type definitions themselves. For developers using Sinon with TypeScript, this update provides enhanced type safety and improved auto-completion within their IDEs. The fileCount remains the same, 4.
Users upgrading from older versions of @types/sinon or installing it for the first time can expect a more robust and accurate representation of the Sinon API in their TypeScript projects. Upgrading from version 9.0.6 is recommended but not required because the bugfix or enhancement is possibly related to very specific edge cases. It allows for cleaner code and more reliable type checking during development when using Sinon for mocking, stubbing, and spying in their tests. Ensure @types/sinonjs__fake-timers is also up to date to leverage the fully intended functionality.
The are not vulnerabilities for the version 9.0.7 of the package @types/sinon