← Back to Pull requests

chore(deps): update vitest monorepo to v5.1.1 #1057

Merged
mergeraptor[bot] merged 2 files (56 lines) on Nov 21, 2026 12:10 UTC
View on GitHub
mergeraptor[bot] mergeraptor[bot] commented on Nov 21, 2026 09:08 UTC
Author

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| @vitest/coverage-v8 (source) | 5.1.0 → 5.1.1 | !age | !confidence |
| vitest (source) | 5.1.0 → 5.1.1 | !age | !confidence |

---

Release Notes

<details>
<summary>vitest-dev/vitest (@&#8203;vitest/coverage-v8)</summary>

v5.1.1

Compare Source

#####    🚀 Features

  • cache: Add fs module cache env variables  -  by @&#8203;sheremet-va in #&#8203;11859 <samp>(708c0)</samp>
  • #####    🐞 Bug Fixes

  • Rerun on file changes after a config restart  -  by @&#8203;magurotuna in #&#8203;11772 and #&#8203;11829 <samp>(289ca)</samp>

  • Avoid leaking the context expect  -  by @&#8203;sheremet-va in #&#8203;11845 <samp>(3c967)</samp>

  • Report fixture teardown errors once  -  by @&#8203;sheremet-va in #&#8203;11857 <samp>(6b167)</samp>

  • Improve diffs for asymmetric matchers  -  by @&#8203;sheremet-va in #&#8203;11855 <samp>(86775)</samp>

  • Apply --shard before the test run starts  -  by @&#8203;sheremet-va in #&#8203;11846 <samp>(e5c80)</samp>

  • Reset local expect state between retries for expect.assertions/hasAssertions  -  by @&#8203;hi-ogawa and Claude Opus 5.5 in #&#8203;11900 <samp>(50dcd)</samp>

  • Sort test files before the seeded shuffle  -  by @&#8203;sheremet-va in #&#8203;11926 <samp>(3aa30)</samp>

  • Tear down fixture contexts one at a time  -  by @&#8203;sheremet-va in #&#8203;11956 <samp>(5712b)</samp>

  • Count merged errors in the error divider  -  by @&#8203;sheremet-va in #&#8203;11955 <samp>(4bc4f)</samp>

  • Match - and . in noExternal wildcards  -  by @&#8203;hi-ogawa and Claude Opus 5.5 in #&#8203;11978 <samp>(efba8)</samp>

  • Give each test attempt a new signal  -  by @&#8203;sheremet-va in #&#8203;11998 <samp>(77a30)</samp>

  • Throw timeout error classes instead of Error  -  by @&#8203;sheremet-va in #&#8203;12003 <samp>(9b874)</samp>

  • ast-collect:

  • - Only collect calls with a name argument  -  by @&#8203;sheremet-va in #&#8203;11853 <samp>(c015a)</samp>
  • browser:

  • - Scale the iframe for preview without the UI  -  by @&#8203;sheremet-va in #&#8203;11856 <samp>(034d4)</samp>
    - Fix expect.element with message and remove redundant [ERROR] in trace steps  -  by @&#8203;hi-ogawa and Claude Opus 5.5 in #&#8203;11832 <samp>(1d115)</samp>
  • cache:

  • - Always leave a manifest to the fs module cache  -  by @&#8203;sheremet-va in #&#8203;11858 <samp>(1b238)</samp>
    - Watch cached files outside the root  -  by @&#8203;sheremet-va in #&#8203;11860 <samp>(9c044)</samp>
    - Treat a removed cache file as a miss  -  by @&#8203;sheremet-va in #&#8203;11861 <samp>(f21f2)</samp>
    - Allow cache hits in configureServer  -  by @&#8203;sheremet-va in #&#8203;11927 <samp>(a0dfc)</samp>
  • cli:

  • - Parse --bail correctly  -  by @&#8203;AriPerkkio in #&#8203;11896 <samp>(4f91e)</samp>
  • coverage:

  • - Transform untested files with correct project  -  by @&#8203;AriPerkkio in #&#8203;11870 <samp>(83298)</samp>
    - V8 to handle sub process script coverages separately  -  by @&#8203;AriPerkkio in #&#8203;11890 <samp>(71ad4)</samp>
    - Derive ignoreNode AST type from installed parser  -  by @&#8203;AriPerkkio in #&#8203;11958 <samp>(cab34)</samp>
    - V8 to ignore more Vite's CJS import helpers  -  by @&#8203;AriPerkkio in #&#8203;11981 <samp>(4e905)</samp>
  • experimental:

  • - Skip ambiguous expect.poll trace steps in concurrent tests  -  by @&#8203;hi-ogawa and Claude Opus 5.5 in #&#8203;11869 <samp>(f6ef4)</samp>
  • mocker:

  • - Keep re-exports of hoisted imports  -  by @&#8203;sheremet-va in #&#8203;11867 <samp>(5f72c)</samp>
  • pool:

  • - Shutdown disconnected workers even when testTimeout is disabled  -  by @&#8203;AriPerkkio in #&#8203;11924 <samp>(97911)</samp>
    - Terminate stuck orphaned forks workers  -  by @&#8203;AriPerkkio in #&#8203;11939 <samp>(47c87)</samp>
    - isolate: false to not re-use workers that failed to start  -  by @&#8203;AriPerkkio in #&#8203;11953 <samp>(7e672)</samp>
  • reporter:

  • - Report crashed test files as failed in json  -  by @&#8203;magurotuna in #&#8203;11965 <samp>(47fb9)</samp>
  • spy:

  • - Use primordials to allow spying on builtins  -  by @&#8203;sheremet-va in #&#8203;11837 <samp>(d951e)</samp>
  • typecheck:

  • - Add env var to hide experimental warning  -  by @&#8203;aliamanatali in #&#8203;11840 <samp>(5a69e)</samp>
    - Kill the checker process tree on windows  -  by @&#8203;sheremet-va in #&#8203;11850 <samp>(1fa69)</samp>
  • vitest:

  • - Allow assigning to import.meta.env  -  by @&#8203;aliamanatali in #&#8203;11841 <samp>(9fd1f)</samp>

    #####    🏎 Performance

  • Send source maps to workers as a string  -  by @&#8203;maschwenk in #&#8203;11750 <samp>(485cd)</samp>

  • Resolve CLI file filters once instead of per test file  -  by @&#8203;maschwenk in #&#8203;11935 <samp>(96a90)</samp>

  • browser: Reuse cached modules during vitest run  -  by @&#8203;magurotuna in #&#8203;11914 <samp>(0c502)</samp>
  • #####     View changes on GitHub

    </details>

    ---

    Configuration

    📅 Schedule: (UTC)

  • Branch creation

  • - At any time (no schedule defined)
  • Automerge

  • - At any time (no schedule defined)

    🚦 Automerge: Enabled.

    ♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.

    ---

    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

    ---

    This PR has been generated by Mend Renovate CLI.
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNTcuNiIsInVwZGF0ZWRJblZlciI6IjQ0LjI1Ny42IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

    Diff: 56 lines (+28 / -28) across 2 files Reviewer: Danathar Review duration: 181m
    All Vouch review confidence checks passed
    Residual risk 0.03 = Change Risk (0.29) × (1 − Review Confidence (0.89)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.29 · 56 lines diff across 2 files
    0.29
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.89 · 1 substantive comment(s)
    0.89
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    89%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.242
    Real PR Conversation Timeline
    3 items
    hivecommons-hive[bot] hivecommons-hive[bot] commented on Nov 21, 2026 09:21 UTC
    Bot

    <!-- hive:status -->
    Hive status — updated in place; edits do not notify. Full history is in the Activity Monitor.

    <!-- hive:status:section=sentinel -->
    <!-- hive-sentinel-notice 1f8fbace25041e33a676dac95760198d118d5d31 -->
    ℹ️ Sentinel: informational, author is trusted (allow-listed bot), merge is not blocked. Head 1f8fbace2504 matched:

  • sensitive_path: changes 2 sensitive path(s) (package-lock.json, package.json)
  • No sentinel-alert label was added. The finding is recorded in the dashboard Security tab and /api/sentinel; set sentinel.trusted_authors_block: true to block trusted authors too.
    <!-- /hive:status:section -->

    <!-- hive:status:section=stage-ready -->
    <!-- hive:stage-ready-card -->
    Ready for a human merge: verdict approved 1f8fbac, 5/5 checks green, soak 30m0s elapsed. Auto-merge is off for this repo, so a person merges.

    <sub>The hive never approves on your behalf: approve and merge it on GitHub if you accept it.</sub>
    <!-- /hive:status:section -->

    Danathar Danathar approved these changes on Nov 21, 2026 11:46 UTC
    Approved Reviewer

    Approving (Danathar). I checked every changed lock entry against the npm registry: vitest, @vitest/coverage-v8, @vitest/mocker and @vitest/spy 5.1.1 all carry the same sha512 integrity npm publishes for 5.1.1 (released 2026-11-18). The raised ranges (magic-string ^1.4.5, tinybench ^6.2.3) are already satisfied in the lockfile at this head: the nested magic-string copies resolve to 1.4.5 and tinybench to 6.2.3. All required checks are green.

    Reviewers
    Assignees
    mergeraptor[bot] mergeraptor[bot]
    Labels
    risk: low confidence: 89.1% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 28.6% (LOW) · Higher = larger blast radius
    28.6%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 89.1% · Lower = rushed or shallow review
    89.1%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 3.1% · Safe to merge
    3.1%