Skip to content

v2.4.0-next.32

@dependabot dependabot tagged this 13 Oct 18:45
* chore(deps-dev): bump vitest from 4.1.11 to 5.0.3

Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 4.1.11 to 5.0.3.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v5.0.3/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 5.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: update Vitest matcher type augmentation

Vitest 5 assertion typings use Matchers<R, T> and carry the assertion return type separately from the received value. The old Assertion<T> augmentation therefore stopped exposing toMatchEntity in the Vitest workspace. Augment Matchers and return R to restore typed matcher calls while keeping expected values tied to the received type.

[dependabot skip]

Generated-by: PatchWave (https://patchwave.ai)
PatchWave-Operation: fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: patchwave[bot] <288340492+patchwave[bot]@users.noreply.github.com>
Assets 2
Loading