Skip to content

chore(deps): bump @vitest/coverage-v8 from 4.1.11 to 5.0.1 - #4

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vitest/coverage-v8-5.0.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/vitest/coverage-v8-5.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 7, 2026

Copy link
Copy Markdown
Contributor

Bumps @vitest/coverage-v8 from 4.1.11 to 5.0.1.

Release notes

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

v5.0.1

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v5.0.0

Vitest 5 is officially out! This release focuses on performance and brings a lot of new features while fixing long-standing bugs. See our blog post for the official announcement.

   🚨 Breaking Changes

... (truncated)

Commits

@dependabot @github

dependabot Bot commented on behalf of github Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, javascript. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@kubestellar-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign clubanderson for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@dependabot dependabot Bot changed the title chore(deps): bump @vitest/coverage-v8 from 4.1.11 to 5.0.0 chore(deps): bump @vitest/coverage-v8 from 4.1.11 to 5.0.1 Sep 23, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest/coverage-v8-5.0.0 branch from a5c137c to 5de2aad Compare September 23, 2026 18:12
@clubanderson

Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 4.1.11 to 5.0.1.
- [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.1/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 5.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

netlify Bot commented Sep 23, 2026

Copy link
Copy Markdown

Deploy Preview for hivecommons-docs ready!

Name Link
🔨 Latest commit b08ccc7
🔍 Latest deploy log https://app.netlify.com/projects/hivecommons-docs/deploys/6ab41755f40c4600089e39df
😎 Deploy Preview https://deploy-preview-4--hivecommons-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@clubanderson

Copy link
Copy Markdown
Member

Superseded by #18, which bumps vitest and @vitest/coverage-v8 to 5.0.1 together.

These two are version-locked, so neither could pass on its own. Vitest 5 also stopped re-exporting vite, which broke vitest.config.ts type checking, so #18 adds vite as an explicit devDependency at the version already resolved in the lockfile.

@clubanderson
clubanderson deleted the dependabot/npm_and_yarn/vitest/coverage-v8-5.0.0 branch September 23, 2026 18:18
@dependabot @github

dependabot Bot commented on behalf of github Sep 23, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is superseded by #18, which bumps @vitest/coverage-v8 and vitest to 5.0.1 together.

Verified, not just from the titles: this diff bumps only @vitest/coverage-v8 to 5.0.1 (package.json, package-lock.json), but the new lockfile entry peer-requires "vitest": "5.0.1" (package-lock.json, node_modules/@vitest/coverage-v8peerDependencies), while the repo stays on vitest 4.1.11. That is why this PR's "Run unit tests" check fails — it cannot pass alone. #18 makes the same coverage-v8 bump plus the locked vitest bump and the now-required explicit vite devDependency.

Flagging for a maintainer: if you agree, this one could be closed in favour of #18 (note #18 still has one failing Mermaid test to resolve — commented there). I have not closed anything.

— hive: agent=reviewer backend=copilot model=claude-fable-5 copilot=1.0.88

clubanderson added a commit that referenced this pull request Sep 23, 2026
#4) (#18)

* chore(deps): bump vitest and @vitest/coverage-v8 to 5.0.1, add explicit vite

Supersedes the separate Dependabot PRs #9 and #4, which had to land
together: vitest and @vitest/coverage-v8 are version-locked, and merging
either alone breaks the test run.

Vitest 5 no longer re-exports vite, so vitest.config.ts failed to type
check on the bump alone:

  vitest.config.ts(2,38): error TS2307: Cannot find module 'vite'
  vitest.config.ts(13,23): error TS7006: Parameter 'code' implicitly has an 'any' type
  vitest.config.ts(13,29): error TS7006: Parameter 'id' implicitly has an 'any' type

The config imports transformWithEsbuild from vite directly, so vite is
now an explicit devDependency pinned to the version already resolved in
the lockfile (8.1.5). The implicit-any errors cascade from the failed
import and resolve with it.

Vitest 5 requires Node 22 and Vite 6.4+. CI runs Node 22 (vitest.yml)
and the resolved Vite is 8.1.5, so both floors are met.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Andrew Anderson <andy@clubanderson.com>

* test: make the mermaid initialize assertion independent of import order

Vitest 5 changed module evaluation ordering, so the static
`import { MermaidComponent }` at the top of the file is no longer
guaranteed to have been evaluated when the assertion runs. The side
effect under test (`mermaid.initialize`) fires at the top level of
@/lib/Mermaid, so import it explicitly inside the test instead of
depending on that ordering.

444 of 445 tests already passed on vitest 5; this was the only one
relying on the old behaviour.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Andrew Anderson <andy@clubanderson.com>

---------

Signed-off-by: Andrew Anderson <andy@clubanderson.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant