Downgrade vitest to resolve typescript error#5902
Merged
PavelVanecek merged 1 commit into3.xfrom Jun 4, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR downgrades the vitest dependencies to resolve a TypeScript error.
- Downgraded "@vitest/coverage-v8" version from "^3.1.1" to "3.1.x".
- Downgraded "vitest" version from "^3.1.1" to "3.1.x".
Comments suppressed due to low confidence (2)
package.json:132
- Using a version range '3.1.x' may include unintended patch versions; please verify that this restriction fully addresses the TypeScript error without introducing other compatibility issues.
"@vitest/coverage-v8": "3.1.x",
package.json:168
- Ensure that downgrading vitest to '3.1.x' resolves the TypeScript error without affecting any required features; confirm that this version constraint aligns with the overall dependency strategy.
"vitest": "3.1.x",
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 3.x #5902 +/- ##
==========================================
+ Coverage 95.58% 95.61% +0.02%
==========================================
Files 186 187 +1
Lines 18987 18975 -12
Branches 3823 3805 -18
==========================================
- Hits 18149 18143 -6
+ Misses 832 826 -6
Partials 6 6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Bundle ReportChanges will increase total bundle size by 12.03kB (0.53%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: recharts/bundle-es6Assets Changed:
view changes for bundle: recharts/bundle-umdAssets Changed:
view changes for bundle: recharts/bundle-cjsAssets Changed:
|
3b78592 to
e79e99f
Compare
Collaborator
Author
|
Why does change in the test dependencies change bundle size? |
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.
vitest-dev/vitest#7016