Closed renovate[bot] closed 1 year ago
Merging #87 (ddb5021) into main (dadd9d5) will increase coverage by
0.73%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## main #87 +/- ##
==========================================
+ Coverage 21.67% 22.41% +0.73%
==========================================
Files 9 9
Lines 406 406
Branches 18 18
==========================================
+ Hits 88 91 +3
+ Misses 318 315 -3
Impacted Files | Coverage Δ | |
---|---|---|
packages/electron-trpc/src/main/utils.ts | 37.14% <0.00%> (+4.28%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
This PR contains the following updates:
^0.25.0
->^0.27.0
^0.25.0
->^0.27.0
Release Notes
vitest-dev/vitest
### [`v0.27.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.27.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.27.0...v0.27.1) ##### 🚀 Features - Show error, when process.exit is called - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2643](https://togithub.com/vitest-dev/vitest/issues/2643) [(866f4)](https://togithub.com/vitest-dev/vitest/commit/866f4494) - Add more information about unhandler error - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2642](https://togithub.com/vitest-dev/vitest/issues/2642) [(1ffb0)](https://togithub.com/vitest-dev/vitest/commit/1ffb0ef5) - Display running processes, if vitest closes with timeout - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2633](https://togithub.com/vitest-dev/vitest/issues/2633) [(94968)](https://togithub.com/vitest-dev/vitest/commit/94968a6f) ##### 🐞 Bug Fixes - Type issue with spyOn method - by [@samkevin1](https://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2365](https://togithub.com/vitest-dev/vitest/issues/2365) and [https://github.com/vitest-dev/vitest/issues/2582](https://togithub.com/vitest-dev/vitest/issues/2582) [(1aaa7)](https://togithub.com/vitest-dev/vitest/commit/1aaa79d7) - Add missing types in TS project when global is true - by [@Sneaken](https://togithub.com/Sneaken) in [https://github.com/vitest-dev/vitest/issues/2631](https://togithub.com/vitest-dev/vitest/issues/2631) [(4745e)](https://togithub.com/vitest-dev/vitest/commit/4745eaa2) - Always report failed test in junit reporter - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2632](https://togithub.com/vitest-dev/vitest/issues/2632) [(83da2)](https://togithub.com/vitest-dev/vitest/commit/83da2ec4) - Change Vite root, if test.root is used - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2637](https://togithub.com/vitest-dev/vitest/issues/2637) [(efbff)](https://togithub.com/vitest-dev/vitest/commit/efbff2a2) - Don't use ownKeys, when interoping a module - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2629](https://togithub.com/vitest-dev/vitest/issues/2629) [(a186a)](https://togithub.com/vitest-dev/vitest/commit/a186a7e1) - Cut duplicate error in negated toHaveBeenCalled - by [@richardboehme](https://togithub.com/richardboehme) in [https://github.com/vitest-dev/vitest/issues/2638](https://togithub.com/vitest-dev/vitest/issues/2638) [(09d62)](https://togithub.com/vitest-dev/vitest/commit/09d62226) - Always update last HMR ms on a module - by [@sheremet-va](https://togithub.com/sheremet-va) [(99676)](https://togithub.com/vitest-dev/vitest/commit/9967645a) - Terminate workers, when closing process - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2645](https://togithub.com/vitest-dev/vitest/issues/2645) [(ece43)](https://togithub.com/vitest-dev/vitest/commit/ece434a3) - **coverage**: - Prevent c8 from crashing on invalid sourcemaps - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2634](https://togithub.com/vitest-dev/vitest/issues/2634) [(0163d)](https://togithub.com/vitest-dev/vitest/commit/0163dc80) - Istanbul provider to use `coverage.extension` - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2641](https://togithub.com/vitest-dev/vitest/issues/2641) [(7e388)](https://togithub.com/vitest-dev/vitest/commit/7e388903) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.27.0...v0.27.1) ### [`v0.27.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.27.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.26.3...v0.27.0) ##### 🚨 Breaking Changes - Deprecate "error" on result, store errors in "errors" - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2586](https://togithub.com/vitest-dev/vitest/issues/2586) [(e641a)](https://togithub.com/vitest-dev/vitest/commit/e641a110) - Split vitest into separate packages, but still bundle them for the time being - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2575](https://togithub.com/vitest-dev/vitest/issues/2575) [(c8e6f)](https://togithub.com/vitest-dev/vitest/commit/c8e6fb69) ##### 🚀 Features - **coverage**: report only changed files when using istanbul coverage with watch mode - by [@g4rry420](https://togithub.com/g4rry420) in [https://github.com/vitest-dev/vitest/issues/2385](https://togithub.com/vitest-dev/vitest/issues/2385) [(bf872)](https://togithub.com/vitest-dev/vitest/commit/bf87282c) ##### 🐞 Bug Fixes - Return mock path only when mocked - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2619](https://togithub.com/vitest-dev/vitest/issues/2619) [(f8ac2)](https://togithub.com/vitest-dev/vitest/commit/f8ac2094) - Allow mocking CJS module with interoped default - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2598](https://togithub.com/vitest-dev/vitest/issues/2598) [(6b3e3)](https://togithub.com/vitest-dev/vitest/commit/6b3e36d4) - Avoid random ENOTEMPTY errors - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2620](https://togithub.com/vitest-dev/vitest/issues/2620) [(59766)](https://togithub.com/vitest-dev/vitest/commit/59766fa4) - Always inline assets and modules with special Vite queries - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2617](https://togithub.com/vitest-dev/vitest/issues/2617) [(fed1c)](https://togithub.com/vitest-dev/vitest/commit/fed1cd60) - **cli**: - Allow overrides reporter via cli option - by [@mysteryven](https://togithub.com/mysteryven) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2573](https://togithub.com/vitest-dev/vitest/issues/2573) [(894f1)](https://togithub.com/vitest-dev/vitest/commit/894f155a) - **coverage**: - Flaky c8 coverage caused by parallel sourcemap constructing - by [@AriPerkkio](https://togithub.com/AriPerkkio) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2591](https://togithub.com/vitest-dev/vitest/issues/2591) [(9a29f)](https://togithub.com/vitest-dev/vitest/commit/9a29f984) - Validate extension, when reporting c8 coverage - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2626](https://togithub.com/vitest-dev/vitest/issues/2626) [(74463)](https://togithub.com/vitest-dev/vitest/commit/7446370c) ##### 🏎 Performance - Improve vi.mock performance - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2594](https://togithub.com/vitest-dev/vitest/issues/2594) [(09d19)](https://togithub.com/vitest-dev/vitest/commit/09d19892) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.26.3...v0.27.0) ### [`v0.26.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.26.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.26.2...v0.26.3) ##### 🚀 Features - **mock**: Expose a `importOriginal` helper to the factory - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/2551](https://togithub.com/vitest-dev/vitest/issues/2551) [(853ee)](https://togithub.com/vitest-dev/vitest/commit/853eeddb) ##### 🐞 Bug Fixes - Correctly automock nested interoped defaults - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2559](https://togithub.com/vitest-dev/vitest/issues/2559) [(a431d)](https://togithub.com/vitest-dev/vitest/commit/a431df80) - Start tracking module resolution as soon as possible for easier tracking - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2560](https://togithub.com/vitest-dev/vitest/issues/2560) [(9f41e)](https://togithub.com/vitest-dev/vitest/commit/9f41edda) - Don't hang when mocking module with circular dependency - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2572](https://togithub.com/vitest-dev/vitest/issues/2572) [(c479d)](https://togithub.com/vitest-dev/vitest/commit/c479d9c0) - Show list of tests when typechecking - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2585](https://togithub.com/vitest-dev/vitest/issues/2585) [(32a57)](https://togithub.com/vitest-dev/vitest/commit/32a577b1) - **api**: Make api parse error stacks and return sourcePos in onTaskUpdate - by [@adrienbaron](https://togithub.com/adrienbaron) in [https://github.com/vitest-dev/vitest/issues/2563](https://togithub.com/vitest-dev/vitest/issues/2563) [(ef77d)](https://togithub.com/vitest-dev/vitest/commit/ef77dccf) - **coverage**: Env-replacer to remove query params from sourcemaps filenames - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/2584](https://togithub.com/vitest-dev/vitest/issues/2584) [(dba13)](https://togithub.com/vitest-dev/vitest/commit/dba13374) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.26.2...v0.26.3) ### [`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.0...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.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: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
This PR has been generated by Mend Renovate. View repository job log here.