Vitest evolved from version 0.1.27 to 0.2.0 with notable changes primarily affecting its development dependencies and internal tooling. Developers upgrading will find no breaking changes in the public API. This release focuses on internal improvements and aligning versions across the Vitest ecosystem.
A key difference is the updated @vitest/ui package, moving from version 0.1.27 to 0.2.0 alongside the core vitest package, ensuring consistent UI features and bug fixes. Notably, the mockdate dependency present in v0.1.27 was removed in v0.2.0 and replaced with @sinonjs/fake-timers library, offering potentially enhanced and reliable mocking capabilities. Furthermore, version 0.2.0 introduces a new development dependency @types/sinonjs__fake-timers, showing that new library requires its respective type definitions. This shows a shift toward better code completion and type safety in testing environments.
In addition, vite-node was updated from version 0.1.27 to 0.2.0, potentially bringing improvements in Vite integration and faster test execution. While most other development dependencies remain at similar versions, the explicit addition of @sinonjs/fake-timers and its types may warrant investigation for developers heavily reliant on date mocking in their tests. The unpacked size of the package also slightly increased, suggesting minor additions or modifications in the codebase. This release indicates a refining process, focusing on stability, internal enhancements, and a more robust foundation for future feature additions.
The are not vulnerabilities for the version 0.2.0 of the package vitest