[Snyk] Upgrade vitest from 0.31.4 to 1.6.0 #506
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.
This PR was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade vitest from 0.31.4 to 1.6.0.
ℹ️ 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 40 versions ahead of your current version.
The recommended version was released on 21 days ago.
Release notes
Package name: vitest
🚀 Features
includeConsoleOutput
andaddFileAttribute
in junit - by @ hi-ogawa in #5659 (2f913)🐞 Bug Fixes
resolveId('vitest')
afterbuildStart
- by @ hi-ogawa in #5646 (f5faf)toJSON
for error serialization - by @ hi-ogawa in #5526 (19a21)*.test-d.*
by default - by @ MindfulPol in #5634 (bfe8a)vite-node
's wrapper only to executed files - by @ AriPerkkio in #5642 (c9883)🏎 Performance
View changes on GitHub
🐞 Bug Fixes
View changes on GitHub
🐞 Bug Fixes
View changes on GitHub
🚀 Features
startVitest()
to acceptstdout
andstdin
- by @ AriPerkkio in #5493 (780b1)startVitest
API is experimental and doesn't follow semver.🐞 Bug Fixes
import.meta.env.PROD: false
- by @ hi-ogawa in #5561 (9c649)onTestFinished
in reverse order - by @ sheremet-va in #5598 (23f29)fileParallelism
by default on browser pool - by @ hi-ogawa in #5528 (5c69f)v8-to-istanbul
- by @ AriPerkkio in #5549 (df6a4)cleanOnRerun
is disabled - by @ AriPerkkio in #5540 (ea3c1)thresholds
to compare files relative to root - by @ AriPerkkio in #5574 (80265)toEqual
andtoMatchObject
with circular references - by @ hi-ogawa in #5535 (9e641)View changes on GitHub
🚀 Features
🐞 Bug Fixes
describe
calls not taking generic type parameters - by @ aryaemami59 in #5415 (16bac)process
is mocked - by @ AriPerkkio in #5430 (0ec4d)toHaveBeenNthCalledWith
error message when not called - by @ hi-ogawa in #5420 (e5253)isValidNodeImport
to check"type": "module"
first - by @ hi-ogawa in #5416 (6fb15)View changes on GitHub
🚀 Features
not
- by @ fenghan34 in #5294 (b9d37)--project
option - by @ fenghan34 in #5295 (201bd)shuffle.files
andshuffle.tests
options - by @ fenghan34 in #5281 (356db)cache.dir
option - by @ fenghan34 in #5229 (d7e8b)--changed
option - by @ AriPerkkio in #5314 (600b4)clearScreen
cli flag - by @ hi-ogawa in #5241 (e1735)🐞 Bug Fixes
--project
option - by @ fenghan34 in #5265 (d1a06)--inspect-brk
to pause before execution - by @ AriPerkkio in #5355 (e77c5)magic-string
tooptimizeDeps.include
- by @ hi-ogawa in #5278 (8f04e)reportsDirectory
from removing user's project - by @ AriPerkkio in #5376 (07ec3)toContain/toMatch
assertion error - by @ hi-ogawa in #5267 (8ee59)defines
to supportundefined
values - by @ AriPerkkio in #5284 (5b58b)onConsoleLog
return type - by @ hi-ogawa in #5337 (6d1b1)beforeAll
andafterAll
- by @ fenghan34 in #5288 (ce5ca)@ vitest/coverage-v8
are used - by @ AriPerkkio in #5250 (29f98)View changes on GitHub