[Snyk] Upgrade vitest from 1.6.1 to 3.0.2 #58
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 1.6.1 to 3.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 44 versions ahead of your current version.
The recommended version was released 24 days ago.
Release notes
Package name: vitest
🐞 Bug Fixes
expect().resolves/rejectschain typings - by @ hi-ogawa in #7273 (fa415)View changes on GitHub
🐞 Bug Fixes
View changes on GitHub
Vitest 3 is here! There are a few breaking changes, but we expect the migration to be smooth. This release page lists all changes made to the project during the beta. For the migration guide, please refer to the documentation.
🚨 Breaking Changes
spy.mockResetchanges - by @ Lordfirespeed in #6426 (db7a8)describe(..., { shuffle: boolean })and inherit from parent suite - by @ hi-ogawa in #6670 (aa1da)retryandrepeats- by @ hi-ogawa in #6817 (e8ce9)🚀 Features
diffoptions and supportprintBasicPrototype- by @ hi-ogawa, @ sheremet-va and Michał Grzegorzewski in #6740 (39186)ctx.skip()dynamically - by @ sheremet-va in #6805 (697c3)vitest/nodeentry point and statically on Vitest - by @ sheremet-va in #7029 (be8d4)diff.printBasicPrototype: falseby default - by @ hi-ogawa in #7043 (2b5c5)describe.for- by @ hi-ogawa in #7253 (0ad28)actionTimeoutas playwright provider options - by @ hi-ogawa in #6984 (e2c29)userEvent.copy, cut, paste- by @ hi-ogawa in #6769 (843a6)--project=!pattern- by @ haines in #6924 (ebfe9)thresholdsto support maximum uncovered items - by @ jonahkagan in #7061 (bde98)toHaveBeenCalledExactlyOnceWithexpect matcher - by @ jacoberdman2147 and @ sheremet-va in #6894 (ff662)toHaveBeenCalledAfterandtoHaveBeenCalledBeforeutility - by @ Barbapapazes and @ sheremet-va in #6056 (85e6f)toSatisfyasymmetric matcher - by @ hi-ogawa in #7022 (f691a)toBeOneOfmatcher - by @ zirkelc and @ hi-ogawa in #6974 (3d742)summaryoption forverboseanddefaultreporters - by @ AriPerkkio in #6893 (511b7)provide- by @ sheremet-va in #6813 (85c64)configtoresolveSnapshotPath- by @ hi-ogawa in #6800 (746d8)coverageMapin json report - by @ sheremet-va in #6606 (9c8f7)onTestsRerunmethod to global setup context - by @ sheremet-va in #6803 (e26e0)🐞 Bug Fixes
cacheDirwhen optimizer is enabled - by @ hi-ogawa in #6910 (0b08b)finallyin case there is an error to avoid it getting stuck - by @ sheremet-va in #6951 (02194)Customtype internally - by @ sheremet-va in #7032 (7957f)cancelCurrentRunawaitsrunningPromise- by @ sheremet-va in #7168 (1dbf5)getMockImplementationto return "once" implementation - by @ chaptergy in #7033 (39125)capturePrintErrorlogger duplicate event handlers - by @ hi-ogawa in #7197 (e89c3)vitest/reportersentrypoint - by @ sheremet-va in #7241 (aec0b)forkspool - by @ AriPerkkio in #7090 (8cab9)VitestRunnertype fromvitest/runners- by @ sheremet-va in #7240 (9b218)vitest list- by @ sheremet-va in #7257 (1c2b2)log-update- by @ AriPerkkio in #7019 (6d23f)vi.mockis present - by @ sheremet-va in #6810