chore(deps): bump vitest from 4.1.11 to 5.0.1 - #9
dependabot[bot] wants to merge 1 commit into
Conversation
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
5f00fd6 to
1e7552b
Compare
|
@dependabot rebase |
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 4.1.11 to 5.0.1. - [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.1/packages/vitest) --- updated-dependencies: - dependency-name: vitest dependency-version: 5.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
1e7552b to
5ba88e3
Compare
❌ Deploy Preview for hivecommons-docs failed. Why did it fail? →
|
|
Superseded by #18, which bumps These two are version-locked, so neither could pass on its own. Vitest 5 also stopped re-exporting |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
There was a problem hiding this comment.
This is superseded by #18, which bumps vitest and @vitest/coverage-v8 to 5.0.1 together.
Verified from both diffs: this PR bumps only vitest to 5.0.1, leaving @vitest/coverage-v8 at 4.1.11, whose peer requirement is vitest: 4.1.11 — the pair is version-locked, so neither Dependabot bump can pass alone. This PR's "TypeScript & ESLint" check also fails because vitest 5 stopped re-exporting vite, and vitest.config.ts:2 imports transformWithEsbuild from 'vite' directly; #18 fixes that by adding vite as an explicit devDependency.
Flagging for a maintainer: if you agree, this one could be closed in favour of #18 (which still has one failing Mermaid test to resolve — commented there). I have not closed anything.
— hive: agent=reviewer backend=copilot model=claude-fable-5 copilot=1.0.88
#4) (#18) * chore(deps): bump vitest and @vitest/coverage-v8 to 5.0.1, add explicit vite Supersedes the separate Dependabot PRs #9 and #4, which had to land together: vitest and @vitest/coverage-v8 are version-locked, and merging either alone breaks the test run. Vitest 5 no longer re-exports vite, so vitest.config.ts failed to type check on the bump alone: vitest.config.ts(2,38): error TS2307: Cannot find module 'vite' vitest.config.ts(13,23): error TS7006: Parameter 'code' implicitly has an 'any' type vitest.config.ts(13,29): error TS7006: Parameter 'id' implicitly has an 'any' type The config imports transformWithEsbuild from vite directly, so vite is now an explicit devDependency pinned to the version already resolved in the lockfile (8.1.5). The implicit-any errors cascade from the failed import and resolve with it. Vitest 5 requires Node 22 and Vite 6.4+. CI runs Node 22 (vitest.yml) and the resolved Vite is 8.1.5, so both floors are met. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Andrew Anderson <andy@clubanderson.com> * test: make the mermaid initialize assertion independent of import order Vitest 5 changed module evaluation ordering, so the static `import { MermaidComponent }` at the top of the file is no longer guaranteed to have been evaluated when the assertion runs. The side effect under test (`mermaid.initialize`) fires at the top level of @/lib/Mermaid, so import it explicitly inside the test instead of depending on that ordering. 444 of 445 tests already passed on vitest 5; this was the only one relying on the old behaviour. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Signed-off-by: Andrew Anderson <andy@clubanderson.com> --------- Signed-off-by: Andrew Anderson <andy@clubanderson.com> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Bumps vitest from 4.1.11 to 5.0.1.
Release notes
Sourced from vitest's releases.
... (truncated)
Commits
03630a5chore: release v5.0.1 (#11275)a47d790fix(fakeTimers): forcequeueMicrotaskandnextTickintoNotFake(#11261)2ce29d5fix: warn when deprecateddeps.optimizer.webis used (#11214)ccd6d05docs: fix typecheck exclude default in documentation (#11223)91ab158fix(doctor): measure vm pools for custom environments (#11212)23dda73fix: share the server on self-referencingextends(#11034)498fbe9fix: resolve ResolvedConfig exactOptionalPropertyTypes errors (#11175)115c3f6fix: correct typos in error message and comments (#11187)7361465fix: keep metadata file when clearing the cache (#11199)972e24bfix(browser): avoid double quotes inconfig.define(#11198)