chore(deps): update dependency vitest to v0.26.1 #2863

Merged
dpschen merged 1 commits from renovate/vitest-0.x into main 2022-12-20 12:53:42 +00:00
Member

This PR contains the following updates:

Package Type Update Change
vitest devDependencies minor 0.25.8 -> 0.26.1

Release Notes

vitest-dev/vitest

v0.26.1

Compare Source

   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

v0.26.0

Compare Source

   🚨 Breaking Changes
   🚀 Features
   🐞 Bug Fixes
    View changes on GitHub

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, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [vitest](https://github.com/vitest-dev/vitest) | devDependencies | minor | [`0.25.8` -> `0.26.1`](https://renovatebot.com/diffs/npm/vitest/0.25.8/0.26.1) | --- ### Release Notes <details> <summary>vitest-dev/vitest</summary> ### [`v0.26.1`](https://github.com/vitest-dev/vitest/releases/tag/v0.26.1) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.26.0...v0.26.1) #####    🚀 Features - Add more options to configure diff output  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) and [@&#8203;dammy001](https://github.com/dammy001) in https://github.com/vitest-dev/vitest/issues/2522 [<samp>(7ae14)</samp>](https://github.com/vitest-dev/vitest/commit/7ae1417f) #####    🐞 Bug Fixes - Don't resolve builtin Node modules  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/2538 [<samp>(1cbc2)</samp>](https://github.com/vitest-dev/vitest/commit/1cbc24dc) #####     [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.26.0...v0.26.1) ### [`v0.26.0`](https://github.com/vitest-dev/vitest/releases/tag/v0.26.0) [Compare Source](https://github.com/vitest-dev/vitest/compare/v0.25.8...v0.26.0) #####    🚨 Breaking Changes - **vite-node:** Rewrite how vite-node resolves id  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/2463 [<samp>(58ee8)</samp>](https://github.com/vitest-dev/vitest/commit/58ee8e9b) - Correctly interop nested default for external and inlined modules  -  by [@&#8203;sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/2512 [<samp>(084e9)</samp>](https://github.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 [@&#8203;sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/2431 [<samp>(c3a63)</samp>](https://github.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 [@&#8203;sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/2515 [<samp>(b114d)</samp>](https://github.com/vitest-dev/vitest/commit/b114d49f) - Add html reporter based on Vitest UI  -  by [@&#8203;poyoho](https://github.com/poyoho) and [@&#8203;sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/2444 [<samp>(b8f34)</samp>](https://github.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 [@&#8203;cometkim](https://github.com/cometkim) in https://github.com/vitest-dev/vitest/issues/2524 [<samp>(b4c43)</samp>](https://github.com/vitest-dev/vitest/commit/b4c43cd5) #####     [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v0.25.8...v0.26.0) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yNDAuMiIsInVwZGF0ZWRJblZlciI6IjMyLjI0MC4yIn0=-->
renovate added the
dependencies
label 2022-12-19 11:03:55 +00:00
Owner

@dpschen Do you know what might cause this error?

TypeError: __vite_ssr_import_1__.default.fileURLToPath is not a function

 ❯ node_modules/.pnpm/vitest@0.26.0_hsptoc6sv7njscwcio25jym4be/node_modules/vitest/dist/chunk-utils-env.03f840f2.js:256:64

    255| const defaultPort = 51204;

    256| const EXIT_CODE_RESTART = 43;

    257| const API_PATH = "/__vitest_api__";

       |                                  ^

    258| const configFiles = [

    259|   "vitest.config.ts",
@dpschen Do you know what might cause this error? ``` TypeError: __vite_ssr_import_1__.default.fileURLToPath is not a function ❯ node_modules/.pnpm/vitest@0.26.0_hsptoc6sv7njscwcio25jym4be/node_modules/vitest/dist/chunk-utils-env.03f840f2.js:256:64 255| const defaultPort = 51204; 256| const EXIT_CODE_RESTART = 43; 257| const API_PATH = "/__vitest_api__"; | ^ 258| const configFiles = [ 259| "vitest.config.ts", ```
renovate force-pushed renovate/vitest-0.x from ccc94e8ad1 to d492074a04 2022-12-19 19:03:56 +00:00 Compare
Member

@dpschen Do you know what might cause this error?

TypeError: __vite_ssr_import_1__.default.fileURLToPath is not a function

 ❯ node_modules/.pnpm/vitest@0.26.0_hsptoc6sv7njscwcio25jym4be/node_modules/vitest/dist/chunk-utils-env.03f840f2.js:256:64

    255| const defaultPort = 51204;

    256| const EXIT_CODE_RESTART = 43;

    257| const API_PATH = "/__vitest_api__";

       |                                  ^

    258| const configFiles = [

    259|   "vitest.config.ts",

Might have something to do with:

Correctly interop nested default for external and inlined modules - by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/2512 (084e9)

I prefixed the import with node: here which is the correct thing todo

> @dpschen Do you know what might cause this error? > > ``` > TypeError: __vite_ssr_import_1__.default.fileURLToPath is not a function > > ❯ node_modules/.pnpm/vitest@0.26.0_hsptoc6sv7njscwcio25jym4be/node_modules/vitest/dist/chunk-utils-env.03f840f2.js:256:64 > > 255| const defaultPort = 51204; > > 256| const EXIT_CODE_RESTART = 43; > > 257| const API_PATH = "/__vitest_api__"; > > | ^ > > 258| const configFiles = [ > > 259| "vitest.config.ts", > ``` Might have something to do with: > Correctly interop nested default for external and inlined modules - by @​sheremet-va in https://github.com/vitest-dev/vitest/issues/2512 (084e9) I [prefixed the import with `node:` here](https://kolaente.dev/vikunja/frontend/src/branch/main/vite.config.ts#L5) which is the correct thing todo
renovate force-pushed renovate/vitest-0.x from d492074a04 to 237c81e297 2022-12-20 08:03:46 +00:00 Compare
Owner

Looks like this is not something we need to fix: https://github.com/vitest-dev/vitest/issues/2531

Looks like this is not something we need to fix: https://github.com/vitest-dev/vitest/issues/2531
renovate force-pushed renovate/vitest-0.x from 237c81e297 to 40a6e50bc6 2022-12-20 10:03:54 +00:00 Compare
renovate force-pushed renovate/vitest-0.x from 40a6e50bc6 to 30b0d54bb3 2022-12-20 11:04:17 +00:00 Compare
renovate changed title from chore(deps): update dependency vitest to v0.26.0 to chore(deps): update dependency vitest to v0.26.1 2022-12-20 11:04:19 +00:00
Member

Hi renovate!

Thank you for creating a PR!

I've deployed the changes of this PR on a preview environment under this URL: https://2863-renovate-vitest-0-x--vikunja-frontend-preview.netlify.app

You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/.

Have a nice day!

Beep boop, I'm a bot.

Hi renovate! Thank you for creating a PR! I've deployed the changes of this PR on a preview environment under this URL: https://2863-renovate-vitest-0-x--vikunja-frontend-preview.netlify.app You can use this url to view the changes live and test them out. You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/. Have a nice day! > Beep boop, I'm a bot.
dpschen approved these changes 2022-12-20 12:52:48 +00:00
Member

jup!

jup!
dpschen merged commit 872197414d into main 2022-12-20 12:53:42 +00:00
dpschen deleted branch renovate/vitest-0.x 2022-12-20 12:53:42 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.