Skip to content

Commit

Permalink
Update dependency vitest to v1.2.1 (#3361)
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)
([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest))
| [`1.1.3` ->
`1.2.1`](https://renovatebot.com/diffs/npm/vitest/1.1.3/1.2.1) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.3/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.3/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1)

#####    🐞 Bug Fixes

-   **browser**:
- Apply inlined workspace config to browser mode vite server  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[vitest-dev/vitest#4947
[<samp>(db01f)</samp>](https://togithub.com/vitest-dev/vitest/commit/db01f6c2)
- Fix browser testing url for https  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[vitest-dev/vitest#4855
[<samp>(6c1cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6c1cc78b)
- Don't fail when calling vi.useFakeTimers  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4992
[<samp>(6c5fe)</samp>](https://togithub.com/vitest-dev/vitest/commit/6c5fe49b)
-   **coverage**:
- `thresholds.autoUpdate` to work with arrow function configuration
files  -  by [@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#4959
[<samp>(4b411)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b41131a)
-   **expect**:
- Implement chai inspect for `AsymmetricMatcher`  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4942
[<samp>(06bae)</samp>](https://togithub.com/vitest-dev/vitest/commit/06bae4dd)
-   **vite-node**:
- Externalize network imports  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[vitest-dev/vitest#4987
[<samp>(21f57)</samp>](https://togithub.com/vitest-dev/vitest/commit/21f5744d)
-   **vitest**:
- Handle single `await vi.hoisted`  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[vitest-dev/vitest#4962
[<samp>(dcf2e)</samp>](https://togithub.com/vitest-dev/vitest/commit/dcf2e9f2)
- Simplify hoist transform check regex to avoid expensive regex match
 -  by [@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[vitest-dev/vitest#4974
[<samp>(df0db)</samp>](https://togithub.com/vitest-dev/vitest/commit/df0db6a9)
- Correctly find module if it has a version query  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4976
[<samp>(952c3)</samp>](https://togithub.com/vitest-dev/vitest/commit/952c31df)
- Check color support for intercepted console logging  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[vitest-dev/vitest#4966
[<samp>(39a71)</samp>](https://togithub.com/vitest-dev/vitest/commit/39a7169c)
- Use development/production conditions when resolving external modules
 -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4980
[<samp>(8877e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8877e22a)
- Throw a syntax error if vi.hoisted is directly exported  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4969
[<samp>(f8bff)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8bff9ef)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1)

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

[Compare
Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0)

#####    🚀 Features

- Support case-insensitive path matching in cli  -  by
[@&#8203;tigranmk](https://togithub.com/tigranmk) in
[vitest-dev/vitest#3567
and
[vitest-dev/vitest#4911
[<samp>(1326c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1326c6ef)
- Add typeahead search  -  by
[@&#8203;bonyuta0204](https://togithub.com/bonyuta0204) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4275
and
[vitest-dev/vitest#4733
[<samp>(480d8)</samp>](https://togithub.com/vitest-dev/vitest/commit/480d866a)
- Add syntax highlighting to error messages  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4813
[<samp>(8c969)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c969de2)
- Allow extending toEqual  -  by
[@&#8203;tigranmk](https://togithub.com/tigranmk) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#2875
and
[vitest-dev/vitest#4880
[<samp>(463be)</samp>](https://togithub.com/vitest-dev/vitest/commit/463bee38)
-   **coverage**:
- Custom reporter support  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#4828
[<samp>(96dc6)</samp>](https://togithub.com/vitest-dev/vitest/commit/96dc6e9a)
-   **ui**:
- Show unhandled errors on the ui  -  by
[@&#8203;spiroka](https://togithub.com/spiroka) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4380
[<samp>(7f59a)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f59a1b8)
-   **vitest**:
- Add `--disable-console-intercept` option to allow opting-out from
automatic console log interception  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[vitest-dev/vitest#4786
[<samp>(43fa6)</samp>](https://togithub.com/vitest-dev/vitest/commit/43fa6baa)
- Show slow test duration in verbose reporter on CI  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[vitest-dev/vitest#4929
[<samp>(ccb25)</samp>](https://togithub.com/vitest-dev/vitest/commit/ccb25836)
- Allow overiding package installer with public API  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4936
[<samp>(c2cce)</samp>](https://togithub.com/vitest-dev/vitest/commit/c2cceebb)

#####    🐞 Bug Fixes

-   **browser**:
- Support vite config `server.headers`  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[vitest-dev/vitest#4890
[<samp>(55f53)</samp>](https://togithub.com/vitest-dev/vitest/commit/55f5349f)
- Fix `testNamePattern` config  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[vitest-dev/vitest#4909
[<samp>(4add9)</samp>](https://togithub.com/vitest-dev/vitest/commit/4add9516)
- Fix updating snapshot during watch mode  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) and
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4867
[<samp>(508fc)</samp>](https://togithub.com/vitest-dev/vitest/commit/508fced9)
- Remove redundant test failure logging  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[vitest-dev/vitest#4891
[<samp>(7fd44)</samp>](https://togithub.com/vitest-dev/vitest/commit/7fd44dc3)
-   **happy-dom**:
- Window.close() for environment teardown  -  by
[@&#8203;capricorn86](https://togithub.com/capricorn86) in
[vitest-dev/vitest#4931
[<samp>(91719)</samp>](https://togithub.com/vitest-dev/vitest/commit/91719bbd)
-   **utils**:
- Fix `objDisplay` default truncate option for `test.each` title  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[vitest-dev/vitest#4917
[<samp>(9ae9d)</samp>](https://togithub.com/vitest-dev/vitest/commit/9ae9dac9)
-   **vitest**:
- Fix tap reporter to handle custom error  -  by
[@&#8203;hi-ogawa](https://togithub.com/hi-ogawa) in
[vitest-dev/vitest#4897
[<samp>(f8ba8)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ba80f2)
- Gracefully exit Vitest if `process.exit` is called inside the test  - 
by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4903
[<samp>(8e6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/8e6c104a)
- Throw "cannot mock" error only in isolated pools  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4905
[<samp>(f99cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/f99cc313)
- Don't throw SyntaxError when "await vi.hoisted" is used  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4915
[<samp>(ca62f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca62f37a)
- Correctly parse --maxWorkers/--minWorkers  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4924
[<samp>(0e77e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0e77e697)
- Show correct error when vi.hoisted is used inside vi.mock and the
other way around  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4916
[<samp>(c4eac)</samp>](https://togithub.com/vitest-dev/vitest/commit/c4eacbb7)
- Call global teardown when using workspaces  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4935
[<samp>(528bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/528bd558)
- Use file instead of id for HMR  -  by
[@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4938
[<samp>(ca76f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca76f457)
- Add inlined deps to ssr.noExternal so they are added to the module
graph  -  by [@&#8203;sheremet-va](https://togithub.com/sheremet-va) in
[vitest-dev/vitest#4945
[<samp>(1663f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1663f5ca)
-   **workspace**:
- Support overring `pool` and `poolOptions` on project level  -  by
[@&#8203;AriPerkkio](https://togithub.com/AriPerkkio) in
[vitest-dev/vitest#4765
[<samp>(e9fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e9fe4181)

#####     [View changes on
GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.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/ariakit/ariakit).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEzNS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Jan 20, 2024
1 parent cfebe3d commit bd747e7
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
72 changes: 36 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
"unified": "10.1.2",
"unist-util-visit": "5.0.0",
"use-local-storage-state": "19.1.0",
"vitest": "1.1.3",
"vitest": "1.2.1",
"vitest-fail-on-console": "0.5.0",
"webpack": "5.89.0",
"zod": "3.22.4"
Expand Down

0 comments on commit bd747e7

Please sign in to comment.