Skip to content

chore(deps-dev): bump the vitest group across 1 directory with 2 updates#5088

Merged
sdangol merged 2 commits intomainfrom
dependabot/npm_and_yarn/main/vitest-dd5d044042
Mar 14, 2026
Merged

chore(deps-dev): bump the vitest group across 1 directory with 2 updates#5088
sdangol merged 2 commits intomainfrom
dependabot/npm_and_yarn/main/vitest-dd5d044042

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 13, 2026

Bumps the vitest group with 1 update in the / directory: @vitest/coverage-v8.

Updates @vitest/coverage-v8 from 4.0.18 to 4.1.0

Release notes

Sourced from @​vitest/coverage-v8's releases.

v4.1.0

Vitest 4.1 is out!

This release page lists all changes made to the project during the 4.1 beta. To get a review of all the new features, read our blog post.

   🚀 Features

... (truncated)

Commits
  • 4150b91 chore: release v4.1.0
  • 0c2c013 chore: release v4.1.0-beta.6
  • 689a22a fix(browser): types of getCDPSession and cdp() (#9716)
  • 94eb73b chore(deps): update eslint packages (#9615)
  • 8c96bb0 refator: update links to npmx (#9783)
  • aaf7758 chore: standardize packages README (#9776)
  • 57cbe39 chore(deps): update ast-v8-to-istanbul to v1 (#9755)
  • 79672d7 chore: release v4.1.0-beta.5
  • 1d9e3b3 chore: release v4.1.0-beta.4
  • 4ff8c6f chore(build): raise build target to the minimum supported, don't bundle utils...
  • Additional commits viewable in compare view

Updates vitest from 4.0.18 to 4.1.0

Release notes

Sourced from vitest's releases.

v4.1.0

Vitest 4.1 is out!

This release page lists all changes made to the project during the 4.1 beta. To get a review of all the new features, read our blog post.

   🚀 Features

... (truncated)

Commits
  • 4150b91 chore: release v4.1.0
  • 1de0aa2 fix: correctly identify concurrent test during static analysis (#9846)
  • c3cac1c fix: use isAgent check, not just TTY, for watch mode (#9841)
  • eab68ba chore(deps): update all non-major dependencies (#9824)
  • 031f02a fix: allow catch/finally for async assertion (#9827)
  • 3e9e096 feat(reporters): add agent reporter to reduce ai agent token usage (#9779)
  • 0c2c013 chore: release v4.1.0-beta.6
  • 8181e06 fix: hideSkippedTests should not hide test.todo (fix #9562) (#9781)
  • a8216b0 fix: manual and redirect mock shouldn't load or transform original module...
  • 689a22a fix(browser): types of getCDPSession and cdp() (#9716)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot added dependencies Changes that touch dependencies, e.g. Dependabot, etc. javascript Pull requests that update Javascript code labels Mar 13, 2026
@pull-request-size pull-request-size bot added the size/XS PR between 0-9 LOC label Mar 13, 2026
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/main/vitest-dd5d044042 branch 2 times, most recently from d7b586c to 3fa3c45 Compare March 14, 2026 08:47
Bumps the vitest group with 1 update in the / directory: [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8).


Updates `@vitest/coverage-v8` from 4.0.18 to 4.1.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.0/packages/coverage-v8)

Updates `vitest` from 4.0.18 to 4.1.0
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.0/packages/vitest)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 4.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: vitest
- dependency-name: vitest
  dependency-version: 4.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: vitest
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/main/vitest-dd5d044042 branch from 3fa3c45 to 0cf2dac Compare March 14, 2026 10:30
The new ast-v8-to-istanbul used by vitest 4.1.0 no longer supports
inline `v8 ignore next` for arrow function bodies. Switch to
`v8 ignore start/stop` block syntax instead.
@svozza
Copy link
Copy Markdown
Contributor

svozza commented Mar 14, 2026

Fixed the coverage failure in packages/idempotency/src/middleware/makeHandlerIdempotent.ts (line 125).

Vitest 4.1.0 replaced v8-to-istanbul with ast-v8-to-istanbul for coverage reporting. The old library used regex-based text matching for ignore hints, while the new one does AST-level analysis. The inline /* v8 ignore next -- @preserve */ pragma was no longer being respected for the dummy arrow function () => ({}).

The fix switches to the /* v8 ignore start */ / /* v8 ignore stop */ block syntax, which is properly supported by the new AST-based coverage tool (added in vitest-dev/vitest#9204).

@sdangol can you approve this? I can merge because I'm the last commiter.

@sonarqubecloud
Copy link
Copy Markdown

@svozza svozza requested a review from sdangol March 14, 2026 10:53
@sdangol sdangol merged commit ab7b1a1 into main Mar 14, 2026
49 checks passed
@sdangol sdangol deleted the dependabot/npm_and_yarn/main/vitest-dd5d044042 branch March 14, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Changes that touch dependencies, e.g. Dependabot, etc. javascript Pull requests that update Javascript code size/XS PR between 0-9 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants