From 88cc238a66831d9fe15e34dfa6916e2eb55827f6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 16 Jan 2023 08:28:57 +0000 Subject: [PATCH] chore(deps): update dependency vitest to ^0.27.1 (#1347) 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.1`](https://renovatebot.com/diffs/npm/vitest/0.26.3/0.27.1) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.27.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.27.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.27.1/compatibility-slim/0.26.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.27.1/confidence-slim/0.26.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### ⚠ Dependency Lookup Warnings ⚠ Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information. --- ### Release Notes
vitest-dev/vitest ### [`v0.27.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.27.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.27.0...v0.27.1) #####    🚀 Features - Show error, when process.exit is called  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2643](https://togithub.com/vitest-dev/vitest/issues/2643) [(866f4)](https://togithub.com/vitest-dev/vitest/commit/866f4494) - Add more information about unhandler error  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2642](https://togithub.com/vitest-dev/vitest/issues/2642) [(1ffb0)](https://togithub.com/vitest-dev/vitest/commit/1ffb0ef5) - Display running processes, if vitest closes with timeout  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2633](https://togithub.com/vitest-dev/vitest/issues/2633) [(94968)](https://togithub.com/vitest-dev/vitest/commit/94968a6f) #####    🐞 Bug Fixes - Type issue with spyOn method  -  by [@​samkevin1](https://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2365](https://togithub.com/vitest-dev/vitest/issues/2365) and [https://github.com/vitest-dev/vitest/issues/2582](https://togithub.com/vitest-dev/vitest/issues/2582) [(1aaa7)](https://togithub.com/vitest-dev/vitest/commit/1aaa79d7) - Add missing types in TS project when global is true  -  by [@​Sneaken](https://togithub.com/Sneaken) in [https://github.com/vitest-dev/vitest/issues/2631](https://togithub.com/vitest-dev/vitest/issues/2631) [(4745e)](https://togithub.com/vitest-dev/vitest/commit/4745eaa2) - Always report failed test in junit reporter  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2632](https://togithub.com/vitest-dev/vitest/issues/2632) [(83da2)](https://togithub.com/vitest-dev/vitest/commit/83da2ec4) - Change Vite root, if test.root is used  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2637](https://togithub.com/vitest-dev/vitest/issues/2637) [(efbff)](https://togithub.com/vitest-dev/vitest/commit/efbff2a2) - Don't use ownKeys, when interoping a module  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2629](https://togithub.com/vitest-dev/vitest/issues/2629) [(a186a)](https://togithub.com/vitest-dev/vitest/commit/a186a7e1) - Cut duplicate error in negated toHaveBeenCalled  -  by [@​richardboehme](https://togithub.com/richardboehme) in [https://github.com/vitest-dev/vitest/issues/2638](https://togithub.com/vitest-dev/vitest/issues/2638) [(09d62)](https://togithub.com/vitest-dev/vitest/commit/09d62226) - Always update last HMR ms on a module  -  by [@​sheremet-va](https://togithub.com/sheremet-va) [(99676)](https://togithub.com/vitest-dev/vitest/commit/9967645a) - Terminate workers, when closing process  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2645](https://togithub.com/vitest-dev/vitest/issues/2645) [(ece43)](https://togithub.com/vitest-dev/vitest/commit/ece434a3) - **coverage**: - Prevent c8 from crashing on invalid sourcemaps  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2634](https://togithub.com/vitest-dev/vitest/issues/2634) [(0163d)](https://togithub.com/vitest-dev/vitest/commit/0163dc80) - Istanbul provider to use `coverage.extension`  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2641](https://togithub.com/vitest-dev/vitest/issues/2641) [(7e388)](https://togithub.com/vitest-dev/vitest/commit/7e388903) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.27.0...v0.27.1) ### [`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/fwouts/previewjs). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- frameworks/preact/package.json | 2 +- frameworks/react/package.json | 2 +- frameworks/solid/package.json | 2 +- frameworks/svelte/package.json | 2 +- frameworks/vue2/package.json | 2 +- frameworks/vue3/package.json | 2 +- pnpm-lock.yaml | 93 +++++----------------------------- 7 files changed, 19 insertions(+), 86 deletions(-) diff --git a/frameworks/preact/package.json b/frameworks/preact/package.json index 552390cbf5b..4b1ccb79cf9 100644 --- a/frameworks/preact/package.json +++ b/frameworks/preact/package.json @@ -50,6 +50,6 @@ "rimraf": "^3.0.2", "unbuild": "^1.1.1", "vite": "^4.0.4", - "vitest": "^0.26.3" + "vitest": "^0.27.1" } } diff --git a/frameworks/react/package.json b/frameworks/react/package.json index 3fe80782b8a..8888b7c5300 100644 --- a/frameworks/react/package.json +++ b/frameworks/react/package.json @@ -53,6 +53,6 @@ "react": "^18.2.0", "unbuild": "^1.1.1", "vite": "^4.0.4", - "vitest": "^0.26.3" + "vitest": "^0.27.1" } } diff --git a/frameworks/solid/package.json b/frameworks/solid/package.json index 3251f2db44b..9ce55c265d3 100644 --- a/frameworks/solid/package.json +++ b/frameworks/solid/package.json @@ -49,6 +49,6 @@ "solid-js": "^1.6.9", "unbuild": "^1.1.1", "vite": "^4.0.4", - "vitest": "^0.26.3" + "vitest": "^0.27.1" } } diff --git a/frameworks/svelte/package.json b/frameworks/svelte/package.json index aebb57f1226..27df6d7f58f 100644 --- a/frameworks/svelte/package.json +++ b/frameworks/svelte/package.json @@ -49,6 +49,6 @@ "@types/fs-extra": "^9.0.13", "unbuild": "^1.1.1", "vite": "^4.0.4", - "vitest": "^0.26.3" + "vitest": "^0.27.1" } } diff --git a/frameworks/vue2/package.json b/frameworks/vue2/package.json index b94ab463def..80f2a428fd9 100644 --- a/frameworks/vue2/package.json +++ b/frameworks/vue2/package.json @@ -52,6 +52,6 @@ "@types/fs-extra": "^9.0.13", "unbuild": "^1.1.1", "vite": "^4.0.4", - "vitest": "^0.26.3" + "vitest": "^0.27.1" } } diff --git a/frameworks/vue3/package.json b/frameworks/vue3/package.json index f984a442227..7831d34ce9b 100644 --- a/frameworks/vue3/package.json +++ b/frameworks/vue3/package.json @@ -51,6 +51,6 @@ "@types/fs-extra": "^9.0.13", "unbuild": "^1.1.1", "vite": "^4.0.4", - "vitest": "^0.26.3" + "vitest": "^0.27.1" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index eb1b1f5e451..e932b874b56 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -294,7 +294,7 @@ importers: typescript: ^4.9.4 unbuild: ^1.1.1 vite: ^4.0.4 - vitest: ^0.26.3 + vitest: ^0.27.1 dependencies: '@previewjs/csf3': link:../../csf3 '@previewjs/serializable-values': link:../../serializable-values @@ -312,7 +312,7 @@ importers: rimraf: 3.0.2 unbuild: 1.1.1 vite: 4.0.4 - vitest: 0.26.3 + vitest: 0.27.1 frameworks/preact/tests/apps/preact-app: specifiers: @@ -409,7 +409,7 @@ importers: typescript: ^4.9.4 unbuild: ^1.1.1 vite: ^4.0.4 - vitest: ^0.26.3 + vitest: ^0.27.1 dependencies: '@previewjs/csf3': link:../../csf3 '@previewjs/serializable-values': link:../../serializable-values @@ -430,7 +430,7 @@ importers: react: 18.2.0 unbuild: 1.1.1 vite: 4.0.4 - vitest: 0.26.3 + vitest: 0.27.1 frameworks/react/preview: specifiers: @@ -1452,7 +1452,7 @@ importers: unbuild: ^1.1.1 vite: ^4.0.4 vite-plugin-solid: ^2.5.0 - vitest: ^0.26.3 + vitest: ^0.27.1 dependencies: '@previewjs/csf3': link:../../csf3 '@previewjs/serializable-values': link:../../serializable-values @@ -1467,7 +1467,7 @@ importers: solid-js: 1.6.9 unbuild: 1.1.1 vite: 4.0.4 - vitest: 0.26.3 + vitest: 0.27.1 frameworks/solid/preview: specifiers: @@ -1558,7 +1558,7 @@ importers: typescript: ^4.9.4 unbuild: ^1.1.1 vite: ^4.0.4 - vitest: ^0.26.3 + vitest: ^0.27.1 dependencies: '@previewjs/csf3': link:../../csf3 '@previewjs/serializable-values': link:../../serializable-values @@ -1575,7 +1575,7 @@ importers: '@types/fs-extra': 9.0.13 unbuild: 1.1.1 vite: 4.0.4 - vitest: 0.26.3 + vitest: 0.27.1 frameworks/svelte/preview: specifiers: @@ -1689,7 +1689,7 @@ importers: typescript: ^4.9.4 unbuild: ^1.1.1 vite: ^4.0.4 - vitest: ^0.26.3 + vitest: ^0.27.1 vue: ^2.7.14 vue-template-compiler: ^2.7.14 dependencies: @@ -1711,7 +1711,7 @@ importers: '@types/fs-extra': 9.0.13 unbuild: 1.1.1 vite: 4.0.4 - vitest: 0.26.3 + vitest: 0.27.1 frameworks/vue2/preview: specifiers: @@ -1811,7 +1811,7 @@ importers: typescript: ^4.9.4 unbuild: ^1.1.1 vite: ^4.0.4 - vitest: ^0.26.3 + vitest: ^0.27.1 vue: ^3.2.45 dependencies: '@previewjs/csf3': link:../../csf3 @@ -1831,7 +1831,7 @@ importers: '@types/fs-extra': 9.0.13 unbuild: 1.1.1 vite: 4.0.4 - vitest: 0.26.3 + vitest: 0.27.1 frameworks/vue3/preview: specifiers: @@ -6337,7 +6337,7 @@ packages: std-env: 3.3.1 ufo: 1.0.1 unimport: 1.2.0 - untyped: 1.2.1 + untyped: 1.2.2 transitivePeerDependencies: - rollup - supports-color @@ -31881,27 +31881,6 @@ packages: - terser dev: true - /vite-node/0.26.3_@types+node@18.11.18: - resolution: {integrity: sha512-Te2bq0Bfvq6XiO718I+1EinMjpNYKws6SNHKOmVbILAQimKoZKDd+IZLlkaYcBXPpK3HFe2U80k8Zw+m3w/a2w==} - engines: {node: '>=v14.16.0'} - hasBin: true - dependencies: - debug: 4.3.4 - mlly: 1.1.0 - pathe: 0.2.0 - source-map: 0.6.1 - source-map-support: 0.5.21 - vite: 4.0.4_@types+node@18.11.18 - transitivePeerDependencies: - - '@types/node' - - less - - sass - - stylus - - sugarss - - supports-color - - terser - dev: true - /vite-node/0.27.1_@types+node@18.11.18: resolution: {integrity: sha512-d6+ue/3NzsfndWaPbYh/bFkHbmAWfDXI4B874zRx+WREnG6CUHUbBC8lKaRYZjeR6gCPN5m1aVNNRXBYICA9XA==} engines: {node: '>=v14.16.0'} @@ -32175,52 +32154,6 @@ packages: dependencies: vite: 4.0.4 - /vitest/0.26.3: - resolution: {integrity: sha512-FmHxU9aUCxTi23keF3vxb/Qp0lYXaaJ+jRLGOUmMS3qVTOJvgGE+f1VArupA6pEhaG2Ans4X+zV9dqM5WISMbg==} - engines: {node: '>=v14.16.0'} - hasBin: true - peerDependencies: - '@edge-runtime/vm': '*' - '@vitest/browser': '*' - '@vitest/ui': '*' - happy-dom: '*' - jsdom: '*' - peerDependenciesMeta: - '@edge-runtime/vm': - optional: true - '@vitest/browser': - optional: true - '@vitest/ui': - optional: true - happy-dom: - optional: true - jsdom: - optional: true - dependencies: - '@types/chai': 4.3.4 - '@types/chai-subset': 1.3.3 - '@types/node': 18.11.18 - acorn: 8.8.1 - acorn-walk: 8.2.0 - chai: 4.3.7 - debug: 4.3.4 - local-pkg: 0.4.2 - source-map: 0.6.1 - strip-literal: 1.0.0 - tinybench: 2.3.1 - tinypool: 0.3.0 - tinyspy: 1.0.2 - vite: 4.0.4_@types+node@18.11.18 - vite-node: 0.26.3_@types+node@18.11.18 - transitivePeerDependencies: - - less - - sass - - stylus - - sugarss - - supports-color - - terser - dev: true - /vitest/0.27.1: resolution: {integrity: sha512-1sIpQ1DVFTEn7c1ici1XHcVfdU4nKiBmPtPAtGKJJJLuJjojTv/OHGgcf69P57alM4ty8V4NMv+7Yoi5Cxqx9g==} engines: {node: '>=v14.16.0'}