[Snyk] Upgrade vitest from 3.2.4 to 4.0.2 #385
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.
Snyk has created this PR to upgrade vitest from 3.2.4 to 4.0.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 22 versions ahead of your current version.
The recommended version was released 22 days ago.
Release notes
Package name: vitest
🐞 Bug Fixes
length- by @ sheremet-va in #8778 (d4c2b)restoreMocksandmockResetare set in the config - by @ sheremet-va in #8781 (2eedb)View changes on GitHub
🐞 Bug Fixes
getBuiltinscheck - by @ sheremet-va in #8765 (81000)View changes on GitHub
Vitest 4.0 is out!
To stay updated, read our blog post and check the migration guide.
🚨 Breaking Changes
'basic'reporter - by @ AriPerkkio in #7884 (82fcf)vitest/nodeexports - by @ sheremet-va in #8197 (dc848)vitest/nodeinstead - by @ sheremet-va in #8200 (1e60c)workspaceoption in favor ofprojects- by @ sheremet-va in #8218 (76fb7)--standalonewhen CLI filename filter is used - by @ AriPerkkio in #8262 (013bf)minWorkersand set it automatically to 0 in non watch mode - by @ sheremet-va in #8454 (2c2d1)treereporter - by @ sheremet-va and @ AriPerkkio in #8500 (25fd3)tinypool- by @ AriPerkkio and @ sheremet-va in #8705 (4822d)todoif no function is passed down totestordescribe- by @ sheremet-va in #8346 (1a81c)🚀 Features
onUnhandledErrorcallback - by @ sheremet-va in #8162 (924cb)expect.assertfor type narrowing - by @ sheremet-va in #8695 (fe589)displayAnnotationsoption togithub-options- by @ sheremet-va in #8706 (4a66d)experimental_parseSpecifications- by @ sheremet-va in #8408 (fdeb2)enableCoverageanddisableCoveragemethods - by @ sheremet-va and @ AriPerkkio in #8412 (61eb7)getGlobalTestNamePatternmethod - by @ sheremet-va in #8438 (bdb70)relativeModuleIdtoTestModule- by @ sheremet-va in #8505 (3be09)getSeedmethod - by @ sheremet-va in #8592 (438c4)toBeInViewportutility method to assert element is in viewport or not - by @ Shinyaigeek in #8234 (ceed5)vitest initcli command - by @ thejackshelton in #8330 (1638b)toMatchScreenshotfor Visual Regression Testing - by @ macarie in #8041 (d45f9)trackUnhandledErrorsoption - by @ sheremet-va in #8386 (c0ec0)lengthproperty to locators,toHaveLengthnow accepts locators - by @ sheremet-va in #8512 (2308c)optionsonBrowserProviderOption- by @ sheremet-va in #8609 (0d0e5)--inspectoption in webdriverio - by @ sheremet-va in #8613 (38adc)autoUpdateto support percentage formatting - by @ Battjmo and @ AriPerkkio in #8456 (99e01)toBeNullableexpect function to check provided value is nullish - by @ Shinyaigeek and @ sheremet-va in #8294 (eeec5)automockerentry - by @ sheremet-va in #8301 (e9c92)🐞 Bug Fixes
test.extend- by @ AriPerkkio in #8278 (43977)--changedflag support tovitest listcommand - by @ haakonjackfloat in #8270 and #8272 (e71a5)browser- by @ sheremet-va in #8334 (0417a)