[Snyk] Upgrade vitest from 0.32.4 to 0.34.6 #5
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.32.4 to 0.34.6.
ℹ️ 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 8 versions ahead of your current version.
The recommended version was released on 8 months ago.
Release notes
Package name: vitest
🐞 Bug Fixes
test.extend
should be init once time in all test - by @ Dunqing in #4168 (730b2)View changes on GitHub
🚀 Features
diff
option - by @ fenghan34 and @ sheremet-va in #4063 (b50cf)coverage['100']
to istanbul provider - by @ marcelobotega in #4109 (a7e09)vi.waitFor
method - by @ Dunqing and @ sheremet-va in #4113 (d79cb)vi.waitUntil
method - by @ Dunqing and @ sheremet-va in #4129 (e0ac9)🐞 Bug Fixes
toThrow
- by @ Dunqing in #3979 (725a0)testNamePattern
- by @ segrey in #4103 and #4104 (3c305)test.extend
doesn't work in hooks without test - by @ Dunqing in #4065 (175c7)SourceMapInput
to fix CYCLIC_CROSS_CHUNK_REEXPORT - by @ Dunqing in #4128 (ca70a)🏎 Performance
View changes on GitHub
🐞 Bug Fixes
View changes on GitHub
🚀 Features
allowExternal
option - by @ vojvodics and @ AriPerkkio in #3894 (c03fa)vitest/reporters
- by @ Dunqing and @ sheremet-va in #3980 (5704b)🐞 Bug Fixes
View changes on GitHub
🚀 Features
--experimental-vm-threads
- by @ sheremet-va in #3880 (f4e6e)ctx.skip()
inside the running test - by @ sheremet-va in #3966 (5c88d)🐞 Bug Fixes
execute.d.ts
- by @ btea in #3970 (0f8e6)?inline
query is specified - by @ thebanjomatic and Adam Hines in #3952 (3891d)🏎 Performance
View changes on GitHub
🐞 Bug Fixes
--experimental-vm-worker-memory-limit
totinypool
- by @ AriPerkkio in #3856 (3c67a)View changes on GitHub
🚨 Breaking Changes
transformMode
is now moved toserver.transformMode
. This option is highly discouraged to use. If you need to change the transform mode, use the new optiontestTransformMode
instead to control the mode based on the running test, not the current file path. By default, tests withjsdom
orhappy-dom
useweb
transform mode, and tests usingnode
oredge
environment usessr
mode. If you have a custom environment, it should providetransformMode
property.coverage.reportOnFailure
by default - by @ AriPerkkio in #3615 (0c6f6)@ vitest/coverage-c8
package - by @ AriPerkkio in #3614 (a90d6)@ vitest/coverage-c8
is no longer supported. Please, use@ vitest/coverage-v8
instead.experimentalVmThreads
pool to run your tests using VM Sandboxes environment. Make sure you understand all pitfalls of this pool before opening an issue.server
option - by @ fenghan34 and @ sheremet-va in #3725 (dc4fa)deps.
options are now moved toserver.deps
with a deprecation warning. Please, consider usingdeps.optimizer
instead ofdeps.inline
/deps.external
. Ideally, we would like to move away from usingserver.deps.inline
altogether.vite-nod...