Skip to content

⬆️ Support Cosmiconfig 10 and Vitest 5 - #372

Merged
Robdel12 merged 2 commits into
mainfrom
dependabot/npm_and_yarn/major-dependencies-b9a0167d36
Oct 13, 2026
Merged

Robdel12 merged 2 commits into
mainfrom
dependabot/npm_and_yarn/major-dependencies-b9a0167d36

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

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 cosmiconfig from 9.0.2 to 10.0.1

Changelog

Sourced from cosmiconfig's changelog.

10.0.1

Dependency security update.

10.0.0

  • Breaking change: The required version range is now ^22.18 || >=24.
  • Breaking change: Remove typescript in favor of Node's own type stripping. This means that TypeScript 7 projects are supported, but non-erasable type syntax like namespace or enum is unsupported.
  • Breaking change: JSON parsing uses the JSON.parse function directly. parse-json is no longer used for better error messages, since Node has improved theirs.
  • Remove import-fresh dependency in favor of directly clearing the cache.
  • Added support for UTF-16 config files
Commits

Updates @vitest/browser from 4.1.11 to 5.0.0

Release notes

Sourced from @​vitest/browser's releases.

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

Updates @vitest/browser-playwright from 4.1.11 to 5.0.0

Release notes

Sourced from @​vitest/browser-playwright's releases.

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

Updates vitest from 4.1.11 to 5.0.0

Release notes

Sourced from vitest's releases.

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
  • f441c6f chore: release v5.0.0 (#11130)
  • d46a747 fix: treat test.describe as a suite during static collection (#11128)
  • 584cf30 fix: add a warning if inline project has duplicate plugins due to unexpected ...
  • f08ce4b fix: apply queued mocks from doMock() in queue order (fixes #10706) (#11127)
  • 897f51f chore: release v5.0.0-rc.4 (#11107)
  • 1339b06 chore(deps): update all non-major dependencies (#11104)
  • 51e9494 feat!: parse files statically in vitest list by default (#11088)
  • 2122ffd fix: propagate --maxWorkers to projects (#11102)
  • dc10f5f fix(browser): report the action error when a task times out (#11101)
  • d4fe198 feat: promote clearCache out of experimental (#11086)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 13, 2026
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 dependabot Bot changed the title ⬆️ Bump the major-dependencies group with 4 updates ⬆️ Bump the major-dependencies group across 1 directory with 4 updates Oct 13, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/major-dependencies-b9a0167d36 branch from 7f264ed to b705de3 Compare October 13, 2026 04:40
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 Robdel12 changed the title ⬆️ Bump the major-dependencies group across 1 directory with 4 updates ⬆️ Support Cosmiconfig 10 and Vitest 5 Oct 13, 2026
@Robdel12
Robdel12 merged commit 1a43ea5 into main Oct 13, 2026
30 checks passed
@Robdel12
Robdel12 deleted the dependabot/npm_and_yarn/major-dependencies-b9a0167d36 branch October 13, 2026 05:30
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 Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant