vitest-dev/vitest
### [`v0.31.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1)
##### 🚀 Features
- **watch**: Press `r` should rerun current pattern tests - by [@Dunqing](https://togithub.com/Dunqing) and [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3305](https://togithub.com/vitest-dev/vitest/issues/3305) [(69d27)](https://togithub.com/vitest-dev/vitest/commit/69d27117)
##### 🐞 Bug Fixes
- Make sure thrown error is an object - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3298](https://togithub.com/vitest-dev/vitest/issues/3298) [(a93be)](https://togithub.com/vitest-dev/vitest/commit/a93be56c)
- Remove duplicate type - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3303](https://togithub.com/vitest-dev/vitest/issues/3303) [(5382e)](https://togithub.com/vitest-dev/vitest/commit/5382e8b6)
- Throw an error, if tests are collected with a different vitest version - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3301](https://togithub.com/vitest-dev/vitest/issues/3301) [(708b1)](https://togithub.com/vitest-dev/vitest/commit/708b10fe)
- Support application/x-gzip metadata in html report - by [@mzanelee](https://togithub.com/mzanelee) and **Michael Lee** in [https://github.com/vitest-dev/vitest/issues/3333](https://togithub.com/vitest-dev/vitest/issues/3333) [(5bf7e)](https://togithub.com/vitest-dev/vitest/commit/5bf7eb6e)
- Correctly restore vi.fn implementation - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3341](https://togithub.com/vitest-dev/vitest/issues/3341) [(2aff8)](https://togithub.com/vitest-dev/vitest/commit/2aff8c5f)
- Display error message correctly - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3314](https://togithub.com/vitest-dev/vitest/issues/3314) [(a5b3d)](https://togithub.com/vitest-dev/vitest/commit/a5b3d78e)
- Exclude `cwd` from test name filter - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3353](https://togithub.com/vitest-dev/vitest/issues/3353) [(324a9)](https://togithub.com/vitest-dev/vitest/commit/324a9b54)
- Check error type before modifying it - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3385](https://togithub.com/vitest-dev/vitest/issues/3385) [(c44d9)](https://togithub.com/vitest-dev/vitest/commit/c44d9912)
- `toMatchInlineSnapshot` fails when file path includes parentheses - by [@pacexy](https://togithub.com/pacexy) in [https://github.com/vitest-dev/vitest/issues/3370](https://togithub.com/vitest-dev/vitest/issues/3370) and [https://github.com/vitest-dev/vitest/issues/3371](https://togithub.com/vitest-dev/vitest/issues/3371) [(dcf13)](https://togithub.com/vitest-dev/vitest/commit/dcf1346a)
- Stop spying on a method, when it's restored - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3386](https://togithub.com/vitest-dev/vitest/issues/3386) [(2cb1a)](https://togithub.com/vitest-dev/vitest/commit/2cb1a15a)
- Test repeats - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3369](https://togithub.com/vitest-dev/vitest/issues/3369) [(fb8fc)](https://togithub.com/vitest-dev/vitest/commit/fb8fc7ab)
- **browser**:
- Throw an error if test failed to load - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3390](https://togithub.com/vitest-dev/vitest/issues/3390) [(b354b)](https://togithub.com/vitest-dev/vitest/commit/b354bc1c)
- Keep default export when rewriting exports - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3389](https://togithub.com/vitest-dev/vitest/issues/3389) [(6501d)](https://togithub.com/vitest-dev/vitest/commit/6501d2e3)
- **cli**:
- Improve cac errors when mixing boolean and dot notation - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3302](https://togithub.com/vitest-dev/vitest/issues/3302) [(93fbd)](https://togithub.com/vitest-dev/vitest/commit/93fbd02d)
- **reporter**:
- Prevent deleting test reports stored in coverage directory - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3331](https://togithub.com/vitest-dev/vitest/issues/3331) [(ddbba)](https://togithub.com/vitest-dev/vitest/commit/ddbba396)
- **typecheck**:
- Correctly resolve custom tsconfig path - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3342](https://togithub.com/vitest-dev/vitest/issues/3342) [(c53ae)](https://togithub.com/vitest-dev/vitest/commit/c53ae079)
- **vite-node**:
- Allow returning id not wrapped in promise - by [@danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3312](https://togithub.com/vitest-dev/vitest/issues/3312) [(9836c)](https://togithub.com/vitest-dev/vitest/commit/9836ccb4)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1)
vuejs/core
### [`v3.3.4`](https://togithub.com/vuejs/core/blob/HEAD/CHANGELOG.md#334-httpsgithubcomvuejscorecomparev333v334-2023-05-18)
[Compare Source](https://togithub.com/vuejs/core/compare/v3.3.3...v3.3.4)
##### Bug Fixes
- **build:** ensure correct typing for node esm ([d621d4c](https://togithub.com/vuejs/core/commit/d621d4c646b2d7b190fbd44ad1fd04512b3de300))
- **build:** fix **DEV** flag replacement edge case ([8b7c04b](https://togithub.com/vuejs/core/commit/8b7c04b18f73aad9a08dd57eba90101b5b2aef28)), closes [#8353](https://togithub.com/vuejs/core/issues/8353)
- **compiler-sfc:** handle imported types from default exports ([5aec717](https://togithub.com/vuejs/core/commit/5aec717a2402652306085f58432ba3ab91848a74)), closes [#8355](https://togithub.com/vuejs/core/issues/8355)
### [`v3.3.3`](https://togithub.com/vuejs/core/blob/HEAD/CHANGELOG.md#333-httpsgithubcomvuejscorecomparev332v333-2023-05-18)
[Compare Source](https://togithub.com/vuejs/core/compare/v3.3.2...v3.3.3)
##### Bug Fixes
- avoid regex s flag for old browsers ([91f1c62](https://togithub.com/vuejs/core/commit/91f1c62e6384a8b09f90e7e43b8d347901e529a0)), closes [#8316](https://togithub.com/vuejs/core/issues/8316)
- **build:** fix dev flag replacement in esm-builder builds ([#8314](https://togithub.com/vuejs/core/issues/8314)) ([003836f](https://togithub.com/vuejs/core/commit/003836f90e1f00ebd04b77ec07ccfa4e649a2ff4)), closes [#8312](https://togithub.com/vuejs/core/issues/8312)
- **compiler-sfc:** don't hoist regexp literial ([#8300](https://togithub.com/vuejs/core/issues/8300)) ([8ec73a3](https://togithub.com/vuejs/core/commit/8ec73a3aea7a52e9479f107ae5737761166ddae6))
- **compiler-sfc:** fix props destructing default value type checking with unresolved type ([#8340](https://togithub.com/vuejs/core/issues/8340)) ([f69dbab](https://togithub.com/vuejs/core/commit/f69dbabf8794426c3e9ed33ae77dd8ce655eafd2)), closes [#8326](https://togithub.com/vuejs/core/issues/8326)
- **compiler-sfc:** fix type import from path aliased vue file ([fab9c72](https://togithub.com/vuejs/core/commit/fab9c727805c6186c490f99023e8cf5401b0b5a9)), closes [#8348](https://togithub.com/vuejs/core/issues/8348)
- **compiler-sfc:** handle ts files with relative imports with .js extension ([b36addd](https://togithub.com/vuejs/core/commit/b36addd3bde07467e9ff5641bd1c2bdc3085944c)), closes [#8339](https://togithub.com/vuejs/core/issues/8339)
- **compiler-sfc:** parses correctly when inline mode is off ([#8337](https://togithub.com/vuejs/core/issues/8337)) ([ecbd42a](https://togithub.com/vuejs/core/commit/ecbd42a1444e3c599e464dec002e43d548d99669)), closes [#6088](https://togithub.com/vuejs/core/issues/6088)
- **compiler-sfc:** support defineEmits type reference with unions ([#8299](https://togithub.com/vuejs/core/issues/8299)) ([b133e0f](https://togithub.com/vuejs/core/commit/b133e0fd97b0b4fabbb43151c19031b8fb47c05b)), closes [#7943](https://togithub.com/vuejs/core/issues/7943)
- **types:** support generic usage with withDefaults + defineProps ([#8335](https://togithub.com/vuejs/core/issues/8335)) ([216f269](https://togithub.com/vuejs/core/commit/216f26995b63c2df26ca0f39f390fe8d59cdabfa)), closes [#8310](https://togithub.com/vuejs/core/issues/8310) [#8331](https://togithub.com/vuejs/core/issues/8331) [#8325](https://togithub.com/vuejs/core/issues/8325)
vuejs/router
### [`v4.2.1`](https://togithub.com/vuejs/router/releases/tag/v4.2.1)
[Compare Source](https://togithub.com/vuejs/router/compare/v4.2.0...v4.2.1)
Please refer to [CHANGELOG.md](https://togithub.com/vuejs/router/blob/main/packages/router/CHANGELOG.md) for details.
Configuration
📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR contains the following updates:
^0.31.0
->^0.31.1
^3.3.2
->^3.3.4
^4.2.0
->^4.2.1
Release Notes
vitest-dev/vitest
### [`v0.31.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1) ##### 🚀 Features - **watch**: Press `r` should rerun current pattern tests - by [@Dunqing](https://togithub.com/Dunqing) and [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3305](https://togithub.com/vitest-dev/vitest/issues/3305) [(69d27)](https://togithub.com/vitest-dev/vitest/commit/69d27117) ##### 🐞 Bug Fixes - Make sure thrown error is an object - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3298](https://togithub.com/vitest-dev/vitest/issues/3298) [(a93be)](https://togithub.com/vitest-dev/vitest/commit/a93be56c) - Remove duplicate type - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3303](https://togithub.com/vitest-dev/vitest/issues/3303) [(5382e)](https://togithub.com/vitest-dev/vitest/commit/5382e8b6) - Throw an error, if tests are collected with a different vitest version - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3301](https://togithub.com/vitest-dev/vitest/issues/3301) [(708b1)](https://togithub.com/vitest-dev/vitest/commit/708b10fe) - Support application/x-gzip metadata in html report - by [@mzanelee](https://togithub.com/mzanelee) and **Michael Lee** in [https://github.com/vitest-dev/vitest/issues/3333](https://togithub.com/vitest-dev/vitest/issues/3333) [(5bf7e)](https://togithub.com/vitest-dev/vitest/commit/5bf7eb6e) - Correctly restore vi.fn implementation - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3341](https://togithub.com/vitest-dev/vitest/issues/3341) [(2aff8)](https://togithub.com/vitest-dev/vitest/commit/2aff8c5f) - Display error message correctly - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3314](https://togithub.com/vitest-dev/vitest/issues/3314) [(a5b3d)](https://togithub.com/vitest-dev/vitest/commit/a5b3d78e) - Exclude `cwd` from test name filter - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3353](https://togithub.com/vitest-dev/vitest/issues/3353) [(324a9)](https://togithub.com/vitest-dev/vitest/commit/324a9b54) - Check error type before modifying it - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3385](https://togithub.com/vitest-dev/vitest/issues/3385) [(c44d9)](https://togithub.com/vitest-dev/vitest/commit/c44d9912) - `toMatchInlineSnapshot` fails when file path includes parentheses - by [@pacexy](https://togithub.com/pacexy) in [https://github.com/vitest-dev/vitest/issues/3370](https://togithub.com/vitest-dev/vitest/issues/3370) and [https://github.com/vitest-dev/vitest/issues/3371](https://togithub.com/vitest-dev/vitest/issues/3371) [(dcf13)](https://togithub.com/vitest-dev/vitest/commit/dcf1346a) - Stop spying on a method, when it's restored - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3386](https://togithub.com/vitest-dev/vitest/issues/3386) [(2cb1a)](https://togithub.com/vitest-dev/vitest/commit/2cb1a15a) - Test repeats - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3369](https://togithub.com/vitest-dev/vitest/issues/3369) [(fb8fc)](https://togithub.com/vitest-dev/vitest/commit/fb8fc7ab) - **browser**: - Throw an error if test failed to load - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3390](https://togithub.com/vitest-dev/vitest/issues/3390) [(b354b)](https://togithub.com/vitest-dev/vitest/commit/b354bc1c) - Keep default export when rewriting exports - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3389](https://togithub.com/vitest-dev/vitest/issues/3389) [(6501d)](https://togithub.com/vitest-dev/vitest/commit/6501d2e3) - **cli**: - Improve cac errors when mixing boolean and dot notation - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3302](https://togithub.com/vitest-dev/vitest/issues/3302) [(93fbd)](https://togithub.com/vitest-dev/vitest/commit/93fbd02d) - **reporter**: - Prevent deleting test reports stored in coverage directory - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3331](https://togithub.com/vitest-dev/vitest/issues/3331) [(ddbba)](https://togithub.com/vitest-dev/vitest/commit/ddbba396) - **typecheck**: - Correctly resolve custom tsconfig path - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3342](https://togithub.com/vitest-dev/vitest/issues/3342) [(c53ae)](https://togithub.com/vitest-dev/vitest/commit/c53ae079) - **vite-node**: - Allow returning id not wrapped in promise - by [@danielroe](https://togithub.com/danielroe) in [https://github.com/vitest-dev/vitest/issues/3312](https://togithub.com/vitest-dev/vitest/issues/3312) [(9836c)](https://togithub.com/vitest-dev/vitest/commit/9836ccb4) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.0...v0.31.1)vuejs/core
### [`v3.3.4`](https://togithub.com/vuejs/core/blob/HEAD/CHANGELOG.md#334-httpsgithubcomvuejscorecomparev333v334-2023-05-18) [Compare Source](https://togithub.com/vuejs/core/compare/v3.3.3...v3.3.4) ##### Bug Fixes - **build:** ensure correct typing for node esm ([d621d4c](https://togithub.com/vuejs/core/commit/d621d4c646b2d7b190fbd44ad1fd04512b3de300)) - **build:** fix **DEV** flag replacement edge case ([8b7c04b](https://togithub.com/vuejs/core/commit/8b7c04b18f73aad9a08dd57eba90101b5b2aef28)), closes [#8353](https://togithub.com/vuejs/core/issues/8353) - **compiler-sfc:** handle imported types from default exports ([5aec717](https://togithub.com/vuejs/core/commit/5aec717a2402652306085f58432ba3ab91848a74)), closes [#8355](https://togithub.com/vuejs/core/issues/8355) ### [`v3.3.3`](https://togithub.com/vuejs/core/blob/HEAD/CHANGELOG.md#333-httpsgithubcomvuejscorecomparev332v333-2023-05-18) [Compare Source](https://togithub.com/vuejs/core/compare/v3.3.2...v3.3.3) ##### Bug Fixes - avoid regex s flag for old browsers ([91f1c62](https://togithub.com/vuejs/core/commit/91f1c62e6384a8b09f90e7e43b8d347901e529a0)), closes [#8316](https://togithub.com/vuejs/core/issues/8316) - **build:** fix dev flag replacement in esm-builder builds ([#8314](https://togithub.com/vuejs/core/issues/8314)) ([003836f](https://togithub.com/vuejs/core/commit/003836f90e1f00ebd04b77ec07ccfa4e649a2ff4)), closes [#8312](https://togithub.com/vuejs/core/issues/8312) - **compiler-sfc:** don't hoist regexp literial ([#8300](https://togithub.com/vuejs/core/issues/8300)) ([8ec73a3](https://togithub.com/vuejs/core/commit/8ec73a3aea7a52e9479f107ae5737761166ddae6)) - **compiler-sfc:** fix props destructing default value type checking with unresolved type ([#8340](https://togithub.com/vuejs/core/issues/8340)) ([f69dbab](https://togithub.com/vuejs/core/commit/f69dbabf8794426c3e9ed33ae77dd8ce655eafd2)), closes [#8326](https://togithub.com/vuejs/core/issues/8326) - **compiler-sfc:** fix type import from path aliased vue file ([fab9c72](https://togithub.com/vuejs/core/commit/fab9c727805c6186c490f99023e8cf5401b0b5a9)), closes [#8348](https://togithub.com/vuejs/core/issues/8348) - **compiler-sfc:** handle ts files with relative imports with .js extension ([b36addd](https://togithub.com/vuejs/core/commit/b36addd3bde07467e9ff5641bd1c2bdc3085944c)), closes [#8339](https://togithub.com/vuejs/core/issues/8339) - **compiler-sfc:** parses correctly when inline mode is off ([#8337](https://togithub.com/vuejs/core/issues/8337)) ([ecbd42a](https://togithub.com/vuejs/core/commit/ecbd42a1444e3c599e464dec002e43d548d99669)), closes [#6088](https://togithub.com/vuejs/core/issues/6088) - **compiler-sfc:** support defineEmits type reference with unions ([#8299](https://togithub.com/vuejs/core/issues/8299)) ([b133e0f](https://togithub.com/vuejs/core/commit/b133e0fd97b0b4fabbb43151c19031b8fb47c05b)), closes [#7943](https://togithub.com/vuejs/core/issues/7943) - **types:** support generic usage with withDefaults + defineProps ([#8335](https://togithub.com/vuejs/core/issues/8335)) ([216f269](https://togithub.com/vuejs/core/commit/216f26995b63c2df26ca0f39f390fe8d59cdabfa)), closes [#8310](https://togithub.com/vuejs/core/issues/8310) [#8331](https://togithub.com/vuejs/core/issues/8331) [#8325](https://togithub.com/vuejs/core/issues/8325)vuejs/router
### [`v4.2.1`](https://togithub.com/vuejs/router/releases/tag/v4.2.1) [Compare Source](https://togithub.com/vuejs/router/compare/v4.2.0...v4.2.1) Please refer to [CHANGELOG.md](https://togithub.com/vuejs/router/blob/main/packages/router/CHANGELOG.md) for details.Configuration
📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR has been generated by Mend Renovate. View repository job log here.