$ the-wire · showcase
Vue compiler-sfc restores await scope, test-utils moves to Vitest v5
By RepoJournal · Filed · About Vue.js · Composed from the cited sources · methodology
Vue's compiler-sfc no longer loses await scope when compiling out of nested blocks, and vuejs/test-utils has picked up Vitest 5.
vuejs/core landed a compiler-sfc fix that restores await scope when leaving nested blocks [1]. Previously, compiled output could drop the await context on the way out of a nested block; it now carries that scope back with it, which matters for SFCs that use top-level await inside conditionals and loops.
On the tooling side, vuejs/test-utils moved its coverage dependency from @vitest/coverage-v8 4.1.11 to 5.0.0 via Renovate [2]. This is a major-version bump of the coverage provider in the project's dev dependencies, so anyone consuming @vue/test-utils source or mirroring its test setup should expect the usual Vitest 5 breaking-change surface rather than treating it as a routine patch.
Action items
References
- [1] fix(compiler-sfc): restore await scope when leaving nested blocks ↗ vuejs/core
- [2] chore(deps): update vitest to v5 ↗ vuejs/test-utils