From a1ceed5532945b6955ecd8d9714e873ce4b85665 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 15:53:01 +0000 Subject: [PATCH] Update dependency vitest to v0.34.5 (#2859) 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.34.4` -> `0.34.5`](https://renovatebot.com/diffs/npm/vitest/0.34.4/0.34.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.34.4/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.34.4/0.34.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
vitest-dev/vitest (vitest) ### [`v0.34.5`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.5) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5) #####    🚀 Features - **config**: - Add `diff` option  -  by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4063](https://togithub.com/vitest-dev/vitest/issues/4063) [(b50cf)](https://togithub.com/vitest-dev/vitest/commit/b50cf7ad) - **coverage**: - Add `coverage['100']` to istanbul provider  -  by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4109](https://togithub.com/vitest-dev/vitest/issues/4109) [(a7e09)](https://togithub.com/vitest-dev/vitest/commit/a7e09939) - **vitest**: - Support `vi.waitFor` method  -  by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4113](https://togithub.com/vitest-dev/vitest/issues/4113) [(d79cb)](https://togithub.com/vitest-dev/vitest/commit/d79cb44b) - Allow using unprocessed environment files  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4098](https://togithub.com/vitest-dev/vitest/issues/4098) [(1aee1)](https://togithub.com/vitest-dev/vitest/commit/1aee13af) - Support `vi.waitUntil` method  -  by [@​Dunqing](https://togithub.com/Dunqing) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4129](https://togithub.com/vitest-dev/vitest/issues/4129) [(e0ac9)](https://togithub.com/vitest-dev/vitest/commit/e0ac97cf) #####    🐞 Bug Fixes - Update HappyDOMOptions to be compatible with v12  -  by [@​anthonyblond](https://togithub.com/anthonyblond) in [https://github.com/vitest-dev/vitest/issues/4135](https://togithub.com/vitest-dev/vitest/issues/4135) [(e8797)](https://togithub.com/vitest-dev/vitest/commit/e8797534) - Print value shape when .resolves and .rejects fails  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4137](https://togithub.com/vitest-dev/vitest/issues/4137) [(e649d)](https://togithub.com/vitest-dev/vitest/commit/e649d78f) - **docs**: - Fix lint errors on onConsoleLog example  -  by [@​marcelobotega](https://togithub.com/marcelobotega) in [https://github.com/vitest-dev/vitest/issues/4116](https://togithub.com/vitest-dev/vitest/issues/4116) [(ba1e7)](https://togithub.com/vitest-dev/vitest/commit/ba1e7335) - **expect**: - Improve the error message when nothing is thrown when testing `toThrow`  -  by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3979](https://togithub.com/vitest-dev/vitest/issues/3979) [(725a0)](https://togithub.com/vitest-dev/vitest/commit/725a0146) - **happy-dom**: - Catch errors in happy-dom  -  by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4140](https://togithub.com/vitest-dev/vitest/issues/4140) [(c21c0)](https://togithub.com/vitest-dev/vitest/commit/c21c0efa) - **runner**: - Restore leading space in `testNamePattern`  -  by [@​segrey](https://togithub.com/segrey) in [https://github.com/vitest-dev/vitest/issues/4103](https://togithub.com/vitest-dev/vitest/issues/4103) and [https://github.com/vitest-dev/vitest/issues/4104](https://togithub.com/vitest-dev/vitest/issues/4104) [(3c305)](https://togithub.com/vitest-dev/vitest/commit/3c305857) - `test.extend` doesn't work in hooks without test  -  by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4065](https://togithub.com/vitest-dev/vitest/issues/4065) [(175c7)](https://togithub.com/vitest-dev/vitest/commit/175c752d) - **snapshot**: - Support mix of normal/with placeholders snapshots  -  by [@​RobertPechaCZ](https://togithub.com/RobertPechaCZ) in [https://github.com/vitest-dev/vitest/issues/4118](https://togithub.com/vitest-dev/vitest/issues/4118) [(01e01)](https://togithub.com/vitest-dev/vitest/commit/01e01bfc) - **ui**: - Correctly render ansi diff  -  by [@​so1ve](https://togithub.com/so1ve) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3810](https://togithub.com/vitest-dev/vitest/issues/3810) [(8c315)](https://togithub.com/vitest-dev/vitest/commit/8c3152fa) - **vite-node**: - Export `SourceMapInput` to fix CYCLIC_CROSS_CHUNK_REEXPORT  -  by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/4128](https://togithub.com/vitest-dev/vitest/issues/4128) [(ca70a)](https://togithub.com/vitest-dev/vitest/commit/ca70a779) - Align vite dependency version with vitest  -  by [@​sheremet-va](https://togithub.com/sheremet-va) [(90ff8)](https://togithub.com/vitest-dev/vitest/commit/90ff899b) - **vitest**: - Rerun tests if a file loaded with query changes  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4130](https://togithub.com/vitest-dev/vitest/issues/4130) [(a084c)](https://togithub.com/vitest-dev/vitest/commit/a084ceaf) - Inject "define" in workspaces  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4096](https://togithub.com/vitest-dev/vitest/issues/4096) [(b4d5a)](https://togithub.com/vitest-dev/vitest/commit/b4d5ae23) #####    🏎 Performance - Use lazy require in vm pool  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4136](https://togithub.com/vitest-dev/vitest/issues/4136) [(21ba4)](https://togithub.com/vitest-dev/vitest/commit/21ba4935) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.4...v0.34.5)
--- ### 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://developer.mend.io/github/ariakit/ariakit). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 64 +++++++++++++++++++++++------------------------ package.json | 2 +- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8bcee08d85..3f407758cf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -117,7 +117,7 @@ "unified": "10.1.2", "unist-util-visit": "5.0.0", "use-local-storage-state": "19.1.0", - "vitest": "0.34.4", + "vitest": "0.34.5", "vitest-fail-on-console": "0.5.0", "webpack": "5.88.2" } @@ -5341,12 +5341,12 @@ } }, "node_modules/@vitest/expect": { - "version": "0.34.4", - "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.34.4.tgz", - "integrity": "sha512-XlMKX8HyYUqB8dsY8Xxrc64J2Qs9pKMt2Z8vFTL4mBWXJsg4yoALHzJfDWi8h5nkO4Zua4zjqtapQ/IluVkSnA==", + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.34.5.tgz", + "integrity": "sha512-/3RBIV9XEH+nRpRMqDJBufKIOQaYUH2X6bt0rKSCW0MfKhXFLYsR5ivHifeajRSTsln0FwJbitxLKHSQz/Xwkw==", "dependencies": { - "@vitest/spy": "0.34.4", - "@vitest/utils": "0.34.4", + "@vitest/spy": "0.34.5", + "@vitest/utils": "0.34.5", "chai": "^4.3.7" }, "funding": { @@ -5354,11 +5354,11 @@ } }, "node_modules/@vitest/runner": { - "version": "0.34.4", - "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-0.34.4.tgz", - "integrity": "sha512-hwwdB1StERqUls8oV8YcpmTIpVeJMe4WgYuDongVzixl5hlYLT2G8afhcdADeDeqCaAmZcSgLTLtqkjPQF7x+w==", + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-0.34.5.tgz", + "integrity": "sha512-RDEE3ViVvl7jFSCbnBRyYuu23XxmvRTSZWW6W4M7eC5dOsK75d5LIf6uhE5Fqf809DQ1+9ICZZNxhIolWHU4og==", "dependencies": { - "@vitest/utils": "0.34.4", + "@vitest/utils": "0.34.5", "p-limit": "^4.0.0", "pathe": "^1.1.1" }, @@ -5390,9 +5390,9 @@ } }, "node_modules/@vitest/snapshot": { - "version": "0.34.4", - "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-0.34.4.tgz", - "integrity": "sha512-GCsh4coc3YUSL/o+BPUo7lHQbzpdttTxL6f4q0jRx2qVGoYz/cyTRDJHbnwks6TILi6560bVWoBpYC10PuTLHw==", + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-0.34.5.tgz", + "integrity": "sha512-+ikwSbhu6z2yOdtKmk/aeoDZ9QPm2g/ZO5rXT58RR9Vmu/kB2MamyDSx77dctqdZfP3Diqv4mbc/yw2kPT8rmA==", "dependencies": { "magic-string": "^0.30.1", "pathe": "^1.1.1", @@ -5419,9 +5419,9 @@ "license": "MIT" }, "node_modules/@vitest/spy": { - "version": "0.34.4", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-0.34.4.tgz", - "integrity": "sha512-PNU+fd7DUPgA3Ya924b1qKuQkonAW6hL7YUjkON3wmBwSTIlhOSpy04SJ0NrRsEbrXgMMj6Morh04BMf8k+w0g==", + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-0.34.5.tgz", + "integrity": "sha512-epsicsfhvBjRjCMOC/3k00mP/TBGQy8/P0DxOFiWyLt55gnZ99dqCfCiAsKO17BWVjn4eZRIjKvcqNmSz8gvmg==", "dependencies": { "tinyspy": "^2.1.1" }, @@ -5430,9 +5430,9 @@ } }, "node_modules/@vitest/utils": { - "version": "0.34.4", - "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-0.34.4.tgz", - "integrity": "sha512-yR2+5CHhp/K4ySY0Qtd+CAL9f5Yh1aXrKfAT42bq6CtlGPh92jIDDDSg7ydlRow1CP+dys4TrOrbELOyNInHSg==", + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-0.34.5.tgz", + "integrity": "sha512-ur6CmmYQoeHMwmGb0v+qwkwN3yopZuZyf4xt1DBBSGBed8Hf9Gmbm/5dEWqgpLPdRx6Av6jcWXrjcKfkTzg/pw==", "dependencies": { "diff-sequences": "^29.4.3", "loupe": "^2.3.6", @@ -22326,16 +22326,16 @@ } }, "node_modules/vite-node": { - "version": "0.34.4", - "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-0.34.4.tgz", - "integrity": "sha512-ho8HtiLc+nsmbwZMw8SlghESEE3KxJNp04F/jPUCLVvaURwt0d+r9LxEqCX5hvrrOQ0GSyxbYr5ZfRYhQ0yVKQ==", + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-0.34.5.tgz", + "integrity": "sha512-RNZ+DwbCvDoI5CbCSQSyRyzDTfFvFauvMs6Yq4ObJROKlIKuat1KgSX/Ako5rlDMfVCyMcpMRMTkJBxd6z8YRA==", "dependencies": { "cac": "^6.7.14", "debug": "^4.3.4", "mlly": "^1.4.0", "pathe": "^1.1.1", "picocolors": "^1.0.0", - "vite": "^3.0.0 || ^4.0.0" + "vite": "^3.0.0 || ^4.0.0 || ^5.0.0-0" }, "bin": { "vite-node": "vite-node.mjs" @@ -22348,18 +22348,18 @@ } }, "node_modules/vitest": { - "version": "0.34.4", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.34.4.tgz", - "integrity": "sha512-SE/laOsB6995QlbSE6BtkpXDeVNLJc1u2LHRG/OpnN4RsRzM3GQm4nm3PQCK5OBtrsUqnhzLdnT7se3aeNGdlw==", + "version": "0.34.5", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.34.5.tgz", + "integrity": "sha512-CPI68mmnr2DThSB3frSuE5RLm9wo5wU4fbDrDwWQQB1CWgq9jQVoQwnQSzYAjdoBOPoH2UtXpOgHVge/uScfZg==", "dependencies": { "@types/chai": "^4.3.5", "@types/chai-subset": "^1.3.3", "@types/node": "*", - "@vitest/expect": "0.34.4", - "@vitest/runner": "0.34.4", - "@vitest/snapshot": "0.34.4", - "@vitest/spy": "0.34.4", - "@vitest/utils": "0.34.4", + "@vitest/expect": "0.34.5", + "@vitest/runner": "0.34.5", + "@vitest/snapshot": "0.34.5", + "@vitest/spy": "0.34.5", + "@vitest/utils": "0.34.5", "acorn": "^8.9.0", "acorn-walk": "^8.2.0", "cac": "^6.7.14", @@ -22374,7 +22374,7 @@ "tinybench": "^2.5.0", "tinypool": "^0.7.0", "vite": "^3.1.0 || ^4.0.0 || ^5.0.0-0", - "vite-node": "0.34.4", + "vite-node": "0.34.5", "why-is-node-running": "^2.2.2" }, "bin": { diff --git a/package.json b/package.json index d2dd5ecd45..bc0d6d12dc 100644 --- a/package.json +++ b/package.json @@ -170,7 +170,7 @@ "unified": "10.1.2", "unist-util-visit": "5.0.0", "use-local-storage-state": "19.1.0", - "vitest": "0.34.4", + "vitest": "0.34.5", "vitest-fail-on-console": "0.5.0", "webpack": "5.88.2" }