Skip to content

Commit

Permalink
chore(deps): update dependency vitest to v0.31.4 (#3932)
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://github.com/vitest-dev/vitest) | [`0.31.1` ->
`0.31.4`](https://renovatebot.com/diffs/npm/vitest/0.31.1/0.31.4) |
[![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.4/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.4/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.4/compatibility-slim/0.31.1)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.4/confidence-slim/0.31.1)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

[Compare
Source](https://github.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4)

#####    🚀 Features

- Enable experimentalOptimizer  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3413](https://github.com/vitest-dev/vitest/issues/3413)
[<samp>(5a894)</samp>](https://github.com/vitest-dev/vitest/commit/5a894aa2)

#####    🐞 Bug Fixes

- **vite-node**: Deps.inline doesn't work  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3485](https://github.com/vitest-dev/vitest/issues/3485)
[<samp>(be930)</samp>](https://github.com/vitest-dev/vitest/commit/be93032f)

#####     [View changes on
GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4)

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

[Compare
Source](https://github.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3)

#####    🚀 Features

- Support `VITE_NODE_DEPS_MODULE_DIRECTORIES` from .npmrc  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3471](https://github.com/vitest-dev/vitest/issues/3471)
[<samp>(393bf)</samp>](https://github.com/vitest-dev/vitest/commit/393bf60c)

#####    🐞 Bug Fixes

- **logger**: Print unhandled errors before summary  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3474](https://github.com/vitest-dev/vitest/issues/3474)
[<samp>(4c9a7)</samp>](https://github.com/vitest-dev/vitest/commit/4c9a7d58)
- **runner**: Suite options do not propagate to nested suites (fix:
[#&#8203;3467](https://github.com/vitest-dev/vitest/issues/3467))  - 
by [@&#8203;xsjcTony](https://github.com/xsjcTony) in
[https://github.com/vitest-dev/vitest/issues/3473](https://github.com/vitest-dev/vitest/issues/3473)
and
[https://github.com/vitest-dev/vitest/issues/3467](https://github.com/vitest-dev/vitest/issues/3467)
[<samp>(9fb9d)</samp>](https://github.com/vitest-dev/vitest/commit/9fb9dacb)
- **vite-node**: Clear importers when invalidating module  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3475](https://github.com/vitest-dev/vitest/issues/3475)
[<samp>(add29)</samp>](https://github.com/vitest-dev/vitest/commit/add29c86)

#####     [View changes on
GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3)

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

[Compare
Source](https://github.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2)

#####    🚀 Features

- Throw error if using inline snapshot inside of `test.each` or
`describe.each`  -  by
[@&#8203;fenghan34](https://github.com/fenghan34) and
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3360](https://github.com/vitest-dev/vitest/issues/3360)
[<samp>(7c2f7)</samp>](https://github.com/vitest-dev/vitest/commit/7c2f7088)
- Pass down meta information to Node.js process  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) and
[@&#8203;dammy001](https://github.com/dammy001) in
[https://github.com/vitest-dev/vitest/issues/3449](https://github.com/vitest-dev/vitest/issues/3449)
[<samp>(e39ad)</samp>](https://github.com/vitest-dev/vitest/commit/e39adea8)
- **coverage**: Add `reportOnFailure` option  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) and
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3453](https://github.com/vitest-dev/vitest/issues/3453)
[<samp>(1988f)</samp>](https://github.com/vitest-dev/vitest/commit/1988fcb4)
- **dev**: Add moduleDirectories option to the vitest config  -  by
[@&#8203;fooddilsn](https://github.com/fooddilsn) and
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3337](https://github.com/vitest-dev/vitest/issues/3337)
[<samp>(b3602)</samp>](https://github.com/vitest-dev/vitest/commit/b3602bcc)

#####    🐞 Bug Fixes

- Don't print empty diff  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3437](https://github.com/vitest-dev/vitest/issues/3437)
[<samp>(32b53)</samp>](https://github.com/vitest-dev/vitest/commit/32b5361f)
- Don't restore methods in automocked dependencies  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3438](https://github.com/vitest-dev/vitest/issues/3438)
[<samp>(d1afd)</samp>](https://github.com/vitest-dev/vitest/commit/d1afd262)
- Dot reporter scrollback buffer spam  -  by
[@&#8203;gtm-nayan](https://github.com/gtm-nayan) in
[https://github.com/vitest-dev/vitest/issues/3415](https://github.com/vitest-dev/vitest/issues/3415)
[<samp>(e6792)</samp>](https://github.com/vitest-dev/vitest/commit/e6792a94)
- Gracefully exit when first `SIGINT` is received  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3407](https://github.com/vitest-dev/vitest/issues/3407)
[<samp>(a2cc2)</samp>](https://github.com/vitest-dev/vitest/commit/a2cc2b38)
- `rejects` & `resolves` breaks with thenable objects  -  by
[@&#8203;fenghan34](https://github.com/fenghan34) in
[https://github.com/vitest-dev/vitest/issues/3456](https://github.com/vitest-dev/vitest/issues/3456)
[<samp>(4e996)</samp>](https://github.com/vitest-dev/vitest/commit/4e996ae5)
- Prevent `birpc` timeouts when `Math.random` mock is not restored  - 
by [@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3460](https://github.com/vitest-dev/vitest/issues/3460)
[<samp>(cd5d5)</samp>](https://github.com/vitest-dev/vitest/commit/cd5d58b7)
- Assertion diff message now handle non writable property correctly  - 
by [@&#8203;PCreations](https://github.com/PCreations) in
[https://github.com/vitest-dev/vitest/issues/3422](https://github.com/vitest-dev/vitest/issues/3422)
[<samp>(f75ab)</samp>](https://github.com/vitest-dev/vitest/commit/f75ab650)
- Extend logging of process timeout errors  -  by
[@&#8203;AriPerkkio](https://github.com/AriPerkkio) in
[https://github.com/vitest-dev/vitest/issues/3452](https://github.com/vitest-dev/vitest/issues/3452)
[<samp>(42643)</samp>](https://github.com/vitest-dev/vitest/commit/42643904)
- Support requiring files with `less` extension  -  by
[@&#8203;rluvaton](https://github.com/rluvaton) in
[https://github.com/vitest-dev/vitest/issues/3465](https://github.com/vitest-dev/vitest/issues/3465)
[<samp>(4d045)</samp>](https://github.com/vitest-dev/vitest/commit/4d045695)
-   **cli**:
- Improve colors used when erroring  -  by
[@&#8203;ghiscoding](https://github.com/ghiscoding) and
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3349](https://github.com/vitest-dev/vitest/issues/3349)
[<samp>(16681)</samp>](https://github.com/vitest-dev/vitest/commit/16681791)
-   **runner**:
- Suite timeout does not take effect  -  by
[@&#8203;btea](https://github.com/btea) in
[https://github.com/vitest-dev/vitest/issues/3455](https://github.com/vitest-dev/vitest/issues/3455)
[<samp>(82547)</samp>](https://github.com/vitest-dev/vitest/commit/82547376)
-   **spy**:
- Don't print received calls if there are no calls  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3405](https://github.com/vitest-dev/vitest/issues/3405)
[<samp>(41e11)</samp>](https://github.com/vitest-dev/vitest/commit/41e11dad)
-   **typecheck**:
- Show tsc errors not related to test files  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3441](https://github.com/vitest-dev/vitest/issues/3441)
[<samp>(a1da5)</samp>](https://github.com/vitest-dev/vitest/commit/a1da5714)
-   **types**:
- Fix `PartialMock` with async TReturns  -  by
[@&#8203;ghry5](https://github.com/ghry5) in
[https://github.com/vitest-dev/vitest/issues/3462](https://github.com/vitest-dev/vitest/issues/3462)
[<samp>(b664d)</samp>](https://github.com/vitest-dev/vitest/commit/b664d42c)
-   **vite-node**:
- Circular import stuck  -  by
[@&#8203;Dunqing](https://github.com/Dunqing) in
[https://github.com/vitest-dev/vitest/issues/3418](https://github.com/vitest-dev/vitest/issues/3418)
[<samp>(632ee)</samp>](https://github.com/vitest-dev/vitest/commit/632eef40)
- Coerce to string in import(dep)  -  by
[@&#8203;jcbhmr](https://github.com/jcbhmr) and
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3430](https://github.com/vitest-dev/vitest/issues/3430)
[<samp>(b72eb)</samp>](https://github.com/vitest-dev/vitest/commit/b72ebdb9)
- Don't remove sourcemap string in source code  -  by
[@&#8203;rxliuli](https://github.com/rxliuli) and
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/2918](https://github.com/vitest-dev/vitest/issues/2918)
and
[https://github.com/vitest-dev/vitest/issues/3379](https://github.com/vitest-dev/vitest/issues/3379)
[<samp>(02dc9)</samp>](https://github.com/vitest-dev/vitest/commit/02dc9ea7)
- Don't externalize "dist" by default  -  by
[@&#8203;sheremet-va](https://github.com/sheremet-va) in
[https://github.com/vitest-dev/vitest/issues/3446](https://github.com/vitest-dev/vitest/issues/3446)
[<samp>(306b2)</samp>](https://github.com/vitest-dev/vitest/commit/306b2337)

#####     [View changes on
GitHub](https://github.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2)

</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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMTAuMCIsInVwZGF0ZWRJblZlciI6IjM1LjExMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jun 9, 2023
1 parent 0aea47f commit 69645f7
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"vite-plugin-env-compatible": "1.1.1",
"vite-plugin-svgr": "2.4.0",
"vite-tsconfig-paths": "4.2.0",
"vitest": "0.31.1",
"vitest": "0.31.4",
"whatwg-fetch": "3.6.2"
},
"optionalDependencies": {
Expand Down
74 changes: 37 additions & 37 deletions frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3024,45 +3024,45 @@
magic-string "^0.27.0"
react-refresh "^0.14.0"

"@vitest/expect@0.31.1":
version "0.31.1"
resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-0.31.1.tgz#db8cb5a14a91167b948f377b9d29442229c73747"
integrity sha512-BV1LyNvhnX+eNYzJxlHIGPWZpwJFZaCcOIzp2CNG0P+bbetenTupk6EO0LANm4QFt0TTit+yqx7Rxd1qxi/SQA==
"@vitest/expect@0.31.4":
version "0.31.4"
resolved "https://registry.yarnpkg.com/@vitest/expect/-/expect-0.31.4.tgz#115c517404488bf3cb6ce4ac411c40d8e86891b8"
integrity sha512-tibyx8o7GUyGHZGyPgzwiaPaLDQ9MMuCOrc03BYT0nryUuhLbL7NV2r/q98iv5STlwMgaKuFJkgBW/8iPKwlSg==
dependencies:
"@vitest/spy" "0.31.1"
"@vitest/utils" "0.31.1"
"@vitest/spy" "0.31.4"
"@vitest/utils" "0.31.4"
chai "^4.3.7"

"@vitest/runner@0.31.1":
version "0.31.1"
resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-0.31.1.tgz#fc06260d4824dde624abaeea1825d6a75bad4583"
integrity sha512-imWuc82ngOtxdCUpXwtEzZIuc1KMr+VlQ3Ondph45VhWoQWit5yvG/fFcldbnCi8DUuFi+NmNx5ehMUw/cGLUw==
"@vitest/runner@0.31.4":
version "0.31.4"
resolved "https://registry.yarnpkg.com/@vitest/runner/-/runner-0.31.4.tgz#e99abee89132a500d9726a53b58dfc9160db1078"
integrity sha512-Wgm6UER+gwq6zkyrm5/wbpXGF+g+UBB78asJlFkIOwyse0pz8lZoiC6SW5i4gPnls/zUcPLWS7Zog0LVepXnpg==
dependencies:
"@vitest/utils" "0.31.1"
"@vitest/utils" "0.31.4"
concordance "^5.0.4"
p-limit "^4.0.0"
pathe "^1.1.0"

"@vitest/snapshot@0.31.1":
version "0.31.1"
resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-0.31.1.tgz#7fc3f1e48f0c4313e6cb795c17a2c1aa909a7d64"
integrity sha512-L3w5uU9bMe6asrNzJ8WZzN+jUTX4KSgCinEJPXyny0o90fG4FPQMV0OWsq7vrCWfQlAilMjDnOF9nP8lidsJ+g==
"@vitest/snapshot@0.31.4":
version "0.31.4"
resolved "https://registry.yarnpkg.com/@vitest/snapshot/-/snapshot-0.31.4.tgz#59a42046fec4950a1ac70cf0ec64aada3b995559"
integrity sha512-LemvNumL3NdWSmfVAMpXILGyaXPkZbG5tyl6+RQSdcHnTj6hvA49UAI8jzez9oQyE/FWLKRSNqTGzsHuk89LRA==
dependencies:
magic-string "^0.30.0"
pathe "^1.1.0"
pretty-format "^27.5.1"

"@vitest/spy@0.31.1":
version "0.31.1"
resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-0.31.1.tgz#1c3b6a3eec4ce81b8889e19c7fac6a603b600b14"
integrity sha512-1cTpt2m9mdo3hRLDyCG2hDQvRrePTDgEJBFQQNz1ydHHZy03EiA6EpFxY+7ODaY7vMRCie+WlFZBZ0/dQWyssQ==
"@vitest/spy@0.31.4":
version "0.31.4"
resolved "https://registry.yarnpkg.com/@vitest/spy/-/spy-0.31.4.tgz#fce8e348cea32deff79996d116c67893b19cc47d"
integrity sha512-3ei5ZH1s3aqbEyftPAzSuunGICRuhE+IXOmpURFdkm5ybUADk+viyQfejNk6q8M5QGX8/EVKw+QWMEP3DTJDag==
dependencies:
tinyspy "^2.1.0"

"@vitest/utils@0.31.1":
version "0.31.1"
resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-0.31.1.tgz#b810a458b37ef16931ab0d384ce79a9500f34e07"
integrity sha512-yFyRD5ilwojsZfo3E0BnH72pSVSuLg2356cN1tCEe/0RtDzxTPYwOomIC+eQbot7m6DRy4tPZw+09mB7NkbMmA==
"@vitest/utils@0.31.4":
version "0.31.4"
resolved "https://registry.yarnpkg.com/@vitest/utils/-/utils-0.31.4.tgz#5cfdcecfd604a7dbe3972cfe0f2b1e0af1246ad2"
integrity sha512-DobZbHacWznoGUfYU8XDPY78UubJxXfMNY1+SUdOp1NsI34eopSA6aZMeaGu10waSOeYwE8lxrd/pLfT0RMxjQ==
dependencies:
concordance "^5.0.4"
loupe "^2.3.6"
Expand Down Expand Up @@ -9343,10 +9343,10 @@ vfile@^5.0.0:
unist-util-stringify-position "^3.0.0"
vfile-message "^3.0.0"

vite-node@0.31.1:
version "0.31.1"
resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-0.31.1.tgz#9fea18cbf9552ab262b969068249a8b8e7fb8b38"
integrity sha512-BajE/IsNQ6JyizPzu9zRgHrBwczkAs0erQf/JRpgTIESpKvNj9/Gd0vxX905klLkb0I0SJVCKbdrl5c6FnqYKA==
vite-node@0.31.4:
version "0.31.4"
resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-0.31.4.tgz#0437f76c35fa83f0a868d3fb5896ca9e164291f5"
integrity sha512-uzL377GjJtTbuc5KQxVbDu2xfU/x0wVjUtXQR2ihS21q/NK6ROr4oG0rsSkBBddZUVCwzfx22in76/0ZZHXgkQ==
dependencies:
cac "^6.7.14"
debug "^4.3.4"
Expand Down Expand Up @@ -9400,19 +9400,19 @@ vite@4.3.9:
optionalDependencies:
fsevents "~2.3.2"

vitest@0.31.1:
version "0.31.1"
resolved "https://registry.yarnpkg.com/vitest/-/vitest-0.31.1.tgz#e3d1b68a44e76e24f142c1156fe9772ef603e52c"
integrity sha512-/dOoOgzoFk/5pTvg1E65WVaobknWREN15+HF+0ucudo3dDG/vCZoXTQrjIfEaWvQXmqScwkRodrTbM/ScMpRcQ==
vitest@0.31.4:
version "0.31.4"
resolved "https://registry.yarnpkg.com/vitest/-/vitest-0.31.4.tgz#5abe02562675262949c10e40811f348a80f6b2a6"
integrity sha512-GoV0VQPmWrUFOZSg3RpQAPN+LPmHg2/gxlMNJlyxJihkz6qReHDV6b0pPDcqFLNEPya4tWJ1pgwUNP9MLmUfvQ==
dependencies:
"@types/chai" "^4.3.5"
"@types/chai-subset" "^1.3.3"
"@types/node" "*"
"@vitest/expect" "0.31.1"
"@vitest/runner" "0.31.1"
"@vitest/snapshot" "0.31.1"
"@vitest/spy" "0.31.1"
"@vitest/utils" "0.31.1"
"@vitest/expect" "0.31.4"
"@vitest/runner" "0.31.4"
"@vitest/snapshot" "0.31.4"
"@vitest/spy" "0.31.4"
"@vitest/utils" "0.31.4"
acorn "^8.8.2"
acorn-walk "^8.2.0"
cac "^6.7.14"
Expand All @@ -9428,7 +9428,7 @@ vitest@0.31.1:
tinybench "^2.5.0"
tinypool "^0.5.0"
vite "^3.0.0 || ^4.0.0"
vite-node "0.31.1"
vite-node "0.31.4"
why-is-node-running "^2.2.2"

vm2@^3.9.17:
Expand Down

0 comments on commit 69645f7

Please sign in to comment.