This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [vitest](https://vitest.dev) ([source](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`5.1.0` → `5.1.1`](https://renovatebot.com/diffs/npm/vitest/5.1.0/5.1.1) |  |  |
---
### Release Notes
<details>
<summary>vitest-dev/vitest (vitest)</summary>
### [`v5.1.1`](https://github.com/vitest-dev/vitest/releases/tag/v5.1.1)
[Compare Source](https://github.com/vitest-dev/vitest/compare/v5.1.0...v5.1.1)
##### 🚀 Features
- **cache**: Add fs module cache env variables - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11859](https://github.com/vitest-dev/vitest/issues/11859) [<samp>(708c0)</samp>](https://github.com/vitest-dev/vitest/commit/708c05da0)
##### 🐞 Bug Fixes
- Rerun on file changes after a config restart - by [@​magurotuna](https://github.com/magurotuna) in [#​11772](https://github.com/vitest-dev/vitest/issues/11772) and [#​11829](https://github.com/vitest-dev/vitest/issues/11829) [<samp>(289ca)</samp>](https://github.com/vitest-dev/vitest/commit/289caab9c)
- Avoid leaking the context expect - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11845](https://github.com/vitest-dev/vitest/issues/11845) [<samp>(3c967)</samp>](https://github.com/vitest-dev/vitest/commit/3c967a7b7)
- Report fixture teardown errors once - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11857](https://github.com/vitest-dev/vitest/issues/11857) [<samp>(6b167)</samp>](https://github.com/vitest-dev/vitest/commit/6b167eb79)
- Improve diffs for asymmetric matchers - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11855](https://github.com/vitest-dev/vitest/issues/11855) [<samp>(86775)</samp>](https://github.com/vitest-dev/vitest/commit/86775420f)
- Apply --shard before the test run starts - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11846](https://github.com/vitest-dev/vitest/issues/11846) [<samp>(e5c80)</samp>](https://github.com/vitest-dev/vitest/commit/e5c80b775)
- Reset local expect state between retries for `expect.assertions/hasAssertions` - by [@​hi-ogawa](https://github.com/hi-ogawa) and **Claude Opus 5.5** in [#​11900](https://github.com/vitest-dev/vitest/issues/11900) [<samp>(50dcd)</samp>](https://github.com/vitest-dev/vitest/commit/50dcdb373)
- Sort test files before the seeded shuffle - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11926](https://github.com/vitest-dev/vitest/issues/11926) [<samp>(3aa30)</samp>](https://github.com/vitest-dev/vitest/commit/3aa3045a9)
- Tear down fixture contexts one at a time - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11956](https://github.com/vitest-dev/vitest/issues/11956) [<samp>(5712b)</samp>](https://github.com/vitest-dev/vitest/commit/5712b5fd2)
- Count merged errors in the error divider - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11955](https://github.com/vitest-dev/vitest/issues/11955) [<samp>(4bc4f)</samp>](https://github.com/vitest-dev/vitest/commit/4bc4f86e8)
- Match `-` and `.` in `noExternal` wildcards - by [@​hi-ogawa](https://github.com/hi-ogawa) and **Claude Opus 5.5** in [#​11978](https://github.com/vitest-dev/vitest/issues/11978) [<samp>(efba8)</samp>](https://github.com/vitest-dev/vitest/commit/efba8cbfe)
- Give each test attempt a new `signal` - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11998](https://github.com/vitest-dev/vitest/issues/11998) [<samp>(77a30)</samp>](https://github.com/vitest-dev/vitest/commit/77a306757)
- Throw timeout error classes instead of Error - by [@​sheremet-va](https://github.com/sheremet-va) in [#​12003](https://github.com/vitest-dev/vitest/issues/12003) [<samp>(9b874)</samp>](https://github.com/vitest-dev/vitest/commit/9b87492f7)
- **ast-collect**:
- Only collect calls with a name argument - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11853](https://github.com/vitest-dev/vitest/issues/11853) [<samp>(c015a)</samp>](https://github.com/vitest-dev/vitest/commit/c015ad5a6)
- **browser**:
- Scale the iframe for preview without the UI - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11856](https://github.com/vitest-dev/vitest/issues/11856) [<samp>(034d4)</samp>](https://github.com/vitest-dev/vitest/commit/034d44e54)
- Fix expect.element with `message` and remove redundant `[ERROR]` in trace steps - by [@​hi-ogawa](https://github.com/hi-ogawa) and **Claude Opus 5.5** in [#​11832](https://github.com/vitest-dev/vitest/issues/11832) [<samp>(1d115)</samp>](https://github.com/vitest-dev/vitest/commit/1d115dcc3)
- **cache**:
- Always leave a manifest to the fs module cache - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11858](https://github.com/vitest-dev/vitest/issues/11858) [<samp>(1b238)</samp>](https://github.com/vitest-dev/vitest/commit/1b2380c88)
- Watch cached files outside the root - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11860](https://github.com/vitest-dev/vitest/issues/11860) [<samp>(9c044)</samp>](https://github.com/vitest-dev/vitest/commit/9c044db81)
- Treat a removed cache file as a miss - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11861](https://github.com/vitest-dev/vitest/issues/11861) [<samp>(f21f2)</samp>](https://github.com/vitest-dev/vitest/commit/f21f224ba)
- Allow cache hits in configureServer - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11927](https://github.com/vitest-dev/vitest/issues/11927) [<samp>(a0dfc)</samp>](https://github.com/vitest-dev/vitest/commit/a0dfc8b08)
- **cli**:
- Parse `--bail` correctly - by [@​AriPerkkio](https://github.com/AriPerkkio) in [#​11896](https://github.com/vitest-dev/vitest/issues/11896) [<samp>(4f91e)</samp>](https://github.com/vitest-dev/vitest/commit/4f91e76af)
- **coverage**:
- Transform untested files with correct project - by [@​AriPerkkio](https://github.com/AriPerkkio) in [#​11870](https://github.com/vitest-dev/vitest/issues/11870) [<samp>(83298)</samp>](https://github.com/vitest-dev/vitest/commit/832980392)
- V8 to handle sub process script coverages separately - by [@​AriPerkkio](https://github.com/AriPerkkio) in [#​11890](https://github.com/vitest-dev/vitest/issues/11890) [<samp>(71ad4)</samp>](https://github.com/vitest-dev/vitest/commit/71ad4dfa1)
- Derive `ignoreNode` AST type from installed parser - by [@​AriPerkkio](https://github.com/AriPerkkio) in [#​11958](https://github.com/vitest-dev/vitest/issues/11958) [<samp>(cab34)</samp>](https://github.com/vitest-dev/vitest/commit/cab34bb0e)
- V8 to ignore more Vite's CJS import helpers - by [@​AriPerkkio](https://github.com/AriPerkkio) in [#​11981](https://github.com/vitest-dev/vitest/issues/11981) [<samp>(4e905)</samp>](https://github.com/vitest-dev/vitest/commit/4e905a1ba)
- **experimental**:
- Skip ambiguous `expect.poll` trace steps in concurrent tests - by [@​hi-ogawa](https://github.com/hi-ogawa) and **Claude Opus 5.5** in [#​11869](https://github.com/vitest-dev/vitest/issues/11869) [<samp>(f6ef4)</samp>](https://github.com/vitest-dev/vitest/commit/f6ef4b0ef)
- **mocker**:
- Keep re-exports of hoisted imports - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11867](https://github.com/vitest-dev/vitest/issues/11867) [<samp>(5f72c)</samp>](https://github.com/vitest-dev/vitest/commit/5f72c3d0d)
- **pool**:
- Shutdown disconnected workers even when `testTimeout` is disabled - by [@​AriPerkkio](https://github.com/AriPerkkio) in [#​11924](https://github.com/vitest-dev/vitest/issues/11924) [<samp>(97911)</samp>](https://github.com/vitest-dev/vitest/commit/979118a70)
- Terminate stuck orphaned forks workers - by [@​AriPerkkio](https://github.com/AriPerkkio) in [#​11939](https://github.com/vitest-dev/vitest/issues/11939) [<samp>(47c87)</samp>](https://github.com/vitest-dev/vitest/commit/47c87ebb5)
- `isolate: false` to not re-use workers that failed to start - by [@​AriPerkkio](https://github.com/AriPerkkio) in [#​11953](https://github.com/vitest-dev/vitest/issues/11953) [<samp>(7e672)</samp>](https://github.com/vitest-dev/vitest/commit/7e67234a9)
- **reporter**:
- Report crashed test files as failed in json - by [@​magurotuna](https://github.com/magurotuna) in [#​11965](https://github.com/vitest-dev/vitest/issues/11965) [<samp>(47fb9)</samp>](https://github.com/vitest-dev/vitest/commit/47fb992ca)
- **spy**:
- Use primordials to allow spying on builtins - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11837](https://github.com/vitest-dev/vitest/issues/11837) [<samp>(d951e)</samp>](https://github.com/vitest-dev/vitest/commit/d951e63d3)
- **typecheck**:
- Add env var to hide experimental warning - by [@​aliamanatali](https://github.com/aliamanatali) in [#​11840](https://github.com/vitest-dev/vitest/issues/11840) [<samp>(5a69e)</samp>](https://github.com/vitest-dev/vitest/commit/5a69e4396)
- Kill the checker process tree on windows - by [@​sheremet-va](https://github.com/sheremet-va) in [#​11850](https://github.com/vitest-dev/vitest/issues/11850) [<samp>(1fa69)</samp>](https://github.com/vitest-dev/vitest/commit/1fa69e09b)
- **vitest**:
- Allow assigning to import.meta.env - by [@​aliamanatali](https://github.com/aliamanatali) in [#​11841](https://github.com/vitest-dev/vitest/issues/11841) [<samp>(9fd1f)</samp>](https://github.com/vitest-dev/vitest/commit/9fd1f22a4)
##### 🏎 Performance
- Send source maps to workers as a string - by [@​maschwenk](https://github.com/maschwenk) in [#​11750](https://github.com/vitest-dev/vitest/issues/11750) [<samp>(485cd)</samp>](https://github.com/vitest-dev/vitest/commit/485cd627d)
- Resolve CLI file filters once instead of per test file - by [@​maschwenk](https://github.com/maschwenk) in [#​11935](https://github.com/vitest-dev/vitest/issues/11935) [<samp>(96a90)</samp>](https://github.com/vitest-dev/vitest/commit/96a9032af)
- **browser**: Reuse cached modules during vitest run - by [@​magurotuna](https://github.com/magurotuna) in [#​11914](https://github.com/vitest-dev/vitest/issues/11914) [<samp>(0c502)</samp>](https://github.com/vitest-dev/vitest/commit/0c502bc72)
##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v5.1.0...v5.1.1)
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNTYuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjI1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
5.1.0→5.1.1Release Notes
vitest-dev/vitest (vitest)
v5.1.1Compare Source
🚀 Features
🐞 Bug Fixes
expect.assertions/hasAssertions- by @hi-ogawa and Claude Opus 5.5 in #11900 (50dcd)-and.innoExternalwildcards - by @hi-ogawa and Claude Opus 5.5 in #11978 (efba8)signal- by @sheremet-va in #11998 (77a30)messageand remove redundant[ERROR]in trace steps - by @hi-ogawa and Claude Opus 5.5 in #11832 (1d115)--bailcorrectly - by @AriPerkkio in #11896 (4f91e)ignoreNodeAST type from installed parser - by @AriPerkkio in #11958 (cab34)expect.polltrace steps in concurrent tests - by @hi-ogawa and Claude Opus 5.5 in #11869 (f6ef4)testTimeoutis disabled - by @AriPerkkio in #11924 (97911)isolate: falseto not re-use workers that failed to start - by @AriPerkkio in #11953 (7e672)🏎 Performance
View changes on GitHub
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.