From 45f2428aec4073c27863b566ab93d6c95d9e2328 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 16 Jan 2023 18:58:56 +0000 Subject: [PATCH] chore(deps): update dependency vitest to v0.27.0 (#2906) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![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.26.3` -> `0.27.0`](https://renovatebot.com/diffs/npm/vitest/0.26.3/0.27.0) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.27.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.27.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.27.0/compatibility-slim/0.26.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.27.0/confidence-slim/0.26.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
vitest-dev/vitest ### [`v0.27.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.27.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.26.3...v0.27.0) #####    🚨 Breaking Changes - Deprecate "error" on result, store errors in "errors"  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2586](https://togithub.com/vitest-dev/vitest/issues/2586) [(e641a)](https://togithub.com/vitest-dev/vitest/commit/e641a110) - Split vitest into separate packages, but still bundle them for the time being  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2575](https://togithub.com/vitest-dev/vitest/issues/2575) [(c8e6f)](https://togithub.com/vitest-dev/vitest/commit/c8e6fb69) #####    🚀 Features - **coverage**: report only changed files when using istanbul coverage with watch mode  -  by [@​g4rry420](https://togithub.com/g4rry420) in [https://github.com/vitest-dev/vitest/issues/2385](https://togithub.com/vitest-dev/vitest/issues/2385) [(bf872)](https://togithub.com/vitest-dev/vitest/commit/bf87282c) #####    🐞 Bug Fixes - Return mock path only when mocked  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2619](https://togithub.com/vitest-dev/vitest/issues/2619) [(f8ac2)](https://togithub.com/vitest-dev/vitest/commit/f8ac2094) - Allow mocking CJS module with interoped default  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2598](https://togithub.com/vitest-dev/vitest/issues/2598) [(6b3e3)](https://togithub.com/vitest-dev/vitest/commit/6b3e36d4) - Avoid random ENOTEMPTY errors  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2620](https://togithub.com/vitest-dev/vitest/issues/2620) [(59766)](https://togithub.com/vitest-dev/vitest/commit/59766fa4) - Always inline assets and modules with special Vite queries  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2617](https://togithub.com/vitest-dev/vitest/issues/2617) [(fed1c)](https://togithub.com/vitest-dev/vitest/commit/fed1cd60) - **cli**: - Allow overrides reporter via cli option  -  by [@​mysteryven](https://togithub.com/mysteryven) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2573](https://togithub.com/vitest-dev/vitest/issues/2573) [(894f1)](https://togithub.com/vitest-dev/vitest/commit/894f155a) - **coverage**: - Flaky c8 coverage caused by parallel sourcemap constructing  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2591](https://togithub.com/vitest-dev/vitest/issues/2591) [(9a29f)](https://togithub.com/vitest-dev/vitest/commit/9a29f984) - Validate extension, when reporting c8 coverage  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2626](https://togithub.com/vitest-dev/vitest/issues/2626) [(74463)](https://togithub.com/vitest-dev/vitest/commit/7446370c) #####    🏎 Performance - Improve vi.mock performance  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2594](https://togithub.com/vitest-dev/vitest/issues/2594) [(09d19)](https://togithub.com/vitest-dev/vitest/commit/09d19892) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.26.3...v0.27.0)
--- ### 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](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/Unleash/unleash). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- frontend/package.json | 2 +- frontend/yarn.lock | 24 ++++++++++++++---------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 4404ab90ee33..bdf34820be6f 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -102,7 +102,7 @@ "vite-plugin-env-compatible": "1.1.1", "vite-plugin-svgr": "2.4.0", "vite-tsconfig-paths": "4.0.3", - "vitest": "0.26.3", + "vitest": "0.27.0", "whatwg-fetch": "3.6.2" }, "optionalDependencies": { diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 3d2b449251e6..4512fe3996e1 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -3733,7 +3733,7 @@ bytes@3.1.2: resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== -cac@^6.7.12: +cac@^6.7.12, cac@^6.7.14: version "6.7.14" resolved "https://registry.yarnpkg.com/cac/-/cac-6.7.14.tgz#804e1e6f506ee363cb0e3ccbb09cad5dd9870959" integrity sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ== @@ -9344,14 +9344,16 @@ vfile@^5.0.0: unist-util-stringify-position "^3.0.0" vfile-message "^3.0.0" -vite-node@0.26.3: - version "0.26.3" - resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-0.26.3.tgz#164fbaf449d5bd382b44b736653ba800397b5ebd" - integrity sha512-Te2bq0Bfvq6XiO718I+1EinMjpNYKws6SNHKOmVbILAQimKoZKDd+IZLlkaYcBXPpK3HFe2U80k8Zw+m3w/a2w== +vite-node@0.27.0: + version "0.27.0" + resolved "https://registry.yarnpkg.com/vite-node/-/vite-node-0.27.0.tgz#26ec5895565fce43b501ea53ba905bb5b62318e1" + integrity sha512-O1o9joT0qCGx5Om6W0VNLr7M00ttrnFlfZX2d+oxt2T9oZ9DvYSv8kDRhNJDVhAgNgUm3Tc0h/+jppNf3mVKbA== dependencies: + cac "^6.7.14" debug "^4.3.4" mlly "^1.0.0" pathe "^0.2.0" + picocolors "^1.0.0" source-map "^0.6.1" source-map-support "^0.5.21" vite "^3.0.0 || ^4.0.0" @@ -9402,26 +9404,28 @@ vite@4.0.4: optionalDependencies: fsevents "~2.3.2" -vitest@0.26.3: - version "0.26.3" - resolved "https://registry.yarnpkg.com/vitest/-/vitest-0.26.3.tgz#0e3abb7674e8af7b74519b40c04efe6e43c0b0a7" - integrity sha512-FmHxU9aUCxTi23keF3vxb/Qp0lYXaaJ+jRLGOUmMS3qVTOJvgGE+f1VArupA6pEhaG2Ans4X+zV9dqM5WISMbg== +vitest@0.27.0: + version "0.27.0" + resolved "https://registry.yarnpkg.com/vitest/-/vitest-0.27.0.tgz#6f76e76f0f8dd5d41cb30c75623b2d43a41101fb" + integrity sha512-BnOa7T6CnXVC6UgcAsvFOZ2Dtvqkt+/Nl6CRgh4qVT70vElf65XwEL6zMRyTF+h2QXJziEkxYdrLo5WCxckMLQ== dependencies: "@types/chai" "^4.3.4" "@types/chai-subset" "^1.3.3" "@types/node" "*" acorn "^8.8.1" acorn-walk "^8.2.0" + cac "^6.7.14" chai "^4.3.7" debug "^4.3.4" local-pkg "^0.4.2" + picocolors "^1.0.0" source-map "^0.6.1" strip-literal "^1.0.0" tinybench "^2.3.1" tinypool "^0.3.0" tinyspy "^1.0.2" vite "^3.0.0 || ^4.0.0" - vite-node "0.26.3" + vite-node "0.27.0" vm2@^3.9.8: version "3.9.13"