From 5a210ea0bb23d8414163035939dc87ebb92ec3ab Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 23 Dec 2022 17:03:25 +0000 Subject: [PATCH] chore(deps): update dependency vitest to ^0.26.2 (#1311) 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.25.8` -> `^0.26.2`](https://renovatebot.com/diffs/npm/vitest/0.25.8/0.26.2) | [![age](https://badges.renovateapi.com/packages/npm/vitest/0.26.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/vitest/0.26.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/vitest/0.26.2/compatibility-slim/0.25.8)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/vitest/0.26.2/confidence-slim/0.25.8)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
vitest-dev/vitest ### [`v0.26.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.26.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.26.1...v0.26.2) #####    🚀 Features - Project name  -  by [@​antfu](https://togithub.com/antfu) [(84f98)](https://togithub.com/vitest-dev/vitest/commit/84f98e70) #####    🐞 Bug Fixes - Improve "isInternaRequest" check  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2541](https://togithub.com/vitest-dev/vitest/issues/2541) [(2bb9a)](https://togithub.com/vitest-dev/vitest/commit/2bb9a391) - Use correct word when printing "long-running" warning  -  by [@​simon-abbott](https://togithub.com/simon-abbott) in [https://github.com/vitest-dev/vitest/issues/2546](https://togithub.com/vitest-dev/vitest/issues/2546) [(8dc1c)](https://togithub.com/vitest-dev/vitest/commit/8dc1c3cb) - Pass down diff options  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2545](https://togithub.com/vitest-dev/vitest/issues/2545) [(98c94)](https://togithub.com/vitest-dev/vitest/commit/98c94e65) - **cli**: Respect inline config `dir`  -  by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2550](https://togithub.com/vitest-dev/vitest/issues/2550) [(f6b59)](https://togithub.com/vitest-dev/vitest/commit/f6b592a9) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.26.1...v0.26.2) ### [`v0.26.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.26.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.26.0...v0.26.1) #####    🚀 Features - Add more options to configure diff output  -  by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/2522](https://togithub.com/vitest-dev/vitest/issues/2522) [(7ae14)](https://togithub.com/vitest-dev/vitest/commit/7ae1417f) #####    🐞 Bug Fixes - Don't resolve builtin Node modules  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2538](https://togithub.com/vitest-dev/vitest/issues/2538) [(1cbc2)](https://togithub.com/vitest-dev/vitest/commit/1cbc24dc) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.26.0...v0.26.1) ### [`v0.26.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.26.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.25.8...v0.26.0) #####    🚨 Breaking Changes - **vite-node:** Rewrite how vite-node resolves id  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2463](https://togithub.com/vitest-dev/vitest/issues/2463) [(58ee8)](https://togithub.com/vitest-dev/vitest/commit/58ee8e9b) - Correctly interop nested default for external and inlined modules  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2512](https://togithub.com/vitest-dev/vitest/issues/2512) [(084e9)](https://togithub.com/vitest-dev/vitest/commit/084e929c) - If your environment is `node`, Vitest will not resolve invalid named exports (exports that are on "default" property will not magically appear as named exports), unless `deps.interopDefault` is enabled, or dependency is in `deps.inline`. This change doesn't affect `jsdom`, `happy-dom` or `edge` environments. - **web-worker:** Make web-worker implementation more compatible with spec  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2431](https://togithub.com/vitest-dev/vitest/issues/2431) [(c3a63)](https://togithub.com/vitest-dev/vitest/commit/c3a63524) - Messages are now cloned with `structuredClone`, if it's available, or fallbacks to a polyfill. - Added support for `SharedWorker` #####    🚀 Features - Introduce a native way to set env and globals  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2515](https://togithub.com/vitest-dev/vitest/issues/2515) [(b114d)](https://togithub.com/vitest-dev/vitest/commit/b114d49f) - Add html reporter based on Vitest UI  -  by [@​poyoho](https://togithub.com/poyoho) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2444](https://togithub.com/vitest-dev/vitest/issues/2444) [(b8f34)](https://togithub.com/vitest-dev/vitest/commit/b8f34eb8) - If you have `@vitest/ui` installed, you can now use `'html'` reporter to get a [beautiful UI](https://vitest.dev/guide/ui.html) to view your test results, inspect module graph and read log messages. #####    🐞 Bug Fixes - Allow assigning new hotContext  -  by [@​cometkim](https://togithub.com/cometkim) in [https://github.com/vitest-dev/vitest/issues/2524](https://togithub.com/vitest-dev/vitest/issues/2524) [(b4c43)](https://togithub.com/vitest-dev/vitest/commit/b4c43cd5) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.25.8...v0.26.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 | 79 +++++++++------------------------- 7 files changed, 27 insertions(+), 64 deletions(-) diff --git a/frameworks/preact/package.json b/frameworks/preact/package.json index 6c6430c3e20..c10d7dde4dc 100644 --- a/frameworks/preact/package.json +++ b/frameworks/preact/package.json @@ -50,6 +50,6 @@ "rimraf": "^3.0.2", "unbuild": "^1.0.2", "vite": "^4.0.3", - "vitest": "^0.25.8" + "vitest": "^0.26.2" } } diff --git a/frameworks/react/package.json b/frameworks/react/package.json index 35d41bcf1d2..97abd6b5ff2 100644 --- a/frameworks/react/package.json +++ b/frameworks/react/package.json @@ -57,6 +57,6 @@ "react": "^18.2.0", "unbuild": "^1.0.2", "vite": "^4.0.3", - "vitest": "^0.25.8" + "vitest": "^0.26.2" } } diff --git a/frameworks/solid/package.json b/frameworks/solid/package.json index d2ba647ee0c..d86a2e9e774 100644 --- a/frameworks/solid/package.json +++ b/frameworks/solid/package.json @@ -53,6 +53,6 @@ "solid-js": "^1.6.6", "unbuild": "^1.0.2", "vite": "^4.0.3", - "vitest": "^0.25.8" + "vitest": "^0.26.2" } } diff --git a/frameworks/svelte/package.json b/frameworks/svelte/package.json index 7d1e947ef36..7344f2af359 100644 --- a/frameworks/svelte/package.json +++ b/frameworks/svelte/package.json @@ -49,6 +49,6 @@ "@types/fs-extra": "^9.0.13", "unbuild": "^1.0.2", "vite": "^4.0.3", - "vitest": "^0.25.8" + "vitest": "^0.26.2" } } diff --git a/frameworks/vue2/package.json b/frameworks/vue2/package.json index e4ceb48c173..b5f738c887d 100644 --- a/frameworks/vue2/package.json +++ b/frameworks/vue2/package.json @@ -51,6 +51,6 @@ "@types/fs-extra": "^9.0.13", "unbuild": "^1.0.2", "vite": "^4.0.3", - "vitest": "^0.25.8" + "vitest": "^0.26.2" } } diff --git a/frameworks/vue3/package.json b/frameworks/vue3/package.json index 5ae656db17e..d57af79fc60 100644 --- a/frameworks/vue3/package.json +++ b/frameworks/vue3/package.json @@ -56,6 +56,6 @@ "@types/fs-extra": "^9.0.13", "unbuild": "^1.0.2", "vite": "^4.0.3", - "vitest": "^0.25.8" + "vitest": "^0.26.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0684d15b11e..79517ba5f61 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -296,7 +296,7 @@ importers: typescript: ^4.9.4 unbuild: ^1.0.2 vite: ^4.0.3 - vitest: ^0.25.8 + vitest: ^0.26.2 dependencies: '@previewjs/csf3': link:../../csf3 '@previewjs/serializable-values': link:../../serializable-values @@ -314,7 +314,7 @@ importers: rimraf: 3.0.2 unbuild: 1.0.2 vite: 4.0.3 - vitest: 0.25.8 + vitest: 0.26.2 frameworks/preact/tests/apps/preact-app: specifiers: @@ -411,7 +411,7 @@ importers: typescript: ^4.9.4 unbuild: ^1.0.2 vite: ^4.0.3 - vitest: ^0.25.8 + vitest: ^0.26.2 dependencies: '@previewjs/csf3': link:../../csf3 '@previewjs/serializable-values': link:../../serializable-values @@ -432,7 +432,7 @@ importers: react: 18.2.0 unbuild: 1.0.2 vite: 4.0.3 - vitest: 0.25.8 + vitest: 0.26.2 frameworks/react/preview: specifiers: @@ -1476,7 +1476,7 @@ importers: unbuild: ^1.0.2 vite: ^4.0.3 vite-plugin-solid: ^2.5.0 - vitest: ^0.25.8 + vitest: ^0.26.2 dependencies: '@previewjs/csf3': link:../../csf3 '@previewjs/serializable-values': link:../../serializable-values @@ -1491,7 +1491,7 @@ importers: solid-js: 1.6.6 unbuild: 1.0.2 vite: 4.0.3 - vitest: 0.25.8 + vitest: 0.26.2 frameworks/solid/preview: specifiers: @@ -1555,7 +1555,7 @@ importers: typescript: ^4.9.4 unbuild: ^1.0.2 vite: ^4.0.3 - vitest: ^0.25.8 + vitest: ^0.26.2 dependencies: '@previewjs/csf3': link:../../csf3 '@previewjs/serializable-values': link:../../serializable-values @@ -1572,7 +1572,7 @@ importers: '@types/fs-extra': 9.0.13 unbuild: 1.0.2 vite: 4.0.3 - vitest: 0.25.8 + vitest: 0.26.2 frameworks/svelte/preview: specifiers: @@ -1685,7 +1685,7 @@ importers: unbuild: ^1.0.2 vite: ^4.0.3 vite-plugin-vue2: ^2.0.3 - vitest: ^0.25.8 + vitest: ^0.26.2 vue: ^2.7.14 vue-template-compiler: ^2.7.14 dependencies: @@ -1706,7 +1706,7 @@ importers: '@types/fs-extra': 9.0.13 unbuild: 1.0.2 vite: 4.0.3 - vitest: 0.25.8 + vitest: 0.26.2 frameworks/vue2/preview: specifiers: @@ -1794,7 +1794,7 @@ importers: typescript: ^4.9.4 unbuild: ^1.0.2 vite: ^4.0.3 - vitest: ^0.25.8 + vitest: ^0.26.2 vue: ^3.2.45 dependencies: '@previewjs/csf3': link:../../csf3 @@ -1815,7 +1815,7 @@ importers: '@types/fs-extra': 9.0.13 unbuild: 1.0.2 vite: 4.0.3 - vitest: 0.25.8 + vitest: 0.26.2 frameworks/vue3/preview: specifiers: @@ -13751,7 +13751,7 @@ packages: minipass-pipeline: 1.2.4 mkdirp: 1.0.4 p-map: 4.0.0 - promise-inflight: 1.0.1_bluebird@3.7.2 + promise-inflight: 1.0.1 rimraf: 3.0.2 ssri: 8.0.1 tar: 6.1.13 @@ -26650,6 +26650,14 @@ packages: resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} engines: {node: '>=0.4.0'} + /promise-inflight/1.0.1: + resolution: {integrity: sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==} + peerDependencies: + bluebird: '*' + peerDependenciesMeta: + bluebird: + optional: true + /promise-inflight/1.0.1_bluebird@3.7.2: resolution: {integrity: sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==} peerDependencies: @@ -31843,51 +31851,6 @@ packages: dependencies: vite: 4.0.3 - /vitest/0.25.8: - resolution: {integrity: sha512-X75TApG2wZTJn299E/TIYevr4E9/nBo1sUtZzn0Ci5oK8qnpZAZyhwg0qCeMSakGIWtc6oRwcQFyFfW14aOFWg==} - 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.17 - 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.3_@types+node@18.11.17 - transitivePeerDependencies: - - less - - sass - - stylus - - sugarss - - supports-color - - terser - dev: true - /vitest/0.26.2: resolution: {integrity: sha512-Jvqxh6SDy9SsuslkDjts0iDewDIdq4rveEt69YgDuAb1tVDGV0lDepVaeAFraoySWqneJmOt4TngFFNhlw7GfA==} engines: {node: '>=v14.16.0'}