Skip to content

Commit

Permalink
chore(deps): update dependency vitest to ^0.34.0 (#1882)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [vitest](https://togithub.com/vitest-dev/vitest) | [`^0.33.0` ->
`^0.34.0`](https://renovatebot.com/diffs/npm/vitest/0.33.0/0.34.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.33.0/0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.33.0/0.34.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>vitest-dev/vitest (vitest)</summary>

###
[`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0)

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0)

#####    🚨 Breaking Changes

- TransformMode affects only test files, not regular files  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3491](https://togithub.com/vitest-dev/vitest/issues/3491)
[<samp>(9608b)</samp>](https://togithub.com/vitest-dev/vitest/commit/9608bf72)
- Disable `coverage.reportOnFailure` by default  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3615](https://togithub.com/vitest-dev/vitest/issues/3615)
[<samp>(0c6f6)</samp>](https://togithub.com/vitest-dev/vitest/commit/0c6f624f)
- Remove `@vitest/coverage-c8` package  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3614](https://togithub.com/vitest-dev/vitest/issues/3614)
[<samp>(a90d6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a90d64fe)
- Support running tests using VM context  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) and
[@&#8203;dammy001](https://togithub.com/dammy001) in
[https://github.com/vitest-dev/vitest/issues/3203](https://togithub.com/vitest-dev/vitest/issues/3203)
[<samp>(b0929)</samp>](https://togithub.com/vitest-dev/vitest/commit/b0929852)

#####    🚀 Features

- Support `describe.sequential`  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) and
[@&#8203;dammy001](https://togithub.com/dammy001) in
[https://github.com/vitest-dev/vitest/issues/3771](https://togithub.com/vitest-dev/vitest/issues/3771)
[<samp>(86934)</samp>](https://togithub.com/vitest-dev/vitest/commit/8693449b)
- Support config junit reporter className with env  -  by
[@&#8203;InfiniteXyy](https://togithub.com/InfiniteXyy) in
[https://github.com/vitest-dev/vitest/issues/3808](https://togithub.com/vitest-dev/vitest/issues/3808)
[<samp>(e8bc4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8bc46b6)
- Running vitest with `--related --watch` reruns non-affected tests if
they were changed during a run  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3844](https://togithub.com/vitest-dev/vitest/issues/3844)
[<samp>(c9aea)</samp>](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c)
- Introduce `server` option  -  by
[@&#8203;fenghan34](https://togithub.com/fenghan34) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3725](https://togithub.com/vitest-dev/vitest/issues/3725)
[<samp>(dc4fa)</samp>](https://togithub.com/vitest-dev/vitest/commit/dc4faf64)
- Add preact example, remove optimizer experimental status, enable by
default  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va)
and [@&#8203;eryue0220](https://togithub.com/eryue0220) in
[https://github.com/vitest-dev/vitest/issues/3854](https://togithub.com/vitest-dev/vitest/issues/3854)
[<samp>(4b946)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b946ca9)
- **vite-node**: Make CLI arguments parsing behavior consistent with
node/tsx/ts-node  -  by [@&#8203;rxliuli](https://togithub.com/rxliuli)
in
[https://github.com/vitest-dev/vitest/issues/3574](https://togithub.com/vitest-dev/vitest/issues/3574)
[<samp>(1cd4e)</samp>](https://togithub.com/vitest-dev/vitest/commit/1cd4eb0f)

#####    🐞 Bug Fixes

- Isolate workers between envs and workspaces  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio)
[<samp>(ed4e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/ed4e0424)
- Modify condition  -  by [@&#8203;btea](https://togithub.com/btea)
[<samp>(a78e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0)
- Module Graph view is blocking the Console view  -  by
[@&#8203;g4rry420](https://togithub.com/g4rry420)
[<samp>(3b5f9)</samp>](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc)
- Port the latest `defineConfig` type from vite  -  by
[@&#8203;sodatea](https://togithub.com/sodatea) in
[https://github.com/vitest-dev/vitest/issues/3804](https://togithub.com/vitest-dev/vitest/issues/3804)
[<samp>(9c8e3)</samp>](https://togithub.com/vitest-dev/vitest/commit/9c8e3083)
- Don't overwrite Node.js URL global  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3828](https://togithub.com/vitest-dev/vitest/issues/3828)
[<samp>(cdab4)</samp>](https://togithub.com/vitest-dev/vitest/commit/cdab4651)
- ForceRerunTriggers correctly triggers a rerun  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3829](https://togithub.com/vitest-dev/vitest/issues/3829)
[<samp>(17988)</samp>](https://togithub.com/vitest-dev/vitest/commit/17988e51)
-   **browser**:
- Don't inline magic-string and estree-walker  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3726](https://togithub.com/vitest-dev/vitest/issues/3726)
[<samp>(ee937)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee93762a)
- Multi-suite coverage  -  by
[@&#8203;elby22](https://togithub.com/elby22) in
[https://github.com/vitest-dev/vitest/issues/3806](https://togithub.com/vitest-dev/vitest/issues/3806)
[<samp>(5de9a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5de9af26)
-   **core**:
- DataView comparison does not work in `toStrictEqual`  -  by
[@&#8203;Dunqing](https://togithub.com/Dunqing)
[<samp>(52aef)</samp>](https://togithub.com/vitest-dev/vitest/commit/52aef92e)
-   **coverage**:
- V8 provider to pick source maps without url query params  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3784](https://togithub.com/vitest-dev/vitest/issues/3784)
[<samp>(280e6)</samp>](https://togithub.com/vitest-dev/vitest/commit/280e6745)
- Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency
 -  by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3814](https://togithub.com/vitest-dev/vitest/issues/3814)
[<samp>(f3bd9)</samp>](https://togithub.com/vitest-dev/vitest/commit/f3bd9102)
- Exclude vite virtual modules by default  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3794](https://togithub.com/vitest-dev/vitest/issues/3794)
[<samp>(3c851)</samp>](https://togithub.com/vitest-dev/vitest/commit/3c851872)
-   **node**:
- Guard error info  -  by [@&#8203;btea](https://togithub.com/btea)
[<samp>(88b39)</samp>](https://togithub.com/vitest-dev/vitest/commit/88b39758)
-   **vite-node**:
- Always treat node_modules as modulesDirectory  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3830](https://togithub.com/vitest-dev/vitest/issues/3830)
[<samp>(51ab8)</samp>](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c)
- Normalize drive letter to keep the same reference to a module  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3836](https://togithub.com/vitest-dev/vitest/issues/3836)
[<samp>(45521)</samp>](https://togithub.com/vitest-dev/vitest/commit/45521859)
- Correctly resolve hmr filepath  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3834](https://togithub.com/vitest-dev/vitest/issues/3834)
[<samp>(711a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/711a6249)
-   **watch**:
- Clear screen on all terminals  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3661](https://togithub.com/vitest-dev/vitest/issues/3661)
[<samp>(8bd26)</samp>](https://togithub.com/vitest-dev/vitest/commit/8bd26b01)

#####    🏎 Performance

- Deprecate deps.registerNodeLoader  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va)
[<samp>(7f45b)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f45bf2d)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0)

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/fwouts/previewjs).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNy4xIiwidXBkYXRlZEluVmVyIjoiMzYuMjcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Aug 1, 2023
1 parent 4287652 commit 32803fb
Show file tree
Hide file tree
Showing 13 changed files with 127 additions and 178 deletions.
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@
"shx": "^0.3.4",
"unbuild": "^1.2.1",
"vite": "^4.4.8",
"vitest": "^0.33.0"
"vitest": "^0.34.0"
}
}
2 changes: 1 addition & 1 deletion framework-plugins/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
"rimraf": "^5.0.1",
"unbuild": "^1.2.1",
"vite": "^4.4.8",
"vitest": "^0.33.0"
"vitest": "^0.34.0"
}
}
2 changes: 1 addition & 1 deletion framework-plugins/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
"shx": "^0.3.4",
"unbuild": "^1.2.1",
"vite": "^4.4.8",
"vitest": "^0.33.0"
"vitest": "^0.34.0"
}
}
2 changes: 1 addition & 1 deletion framework-plugins/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
"solid-js": "^1.7.8",
"unbuild": "^1.2.1",
"vite": "^4.4.8",
"vitest": "^0.33.0"
"vitest": "^0.34.0"
}
}
2 changes: 1 addition & 1 deletion framework-plugins/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@
"pino": "^8.14.2",
"pino-pretty": "^10.2.0",
"unbuild": "^1.2.1",
"vitest": "^0.33.0"
"vitest": "^0.34.0"
}
}
2 changes: 1 addition & 1 deletion framework-plugins/vue2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
"shx": "^0.3.4",
"unbuild": "^1.2.1",
"vite": "^4.4.8",
"vitest": "^0.33.0"
"vitest": "^0.34.0"
}
}
2 changes: 1 addition & 1 deletion framework-plugins/vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@
"shx": "^0.3.4",
"unbuild": "^1.2.1",
"vite": "^4.4.8",
"vitest": "^0.33.0"
"vitest": "^0.34.0"
}
}
Loading

0 comments on commit 32803fb

Please sign in to comment.