Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency vitest to ^0.34.0 #627

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 4, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
vitest ^0.33.0 -> ^0.34.0 age adoption passing confidence

Release Notes

vitest-dev/vitest (vitest)

v0.34.1

Compare Source

   🐞 Bug Fixes
    View changes on GitHub

v0.34.0

Compare Source

   🚨 Breaking Changes
  • Transform mode affects only test files, not regular files  -  by @​sheremet-va in https:/vitest-dev/vitest/issues/3491 (9608b)
    • transformMode is now moved to server.transformMode. This option is highly discouraged to use. If you need to change the transform mode, use the new option testTransformMode instead to control the mode based on the running test, not the current file path. By default, tests with jsdom or happy-dom use web transform mode, and tests using node or edge environment use ssr mode. If you have a custom environment, it should provide transformMode property.
  • Disable coverage.reportOnFailure by default  -  by @​AriPerkkio in https:/vitest-dev/vitest/issues/3615 (0c6f6)
  • Remove @vitest/coverage-c8 package  -  by @​AriPerkkio in https:/vitest-dev/vitest/issues/3614 (a90d6)
    • @vitest/coverage-c8 is no longer supported. Please, use @vitest/coverage-v8 instead.
  • Support running tests using VM context  -  by @​sheremet-va and @​dammy001 in https:/vitest-dev/vitest/issues/3203 (b0929)
    • To address speed issues in some applications, Vitest now provides experimentalVmThreads pool to run your tests using VM Sandboxes environment. Make sure you understand all pitfalls of this pool before opening an issue.
  • Introduce server option  -  by @​fenghan34 and @​sheremet-va in https:/vitest-dev/vitest/issues/3725 (dc4fa)
    • Most of deps. options are now moved to server.deps with a deprecation warning. Please, consider using deps.optimizer instead of deps.inline/deps.external. Ideally, we would like to move away from using server.deps.inline altogether.
  • vite-node: Make CLI arguments parsing behavior consistent with node/tsx/ts-node  -  by @​rxliuli in https:/vitest-dev/vitest/issues/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 do vite-node --watch index.ts.
  • Add preact example, remove optimizer experimental status, enable by default  -  by @​sheremet-va and @​eryue0220 in https:/vitest-dev/vitest/issues/3854 (4b946)
    • deps.optimizer is now enabled by default. This means that Vitest will bundle specified dependencies before running your tests. This field inherits options from optimizeDeps and ssr.optimizeDeps which are populated by other plugins (like, Svelte).
   🚀 Features
   🐞 Bug Fixes
   🏎 Performance
  • Deprecate deps.registerNodeLoader  -  by @​sheremet-va (7f45b)
    • This option was introduced to support aliasing inside external packages. Please, use deps.optimizer.web instead. If you test Node.js applications, consider adding external packages to server.deps.inline.
    View changes on GitHub

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies label Aug 4, 2023
@renovate renovate bot enabled auto-merge (squash) August 4, 2023 16:21
@codecov
Copy link

codecov bot commented Aug 4, 2023

Codecov Report

Merging #627 (01c17d5) into main (d89310c) will not change coverage.
The diff coverage is n/a.

❗ Current head 01c17d5 differs from pull request most recent head 1e03a7d. Consider uploading reports for the commit 1e03a7d to get more accurate results

@@           Coverage Diff           @@
##             main     #627   +/-   ##
=======================================
  Coverage   88.33%   88.33%           
=======================================
  Files          61       61           
  Lines        3128     3128           
  Branches      129      129           
=======================================
  Hits         2763     2763           
  Misses        361      361           
  Partials        4        4           
Flag Coverage Δ
hydrate 77.94% <ø> (ø)
setup 70.75% <ø> (ø)
unit 48.80% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@renovate renovate bot merged commit a80d922 into main Aug 4, 2023
12 checks passed
@renovate renovate bot deleted the renovate/vitest-0.x branch August 4, 2023 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants