From f3b36a4bbcf7a28e6f617159b1778dabf2dda2a1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 16 Jun 2023 13:28:57 +0000 Subject: [PATCH] Update vitest monorepo to v0.32.1 (#2556) 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/coverage-c8](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-c8#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`0.32.0` -> `0.32.1`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-c8/0.32.0/0.32.1) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.1/compatibility-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.32.1/confidence-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.32.0` -> `0.32.1`](https://renovatebot.com/diffs/npm/vitest/0.32.0/0.32.1) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.32.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.32.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.32.1/compatibility-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.32.1/confidence-slim/0.32.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
vitest-dev/vitest ### [`v0.32.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) #####    🚀 Features - Export `registerConsoleShortcuts` from `vitest/node`  -  by [@​deot](https://togithub.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://togithub.com/vitest-dev/vitest/issues/3563) [(bc49b)](https://togithub.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable`  -  by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://togithub.com/vitest-dev/vitest/issues/3556) [(8e385)](https://togithub.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function  -  by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://togithub.com/vitest-dev/vitest/issues/3562) [(3d436)](https://togithub.com/vitest-dev/vitest/commit/3d43638c) #####    🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#​3060](https://togithub.com/vitest-dev/vitest/issues/3060))  -  by [@​nathanmmiller](https://togithub.com/nathanmmiller) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://togithub.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://togithub.com/vitest-dev/vitest/issues/3060) [(02196)](https://togithub.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration  -  by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://togithub.com/vitest-dev/vitest/issues/3552) [(368b8)](https://togithub.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks`  -  by [@​Max10240](https://togithub.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://togithub.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://togithub.com/vitest-dev/vitest/issues/3579) [(24ec8)](https://togithub.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://togithub.com/vitest-dev/vitest/issues/3582) [(9c7ea)](https://togithub.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion  -  by [@​Krisell](https://togithub.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://togithub.com/vitest-dev/vitest/issues/3583) [(68985)](https://togithub.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest`  -  by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://togithub.com/vitest-dev/vitest/issues/3580) [(b4ac8)](https://togithub.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://togithub.com/vitest-dev/vitest/issues/3587) [(d9e14)](https://togithub.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://togithub.com/vitest-dev/vitest/issues/3547) [(158c4)](https://togithub.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page  -  by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://togithub.com/vitest-dev/vitest/issues/3529) [(bc283)](https://togithub.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://togithub.com/vitest-dev/vitest/issues/3544) [(0cbb0)](https://togithub.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references  -  by [@​rxliuli](https://togithub.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://togithub.com/vitest-dev/vitest/issues/3570) [(b097c)](https://togithub.com/vitest-dev/vitest/commit/b097cef8) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1)
--- ### 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 these updates 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/ariakit/ariakit). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package-lock.json | 72 +++++++++++++++++++++++------------------------ package.json | 4 +-- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5bb63d5d28..2be1012829 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,7 +41,7 @@ "@typescript-eslint/eslint-plugin": "5.59.11", "@typescript-eslint/parser": "5.59.11", "@vercel/analytics": "1.0.1", - "@vitest/coverage-c8": "0.32.0", + "@vitest/coverage-c8": "0.32.1", "autoprefixer": "10.4.14", "babylon": "6.18.0", "chalk": "5.2.0", @@ -114,7 +114,7 @@ "unified": "10.1.2", "unist-util-visit": "4.1.2", "use-local-storage-state": "18.3.3", - "vitest": "0.32.0", + "vitest": "0.32.1", "vitest-fail-on-console": "0.4.0", "webpack": "5.87.0" } @@ -5271,9 +5271,9 @@ "integrity": "sha512-Ux0c9qUfkcPqng3vrR0GTrlQdqNJ2JREn/2ydrVuKwM3RtMfF2mWX31Ijqo1opSjNAq6rK76PwtANw6kl6TAow==" }, "node_modules/@vitest/coverage-c8": { - "version": "0.32.0", - "resolved": "https://registry.npmjs.org/@vitest/coverage-c8/-/coverage-c8-0.32.0.tgz", - "integrity": "sha512-FeTzRN5VCL7B6YTRK5ZPQO2iwJzl2x7/mTQ/2uEeKZatAYBtvczeAYnzSUhCPev7p99+5skxMQZwqVcFTrVCdg==", + "version": "0.32.1", + "resolved": "https://registry.npmjs.org/@vitest/coverage-c8/-/coverage-c8-0.32.1.tgz", + "integrity": "sha512-In76s7bYSABEO2cM7ykLbrlyu7WxpPiSV1rwfme58ZNOoDrRHt5avLtBpBpNfxlzWgQIWVqne10wEc8mhf3BwA==", "dependencies": { "@ampproject/remapping": "^2.2.1", "c8": "^7.13.0", @@ -5289,12 +5289,12 @@ } }, "node_modules/@vitest/expect": { - "version": "0.32.0", - "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.32.0.tgz", - "integrity": "sha512-VxVHhIxKw9Lux+O9bwLEEk2gzOUe93xuFHy9SzYWnnoYZFYg1NfBtnfnYWiJN7yooJ7KNElCK5YtA7DTZvtXtg==", + "version": "0.32.1", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.32.1.tgz", + "integrity": "sha512-Ca5AlxzyE7XoQULdtWcoxavYTcB42Y9XvaSg/JnFyU1nlR4+ouIY4lYpEXu2qY4xha8Q5jKgW/sH0yqXqCrm2w==", "dependencies": { - "@vitest/spy": "0.32.0", - "@vitest/utils": "0.32.0", + "@vitest/spy": "0.32.1", + "@vitest/utils": "0.32.1", "chai": "^4.3.7" }, "funding": { @@ -5302,11 +5302,11 @@ } }, "node_modules/@vitest/runner": { - "version": "0.32.0", - "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-0.32.0.tgz", - "integrity": "sha512-QpCmRxftHkr72xt5A08xTEs9I4iWEXIOCHWhQQguWOKE4QH7DXSKZSOFibuwEIMAD7G0ERvtUyQn7iPWIqSwmw==", + "version": "0.32.1", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-0.32.1.tgz", + "integrity": "sha512-KfinbkhyptHuzwJCuuCXWSU8E9UkQIMQUhDHFuufzmPKWiLFzIY3Z4MRsPu1qw1uSZX9ZUQ3PPIAyMO5e0Lq3A==", "dependencies": { - "@vitest/utils": "0.32.0", + "@vitest/utils": "0.32.1", "concordance": "^5.0.4", "p-limit": "^4.0.0", "pathe": "^1.1.0" @@ -5341,9 +5341,9 @@ } }, "node_modules/@vitest/snapshot": { - "version": "0.32.0", - "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-0.32.0.tgz", - "integrity": "sha512-yCKorPWjEnzpUxQpGlxulujTcSPgkblwGzAUEL+z01FTUg/YuCDZ8dxr9sHA08oO2EwxzHXNLjQKWJ2zc2a19Q==", + "version": "0.32.1", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-0.32.1.tgz", + "integrity": "sha512-6QsxowDyv6Gm/McSD/6eXBgL3zMSIxBvxC50E7ZYJ+DNfJACJ1w6pykhbnBh9L8igwlFFUPNC1hj+3WD6xF4QQ==", "dependencies": { "magic-string": "^0.30.0", "pathe": "^1.1.0", @@ -5354,9 +5354,9 @@ } }, "node_modules/@vitest/spy": { - "version": "0.32.0", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-0.32.0.tgz", - "integrity": "sha512-MruAPlM0uyiq3d53BkwTeShXY0rYEfhNGQzVO5GHBmmX3clsxcWp79mMnkOVcV244sNTeDcHbcPFWIjOI4tZvw==", + "version": "0.32.1", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-0.32.1.tgz", + "integrity": "sha512-ibbPbGOvSP8Wce6hdv7BAIoVMweFDCPTvxitR7d6VtrR8n5SoPuvV93oi0WQRgJJ+ciUUI2UtUqRsQMU7+FIqQ==", "dependencies": { "tinyspy": "^2.1.0" }, @@ -5365,11 +5365,11 @@ } }, "node_modules/@vitest/utils": { - "version": "0.32.0", - "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-0.32.0.tgz", - "integrity": "sha512-53yXunzx47MmbuvcOPpLaVljHaeSu1G2dHdmy7+9ngMnQIkBQcvwOcoclWFnxDMxFbnq8exAfh3aKSZaK71J5A==", + "version": "0.32.1", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-0.32.1.tgz", + "integrity": "sha512-LPuk++ko9iYhG+Bh8WfgXkr+lXvZ1c8ThofZnO7UV5+N7XvnGMA6B4nqHAY1TeDorQTnsGD/5WHsyQBsbARYtg==", "dependencies": { - "concordance": "^5.0.4", + "diff-sequences": "^29.4.3", "loupe": "^2.3.6", "pretty-format": "^27.5.1" }, @@ -21683,9 +21683,9 @@ } }, "node_modules/vite-node": { - "version": "0.32.0", - "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-0.32.0.tgz", - "integrity": "sha512-220P/y8YacYAU+daOAqiGEFXx2A8AwjadDzQqos6wSukjvvTWNqleJSwoUn0ckyNdjHIKoxn93Nh1vWBqEKr3Q==", + "version": "0.32.1", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-0.32.1.tgz", + "integrity": "sha512-YfZ+8aDHjsAKCVGky6DB1pb3v25aMCXuXncdSUm1kZALdnHMH+k179el+fCRmSocHqzClvBfc4zlOiZ1sCyfQA==", "dependencies": { "cac": "^6.7.14", "debug": "^4.3.4", @@ -21705,18 +21705,18 @@ } }, "node_modules/vitest": { - "version": "0.32.0", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.32.0.tgz", - "integrity": "sha512-SW83o629gCqnV3BqBnTxhB10DAwzwEx3z+rqYZESehUB+eWsJxwcBQx7CKy0otuGMJTYh7qCVuUX23HkftGl/Q==", + "version": "0.32.1", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.32.1.tgz", + "integrity": "sha512-WIJ/ikmGbvGrui2CMIZwl9MRrlzZZvbdsJA5pIkeG0U4RsIj3HsFETM5PXc0Ypp+R1TRtxghSct8MBxocYNPLA==", "dependencies": { "@types/chai": "^4.3.5", "@types/chai-subset": "^1.3.3", "@types/node": "*", - "@vitest/expect": "0.32.0", - "@vitest/runner": "0.32.0", - "@vitest/snapshot": "0.32.0", - "@vitest/spy": "0.32.0", - "@vitest/utils": "0.32.0", + "@vitest/expect": "0.32.1", + "@vitest/runner": "0.32.1", + "@vitest/snapshot": "0.32.1", + "@vitest/spy": "0.32.1", + "@vitest/utils": "0.32.1", "acorn": "^8.8.2", "acorn-walk": "^8.2.0", "cac": "^6.7.14", @@ -21732,7 +21732,7 @@ "tinybench": "^2.5.0", "tinypool": "^0.5.0", "vite": "^3.0.0 || ^4.0.0", - "vite-node": "0.32.0", + "vite-node": "0.32.1", "why-is-node-running": "^2.2.2" }, "bin": { diff --git a/package.json b/package.json index a97db0d192..548abceac9 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ "@typescript-eslint/eslint-plugin": "5.59.11", "@typescript-eslint/parser": "5.59.11", "@vercel/analytics": "1.0.1", - "@vitest/coverage-c8": "0.32.0", + "@vitest/coverage-c8": "0.32.1", "autoprefixer": "10.4.14", "babylon": "6.18.0", "chalk": "5.2.0", @@ -167,7 +167,7 @@ "unified": "10.1.2", "unist-util-visit": "4.1.2", "use-local-storage-state": "18.3.3", - "vitest": "0.32.0", + "vitest": "0.32.1", "vitest-fail-on-console": "0.4.0", "webpack": "5.87.0" }