Node-TypeScript-Starter
Node-TypeScript-Starter copied to clipboard
chore(deps-dev): bump vitest from 0.30.1 to 0.34.1
Bumps vitest from 0.30.1 to 0.34.1.
Release notes
Sourced from vitest's releases.
v0.34.1
🐞 Bug Fixes
- Pass
--experimental-vm-worker-memory-limittotinypool- by@AriPerkkioin vitest-dev/vitest#3856 (3c67a)View changes on GitHub
v0.34.0
🚨 Breaking Changes
- Transform mode affects only test files, not regular files - by
@sheremet-vain vitest-dev/vitest#3491 (9608b)
transformModeis now moved toserver.transformMode. This option is highly discouraged to use. If you need to change the transform mode, use the new optiontestTransformModeinstead to control the mode based on the running test, not the current file path. By default, tests withjsdomorhappy-domusewebtransform mode, and tests usingnodeoredgeenvironment usessrmode. If you have a custom environment, it should providetransformModeproperty.- Disable
coverage.reportOnFailureby default - by@AriPerkkioin vitest-dev/vitest#3615 (0c6f6)- Remove
@vitest/coverage-c8package - by@AriPerkkioin vitest-dev/vitest#3614 (a90d6)
@vitest/coverage-c8is no longer supported. Please, use@vitest/coverage-v8instead.- Support running tests using VM context - by
@sheremet-vaand@dammy001in vitest-dev/vitest#3203 (b0929)
- To address speed issues in some applications, Vitest now provides
experimentalVmThreadspool to run your tests using VM Sandboxes environment. Make sure you understand all pitfalls of this pool before opening an issue.- Introduce
serveroption - by@fenghan34and@sheremet-vain vitest-dev/vitest#3725 (dc4fa)
- Most of
deps.options are now moved toserver.depswith a deprecation warning. Please, consider usingdeps.optimizerinstead ofdeps.inline/deps.external. Ideally, we would like to move away from usingserver.deps.inlinealtogether.- vite-node: Make CLI arguments parsing behavior consistent with node/tsx/ts-node - by
@rxliuliin vitest-dev/vitest#3574 (1cd4e)
- You now have to provide CLI arguments before the entry point. For example, instead of
vite-node index.ts --watch, you now have to dovite-node --watch index.ts.- Add preact example, remove optimizer experimental status, enable by default - by
@sheremet-vaand@eryue0220in vitest-dev/vitest#3854 (4b946)
deps.optimizeris now enabled by default. This means that Vitest will bundle specified dependencies before running your tests. This field inherits options fromoptimizeDepsandssr.optimizeDepswhich are populated by other plugins (like, Svelte).🚀 Features
- Support
describe.sequential- by@fenghan34and@dammy001in vitest-dev/vitest#3771 (86934)- Support config junit reporter className with env - by
@InfiniteXyyin vitest-dev/vitest#3808 (e8bc4)- Running vitest with
--related --watchreruns non-affected tests if they were changed during a run - by@sheremet-vain vitest-dev/vitest#3844 (c9aea)🐞 Bug Fixes
- Isolate workers between envs and workspaces - by
@AriPerkkio(ed4e0)- Modify condition - by
@btea(a78e6)- Module Graph view is blocking the Console view - by
@g4rry420(3b5f9)- Port the latest
defineConfigtype from vite - by@sodateain vitest-dev/vitest#3804 (9c8e3)- Don't overwrite Node.js URL global - by
@sheremet-vain vitest-dev/vitest#3828 (cdab4)- ForceRerunTriggers correctly triggers a rerun - by
@sheremet-vain vitest-dev/vitest#3829 (17988)- browser:
- Don't inline magic-string and estree-walker - by
@sheremet-vain vitest-dev/vitest#3726 (ee937)- Multi-suite coverage - by
@elby22in vitest-dev/vitest#3806 (5de9a)- core:
- coverage:
- V8 provider to pick source maps without url query params - by
@AriPerkkioin vitest-dev/vitest#3784 (280e6)- Update
istanbul-lib-instrumentto v6 to fix vulnerable dependency - by@AriPerkkioin vitest-dev/vitest#3814 (f3bd9)- Exclude vite virtual modules by default - by
@AriPerkkioin vitest-dev/vitest#3794 (3c851)- node:
- vite-node:
... (truncated)
Commits
1195268chore: release v0.34.13c67a4cfix: pass--experimental-vm-worker-memory-limittotinypool(#3856)065a08echore: release v0.34.07f45bf2perf: deprecate deps.registerNodeLoaderb8dc99bchore: cleanup ws dependencies4b946cafeat: add preact example, remove optimizer experimental status, enable by def...b092985feat!: support running tests using VM context (#3203)dc4faf6feat: introduceserveroption (#3725)8bd26b0fix(watch): clear screen on all terminals (#3661)c9aeac4feat: running vitest with--related --watchreruns non-affected tests if th...- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)