Skip to content

build(deps-dev): bump the vitest group with 2 updates - #226

Closed
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/dev/vitest-92ac8026ca
Closed

dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/dev/vitest-92ac8026ca

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the vitest group with 2 updates: @vitest/coverage-v8 and vitest.

Updates @vitest/coverage-v8 from 4.1.11 to 5.0.2

Release notes

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

v5.0.2

   🐞 Bug Fixes

    View changes on GitHub

v5.0.1

   🚀 Features

   🐞 Bug Fixes

... (truncated)

Commits

Updates vitest from 4.1.11 to 5.0.2

Release notes

Sourced from vitest's releases.

v5.0.2

   🐞 Bug Fixes

    View changes on GitHub

v5.0.1

   🚀 Features

   🐞 Bug Fixes

... (truncated)

Commits

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

Bumps the vitest group with 2 updates: [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest).


Updates `@vitest/coverage-v8` from 4.1.11 to 5.0.2
- [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.2/packages/coverage-v8)

Updates `vitest` from 4.1.11 to 5.0.2
- [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.2/packages/vitest)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript labels Sep 30, 2026
kalwalt added a commit that referenced this pull request Oct 15, 2026
)

Upgrade vitest and @vitest/coverage-v8 to ^5.0.2 (supersedes #226) and port
the eight bench files, the ratio script, the scripts and the workflow to the
Vitest 5 benchmark API. Vitest 5 removed the top-level bench(), --outputJson
and benchmark.outputFile.

Bench files: each case keeps its describe (its name is the key in
bench/history.jsonl) and its setup, which still runs at collection time so
that `npm run bench:smoke` keeps checking it; the describe now holds one test
whose `bench` fixture runs the "jsfeatNext" and "jsfeat (reference)" cases
back to back with `.run()`. Workloads, case names and the setup outside the
timed region are unchanged. The setup/teardown options become the per-case
beforeAll/afterAll hooks.

scripts/bench-ratios.mjs reads the JSON reporter's per-test `benchmarks`
instead of files[].groups[].benchmarks[]. The ratio is defined as before
(jsfeatNext hz / jsfeat hz, hz = 1000 / mean latency, which is what Vitest 4
reported; Vitest 5's console "hz" column is a different estimator). It now
refuses input that is not Vitest 5 JSON or holds no results, so a stale or
wrong file can no longer append an empty record to history.jsonl.

vitest.config.mts sets benchmark.suppressExportGetterWarnings. This is not
cosmetic: while a benchmark runs, Vitest 5 otherwise instruments every export
of every transformed module, inside the timed region and only on the
jsfeatNext side, which inflates every module-crossing ratio (cache steady
state 2.49x instead of 1.07x; geomean 0.73 instead of 0.92).

Closes #219

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
@dependabot @github

dependabot Bot commented on behalf of github Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

Looks like these dependencies are no longer updatable, so this is no longer needed.

@dependabot dependabot Bot closed this Oct 15, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/dev/vitest-92ac8026ca branch October 15, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants