Repository navigation
⬆️ Support Cosmiconfig 10 and Vitest 5 - #372
Merged
Robdel12 merged 2 commits intoOct 13, 2026
Merged
Conversation
Bumps the major-dependencies group with 4 updates in the / directory: [cosmiconfig](https://github.com/cosmiconfig/cosmiconfig), [@vitest/browser](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser), [@vitest/browser-playwright](https://github.com/vitest-dev/vitest/tree/HEAD/packages/browser-playwright) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). Updates `cosmiconfig` from 9.0.2 to 10.0.1 - [Release notes](https://github.com/cosmiconfig/cosmiconfig/releases) - [Changelog](https://github.com/cosmiconfig/cosmiconfig/blob/main/CHANGELOG.md) - [Commits](https://github.com/cosmiconfig/cosmiconfig/commits/v10.0.1) Updates `@vitest/browser` from 4.1.11 to 5.0.0 - [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.0/packages/browser) Updates `@vitest/browser-playwright` from 4.1.11 to 5.0.0 - [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.0/packages/browser-playwright) Updates `vitest` from 4.1.11 to 5.0.0 - [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.0/packages/vitest) --- updated-dependencies: - dependency-name: "@vitest/browser" dependency-version: 5.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: major-dependencies - dependency-name: "@vitest/browser-playwright" dependency-version: 5.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: major-dependencies - dependency-name: cosmiconfig dependency-version: 10.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: major-dependencies - dependency-name: vitest dependency-version: 5.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: major-dependencies ... Signed-off-by: dependabot[bot] <[email protected]>
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/major-dependencies-b9a0167d36
branch
from
October 13, 2026 04:40
7f264ed to
b705de3
Compare
Align runtime requirements and CI with native TypeScript config loading. Pass browser settings through Vitest env and honor local fail-on-diff when a build ID is present, with real browser coverage for Vitest 4 and 5.
Robdel12
deleted the
dependabot/npm_and_yarn/major-dependencies-b9a0167d36
branch
October 13, 2026 05:30
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Cosmiconfig 10 moves TypeScript configs to Node's native type stripping, and Vitest 5 breaks the browser settings passed through our old Vite globals. Screenshot requests could end up at the Vitest server with a quoted URL instead of reaching Vizzly.
Approach
Require Node 22.18+ within Node 22, or Node 24+, across the CLI, JavaScript SDKs, and CI. Document which TypeScript config syntax still works and how to replace enums, runtime namespaces, parameter properties, and path aliases. Remove the static-site client's unused Cosmiconfig dependency.
Pass screenshot settings through Vitest's browser environment, keeping the existing matcher API and Vitest 4 support. Use the server's TDD response to honor fail-on-diff during local runs that also have a build ID. CI now exercises both Vitest 4 and 5 on the supported Node versions.
Evidence
The full CLI suite passes with 1,983 tests and six skips on Node 22.18. Static-site's 204 tests, builds, published type checks, lint, and formatting also pass. Real Chromium tests cover disabled captures, local comparisons with and without build IDs, and cloud uploads against an external API fixture on Vitest 4 and 5. The existing CLI-driven browser workflow passes all five tests and processes six captures. Config tests verify native TypeScript helper imports and a clear rejection of unsupported enum syntax.
Original Dependabot description
Bumps the major-dependencies group with 4 updates in the / directory: cosmiconfig, @vitest/browser, @vitest/browser-playwright and vitest.
Updates
cosmiconfigfrom 9.0.2 to 10.0.1Changelog
Sourced from cosmiconfig's changelog.
Commits
Updates
@vitest/browserfrom 4.1.11 to 5.0.0Release notes
Sourced from @vitest/browser's releases.
... (truncated)
Commits
f441c6fchore: release v5.0.0 (#11130)897f51fchore: release v5.0.0-rc.4 (#11107)dc10f5ffix(browser): report the action error when a task times out (#11101)7db80dcchore: release v5.0.0-rc.3 (#11089)732df2cfix(deps): update all non-major dependencies (#11043)1bbc278fix(browser): preserve trace popover state (fix #10906) (#11021)fad263fperf: initialize trace view in the orchestrator once per worker (#10984)af83d1bchore: release v5.0.0-rc.2 (#10976)aeb6720fix(browser): don't redirect vitest in client environment (#10975)8ff9b9afix(mocker): restrict redirect mocks to the fs allowlist (#10972)Updates
@vitest/browser-playwrightfrom 4.1.11 to 5.0.0Release notes
Sourced from @vitest/browser-playwright's releases.
... (truncated)
Commits
f441c6fchore: release v5.0.0 (#11130)897f51fchore: release v5.0.0-rc.4 (#11107)dc10f5ffix(browser): report the action error when a task times out (#11101)7db80dcchore: release v5.0.0-rc.3 (#11089)af83d1bchore: release v5.0.0-rc.2 (#10976)c496c2efix(browser): fail instead of hanging when the browser stops responding (#10956)032d318fix(browser): trigger playwright/chromium gc on lower disk availability (#10912)a7fa111chore: release v5.0.0-rc.1 (#10920)0553851chore: add Knip checks (#10847)b7be731chore: release v5.0.0-beta.7 (#10825)Updates
vitestfrom 4.1.11 to 5.0.0Release notes
Sourced from vitest's releases.
... (truncated)
Commits
f441c6fchore: release v5.0.0 (#11130)d46a747fix: treat test.describe as a suite during static collection (#11128)584cf30fix: add a warning if inline project has duplicate plugins due to unexpected ...f08ce4bfix: apply queued mocks from doMock() in queue order (fixes #10706) (#11127)897f51fchore: release v5.0.0-rc.4 (#11107)1339b06chore(deps): update all non-major dependencies (#11104)51e9494feat!: parse files statically in vitest list by default (#11088)2122ffdfix: propagate --maxWorkers to projects (#11102)dc10f5ffix(browser): report the action error when a task times out (#11101)d4fe198feat: promote clearCache out of experimental (#11086)