Update dependency @vitest/coverage-v8 to v1.6.0 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@vitest/coverage-v8 (source) | devDependencies | minor | 1.4.0 -> 1.6.0 |
Release Notes
vitest-dev/vitest (@vitest/coverage-v8)
v1.6.0
🚀 Features
- Support standalone mode - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5565 (bdce0)
- Custom "snapshotEnvironment" option - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5449 (30f72)
- benchmark: Support comparing benchmark result - by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/5398 (f8d3d)
- browser: Allow injecting scripts - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5656 (21e58)
-
reporter: Support
includeConsoleOutput
andaddFileAttribute
in junit - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5659 (2f913) - ui: Sort items by file name - by @btea in https://github.com/vitest-dev/vitest/issues/5652 (1f726)
🐞 Bug Fixes
- Keep order of arguments for .each in custom task collectors - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5640 (7d57c)
- Call
resolveId('vitest')
afterbuildStart
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5646 (f5faf) - Hash the name of the file when caching - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5654 (c9e68)
- Don't panic on empty files in node_modules - by @sheremet-va (40c29)
- Use
toJSON
for error serialization - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5526 (19a21) -
coverage:
- Exclude
*.test-d.*
by default - by @MindfulPol in https://github.com/vitest-dev/vitest/issues/5634 (bfe8a) - Apply
vite-node
's wrapper only to executed files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5642 (c9883)
- Exclude
-
vm:
- Support network imports - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5610 (103a6)
🏎 Performance
- Improve performance of forks pool - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5592 (d8304)
- Unnecessary rpc call when coverage is disabled - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5658 (c5712)
View changes on GitHub
v1.5.3
🐞 Bug Fixes
- Use package.json name for a workspace project if not provided - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5608 (48fba)
- Backport jest iterable equality within object - by @sukovanej in https://github.com/vitest-dev/vitest/issues/5621 (30e5d)
- browser: Support benchmark - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5622 (becab)
- reporter: Use default error formatter for JUnit - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5629 (20060)
View changes on GitHub
v1.5.2
🐞 Bug Fixes
- Check for null before storing in weakmap - by @sheremet-va (ce368)
View changes on GitHub
v1.5.1
🚀 Features
-
api:
startVitest()
to acceptstdout
andstdin
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5493 (780b1)- This is listed as a feature, but it doesn't increase the minor version because
startVitest
API is experimental and doesn't follow semver.
- This is listed as a feature, but it doesn't increase the minor version because
🐞 Bug Fixes
- Close vite servers on all resolved projects - by @surc54 in https://github.com/vitest-dev/vitest/issues/5544 (413ec)
- Fix default
import.meta.env.PROD: false
- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5561 (9c649) - Resolve cwd correctly when initiating projects - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5582 (ec9d7)
- Always run
onTestFinished
in reverse order - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5598 (23f29) -
browser:
- Disable
fileParallelism
by default on browser pool - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5528 (5c69f) - Dispose tester iframe on done - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5595 (b2135)
- Disable
-
coverage:
- Fix bundling of
v8-to-istanbul
- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5549 (df6a4) - Prevent crash when
cleanOnRerun
is disabled - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5540 (ea3c1) -
thresholds
to compare files relative to root - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5574 (80265)
- Fix bundling of
-
expect:
- Fix
toEqual
andtoMatchObject
with circular references - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5535 (9e641)
- Fix
-
vitest:
- Fix false positive file filter match with leading slash - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5578 (316eb)
- Watch the output directory correctly - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5584 (e40f9)
- StubEnv casts boolean on PROD/SSR/DEV - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5590 (4da88)
View changes on GitHub
v1.5.0
🚀 Features
- Add configuration for diff truncation - by @willieho in https://github.com/vitest-dev/vitest/issues/5073 and https://github.com/vitest-dev/vitest/issues/5333 (6797b)
- Remove unrelated noise from diff for toMatchObject() - by @geersch in https://github.com/vitest-dev/vitest/issues/5364 (99276)
- Allow custom host for --inspect and --inspect-brk - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5509 (61572)
- coverage: V8 to ignore empty lines, comments, types - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5457 (10b89)
🐞 Bug Fixes
-
describe
calls not taking generic type parameters - by @aryaemami59 in https://github.com/vitest-dev/vitest/issues/5415 (16bac) - Prevent hang when
process
is mocked - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5430 (0ec4d) - Don't check for "node:internal/console/" in console interceptor in case the environment is not Node.js - by @sheremet-va (87d36)
- The value received by toMatch should be a string - by @btea in https://github.com/vitest-dev/vitest/issues/5428 (67485)
- Increase stack trace limit for location, don't hardcode suite position - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5518 (04b23)
-
benchmark:
- Run benchmark suites sequentially - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5444 (1f548)
- Fix benchmark summary of single bench suite - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5489 (db981)
- Table reporter for non TTY output - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5484 (bea23)
-
expect:
- Fix
toHaveBeenNthCalledWith
error message when not called - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5420 (e5253)
- Fix
-
types:
- Pass correct type for suite factory - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5437 (26718)
-
utils:
- Fix object diff with getter only property - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5466 (366d9)
-
vite-node:
- Fix
isValidNodeImport
to check"type": "module"
first - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5416 (6fb15)
- Fix
-
vitest:
- Correctly send console events when state changes - by @sheremet-va (3463f)
- Initiate FakeTimers on demand - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5450 (e4e93)
- Check unhighlighted code for code frame line limit - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5465 (6ae7e)
- Correctly filter by parent folder - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5408 (91b06)
- Close inspector immediately if run is canceled - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5519 (b8006)
-
workspace:
- Set CWD to config directory, allow overriding local .env - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5476 (d4003)
View changes on GitHub
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by igswsihw-wmadepbot