From 68686902ff40c800b8f2bac0b5a7e0b343c464b3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 30 May 2023 14:42:31 +0000 Subject: [PATCH] Update vitest monorepo to v0.31.2 (#2485) 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.31.1` -> `0.31.2`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-c8/0.31.1/0.31.2) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.2/compatibility-slim/0.31.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-c8/0.31.2/confidence-slim/0.31.1)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.31.1` -> `0.31.2`](https://renovatebot.com/diffs/npm/vitest/0.31.1/0.31.2) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.31.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.31.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.31.2/compatibility-slim/0.31.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.31.2/confidence-slim/0.31.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
vitest-dev/vitest ### [`v0.31.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.2) [Compare Source](https://togithub.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 [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3360](https://togithub.com/vitest-dev/vitest/issues/3360) [(7c2f7)](https://togithub.com/vitest-dev/vitest/commit/7c2f7088) - Pass down meta information to Node.js process  -  by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3449](https://togithub.com/vitest-dev/vitest/issues/3449) [(e39ad)](https://togithub.com/vitest-dev/vitest/commit/e39adea8) - **coverage**: Add `reportOnFailure` option  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3453](https://togithub.com/vitest-dev/vitest/issues/3453) [(1988f)](https://togithub.com/vitest-dev/vitest/commit/1988fcb4) - **dev**: Add moduleDirectories option to the vitest config  -  by [@​fooddilsn](https://togithub.com/fooddilsn) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3337](https://togithub.com/vitest-dev/vitest/issues/3337) [(b3602)](https://togithub.com/vitest-dev/vitest/commit/b3602bcc) #####    🐞 Bug Fixes - Don't print empty diff  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3437](https://togithub.com/vitest-dev/vitest/issues/3437) [(32b53)](https://togithub.com/vitest-dev/vitest/commit/32b5361f) - Don't restore methods in automocked dependencies  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3438](https://togithub.com/vitest-dev/vitest/issues/3438) [(d1afd)](https://togithub.com/vitest-dev/vitest/commit/d1afd262) - Dot reporter scrollback buffer spam  -  by [@​gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3415](https://togithub.com/vitest-dev/vitest/issues/3415) [(e6792)](https://togithub.com/vitest-dev/vitest/commit/e6792a94) - Gracefully exit when first `SIGINT` is received  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3407](https://togithub.com/vitest-dev/vitest/issues/3407) [(a2cc2)](https://togithub.com/vitest-dev/vitest/commit/a2cc2b38) - `rejects` & `resolves` breaks with thenable objects  -  by [@​fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3456](https://togithub.com/vitest-dev/vitest/issues/3456) [(4e996)](https://togithub.com/vitest-dev/vitest/commit/4e996ae5) - Prevent `birpc` timeouts when `Math.random` mock is not restored  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3460](https://togithub.com/vitest-dev/vitest/issues/3460) [(cd5d5)](https://togithub.com/vitest-dev/vitest/commit/cd5d58b7) - Assertion diff message now handle non writable property correctly  -  by [@​PCreations](https://togithub.com/PCreations) in [https://github.com/vitest-dev/vitest/issues/3422](https://togithub.com/vitest-dev/vitest/issues/3422) [(f75ab)](https://togithub.com/vitest-dev/vitest/commit/f75ab650) - Extend logging of process timeout errors  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3452](https://togithub.com/vitest-dev/vitest/issues/3452) [(42643)](https://togithub.com/vitest-dev/vitest/commit/42643904) - Support requiring files with `less` extension  -  by [@​rluvaton](https://togithub.com/rluvaton) in [https://github.com/vitest-dev/vitest/issues/3465](https://togithub.com/vitest-dev/vitest/issues/3465) [(4d045)](https://togithub.com/vitest-dev/vitest/commit/4d045695) - **cli**: - Improve colors used when erroring  -  by [@​ghiscoding](https://togithub.com/ghiscoding) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3349](https://togithub.com/vitest-dev/vitest/issues/3349) [(16681)](https://togithub.com/vitest-dev/vitest/commit/16681791) - **runner**: - Suite timeout does not take effect  -  by [@​btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3455](https://togithub.com/vitest-dev/vitest/issues/3455) [(82547)](https://togithub.com/vitest-dev/vitest/commit/82547376) - **spy**: - Don't print received calls if there are no calls  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3405](https://togithub.com/vitest-dev/vitest/issues/3405) [(41e11)](https://togithub.com/vitest-dev/vitest/commit/41e11dad) - **typecheck**: - Show tsc errors not related to test files  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3441](https://togithub.com/vitest-dev/vitest/issues/3441) [(a1da5)](https://togithub.com/vitest-dev/vitest/commit/a1da5714) - **types**: - Fix `PartialMock` with async TReturns  -  by [@​ghry5](https://togithub.com/ghry5) in [https://github.com/vitest-dev/vitest/issues/3462](https://togithub.com/vitest-dev/vitest/issues/3462) [(b664d)](https://togithub.com/vitest-dev/vitest/commit/b664d42c) - **vite-node**: - Circular import stuck  -  by [@​Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3418](https://togithub.com/vitest-dev/vitest/issues/3418) [(632ee)](https://togithub.com/vitest-dev/vitest/commit/632eef40) - Coerce to string in import(dep)  -  by [@​jcbhmr](https://togithub.com/jcbhmr) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3430](https://togithub.com/vitest-dev/vitest/issues/3430) [(b72eb)](https://togithub.com/vitest-dev/vitest/commit/b72ebdb9) - Don't remove sourcemap string in source code  -  by [@​rxliuli](https://togithub.com/rxliuli) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2918](https://togithub.com/vitest-dev/vitest/issues/2918) and [https://github.com/vitest-dev/vitest/issues/3379](https://togithub.com/vitest-dev/vitest/issues/3379) [(02dc9)](https://togithub.com/vitest-dev/vitest/commit/02dc9ea7) - Don't externalize "dist" by default  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3446](https://togithub.com/vitest-dev/vitest/issues/3446) [(306b2)](https://togithub.com/vitest-dev/vitest/commit/306b2337) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2)
--- ### 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 | 70 +++++++++++++++++++++++------------------------ package.json | 4 +-- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/package-lock.json b/package-lock.json index ce2392b5d4..bf15e830a3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,7 +41,7 @@ "@typescript-eslint/eslint-plugin": "5.59.8", "@typescript-eslint/parser": "5.59.8", "@vercel/analytics": "1.0.1", - "@vitest/coverage-c8": "0.31.1", + "@vitest/coverage-c8": "0.31.2", "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.31.1", + "vitest": "0.31.2", "vitest-fail-on-console": "0.4.0", "webpack": "5.84.1" } @@ -6032,9 +6032,9 @@ "integrity": "sha512-Ux0c9qUfkcPqng3vrR0GTrlQdqNJ2JREn/2ydrVuKwM3RtMfF2mWX31Ijqo1opSjNAq6rK76PwtANw6kl6TAow==" }, "node_modules/@vitest/coverage-c8": { - "version": "0.31.1", - "resolved": "https://registry.npmjs.org/@vitest/coverage-c8/-/coverage-c8-0.31.1.tgz", - "integrity": "sha512-6TkjQpmgYez7e3dbAUoYdRXxWN81BojCmUILJwgCy39uZFG33DsQ0rSRSZC9beAEdCZTpxR63nOvd9hxDQcJ0g==", + "version": "0.31.2", + "resolved": "https://registry.npmjs.org/@vitest/coverage-c8/-/coverage-c8-0.31.2.tgz", + "integrity": "sha512-RznxfxFtoV8xYt8e0h57OeulqOfFZJsa5pxXKW+xFW9ZHamSZ0wJC57FS4oh3Xbe0JNaHwSJ0KeClXgnuW1fkw==", "dependencies": { "@ampproject/remapping": "^2.2.1", "c8": "^7.13.0", @@ -6050,12 +6050,12 @@ } }, "node_modules/@vitest/expect": { - "version": "0.31.1", - "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.31.1.tgz", - "integrity": "sha512-BV1LyNvhnX+eNYzJxlHIGPWZpwJFZaCcOIzp2CNG0P+bbetenTupk6EO0LANm4QFt0TTit+yqx7Rxd1qxi/SQA==", + "version": "0.31.2", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.31.2.tgz", + "integrity": "sha512-AOuh2NLN9zJ0SkvsItRkS/W39akYpUvo5LOnay3zEhGSnRgivPu2D3S8QlMij1hFMQcX+dlMilPgJatUHiGQ4A==", "dependencies": { - "@vitest/spy": "0.31.1", - "@vitest/utils": "0.31.1", + "@vitest/spy": "0.31.2", + "@vitest/utils": "0.31.2", "chai": "^4.3.7" }, "funding": { @@ -6063,11 +6063,11 @@ } }, "node_modules/@vitest/runner": { - "version": "0.31.1", - "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-0.31.1.tgz", - "integrity": "sha512-imWuc82ngOtxdCUpXwtEzZIuc1KMr+VlQ3Ondph45VhWoQWit5yvG/fFcldbnCi8DUuFi+NmNx5ehMUw/cGLUw==", + "version": "0.31.2", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-0.31.2.tgz", + "integrity": "sha512-k2mWrzZD1xsWfzwEXeVr2XF4v8ELpFOKLxRbcnzZclHelOLn27nXvnw1A4JwJtmca64C3/6lo4WHZDlq3TefLQ==", "dependencies": { - "@vitest/utils": "0.31.1", + "@vitest/utils": "0.31.2", "concordance": "^5.0.4", "p-limit": "^4.0.0", "pathe": "^1.1.0" @@ -6102,9 +6102,9 @@ } }, "node_modules/@vitest/snapshot": { - "version": "0.31.1", - "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-0.31.1.tgz", - "integrity": "sha512-L3w5uU9bMe6asrNzJ8WZzN+jUTX4KSgCinEJPXyny0o90fG4FPQMV0OWsq7vrCWfQlAilMjDnOF9nP8lidsJ+g==", + "version": "0.31.2", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-0.31.2.tgz", + "integrity": "sha512-NXRlbP3sM5+KELb8oXVHf7UWD+liBnSsS+4JlDVPD5+KPquZmgNR0xPLW5VEb5HoQZQpKTAFhtGf1AczRCbAhg==", "dependencies": { "magic-string": "^0.30.0", "pathe": "^1.1.0", @@ -6115,9 +6115,9 @@ } }, "node_modules/@vitest/spy": { - "version": "0.31.1", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-0.31.1.tgz", - "integrity": "sha512-1cTpt2m9mdo3hRLDyCG2hDQvRrePTDgEJBFQQNz1ydHHZy03EiA6EpFxY+7ODaY7vMRCie+WlFZBZ0/dQWyssQ==", + "version": "0.31.2", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-0.31.2.tgz", + "integrity": "sha512-81zcAkCCgAc1gA7UvLOWCvkIwrgzaqHBdv9sskOt2xh1+l+RMX9G7sVYj3AOsib3UDR0MCSXit49xKILTMnikw==", "dependencies": { "tinyspy": "^2.1.0" }, @@ -6126,9 +6126,9 @@ } }, "node_modules/@vitest/utils": { - "version": "0.31.1", - "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-0.31.1.tgz", - "integrity": "sha512-yFyRD5ilwojsZfo3E0BnH72pSVSuLg2356cN1tCEe/0RtDzxTPYwOomIC+eQbot7m6DRy4tPZw+09mB7NkbMmA==", + "version": "0.31.2", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-0.31.2.tgz", + "integrity": "sha512-B2AoocMpIiBezediqFzSqvuXI7AZlmlPkh3oj20Jh3bL35c8YYWk9KfOLkEjsLCrOHOUFXoYFc+ACiELCIJVRw==", "dependencies": { "concordance": "^5.0.4", "loupe": "^2.3.6", @@ -23099,9 +23099,9 @@ } }, "node_modules/vite-node": { - "version": "0.31.1", - "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-0.31.1.tgz", - "integrity": "sha512-BajE/IsNQ6JyizPzu9zRgHrBwczkAs0erQf/JRpgTIESpKvNj9/Gd0vxX905klLkb0I0SJVCKbdrl5c6FnqYKA==", + "version": "0.31.2", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-0.31.2.tgz", + "integrity": "sha512-NvoO7+zSvxROC4JY8cyp/cO7DHAX3dwMOHQVDdNtCZ4Zq8wInnR/bJ/lfsXqE6wrUgtYCE5/84qHS+A7vllI3A==", "dependencies": { "cac": "^6.7.14", "debug": "^4.3.4", @@ -23121,18 +23121,18 @@ } }, "node_modules/vitest": { - "version": "0.31.1", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.31.1.tgz", - "integrity": "sha512-/dOoOgzoFk/5pTvg1E65WVaobknWREN15+HF+0ucudo3dDG/vCZoXTQrjIfEaWvQXmqScwkRodrTbM/ScMpRcQ==", + "version": "0.31.2", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.31.2.tgz", + "integrity": "sha512-O0qKHDbI+zXxwq1WOeqFjxP5v1mDqqM6gllPuOUJkK2YFyQ2nEo8CELR4Mg68ryTSSh527ysBmEN69bDvL2LkQ==", "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.2", + "@vitest/runner": "0.31.2", + "@vitest/snapshot": "0.31.2", + "@vitest/spy": "0.31.2", + "@vitest/utils": "0.31.2", "acorn": "^8.8.2", "acorn-walk": "^8.2.0", "cac": "^6.7.14", @@ -23148,7 +23148,7 @@ "tinybench": "^2.5.0", "tinypool": "^0.5.0", "vite": "^3.0.0 || ^4.0.0", - "vite-node": "0.31.1", + "vite-node": "0.31.2", "why-is-node-running": "^2.2.2" }, "bin": { diff --git a/package.json b/package.json index fe245fab61..1d6ba5f159 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ "@typescript-eslint/eslint-plugin": "5.59.8", "@typescript-eslint/parser": "5.59.8", "@vercel/analytics": "1.0.1", - "@vitest/coverage-c8": "0.31.1", + "@vitest/coverage-c8": "0.31.2", "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.31.1", + "vitest": "0.31.2", "vitest-fail-on-console": "0.4.0", "webpack": "5.84.1" }