eslint-types / eslint-define-config

Provide a defineConfig function for .eslintrc.js files
MIT License
361 stars 26 forks source link

Update vitest to ~1.6.0 #290

Open renovate[bot] opened 7 months ago

renovate[bot] commented 7 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@vitest/coverage-v8 (source) ~1.4.0 -> ~1.6.0 age adoption passing confidence
vitest (source) ~1.4.0 -> ~1.6.0 age adoption passing confidence

Release Notes

vitest-dev/vitest (@​vitest/coverage-v8) ### [`v1.6.0`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v1.6.0) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) #####    🚀 Features - Support standalone mode  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5565](https://redirect.github.com/vitest-dev/vitest/issues/5565) [(bdce0)](https://redirect.github.com/vitest-dev/vitest/commit/bdce0a29) - Custom "snapshotEnvironment" option  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5449](https://redirect.github.com/vitest-dev/vitest/issues/5449) [(30f72)](https://redirect.github.com/vitest-dev/vitest/commit/30f728bc) - **benchmark**: Support comparing benchmark result  -  by [@​hi-ogawa](https://redirect.github.com/hi-ogawa) and [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5398](https://redirect.github.com/vitest-dev/vitest/issues/5398) [(f8d3d)](https://redirect.github.com/vitest-dev/vitest/commit/f8d3d22e) - **browser**: Allow injecting scripts  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5656](https://redirect.github.com/vitest-dev/vitest/issues/5656) [(21e58)](https://redirect.github.com/vitest-dev/vitest/commit/21e58bd8) - **reporter**: Support `includeConsoleOutput` and `addFileAttribute` in junit  -  by [@​hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5659](https://redirect.github.com/vitest-dev/vitest/issues/5659) [(2f913)](https://redirect.github.com/vitest-dev/vitest/commit/2f913222) - **ui**: Sort items by file name  -  by [@​btea](https://redirect.github.com/btea) in [https://github.com/vitest-dev/vitest/issues/5652](https://redirect.github.com/vitest-dev/vitest/issues/5652) [(1f726)](https://redirect.github.com/vitest-dev/vitest/commit/1f7268fa) #####    🐞 Bug Fixes - Keep order of arguments for .each in custom task collectors  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5640](https://redirect.github.com/vitest-dev/vitest/issues/5640) [(7d57c)](https://redirect.github.com/vitest-dev/vitest/commit/7d57c116) - Call `resolveId('vitest')` after `buildStart`  -  by [@​hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5646](https://redirect.github.com/vitest-dev/vitest/issues/5646) [(f5faf)](https://redirect.github.com/vitest-dev/vitest/commit/f5faf423) - Hash the name of the file when caching  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5654](https://redirect.github.com/vitest-dev/vitest/issues/5654) [(c9e68)](https://redirect.github.com/vitest-dev/vitest/commit/c9e68ced) - Don't panic on empty files in node_modules  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) [(40c29)](https://redirect.github.com/vitest-dev/vitest/commit/40c299fe) - Use `toJSON` for error serialization  -  by [@​hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5526](https://redirect.github.com/vitest-dev/vitest/issues/5526) [(19a21)](https://redirect.github.com/vitest-dev/vitest/commit/19a21e49) - **coverage**: - Exclude `*.test-d.*` by default  -  by [@​MindfulPol](https://redirect.github.com/MindfulPol) in [https://github.com/vitest-dev/vitest/issues/5634](https://redirect.github.com/vitest-dev/vitest/issues/5634) [(bfe8a)](https://redirect.github.com/vitest-dev/vitest/commit/bfe8ad9d) - Apply `vite-node`'s wrapper only to executed files  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5642](https://redirect.github.com/vitest-dev/vitest/issues/5642) [(c9883)](https://redirect.github.com/vitest-dev/vitest/commit/c9883f3e) - **vm**: - Support network imports  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5610](https://redirect.github.com/vitest-dev/vitest/issues/5610) [(103a6)](https://redirect.github.com/vitest-dev/vitest/commit/103a6002) #####    🏎 Performance - Improve performance of forks pool  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5592](https://redirect.github.com/vitest-dev/vitest/issues/5592) [(d8304)](https://redirect.github.com/vitest-dev/vitest/commit/d8304bb4) - Unnecessary rpc call when coverage is disabled  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5658](https://redirect.github.com/vitest-dev/vitest/issues/5658) [(c5712)](https://redirect.github.com/vitest-dev/vitest/commit/c571276a) #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v1.5.3...v1.6.0) ### [`v1.5.3`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v1.5.3) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3) #####    🐞 Bug Fixes - Use package.json name for a workspace project if not provided  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5608](https://redirect.github.com/vitest-dev/vitest/issues/5608) [(48fba)](https://redirect.github.com/vitest-dev/vitest/commit/48fba190) - Backport jest iterable equality within object  -  by [@​sukovanej](https://redirect.github.com/sukovanej) in [https://github.com/vitest-dev/vitest/issues/5621](https://redirect.github.com/vitest-dev/vitest/issues/5621) [(30e5d)](https://redirect.github.com/vitest-dev/vitest/commit/30e5dc1b) - **browser**: Support benchmark  -  by [@​hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5622](https://redirect.github.com/vitest-dev/vitest/issues/5622) [(becab)](https://redirect.github.com/vitest-dev/vitest/commit/becabb5e) - **reporter**: Use default error formatter for JUnit  -  by [@​hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5629](https://redirect.github.com/vitest-dev/vitest/issues/5629) [(20060)](https://redirect.github.com/vitest-dev/vitest/commit/200609cc) #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v1.5.2...v1.5.3) ### [`v1.5.2`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v1.5.2) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) #####    🐞 Bug Fixes - Check for null before storing in weakmap  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) [(ce368)](https://redirect.github.com/vitest-dev/vitest/commit/ce368457) #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v1.5.1...v1.5.2) ### [`v1.5.1`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v1.5.1) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) #####    🚀 Features - **api**: `startVitest()` to accept `stdout` and `stdin`  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5493](https://redirect.github.com/vitest-dev/vitest/issues/5493) [(780b1)](https://redirect.github.com/vitest-dev/vitest/commit/780b187f) - This is listed as a feature, but it doesn't increase the minor version because `startVitest` API is experimental and doesn't follow semver. #####    🐞 Bug Fixes - Close vite servers on all resolved projects  -  by [@​surc54](https://redirect.github.com/surc54) in [https://github.com/vitest-dev/vitest/issues/5544](https://redirect.github.com/vitest-dev/vitest/issues/5544) [(413ec)](https://redirect.github.com/vitest-dev/vitest/commit/413ec5e6) - Fix default `import.meta.env.PROD: false`  -  by [@​hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5561](https://redirect.github.com/vitest-dev/vitest/issues/5561) [(9c649)](https://redirect.github.com/vitest-dev/vitest/commit/9c64967f) - Resolve cwd correctly when initiating projects  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5582](https://redirect.github.com/vitest-dev/vitest/issues/5582) [(ec9d7)](https://redirect.github.com/vitest-dev/vitest/commit/ec9d7c93) - Always run `onTestFinished` in reverse order  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5598](https://redirect.github.com/vitest-dev/vitest/issues/5598) [(23f29)](https://redirect.github.com/vitest-dev/vitest/commit/23f29cea) - **browser**: - Disable `fileParallelism` by default on browser pool  -  by [@​hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5528](https://redirect.github.com/vitest-dev/vitest/issues/5528) [(5c69f)](https://redirect.github.com/vitest-dev/vitest/commit/5c69f3f5) - Dispose tester iframe on done  -  by [@​hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5595](https://redirect.github.com/vitest-dev/vitest/issues/5595) [(b2135)](https://redirect.github.com/vitest-dev/vitest/commit/b2135710) - **coverage**: - Fix bundling of `v8-to-istanbul`  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5549](https://redirect.github.com/vitest-dev/vitest/issues/5549) [(df6a4)](https://redirect.github.com/vitest-dev/vitest/commit/df6a4328) - Prevent crash when `cleanOnRerun` is disabled  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5540](https://redirect.github.com/vitest-dev/vitest/issues/5540) [(ea3c1)](https://redirect.github.com/vitest-dev/vitest/commit/ea3c16e4) - `thresholds` to compare files relative to root  -  by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/5574](https://redirect.github.com/vitest-dev/vitest/issues/5574) [(80265)](https://redirect.github.com/vitest-dev/vitest/commit/80265b40) - **expect**: - Fix `toEqual` and `toMatchObject` with circular references  -  by [@​hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5535](https://redirect.github.com/vitest-dev/vitest/issues/5535) [(9e641)](https://redirect.github.com/vitest-dev/vitest/commit/9e6417c9) - **vitest**: - Fix false positive file filter match with leading slash  -  by [@​hi-ogawa](https://redirect.github.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/5578](https://redirect.github.com/vitest-dev/vitest/issues/5578) [(316eb)](https://redirect.github.com/vitest-dev/vitest/commit/316eb739) - Watch the output directory correctly  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5584](https://redirect.github.com/vitest-dev/vitest/issues/5584) [(e40f9)](https://redirect.github.com/vitest-dev/vitest/commit/e40f9924) - StubEnv casts boolean on PROD/SSR/DEV  -  by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/5590](https://redirect.github.com/vitest-dev/vitest/issues/5590) [(4da88)](https://redirect.github.com/vitest-dev/vitest/commit/4da88045) #####     [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v1.5.0...v1.5.1) ### [`v1.5.0`](https://redirect.github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v1.4.0...v1.5.0)

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



This PR was generated by Mend Renovate. View the repository job log.