Skip to content

build(deps-dev): bump vitest from 4.1.8 to 4.1.11 - #9140

Merged
etrepum merged 3 commits into
mainfrom
dependabot/npm_and_yarn/vitest-4.1.11
Sep 10, 2026
Merged

etrepum merged 3 commits into
mainfrom
dependabot/npm_and_yarn/vitest-4.1.11

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps vitest from 4.1.8 to 4.1.11.

Release notes

Sourced from vitest's releases.

v4.1.11

   🐞 Bug Fixes

    View changes on GitHub

v4.1.10

   🐞 Bug Fixes

    View changes on GitHub

v4.1.9

🐞 Bug Fixes

View changes on GitHub
Commits
  • 9bd8d46 chore: release v4.1.11 (#10995)
  • 9851dbc fix(browser): trigger playwright/chromium gc on lower disk availability [back...
  • db616d2 chore: release v4.1.10 (#10718)
  • bae52b5 fix(vm): fix external module resolve error with deps optimizer query for enco...
  • a7a61e7 chore: release v4.1.9 (#10598)
  • 934b0f5 fix(pool): prevent test run hang on worker crash (#10543) [backport to v4] (#...
  • 7fb2965 fix(browser): wait for orchestrator readiness before resolving browser sessio...
  • a518019 fix: fix importOriginal with optimizer and query import [backport to v4] (#...
  • See full diff in compare view

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 9, 2026
@dependabot dependabot Bot added the javascript Pull requests that update javascript code label Sep 9, 2026
@vercel

vercel Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
lexical Ready Ready Preview Sep 9, 2026 11:35pm UTC
lexical-playground Ready Ready Preview Sep 9, 2026 11:35pm UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 9, 2026
…d group them in Dependabot

## Description

Dependabot bumped `vitest` from 4.1.8 to 4.1.11 on its own and left
`@vitest/browser-playwright` on `^4.1.8`. The two packages declare each
other as *exact-version* peers (`[email protected]` peer-requires
`@vitest/browser-playwright: 4.1.11`, and the 4.1.8 provider peer-requires
`vitest: 4.1.8`), so the workspace ended up resolving two different copies
of the vitest runtime. `pnpm run test-browser` then refused to run,
printing "Running mixed versions is not supported and may lead into bugs".

This raises `@vitest/browser-playwright` to `^4.1.11` so both halves of the
runner move together. Re-resolving also drops the duplicated 4.1.8 copies
of `@vitest/expect`, `@vitest/mocker`, `@vitest/pretty-format`,
`@vitest/runner`, `@vitest/snapshot`, `@vitest/spy` and `@vitest/utils`
from the lockfile.

To keep it from recurring, `.github/dependabot.yml` gains a `vitest` group
covering `vitest`, `vitest-*` and `@vitest/*`. It is declared before the
catch-all `dev-dependencies` group so it wins the match, the same way the
existing `rollup` and `shikijs` groups do, and it also covers vitest
companions the repo may add later (`@vitest/coverage-v8`, `@vitest/ui`,
other `@vitest/browser-*` providers).

## Test plan

### Before

`pnpm run test-browser` on the Dependabot commit — no tests run at all:

```
 RUN  v4.1.11 /home/user/lexical

Loaded  [email protected]  and  @vitest/[email protected] .
Running mixed versions is not supported and may lead into bugs
Update your dependencies and make sure the versions match.

 Test Files   (24)
      Tests  no tests
     Errors  1 error
```

`pnpm peers check` reported the vitest peer conflict alongside the three
pre-existing ones (`@babel/core`, `zustand`, `@mermaid-js/layout-elk`).

### After

`pnpm run test-browser` — the mixed-version banner is gone and the whole
suite runs:

```
 RUN  v4.1.11 /home/user/lexical

 Test Files  24 passed (24)
      Tests  151 passed | 1 skipped (152)
   Duration  16.80s
```

`pnpm run test-unit`:

```
 Test Files  317 passed (317)
      Tests  5071 passed | 1 skipped (5072)

 Test Files  7 passed (7)
      Tests  2207 passed (2207)
```

`pnpm install --frozen-lockfile` succeeds, and `pnpm peers check` no longer
lists any vitest entry — only the three pre-existing conflicts.

`npx prettier --check .github/dependabot.yml package.json` passes. E2E
(Playwright) and the Firefox/WebKit browser targets were not exercised
here; only Chromium is available in this environment.

Co-Authored-By: Claude Opus 5 <[email protected]>
@etrepum
etrepum added this pull request to the merge queue Sep 10, 2026
Merged via the queue into main with commit 933433e Sep 10, 2026
50 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/vitest-4.1.11 branch September 10, 2026 01:35
@etrepum etrepum mentioned this pull request Sep 17, 2026

This branch was successfully deployed

2 active deployments
Preview – lexical — 6dd2f6ab Deployed Sep 9, 2026 by vercel[bot]
Preview – lexical-playground — 6dd2f6ab Deployed Sep 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. dependencies Pull requests that update a dependency file extended-tests Run extended e2e tests on a PR javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants