stream-vue
stream-vue copied to clipboard
chore(deps): update test packages (major)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @vitest/coverage-v8 (source) | 0.34.6 -> 1.6.0 |
||||
| jsdom | 22.1.0 -> 24.0.0 |
||||
| vitest (source) | 0.34.6 -> 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
includeConsoleOutputandaddFileAttributein 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
toJSONfor 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 acceptstdoutandstdin- 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
startVitestAPI 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
onTestFinishedin reverse order - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5598 (23f29) - browser:
- Disable
fileParallelismby 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
cleanOnRerunis disabled - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5540 (ea3c1) thresholdsto compare files relative to root - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5574 (80265)
- Fix bundling of
- expect:
- Fix
toEqualandtoMatchObjectwith 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
v1.4.0
🚀 Features
- Throw error when using snapshot assertion with
not- by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5294 (b9d37) - Add a flag to include test location in tasks - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5342 (d627e)
- cli:
- Support wildcards in
--projectoption - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5295 (201bd)
- Support wildcards in
- config:
- Add
shuffle.filesandshuffle.testsoptions - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5281 (356db) - Deprecate
cache.diroption - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5229 (d7e8b)
- Add
- coverage:
- Support
--changedoption - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5314 (600b4)
- Support
- vitest:
- Support
clearScreencli flag - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5241 (e1735)
- Support
🐞 Bug Fixes
- Repeatable
--projectoption - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5265 (d1a06) --inspect-brkto pause before execution - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5355 (e77c5)- Correct locations in test.each tasks - by @sheremet-va (4f6e3)
- api:
- Use resolvedUrls from devserver - by @saitonakamura and @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5289 (2fef5)
- browser:
- Add
magic-stringtooptimizeDeps.include- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5278 (8f04e)
- Add
- coverage:
- Expensive regexp hangs v8 report generation - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5259 (d68a7)
- V8 to ignore type-only files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5328 (c3eb8)
- Respect source maps of pre-transpiled sources - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5367 (6eda4)
- Prevent
reportsDirectoryfrom removing user's project - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5376 (07ec3)
- expect:
- Show diff on
toContain/toMatchassertion error - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5267 (8ee59)
- Show diff on
- forks:
- Wrap
definesto supportundefinedvalues - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5284 (5b58b)
- Wrap
- typecheck:
- Update get-tsconfig 4.7.3 to fix false circularity error - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5384 (bdc37)
- ui:
- Escape html in error diff - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5325 (ab60b)
- vitest:
- Loosen
onConsoleLogreturn type - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5337 (6d1b1) - Ensure restoring terminal cursor on close - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5292 (0bea2)
- Ignore timeout on websocket reporter rpc - by @sheremet-va (38119)
- Correctly override api with --no-api flag - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5386 (51d1d)
- Logs in
beforeAllandafterAll- by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5288 (ce5ca)
- Loosen
- workspace:
- Throw error when browser mode and
@vitest/coverage-v8are used - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5250 (29f98)
- Throw error when browser mode and
View changes on GitHub
v1.3.1
🚀 Features
- vitest: Expose parseCLI method - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5248 (c793a)
- This feature is not affected by SemVer because it is part of an experimental API.
🐞 Bug Fixes
- Add task tests iteratively - by @DerYeger in https://github.com/vitest-dev/vitest/issues/5235 (38155)
- coverage: Ignore generated TS decorators - by @AriPerkkio and @sheremet-va in https://github.com/vitest-dev/vitest/issues/5206 (a2804)
- ui: Auto reload coverage iframe after test run - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5242 (5376d)
View changes on GitHub
v1.3.0
🚀 Features
- Deprecate watchExclude - by @patak-dev in https://github.com/vitest-dev/vitest/issues/5171 (82885)
- browser:
- Run test files in isolated iframes - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5036 (4f401)
- config:
- Add
snapshotSerializersoption - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5092 (5b102)
- Add
- reporters:
- Support custom options - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5111 (fec9c)
- runner:
- Support automatic fixtures - by @fenghan34 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/5102 (0441f)
- ui:
- Save splitpanes size to local storage - by @posva in https://github.com/vitest-dev/vitest/issues/5166 (c28b4)
- vitest:
- Add onTestFinished hook - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5128 (6f5b4)
- Add github actions reporter - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5093 (40afb)
- Expose jsdom global if jsdom environment is enabled - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5155 (567d2)
- Add new CLI options - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5163 (4e179)
- "test" accepts options object as the second parameter - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5142 (7d9b1)
- vm:
- Support wasm module - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5131 (5ed53)
🐞 Bug Fixes
- Fix sourcemap in vm pools - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5063 (81105)
- Don't optimize react/jsx-runtime by default when running in Node - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5079 (0d2bf)
- Rpc timeout error messages to include caller - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5103 (a6e04)
- Requires fixed version across the monorepo - by @antfu in https://github.com/vitest-dev/vitest/issues/5208 (68f51)
- Prevent merging of
poolOptions- by @penalosa in https://github.com/vitest-dev/vitest/issues/5221 (bc5b2) - browser:
- Don't exclude node builtins from optimization - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5082 (714c9)
- Support
coverage.reportsDirectorywith multiple directories - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5056 (ae73f)
- cli:
- Parse
--browser=<name>correctly - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5179 (656e2)
- Parse
- coverage:
.tmpdirectory conflicts with--shardoption - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5184 (5749d)
- deps:
- Update dependency strip-literal to v2 - by @renovate[bot] inhttps://github.com/vitest-dev/vitest/issues/51366 (ef557)
- reporters:
- Testsuite name should include project root in Junit output - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5116 (2494f)
- typecheck:
- Fix suite collection while-loop - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5065 (35675)
- ui:
- Fix tests duration time - by @vovsemenv in https://github.com/vitest-dev/vitest/issues/5219 (58103)
- utils:
- Fix asymmetric matcher diff inside array - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5189 (3ffcd)
- vitest:
- Correctly report failed test files as failures in json reporter, export json reporter types - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5081 (0417b)
- Don't run typecheck tests in browser if both are enabled - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5080 (1045b)
- Handle function config inside
defineWorkspace- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5089 (0bf52) - Remove excessive listeners when running without isolation, don't reset the state - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5132 (b607f)
- Auto-enable "github-actions" only where users didn't configure reporters - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5158 (ef044)
- Support more array cli options - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5162 (3afe6)
- Add types for the new global
jsdomvariable - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5164 (0f898) - Expose onTestFinished globally - by @sheremet-va (1304f)
- Disable optimizer by default until it's stable - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5156 (e1bd8)
- Delegate snapshot options to workspace from root config - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5199 (86297)
- Fix
optimizeDeps.disabledwarnings on Vite 5.1 - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5215 (1aecd)
- vm:
- Handle
disableConsoleInterceptconfig - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5074 (a55ad) - Improve error when module is not found - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5053 (79a50)
- Handle
View changes on GitHub
v1.2.2
🐞 Bug Fixes
- coverage:
- Remove
coverage/.tmpfiles after run - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5008 (d53b8) - Don't crash when re-run removes earlier run's reports - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5022 (66898)
- Remove
- expect:
- Improve
toThrow(asymmetricMatcher)failure message - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5000 (a199a)
- Improve
- forks:
- Set correct
VITEST_POOL_ID- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5002 (7d0a4)
- Set correct
- threads:
- Mention common work-around for the logged error - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5024 (915d6)
- typecheck:
- Fix
ignoreSourceErrorsin run mode - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5044 (6dae3)
- Fix
- vite-node:
- Provide import.meta.filename and dirname - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5011 (73148)
- vitest:
- Expose getHooks & setHooks - by @adriencaccia in https://github.com/vitest-dev/vitest/issues/5032 (73448)
- Test deep dependencies change detection - by @blake-newman in https://github.com/vitest-dev/vitest/issues/4934 (9c7c0)
- Throw an error if vi.mock is exported - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5034 (253df)
- Allow
useFakeTimersto fakerequestIdleCallbackon non browser - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5028 (a9a48) - Support older NodeJS with async
import.meta.resolve- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5045 (cf564) - Don't throw an error if mocked file was already imported - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5050 (fff1a)
View changes on GitHub
v1.2.1
🐞 Bug Fixes
- browser:
- Apply inlined workspace config to browser mode vite server - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4947 (db01f)
- Fix browser testing url for https - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4855 (6c1cc)
- Don't fail when calling vi.useFakeTimers - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4992 (6c5fe)
- coverage:
thresholds.autoUpdateto work with arrow function configuration files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4959 (4b411)
- expect:
- Implement chai inspect for
AsymmetricMatcher- by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4942 (06bae)
- Implement chai inspect for
- vite-node:
- Externalize network imports - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4987 (21f57)
- vitest:
- Handle single
await vi.hoisted- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4962 (dcf2e) - Simplify hoist transform check regex to avoid expensive regex match - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4974 (df0db)
- Correctly find module if it has a version query - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4976 (952c3)
- Check color support for intercepted console logging - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4966 (39a71)
- Use development/production conditions when resolving external modules - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4980 (8877e)
- Throw a syntax error if vi.hoisted is directly exported - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4969 (f8bff)
- Handle single
View changes on GitHub
v1.2.0
🚀 Features
- Support case-insensitive path matching in cli - by @tigranmk in https://github.com/vitest-dev/vitest/issues/3567 and https://github.com/vitest-dev/vitest/issues/4911 (1326c)
- Add typeahead search - by @bonyuta0204 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4275 and https://github.com/vitest-dev/vitest/issues/4733 (480d8)
- Add syntax highlighting to error messages - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4813 (8c969)
- Allow extending toEqual - by @tigranmk and @sheremet-va in https://github.com/vitest-dev/vitest/issues/2875 and https://github.com/vitest-dev/vitest/issues/4880 (463be)
- coverage:
- Custom reporter support - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4828 (96dc6)
- ui:
- Show unhandled errors on the ui - by @spiroka and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4380 (7f59a)
- vitest:
- Add
--disable-console-interceptoption to allow opting-out from automatic console log interception - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4786 (43fa6) - Show slow test duration in verbose reporter on CI - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4929 (ccb25)
- Allow overiding package installer with public API - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4936 (c2cce)
- Add
🐞 Bug Fixes
- browser:
- Support vite config
server.headers- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4890 (55f53) - Fix
testNamePatternconfig - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4909 (4add9) - Fix updating snapshot during watch mode - by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4867 (508fc)
- Remove redundant test failure logging - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4891 (7fd44)
- Support vite config
- happy-dom:
- Window.close() for environment teardown - by @capricorn86 in https://github.com/vitest-dev/vitest/issues/4931 (91719)
- utils:
- Fix
objDisplaydefault truncate option fortest.eachtitle - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4917 (9ae9d)
- Fix
- vitest:
- Fix tap reporter to handle custom error - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4897 (f8ba8)
- Gracefully exit Vitest if
process.exitis called inside the test - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4903 (8e6c1) - Throw "cannot mock" error only in isolated pools - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4905 (f99cc)
- Don't throw SyntaxError when "await vi.hoisted" is used - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4915 (ca62f)
- Correctly parse --maxWorkers/--minWorkers - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4924 (0e77e)
- Show correct error when vi.hoisted is used inside vi.mock and the other way around - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4916 (c4eac)
- Call global teardown when using workspaces - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4935 (528bd)
- Use file instead of id for HMR - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4938 (ca76f)
- Add inlined deps to ssr.noExternal so they are added to the module graph - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4945 (1663f)
- workspace:
- Support overring
poolandpoolOptionson project level - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4765 (e9fe4)
- Support overring
View changes on GitHub
v1.1.3
🐞 Bug Fixes
- vitest:
- Vi.mock breaks tests when using imported variables inside the factory - by @sheremet-va and Dunqing in https://github.com/vitest-dev/vitest/issues/4873 (7719e)
- Apply
slowTestThresholdto all reporters - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4876 (1769c)
View changes on GitHub
v1.1.2
🐞 Bug Fixes
- Remove internal flag from UI option in the config - by @sheremet-va (7b4a2)
- browser:
- Avoid safaridriver collision - by @mbland in https://github.com/vitest-dev/vitest/issues/4863 (345a2)
- Resolved failure to find arbitrarily-named snapshot files when using
expect(...).toMatchFileSnapshot()matcher. - by @zmullett, Zac Mullett and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4839 (b8140) - Handle config.base - by @mbland and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4686 and https://github.com/vitest-dev/vitest/issues/4692 (9e345)
- deps:
- Update dependency acorn-walk to ^8.3.1 - by @renovate[bot] inhttps://github.com/vitest-dev/vitest/issues/48377 (47bc2)
- Update dependency sirv to ^2.0.4 - by @renovate[bot] inhttps://github.com/vitest-dev/vitest/issues/48388 (df261)
- runner:
- Fix fixture cleanup for concurrent tests - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4827 (1fee6)
- spy:
- Don't allow Promise in mockImplementation - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4859 (072e0)
- vite-node:
- Correctly return cached result - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4870 (15bbb)
- vitest:
- Throw an error if mock was already loaded when vi.mock is called - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4862 (e12a5)
- Correctly rerun test files on change if server was restarted - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4871 (6088b)
- vm-threads:
- Don't crash on percentage based
memoryLimit- by @inottn and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4802 (70e8a)
- Don't crash on percentage based
View changes on GitHub
v1.1.1
🐞 Bug Fixes
- Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by @wojtekmaj and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4698 (ee8b4)
- Don't fail if
inline: trueis set - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4815 (8f622) - Correct option name
--no-parallelism- by @bonyuta0204 in https://github.com/vitest-dev/vitest/issues/4831 [(5053a)](https://togithub.com/vitest
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "before 4am on Monday" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
[!IMPORTANT]
Review Skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai reviewcommand.You can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Tips
Chat
There are 3 ways to chat with CodeRabbit:
- Review comments: Directly reply to a review comment made by CodeRabbit. Example:
I pushed a fix in commit <commit_id>.Generate unit testing code for this file.Open a follow-up GitHub issue for this discussion.
- Files and specific lines of code (under the "Files changed" tab): Tag
@coderabbitaiin a new review comment at the desired location with your query. Examples:@coderabbitai generate unit testing code for this file.@coderabbitai modularize this function.
- PR comments: Tag
@coderabbitaiin a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:@coderabbitai generate interesting stats about this repository and render them as a table.@coderabbitai show all the console.log statements in this repository.@coderabbitai read src/utils.ts and generate unit testing code.@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.
CodeRabbit Commands (invoked as PR comments)
@coderabbitai pauseto pause the reviews on a PR.@coderabbitai resumeto resume the paused reviews.@coderabbitai reviewto trigger an incremental review. This is useful when automatic reviews are disabled for the repository.@coderabbitai full reviewto full the review from scratch and review all the files again.@coderabbitai summaryto regenerate the summary of the PR.@coderabbitai resolveresolve all the CodeRabbit review comments.@coderabbitai helpto get help.
Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
CodeRabbit Configration File (.coderabbit.yaml)
- You can programmatically configure CodeRabbit by adding a
.coderabbit.yamlfile to the root of your repository. - Please see the configuration documentation for more information.
- If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation:
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
Documentation and Community
- Visit our Documentation for detailed information on how to use CodeRabbit.
- Join our Discord Community to get help, request features, and share feedback.
- Follow us on X/Twitter for updates and announcements.
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
| Package | New capabilities | Transitives | Size | Publisher |
|---|---|---|---|---|
| npm/@vitest/[email protected] | Transitive: environment, filesystem | +46 |
7.45 MB | vitestbot |
| npm/[email protected] | environment, eval Transitive: filesystem, network, shell, unsafe | +72 |
12.2 MB | vitestbot |
🚮 Removed packages: npm/@vitest/[email protected], npm/[email protected], npm/[email protected]