babel/babel (@babel/plugin-syntax-typescript)
### [`v7.23.3`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7233-2023-11-09)
[Compare Source](https://togithub.com/babel/babel/compare/v7.22.5...v7.23.3)
##### :bug: Bug Fix
- `babel-plugin-transform-typescript`
- [#16071](https://togithub.com/babel/babel/pull/16071) Strip type-only TS namespaces ([@colinaaa](https://togithub.com/colinaaa))
- `babel-generator`
- [#16078](https://togithub.com/babel/babel/pull/16078) Fix indentation when generating comments with `concise: true` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-compat-data`, `babel-plugin-bugfix-v8-static-class-fields-redefine-readonly`, `babel-preset-env`
- [#14295](https://togithub.com/babel/babel/pull/14295) Add a bugfix plugin for https://crbug.com/v8/12421 ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-plugin-transform-object-super`
- [#15948](https://togithub.com/babel/babel/pull/15948) fix: `super.x` in a loop ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helper-module-transforms`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-umd`
- [#16015](https://togithub.com/babel/babel/pull/16015) fix: handle `__proto__` exports name in CJS/AMD/UMD ([@magic-akari](https://togithub.com/magic-akari))
##### :memo: Documentation
- [#16044](https://togithub.com/babel/babel/pull/16044) docs: Update links in [@babel/eslint-parser](https://togithub.com/babel/eslint-parser) README ([@aryehb](https://togithub.com/aryehb))
##### :house: Internal
- `babel-core`, `babel-preset-env`
- [#15988](https://togithub.com/babel/babel/pull/15988) Refactor handling of modules plugins in `preset-env` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
##### :running_woman: Performance
- `babel-generator`
- [#16061](https://togithub.com/babel/babel/pull/16061) perf: Improve `@babel/generator` performance ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-traverse`
- [#16060](https://togithub.com/babel/babel/pull/16060) Avoid dynamic dispatch when calling wrapCheck ([@yepitschunked](https://togithub.com/yepitschunked))
##### :microscope: Output optimization
- `babel-plugin-transform-computed-properties`
- [#6652](https://togithub.com/babel/babel/pull/6652) Optimize computed properties output (byte-wise) ([@Andarist](https://togithub.com/Andarist))
### [`v7.22.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7225-2023-06-08)
[Compare Source](https://togithub.com/babel/babel/compare/v7.21.4...v7.22.5)
##### :bug: Bug Fix
- `babel-preset-env`, `babel-standalone`
- [#15675](https://togithub.com/babel/babel/pull/15675) Fix using `syntax-unicode-sets-regex` in standalone ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
##### :nail_care: Polish
- `babel-core`
- [#15683](https://togithub.com/babel/babel/pull/15683) Suggest `-transform-` when resolving missing plugins ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
vitest-dev/vitest (@vitest/coverage-c8)
### [`v0.33.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.33.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0)
##### 🚨 Breaking Changes
- Revert default include patterns - by [@so1ve](https://togithub.com/so1ve) [#3729](https://togithub.com/vitest-dev/vitest/issues/3729)
- `0.32.0` changed the default `include` globs to be compatible with Jest. After a discussion with the community, we are reverting this change because it turned out to be non-intuitive.
##### 🐞 Bug Fixes
- Add missing JSDom living keys - by [@DerZade](https://togithub.com/DerZade) in [https://github.com/vitest-dev/vitest/issues/3702](https://togithub.com/vitest-dev/vitest/issues/3702) [(83a86)](https://togithub.com/vitest-dev/vitest/commit/83a86a75)
- **vite-node**:
- Don't fail when importing Promise module - by [@sheremet-va](https://togithub.com/sheremet-va) [(08192)](https://togithub.com/vitest-dev/vitest/commit/0819275a)
- Allow importing node:test - by [@sheremet-va](https://togithub.com/sheremet-va) [(db22c)](https://togithub.com/vitest-dev/vitest/commit/db22c677)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0)
### [`v0.32.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.4)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4)
##### 🐞 Bug Fixes
- **browser**: Correctly optimize CJS dependencies - by [@sheremet-va](https://togithub.com/sheremet-va) [(3d090)](https://togithub.com/vitest-dev/vitest/commit/3d0908e7)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4)
### [`v0.32.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.3)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3)
##### 🚀 Features
- Add `concurrent` option to `sequence` config - by [@fenghan34](https://togithub.com/fenghan34) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3604](https://togithub.com/vitest-dev/vitest/issues/3604) [(f427f)](https://togithub.com/vitest-dev/vitest/commit/f427f004)
- Introduce global configuration for retry setting - by [@imentu](https://togithub.com/imentu) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3598](https://togithub.com/vitest-dev/vitest/issues/3598) and [https://github.com/vitest-dev/vitest/issues/3603](https://togithub.com/vitest-dev/vitest/issues/3603) [(9a117)](https://togithub.com/vitest-dev/vitest/commit/9a117627)
- Don't rely on util package in [@vitest/utils](https://togithub.com/vitest/utils) - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3685](https://togithub.com/vitest-dev/vitest/issues/3685) [(f91da)](https://togithub.com/vitest-dev/vitest/commit/f91da484)
- Support accessing other fixtures in fixture function - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3651](https://togithub.com/vitest-dev/vitest/issues/3651) [(1621c)](https://togithub.com/vitest-dev/vitest/commit/1621cc63)
- Support use function/class as `bench` name - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3711](https://togithub.com/vitest-dev/vitest/issues/3711) [(a749a)](https://togithub.com/vitest-dev/vitest/commit/a749a6c0)
- **reporters**: Show full test suite when testing 1 spec file at a time - by [@Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3543](https://togithub.com/vitest-dev/vitest/issues/3543) [(7531c)](https://togithub.com/vitest-dev/vitest/commit/7531c292)
- **runner**: Support `test.extend` - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3554](https://togithub.com/vitest-dev/vitest/issues/3554) [(2db1a)](https://togithub.com/vitest-dev/vitest/commit/2db1a737)
##### 🐞 Bug Fixes
- Remove "concordance" from dependencies list - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3597](https://togithub.com/vitest-dev/vitest/issues/3597) [(969dc)](https://togithub.com/vitest-dev/vitest/commit/969dcc14)
- Show diff correctly - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3620](https://togithub.com/vitest-dev/vitest/issues/3620) [(73dd4)](https://togithub.com/vitest-dev/vitest/commit/73dd4ab5)
- Util import - by [@fubhy](https://togithub.com/fubhy) in [https://github.com/vitest-dev/vitest/issues/3621](https://togithub.com/vitest-dev/vitest/issues/3621) [(2fb4c)](https://togithub.com/vitest-dev/vitest/commit/2fb4ceff)
- Compat with frozen Math - by [@turadg](https://togithub.com/turadg) in [https://github.com/vitest-dev/vitest/issues/3527](https://togithub.com/vitest-dev/vitest/issues/3527) [(0db67)](https://togithub.com/vitest-dev/vitest/commit/0db67098)
- `CTRL+C` to terminate run - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3642](https://togithub.com/vitest-dev/vitest/issues/3642) [(fa663)](https://togithub.com/vitest-dev/vitest/commit/fa6637d3)
- Run mode stuck in TTY terminals - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3690](https://togithub.com/vitest-dev/vitest/issues/3690) [(141a8)](https://togithub.com/vitest-dev/vitest/commit/141a86ac)
- Use first stack frame in json reporter - by [@tim-smart](https://togithub.com/tim-smart) in [https://github.com/vitest-dev/vitest/issues/3645](https://togithub.com/vitest-dev/vitest/issues/3645) [(80ea7)](https://togithub.com/vitest-dev/vitest/commit/80ea7ef6)
- Print actual number for `toBeCalledTimes` - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3696](https://togithub.com/vitest-dev/vitest/issues/3696) [(d3640)](https://togithub.com/vitest-dev/vitest/commit/d3640437)
- **benchmark**:
- Don't fail when running correct benchmarks - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3629](https://togithub.com/vitest-dev/vitest/issues/3629) [(edad9)](https://togithub.com/vitest-dev/vitest/commit/edad9b19)
- **browser**:
- Correctly print diff - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3627](https://togithub.com/vitest-dev/vitest/issues/3627) [(d756e)](https://togithub.com/vitest-dev/vitest/commit/d756ee24)
- Esm injector doesn't replace class expressions - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3641](https://togithub.com/vitest-dev/vitest/issues/3641) [(5c0ac)](https://togithub.com/vitest-dev/vitest/commit/5c0ac4ad)
- Transform superclass identifier - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3681](https://togithub.com/vitest-dev/vitest/issues/3681) [(a1e04)](https://togithub.com/vitest-dev/vitest/commit/a1e043bd)
- **coverage**:
- `v8` to prevent crash on dynamic CJS files - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3657](https://togithub.com/vitest-dev/vitest/issues/3657) [(40f18)](https://togithub.com/vitest-dev/vitest/commit/40f18a07)
- **runner**:
- Make the default value of `retry` and `repeats` 0 - by [@Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3638](https://togithub.com/vitest-dev/vitest/issues/3638) [(6d146)](https://togithub.com/vitest-dev/vitest/commit/6d146d16)
- **utils**:
- Respect all flags in format function - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3695](https://togithub.com/vitest-dev/vitest/issues/3695) [(91e16)](https://togithub.com/vitest-dev/vitest/commit/91e1650e)
- **watch**:
- Cancel using `h` key - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3618](https://togithub.com/vitest-dev/vitest/issues/3618) [(60c36)](https://togithub.com/vitest-dev/vitest/commit/60c36faf)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3)
### [`v0.32.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.2)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2)
##### 🐞 Bug Fixes
- **browser**: Don't fail on importing diff-sequences - by [@sheremet-va](https://togithub.com/sheremet-va) [(00b0e)](https://togithub.com/vitest-dev/vitest/commit/00b0e6a3)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2)
### [`v0.32.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.1)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1)
##### 🚀 Features
- Export `registerConsoleShortcuts` from `vitest/node` - by [@deot](https://togithub.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://togithub.com/vitest-dev/vitest/issues/3563) [(bc49b)](https://togithub.com/vitest-dev/vitest/commit/bc49bac7)
- **expect**: Support `expect.unreachable` - by [@fenghan34](https://togithub.com/fenghan34) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://togithub.com/vitest-dev/vitest/issues/3556) [(8e385)](https://togithub.com/vitest-dev/vitest/commit/8e385bb0)
- **runner**: `describe`/`test` name support anonymous function - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://togithub.com/vitest-dev/vitest/issues/3562) [(3d436)](https://togithub.com/vitest-dev/vitest/commit/3d43638c)
##### 🐞 Bug Fixes
- Avoid call stack recursion with large error (fix: [#3060](https://togithub.com/vitest-dev/vitest/issues/3060)) - by [@nathanmmiller](https://togithub.com/nathanmmiller) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://togithub.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://togithub.com/vitest-dev/vitest/issues/3060) [(02196)](https://togithub.com/vitest-dev/vitest/commit/02196f9d)
- Automatically remove define related configuration - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://togithub.com/vitest-dev/vitest/issues/3552) [(368b8)](https://togithub.com/vitest-dev/vitest/commit/368b8259)
- Import `performance` from `perf_hooks` - by [@Max10240](https://togithub.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://togithub.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://togithub.com/vitest-dev/vitest/issues/3579) [(24ec8)](https://togithub.com/vitest-dev/vitest/commit/24ec85a8)
- Revert concordance diff, use jest's diff output - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://togithub.com/vitest-dev/vitest/issues/3582) [(9c7ea)](https://togithub.com/vitest-dev/vitest/commit/9c7ea382)
- Typo in config suggestion - by [@Krisell](https://togithub.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://togithub.com/vitest-dev/vitest/issues/3583) [(68985)](https://togithub.com/vitest-dev/vitest/commit/689855bb)
- **browser**:
- Change optimized deps to use `vitest` - by [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://togithub.com/vitest-dev/vitest/issues/3580) [(b4ac8)](https://togithub.com/vitest-dev/vitest/commit/b4ac88e9)
- Access **vi_inject** only if it was injected - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://togithub.com/vitest-dev/vitest/issues/3587) [(d9e14)](https://togithub.com/vitest-dev/vitest/commit/d9e1419a)
- **mocker**:
- Respect namespace import when hoisting vi.mock - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://togithub.com/vitest-dev/vitest/issues/3547) [(158c4)](https://togithub.com/vitest-dev/vitest/commit/158c4bb0)
- **ui**:
- Navigate to dashboard when re-running tests from coverage page - by [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://togithub.com/vitest-dev/vitest/issues/3529) [(bc283)](https://togithub.com/vitest-dev/vitest/commit/bc283ae3)
- **vite-node**:
- Correctly resolve virtual modules - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://togithub.com/vitest-dev/vitest/issues/3544) [(0cbb0)](https://togithub.com/vitest-dev/vitest/commit/0cbb07b4)
- Fix errors caused by commonjs export circular references - by [@rxliuli](https://togithub.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://togithub.com/vitest-dev/vitest/issues/3570) [(b097c)](https://togithub.com/vitest-dev/vitest/commit/b097cef8)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1)
### [`v0.32.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.0)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0)
##### 🚨 Breaking Changes
- Throw an error, if the module cannot be resolved - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3307](https://togithub.com/vitest-dev/vitest/issues/3307) [(1ad63)](https://togithub.com/vitest-dev/vitest/commit/1ad63b0c)
- Vitest used to fall back to the original import when it could not resolve it to the file path or the virtual module. This leads to hard-to-find module graph mismatches if you had incorrect alias or relied on relative imports to be resolved to the project root (which is usual behavior in TypeScript) because the code accidentally "worked". With this release, Vitest will now throw an error if it cannot resolve the module - there are possible edge cases that are not covered yet, so if you have any problems with this, please open a separate issue with reproduction.
- Improve globs - by [@nickmccurdy](https://togithub.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/3392](https://togithub.com/vitest-dev/vitest/issues/3392) [(19ecc)](https://togithub.com/vitest-dev/vitest/commit/19ecc6c7)
- Vitest now has glob patterns similar to Jest for better compatibility. It's possible that some files will be considered test files when previously they were not. For example, Vitest now considers `test.js` to be a test file. Also any file in `__tests__` is now considered to be a test, not just files with `test` or `spec` suffix.
- Add `@vitest/coverage-v8` package - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3339](https://togithub.com/vitest-dev/vitest/issues/3339) [(82112)](https://togithub.com/vitest-dev/vitest/commit/821126f1)
- Vitest now uses v8 code coverage directly for better performance. `@vitest/coverage-c8` is deprecated as Vitest no longer uses c8 package for coverage output. It will not be updated anymore, and Vitest will fail in the next version if the user has `c8` as their coverage provider. Please, install the new `@vitest/coverage-v8` package if you previously used `@vitest/coverage-c8`.
- **mocker**: Don't restore mock to the original if the module is automocked - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3518](https://togithub.com/vitest-dev/vitest/issues/3518) [(c1004)](https://togithub.com/vitest-dev/vitest/commit/c1004e14)
- `spy.mockRestore` on auto-mocked named exports will no longer restore their implementation to the actual function. This behavior better matches what Jest does.
##### 🚀 Features
- Support ssr optimizer - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3490](https://togithub.com/vitest-dev/vitest/issues/3490) [(89842)](https://togithub.com/vitest-dev/vitest/commit/898422b0)
- Image type add apng - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3498](https://togithub.com/vitest-dev/vitest/issues/3498) [(a53c2)](https://togithub.com/vitest-dev/vitest/commit/a53c2151)
- **expect**: Support `expect.soft` - by [@Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3507](https://togithub.com/vitest-dev/vitest/issues/3507) [(7c687)](https://togithub.com/vitest-dev/vitest/commit/7c687ada)
- **runner**: Support using function/class as `describe`/`test` name - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3497](https://togithub.com/vitest-dev/vitest/issues/3497) [(15253)](https://togithub.com/vitest-dev/vitest/commit/15253890)
##### 🐞 Bug Fixes
- The cli option is passed to coverage.exclude - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3506](https://togithub.com/vitest-dev/vitest/issues/3506) [(c37cd)](https://togithub.com/vitest-dev/vitest/commit/c37cdebe)
- **optimizer**: Always respect optimizeDeps even if include/exclude is overridden - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3488](https://togithub.com/vitest-dev/vitest/issues/3488) [(eb285)](https://togithub.com/vitest-dev/vitest/commit/eb285ea0)
- **runner**: Ensure Vitest is deduped - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3489](https://togithub.com/vitest-dev/vitest/issues/3489) [(2deb7)](https://togithub.com/vitest-dev/vitest/commit/2deb70ab)
- **ui**: Don't cache coverage assets - by [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3508](https://togithub.com/vitest-dev/vitest/issues/3508) [(952b5)](https://togithub.com/vitest-dev/vitest/commit/952b5be6)
- **vite-node**: Circular import stuck - by [@Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3480](https://togithub.com/vitest-dev/vitest/issues/3480) [(50f07)](https://togithub.com/vitest-dev/vitest/commit/50f0700d)
- **watch**: Junit reporter fails to re-generate report - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3496](https://togithub.com/vitest-dev/vitest/issues/3496) [(5b73c)](https://togithub.com/vitest-dev/vitest/commit/5b73cbf8)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0)
### [`v0.31.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.4)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4)
##### 🚀 Features
- Enable experimentalOptimizer - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3413](https://togithub.com/vitest-dev/vitest/issues/3413) [(5a894)](https://togithub.com/vitest-dev/vitest/commit/5a894aa2)
##### 🐞 Bug Fixes
- **vite-node**: Deps.inline doesn't work - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3485](https://togithub.com/vitest-dev/vitest/issues/3485) [(be930)](https://togithub.com/vitest-dev/vitest/commit/be93032f)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4)
### [`v0.31.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.3)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3)
##### 🚀 Features
- Support `VITE_NODE_DEPS_MODULE_DIRECTORIES` from .npmrc - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3471](https://togithub.com/vitest-dev/vitest/issues/3471) [(393bf)](https://togithub.com/vitest-dev/vitest/commit/393bf60c)
##### 🐞 Bug Fixes
- **logger**: Print unhandled errors before summary - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3474](https://togithub.com/vitest-dev/vitest/issues/3474) [(4c9a7)](https://togithub.com/vitest-dev/vitest/commit/4c9a7d58)
- **runner**: Suite options do not propagate to nested suites (fix: [#3467](https://togithub.com/vitest-dev/vitest/issues/3467)) - by [@xsjcTony](https://togithub.com/xsjcTony) in [https://github.com/vitest-dev/vitest/issues/3473](https://togithub.com/vitest-dev/vitest/issues/3473) and [https://github.com/vitest-dev/vitest/issues/3467](https://togithub.com/vitest-dev/vitest/issues/3467) [(9fb9d)](https://togithub.com/vitest-dev/vitest/commit/9fb9dacb)
- **vite-node**: Clear importers when invalidating module - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3475](https://togithub.com/vitest-dev/vitest/issues/3475) [(add29)](https://togithub.com/vitest-dev/vitest/commit/add29c86)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3)
### [`v0.31.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.2)
[Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2)
##### 🚀 Features
- Throw error if using inline snapshot inside of `test.each` or `describe.each` - by [@fenghan34](https://togithub.com/fenghan34) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3360](https://togithub.com/vitest-dev/vitest/issues/3360) [(7c2f7)](https://togithub.com/vitest-dev/vitest/commit/7c2f7088)
- Pass down meta information to Node.js process - by [@sheremet-va](https://togithub.com/sheremet-va) and [@dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3449](https://togithub.com/vitest-dev/vitest/issues/3449) [(e39ad)](https://togithub.com/vitest-dev/vitest/commit/e39adea8)
- **coverage**: Add `reportOnFailure` option - by [@AriPerkkio](https://togithub.com/AriPerkkio) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3453](https://togithub.com/vitest-dev/vitest/issues/3453) [(1988f)](https://togithub.com/vitest-dev/vitest/commit/1988fcb4)
- **dev**: Add moduleDirectories option to the vitest config - by [@fooddilsn](https://togithub.com/fooddilsn) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3337](https://togithub.com/vitest-dev/vitest/issues/3337) [(b3602)](https://togithub.com/vitest-dev/vitest/commit/b3602bcc)
##### 🐞 Bug Fixes
- Don't print empty diff - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3437](https://togithub.com/vitest-dev/vitest/issues/3437) [(32b53)](https://togithub.com/vitest-dev/vitest/commit/32b5361f)
- Don't restore methods in automocked dependencies - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3438](https://togithub.com/vitest-dev/vitest/issues/3438) [(d1afd)](https://togithub.com/vitest-dev/vitest/commit/d1afd262)
- Dot reporter scrollback buffer spam - by [@gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3415](https://togithub.com/vitest-dev/vitest/issues/3415) [(e6792)](https://togithub.com/vitest-dev/vitest/commit/e6792a94)
- Gracefully exit when first `SIGINT` is received - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3407](https://togithub.com/vitest-dev/vitest/issues/3407) [(a2cc2)](https://togithub.com/vitest-dev/vitest/commit/a2cc2b38)
- `rejects` & `resolves` breaks with thenable objects - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3456](https://togithub.com/vitest-dev/vitest/issues/3456) [(4e996)](https://togithub.com/vitest-dev/vitest/commit/4e996ae5)
- Prevent `birpc` timeouts when `Math.random` mock is not restored - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3460](https://togithub.com/vitest-dev/vitest/issues/3460) [(cd5d5)](https://togithub.com/vitest-dev/vitest/commit/cd5d58b7)
- Assertion diff message now handle non writable property correctly - by [@PCreations](https://togithub.com/PCreations) in [https://github.com/vitest-dev/vitest/issues/3422](https://togithub.com/vitest-dev/vitest/issues/3422) [(f75ab)](https://togithub.com/vitest-dev/vitest/commit/f75ab650)
- Extend logging of process timeout errors - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3452](https://togithub.com/vitest-dev/vitest/issues/3452) [(42643)](https://togithub.com/vitest-dev/vitest/commit/42643904)
- Support requiring files with `less` extension - by [@rluvaton](https://togithub.com/rluvaton) in [https://github.com/vitest-dev/vitest/issues/3465](https://togithub.com/vitest-dev/vitest/issues/3465) [(4d045)](https://togithub.com/vitest-dev/vitest/commit/4d045695)
- **cli**:
- Improve colors used when erroring - by [@ghiscoding](https://togithub.com/ghiscoding) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3349](https://togithub.com/vitest-dev/vitest/issues/3349) [(16681)](https://togithub.com/vitest-dev/vitest/commit/16681791)
- **runner**:
- Suite timeout does not take effect - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3455](https://togithub.com/vitest-dev/vitest/issues/3455) [(82547)](https://togithub.com/vitest-dev/vitest/commit/82547376)
- **spy**:
- Don't print received calls if there are no calls - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3405](https://togithub.com/vitest-dev/vitest/issues/3405) [(41e11)](https://togithub.com/vitest-dev/vitest/commit/41e11dad)
- **typecheck**:
- Show tsc errors not related to test files - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3441](https://togithub.com/vitest-dev/vitest/issues/3441) [(a1da5)](https://togithub.com/vitest-dev/vitest/commit/a1da5714)
- **types**:
- Fix `PartialMock` with async TReturns - by [@ghry5](https://togithub.com/ghry5) in [https://github.com/vitest-dev/vitest/issues/3462](https://togithub.com/vitest-dev/vitest/issues/3462) [(b664d)](https://togithub.com/vitest-dev/vitest/commit/b664d42c)
- **vite-node**:
- Circular import stuck - by [@Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3418](https://togithub.com/vitest-dev/vitest/issues/3418) [(632ee)](https://togithub.com/vitest-dev/vitest/commit/632eef40)
- Coerce to string in import(dep) - by [@jcbhmr](https://togithub.com/jcbhmr) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3430](https://togithub.com/vitest-dev/vitest/issues/3430) [(b72eb)](https://togithub.com/vitest-dev/vitest/commit/b72ebdb9)
- Don't remove sourcemap string in source code - by [@rxliuli](https://togithub.com/rxliuli) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2918](https://togithub.com/vitest-dev/vitest/issues/2918) and [https://github.com/vitest-dev/vitest/issues/3379](https://togithub.com/vitest-dev/vitest/issues/3379) [(02dc9)](https://togithub.com/vitest-dev/vitest/commit/02dc9ea7)
- Don't externalize "dist" by default - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3446](https://togithub.com/vitest-dev/vitest/issues/3446) [(306b2)](https://togithub.com/vitest-dev/vitest/commit/306b2337)
##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2)
### [`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 (@vue/shared)
### [`v3.3.11`](https://togithub.com/vuejs/core/blob/HEAD/CHANGELOG.md#3311-2023-12-08)
[Compare Source](https://togithub.com/vuejs/core/compare/v3.3.10...v3.3.11)
##### Bug Fixes
- **custom-element:** correctly handle number type props in prod ([#8989](https://togithub.com/vuejs/core/issues/8989)) ([d74d364](https://togithub.com/vuejs/core/commit/d74d364d62db8e48881af6b5a75ce4fb5f36cc35))
- **reactivity:** fix mutation on user proxy of reactive Array ([6ecbd5c](https://togithub.com/vuejs/core/commit/6ecbd5ce2a7f59314a8326a1d193874b87f4d8c8)), closes [#9742](https://togithub.com/vuejs/core/issues/9742) [#9751](https://togithub.com/vuejs/core/issues/9751) [#9750](https://togithub.com/vuejs/core/issues/9750)
- **runtime-dom:** fix width and height prop check condition ([5b00286](https://togithub.com/vuejs/core/commit/5b002869c533220706f9788b496b8ca8d8e98609)), closes [#9762](https://togithub.com/vuejs/core/issues/9762)
- **shared:** handle Map with symbol keys in toDisplayString ([#9731](https://togithub.com/vuejs/core/issues/9731)) ([364821d](https://togithub.com/vuejs/core/commit/364821d6bdb1775e2f55a69bcfb9f40f7acf1506)), closes [#9727](https://togithub.com/vuejs/core/issues/9727)
- **shared:** handle more Symbol cases in toDisplayString ([983d45d](https://togithub.com/vuejs/core/commit/983d45d4f8eb766b5a16b7ea93b86d3c51618fa6))
- **Suspense:** properly get anchor when mount fallback vnode ([#9770](https://togithub.com/vuejs/core/issues/9770)) ([b700328](https://togithub.com/vuejs/core/commit/b700328342e17dc16b19316c2e134a26107139d2)), closes [#9769](https://togithub.com/vuejs/core/issues/9769)
- **types:** ref() return type should not be any when initial value is any ([#9768](https://togithub.com/vuejs/core/issues/9768)) ([cdac121](https://togithub.com/vuejs/core/commit/cdac12161ec27b45ded48854c3d749664b6d4a6d))
- **watch:** should not fire pre watcher on child component unmount ([#7181](https://togithub.com/vuejs/core/issues/7181)) ([6784f0b](https://togithub.com/vuejs/core/commit/6784f0b1f8501746ea70d87d18ed63a62cf6b76d)), closes [#7030](https://togithub.com/vuejs/core/issues/7030)
### [`v3.3.10`](https://togithub.com/vuejs/core/blob/HEAD/CHANGELOG.md#3310-2023-12-04)
[Compare Source](https://togithub.com/vuejs/core/compare/v3.3.9...v3.3.10)
##### Bug Fixes
- **app:** prevent template from being cached between apps with different options ([#9724](https://togithub.com/vuejs/core/issues/9724)) ([ec71585](https://togithub.com/vuejs/core/commit/ec715854ca12520b2afc9e9b3981cbae05ae5206)), closes [#9618](https://togithub.com/vuejs/core/issues/9618)
- **compiler-sfc:** avoid passing forEach index to genMap ([f12db7f](https://togithub.com/vuejs/core/commit/f12db7fb564a534cef2e5805cc9f54afe5d72fbf))
- **compiler-sfc:** deindent pug/jade templates ([6345197](https://togithub.com/vuejs/core/commit/634519720a21fb5a6871454e1cadad7053a568b8)), closes [#3231](https://togithub.com/vuejs/core/issues/3231) [#3842](https://togithub.com/vuejs/core/issues/3842) [#7723](https://togithub.com/vuejs/core/issues/7723)
- **compiler-sfc:** fix :where and :is selector in scoped mode with multiple selectors ([#9735](https://togithub.com/vuejs/core/issues/9735)) ([c3e2c55](https://togithub.com/vuejs/core/commit/c3e2c556b532656b50b8ab5cd2d9eabc26622d63)), closes [#9707](https://togithub.com/vuejs/core/issues/9707)
- **compiler-sfc:** generate more treeshaking friendly code ([#9507](https://togithub.com/vuejs/core/issues/9507)) ([8d74ca0](https://togithub.com/vuejs/core/commit/8d74ca0e6fa2738ca6854b7e879ff59419f948c7)), closes [#9500](https://togithub.com/vuejs/core/issues/9500)
- **compiler-sfc:** support inferring generic types ([#8511](https://togithub.com/vuejs/core/issues/8511)) ([eb5e307](https://togithub.com/vuejs/core/commit/eb5e307c0be62002e62c4c800d0dfacb39b0d4ca)), closes [#8482](https://togithub.com/vuejs/core/issues/8482)
- **compiler-sfc:** support resolving components from props ([#8785](https://togithub.com/vuejs/core/issues/8785)) ([7cbcee3](https://togithub.com/vuejs/core/commit/7cbcee3d831241a8bd3588ae92d3f27e3641e25f))
- **compiler-sfc:** throw error when failing to load TS during type resolution ([#8883](https://togithub.com/vuejs/core/issues/8883)) ([4936d2e](https://togithub.com/vuejs/core/commit/4936d2e11a8d0ca3704bfe408548cb26bb3fd5e9))
- **cssVars:** cssVar names should be double-escaped when generating code for ssr ([#8824](h
Configuration
📅 Schedule: Branch creation - "every 3 months on the first day of the month" (UTC), 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.
👻 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:
7.21.4
->7.23.3
^0.31.0
->^0.33.0
3.3.2
->3.3.11
1.13.6
->1.13.8
3.30.2
->3.34.0
^0.34.0
->^0.38.0
8.5.1
->8.12.0
^0.1.11
->^0.2.0
^0.10.1
->^0.13.0
5.0.4
->5.3.3
4.3.7
->4.5.1
^0.31.0
->^0.34.0
3.3.2
->3.3.11
3.2.47
->3.3.11
2.6.14
->2.7.15
9.2.2
->9.8.0
2.6.14
->2.7.15
1.6.5
->1.8.25
Release Notes
babel/babel (@babel/plugin-syntax-typescript)
### [`v7.23.3`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7233-2023-11-09) [Compare Source](https://togithub.com/babel/babel/compare/v7.22.5...v7.23.3) ##### :bug: Bug Fix - `babel-plugin-transform-typescript` - [#16071](https://togithub.com/babel/babel/pull/16071) Strip type-only TS namespaces ([@colinaaa](https://togithub.com/colinaaa)) - `babel-generator` - [#16078](https://togithub.com/babel/babel/pull/16078) Fix indentation when generating comments with `concise: true` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-compat-data`, `babel-plugin-bugfix-v8-static-class-fields-redefine-readonly`, `babel-preset-env` - [#14295](https://togithub.com/babel/babel/pull/14295) Add a bugfix plugin for https://crbug.com/v8/12421 ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-object-super` - [#15948](https://togithub.com/babel/babel/pull/15948) fix: `super.x` in a loop ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-module-transforms`, `babel-plugin-transform-modules-amd`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-umd` - [#16015](https://togithub.com/babel/babel/pull/16015) fix: handle `__proto__` exports name in CJS/AMD/UMD ([@magic-akari](https://togithub.com/magic-akari)) ##### :memo: Documentation - [#16044](https://togithub.com/babel/babel/pull/16044) docs: Update links in [@babel/eslint-parser](https://togithub.com/babel/eslint-parser) README ([@aryehb](https://togithub.com/aryehb)) ##### :house: Internal - `babel-core`, `babel-preset-env` - [#15988](https://togithub.com/babel/babel/pull/15988) Refactor handling of modules plugins in `preset-env` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :running_woman: Performance - `babel-generator` - [#16061](https://togithub.com/babel/babel/pull/16061) perf: Improve `@babel/generator` performance ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-traverse` - [#16060](https://togithub.com/babel/babel/pull/16060) Avoid dynamic dispatch when calling wrapCheck ([@yepitschunked](https://togithub.com/yepitschunked)) ##### :microscope: Output optimization - `babel-plugin-transform-computed-properties` - [#6652](https://togithub.com/babel/babel/pull/6652) Optimize computed properties output (byte-wise) ([@Andarist](https://togithub.com/Andarist)) ### [`v7.22.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7225-2023-06-08) [Compare Source](https://togithub.com/babel/babel/compare/v7.21.4...v7.22.5) ##### :bug: Bug Fix - `babel-preset-env`, `babel-standalone` - [#15675](https://togithub.com/babel/babel/pull/15675) Fix using `syntax-unicode-sets-regex` in standalone ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-core` - [#15683](https://togithub.com/babel/babel/pull/15683) Suggest `-transform-` when resolving missing plugins ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))vitest-dev/vitest (@vitest/coverage-c8)
### [`v0.33.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.33.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ##### 🚨 Breaking Changes - Revert default include patterns - by [@so1ve](https://togithub.com/so1ve) [#3729](https://togithub.com/vitest-dev/vitest/issues/3729) - `0.32.0` changed the default `include` globs to be compatible with Jest. After a discussion with the community, we are reverting this change because it turned out to be non-intuitive. ##### 🐞 Bug Fixes - Add missing JSDom living keys - by [@DerZade](https://togithub.com/DerZade) in [https://github.com/vitest-dev/vitest/issues/3702](https://togithub.com/vitest-dev/vitest/issues/3702) [(83a86)](https://togithub.com/vitest-dev/vitest/commit/83a86a75) - **vite-node**: - Don't fail when importing Promise module - by [@sheremet-va](https://togithub.com/sheremet-va) [(08192)](https://togithub.com/vitest-dev/vitest/commit/0819275a) - Allow importing node:test - by [@sheremet-va](https://togithub.com/sheremet-va) [(db22c)](https://togithub.com/vitest-dev/vitest/commit/db22c677) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.4...v0.33.0) ### [`v0.32.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ##### 🐞 Bug Fixes - **browser**: Correctly optimize CJS dependencies - by [@sheremet-va](https://togithub.com/sheremet-va) [(3d090)](https://togithub.com/vitest-dev/vitest/commit/3d0908e7) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.3...v0.32.4) ### [`v0.32.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ##### 🚀 Features - Add `concurrent` option to `sequence` config - by [@fenghan34](https://togithub.com/fenghan34) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3604](https://togithub.com/vitest-dev/vitest/issues/3604) [(f427f)](https://togithub.com/vitest-dev/vitest/commit/f427f004) - Introduce global configuration for retry setting - by [@imentu](https://togithub.com/imentu) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3598](https://togithub.com/vitest-dev/vitest/issues/3598) and [https://github.com/vitest-dev/vitest/issues/3603](https://togithub.com/vitest-dev/vitest/issues/3603) [(9a117)](https://togithub.com/vitest-dev/vitest/commit/9a117627) - Don't rely on util package in [@vitest/utils](https://togithub.com/vitest/utils) - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3685](https://togithub.com/vitest-dev/vitest/issues/3685) [(f91da)](https://togithub.com/vitest-dev/vitest/commit/f91da484) - Support accessing other fixtures in fixture function - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3651](https://togithub.com/vitest-dev/vitest/issues/3651) [(1621c)](https://togithub.com/vitest-dev/vitest/commit/1621cc63) - Support use function/class as `bench` name - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3711](https://togithub.com/vitest-dev/vitest/issues/3711) [(a749a)](https://togithub.com/vitest-dev/vitest/commit/a749a6c0) - **reporters**: Show full test suite when testing 1 spec file at a time - by [@Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3543](https://togithub.com/vitest-dev/vitest/issues/3543) [(7531c)](https://togithub.com/vitest-dev/vitest/commit/7531c292) - **runner**: Support `test.extend` - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3554](https://togithub.com/vitest-dev/vitest/issues/3554) [(2db1a)](https://togithub.com/vitest-dev/vitest/commit/2db1a737) ##### 🐞 Bug Fixes - Remove "concordance" from dependencies list - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3597](https://togithub.com/vitest-dev/vitest/issues/3597) [(969dc)](https://togithub.com/vitest-dev/vitest/commit/969dcc14) - Show diff correctly - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3620](https://togithub.com/vitest-dev/vitest/issues/3620) [(73dd4)](https://togithub.com/vitest-dev/vitest/commit/73dd4ab5) - Util import - by [@fubhy](https://togithub.com/fubhy) in [https://github.com/vitest-dev/vitest/issues/3621](https://togithub.com/vitest-dev/vitest/issues/3621) [(2fb4c)](https://togithub.com/vitest-dev/vitest/commit/2fb4ceff) - Compat with frozen Math - by [@turadg](https://togithub.com/turadg) in [https://github.com/vitest-dev/vitest/issues/3527](https://togithub.com/vitest-dev/vitest/issues/3527) [(0db67)](https://togithub.com/vitest-dev/vitest/commit/0db67098) - `CTRL+C` to terminate run - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3642](https://togithub.com/vitest-dev/vitest/issues/3642) [(fa663)](https://togithub.com/vitest-dev/vitest/commit/fa6637d3) - Run mode stuck in TTY terminals - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3690](https://togithub.com/vitest-dev/vitest/issues/3690) [(141a8)](https://togithub.com/vitest-dev/vitest/commit/141a86ac) - Use first stack frame in json reporter - by [@tim-smart](https://togithub.com/tim-smart) in [https://github.com/vitest-dev/vitest/issues/3645](https://togithub.com/vitest-dev/vitest/issues/3645) [(80ea7)](https://togithub.com/vitest-dev/vitest/commit/80ea7ef6) - Print actual number for `toBeCalledTimes` - by [@antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3696](https://togithub.com/vitest-dev/vitest/issues/3696) [(d3640)](https://togithub.com/vitest-dev/vitest/commit/d3640437) - **benchmark**: - Don't fail when running correct benchmarks - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3629](https://togithub.com/vitest-dev/vitest/issues/3629) [(edad9)](https://togithub.com/vitest-dev/vitest/commit/edad9b19) - **browser**: - Correctly print diff - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3627](https://togithub.com/vitest-dev/vitest/issues/3627) [(d756e)](https://togithub.com/vitest-dev/vitest/commit/d756ee24) - Esm injector doesn't replace class expressions - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3641](https://togithub.com/vitest-dev/vitest/issues/3641) [(5c0ac)](https://togithub.com/vitest-dev/vitest/commit/5c0ac4ad) - Transform superclass identifier - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3681](https://togithub.com/vitest-dev/vitest/issues/3681) [(a1e04)](https://togithub.com/vitest-dev/vitest/commit/a1e043bd) - **coverage**: - `v8` to prevent crash on dynamic CJS files - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3657](https://togithub.com/vitest-dev/vitest/issues/3657) [(40f18)](https://togithub.com/vitest-dev/vitest/commit/40f18a07) - **runner**: - Make the default value of `retry` and `repeats` 0 - by [@Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3638](https://togithub.com/vitest-dev/vitest/issues/3638) [(6d146)](https://togithub.com/vitest-dev/vitest/commit/6d146d16) - **utils**: - Respect all flags in format function - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3695](https://togithub.com/vitest-dev/vitest/issues/3695) [(91e16)](https://togithub.com/vitest-dev/vitest/commit/91e1650e) - **watch**: - Cancel using `h` key - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3618](https://togithub.com/vitest-dev/vitest/issues/3618) [(60c36)](https://togithub.com/vitest-dev/vitest/commit/60c36faf) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.2...v0.32.3) ### [`v0.32.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ##### 🐞 Bug Fixes - **browser**: Don't fail on importing diff-sequences - by [@sheremet-va](https://togithub.com/sheremet-va) [(00b0e)](https://togithub.com/vitest-dev/vitest/commit/00b0e6a3) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.1...v0.32.2) ### [`v0.32.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ##### 🚀 Features - Export `registerConsoleShortcuts` from `vitest/node` - by [@deot](https://togithub.com/deot) in [https://github.com/vitest-dev/vitest/issues/3563](https://togithub.com/vitest-dev/vitest/issues/3563) [(bc49b)](https://togithub.com/vitest-dev/vitest/commit/bc49bac7) - **expect**: Support `expect.unreachable` - by [@fenghan34](https://togithub.com/fenghan34) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3556](https://togithub.com/vitest-dev/vitest/issues/3556) [(8e385)](https://togithub.com/vitest-dev/vitest/commit/8e385bb0) - **runner**: `describe`/`test` name support anonymous function - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3562](https://togithub.com/vitest-dev/vitest/issues/3562) [(3d436)](https://togithub.com/vitest-dev/vitest/commit/3d43638c) ##### 🐞 Bug Fixes - Avoid call stack recursion with large error (fix: [#3060](https://togithub.com/vitest-dev/vitest/issues/3060)) - by [@nathanmmiller](https://togithub.com/nathanmmiller) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3078](https://togithub.com/vitest-dev/vitest/issues/3078) and [https://github.com/vitest-dev/vitest/issues/3060](https://togithub.com/vitest-dev/vitest/issues/3060) [(02196)](https://togithub.com/vitest-dev/vitest/commit/02196f9d) - Automatically remove define related configuration - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3552](https://togithub.com/vitest-dev/vitest/issues/3552) [(368b8)](https://togithub.com/vitest-dev/vitest/commit/368b8259) - Import `performance` from `perf_hooks` - by [@Max10240](https://togithub.com/Max10240) and **wangbaolong.wbl** in [https://github.com/vitest-dev/vitest/issues/3578](https://togithub.com/vitest-dev/vitest/issues/3578) and [https://github.com/vitest-dev/vitest/issues/3579](https://togithub.com/vitest-dev/vitest/issues/3579) [(24ec8)](https://togithub.com/vitest-dev/vitest/commit/24ec85a8) - Revert concordance diff, use jest's diff output - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3582](https://togithub.com/vitest-dev/vitest/issues/3582) [(9c7ea)](https://togithub.com/vitest-dev/vitest/commit/9c7ea382) - Typo in config suggestion - by [@Krisell](https://togithub.com/Krisell) in [https://github.com/vitest-dev/vitest/issues/3583](https://togithub.com/vitest-dev/vitest/issues/3583) [(68985)](https://togithub.com/vitest-dev/vitest/commit/689855bb) - **browser**: - Change optimized deps to use `vitest` - by [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3580](https://togithub.com/vitest-dev/vitest/issues/3580) [(b4ac8)](https://togithub.com/vitest-dev/vitest/commit/b4ac88e9) - Access **vi_inject** only if it was injected - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3587](https://togithub.com/vitest-dev/vitest/issues/3587) [(d9e14)](https://togithub.com/vitest-dev/vitest/commit/d9e1419a) - **mocker**: - Respect namespace import when hoisting vi.mock - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3547](https://togithub.com/vitest-dev/vitest/issues/3547) [(158c4)](https://togithub.com/vitest-dev/vitest/commit/158c4bb0) - **ui**: - Navigate to dashboard when re-running tests from coverage page - by [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3529](https://togithub.com/vitest-dev/vitest/issues/3529) [(bc283)](https://togithub.com/vitest-dev/vitest/commit/bc283ae3) - **vite-node**: - Correctly resolve virtual modules - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3544](https://togithub.com/vitest-dev/vitest/issues/3544) [(0cbb0)](https://togithub.com/vitest-dev/vitest/commit/0cbb07b4) - Fix errors caused by commonjs export circular references - by [@rxliuli](https://togithub.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3570](https://togithub.com/vitest-dev/vitest/issues/3570) [(b097c)](https://togithub.com/vitest-dev/vitest/commit/b097cef8) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.32.0...v0.32.1) ### [`v0.32.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.32.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0) ##### 🚨 Breaking Changes - Throw an error, if the module cannot be resolved - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3307](https://togithub.com/vitest-dev/vitest/issues/3307) [(1ad63)](https://togithub.com/vitest-dev/vitest/commit/1ad63b0c) - Vitest used to fall back to the original import when it could not resolve it to the file path or the virtual module. This leads to hard-to-find module graph mismatches if you had incorrect alias or relied on relative imports to be resolved to the project root (which is usual behavior in TypeScript) because the code accidentally "worked". With this release, Vitest will now throw an error if it cannot resolve the module - there are possible edge cases that are not covered yet, so if you have any problems with this, please open a separate issue with reproduction. - Improve globs - by [@nickmccurdy](https://togithub.com/nickmccurdy) in [https://github.com/vitest-dev/vitest/issues/3392](https://togithub.com/vitest-dev/vitest/issues/3392) [(19ecc)](https://togithub.com/vitest-dev/vitest/commit/19ecc6c7) - Vitest now has glob patterns similar to Jest for better compatibility. It's possible that some files will be considered test files when previously they were not. For example, Vitest now considers `test.js` to be a test file. Also any file in `__tests__` is now considered to be a test, not just files with `test` or `spec` suffix. - Add `@vitest/coverage-v8` package - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3339](https://togithub.com/vitest-dev/vitest/issues/3339) [(82112)](https://togithub.com/vitest-dev/vitest/commit/821126f1) - Vitest now uses v8 code coverage directly for better performance. `@vitest/coverage-c8` is deprecated as Vitest no longer uses c8 package for coverage output. It will not be updated anymore, and Vitest will fail in the next version if the user has `c8` as their coverage provider. Please, install the new `@vitest/coverage-v8` package if you previously used `@vitest/coverage-c8`. - **mocker**: Don't restore mock to the original if the module is automocked - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3518](https://togithub.com/vitest-dev/vitest/issues/3518) [(c1004)](https://togithub.com/vitest-dev/vitest/commit/c1004e14) - `spy.mockRestore` on auto-mocked named exports will no longer restore their implementation to the actual function. This behavior better matches what Jest does. ##### 🚀 Features - Support ssr optimizer - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3490](https://togithub.com/vitest-dev/vitest/issues/3490) [(89842)](https://togithub.com/vitest-dev/vitest/commit/898422b0) - Image type add apng - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3498](https://togithub.com/vitest-dev/vitest/issues/3498) [(a53c2)](https://togithub.com/vitest-dev/vitest/commit/a53c2151) - **expect**: Support `expect.soft` - by [@Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3507](https://togithub.com/vitest-dev/vitest/issues/3507) [(7c687)](https://togithub.com/vitest-dev/vitest/commit/7c687ada) - **runner**: Support using function/class as `describe`/`test` name - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3497](https://togithub.com/vitest-dev/vitest/issues/3497) [(15253)](https://togithub.com/vitest-dev/vitest/commit/15253890) ##### 🐞 Bug Fixes - The cli option is passed to coverage.exclude - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3506](https://togithub.com/vitest-dev/vitest/issues/3506) [(c37cd)](https://togithub.com/vitest-dev/vitest/commit/c37cdebe) - **optimizer**: Always respect optimizeDeps even if include/exclude is overridden - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3488](https://togithub.com/vitest-dev/vitest/issues/3488) [(eb285)](https://togithub.com/vitest-dev/vitest/commit/eb285ea0) - **runner**: Ensure Vitest is deduped - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3489](https://togithub.com/vitest-dev/vitest/issues/3489) [(2deb7)](https://togithub.com/vitest-dev/vitest/commit/2deb70ab) - **ui**: Don't cache coverage assets - by [@userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3508](https://togithub.com/vitest-dev/vitest/issues/3508) [(952b5)](https://togithub.com/vitest-dev/vitest/commit/952b5be6) - **vite-node**: Circular import stuck - by [@Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3480](https://togithub.com/vitest-dev/vitest/issues/3480) [(50f07)](https://togithub.com/vitest-dev/vitest/commit/50f0700d) - **watch**: Junit reporter fails to re-generate report - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3496](https://togithub.com/vitest-dev/vitest/issues/3496) [(5b73c)](https://togithub.com/vitest-dev/vitest/commit/5b73cbf8) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.4...v0.32.0) ### [`v0.31.4`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.4) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ##### 🚀 Features - Enable experimentalOptimizer - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3413](https://togithub.com/vitest-dev/vitest/issues/3413) [(5a894)](https://togithub.com/vitest-dev/vitest/commit/5a894aa2) ##### 🐞 Bug Fixes - **vite-node**: Deps.inline doesn't work - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3485](https://togithub.com/vitest-dev/vitest/issues/3485) [(be930)](https://togithub.com/vitest-dev/vitest/commit/be93032f) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.3...v0.31.4) ### [`v0.31.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ##### 🚀 Features - Support `VITE_NODE_DEPS_MODULE_DIRECTORIES` from .npmrc - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3471](https://togithub.com/vitest-dev/vitest/issues/3471) [(393bf)](https://togithub.com/vitest-dev/vitest/commit/393bf60c) ##### 🐞 Bug Fixes - **logger**: Print unhandled errors before summary - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3474](https://togithub.com/vitest-dev/vitest/issues/3474) [(4c9a7)](https://togithub.com/vitest-dev/vitest/commit/4c9a7d58) - **runner**: Suite options do not propagate to nested suites (fix: [#3467](https://togithub.com/vitest-dev/vitest/issues/3467)) - by [@xsjcTony](https://togithub.com/xsjcTony) in [https://github.com/vitest-dev/vitest/issues/3473](https://togithub.com/vitest-dev/vitest/issues/3473) and [https://github.com/vitest-dev/vitest/issues/3467](https://togithub.com/vitest-dev/vitest/issues/3467) [(9fb9d)](https://togithub.com/vitest-dev/vitest/commit/9fb9dacb) - **vite-node**: Clear importers when invalidating module - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3475](https://togithub.com/vitest-dev/vitest/issues/3475) [(add29)](https://togithub.com/vitest-dev/vitest/commit/add29c86) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.2...v0.31.3) ### [`v0.31.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2) ##### 🚀 Features - Throw error if using inline snapshot inside of `test.each` or `describe.each` - by [@fenghan34](https://togithub.com/fenghan34) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3360](https://togithub.com/vitest-dev/vitest/issues/3360) [(7c2f7)](https://togithub.com/vitest-dev/vitest/commit/7c2f7088) - Pass down meta information to Node.js process - by [@sheremet-va](https://togithub.com/sheremet-va) and [@dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3449](https://togithub.com/vitest-dev/vitest/issues/3449) [(e39ad)](https://togithub.com/vitest-dev/vitest/commit/e39adea8) - **coverage**: Add `reportOnFailure` option - by [@AriPerkkio](https://togithub.com/AriPerkkio) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3453](https://togithub.com/vitest-dev/vitest/issues/3453) [(1988f)](https://togithub.com/vitest-dev/vitest/commit/1988fcb4) - **dev**: Add moduleDirectories option to the vitest config - by [@fooddilsn](https://togithub.com/fooddilsn) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3337](https://togithub.com/vitest-dev/vitest/issues/3337) [(b3602)](https://togithub.com/vitest-dev/vitest/commit/b3602bcc) ##### 🐞 Bug Fixes - Don't print empty diff - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3437](https://togithub.com/vitest-dev/vitest/issues/3437) [(32b53)](https://togithub.com/vitest-dev/vitest/commit/32b5361f) - Don't restore methods in automocked dependencies - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3438](https://togithub.com/vitest-dev/vitest/issues/3438) [(d1afd)](https://togithub.com/vitest-dev/vitest/commit/d1afd262) - Dot reporter scrollback buffer spam - by [@gtm-nayan](https://togithub.com/gtm-nayan) in [https://github.com/vitest-dev/vitest/issues/3415](https://togithub.com/vitest-dev/vitest/issues/3415) [(e6792)](https://togithub.com/vitest-dev/vitest/commit/e6792a94) - Gracefully exit when first `SIGINT` is received - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3407](https://togithub.com/vitest-dev/vitest/issues/3407) [(a2cc2)](https://togithub.com/vitest-dev/vitest/commit/a2cc2b38) - `rejects` & `resolves` breaks with thenable objects - by [@fenghan34](https://togithub.com/fenghan34) in [https://github.com/vitest-dev/vitest/issues/3456](https://togithub.com/vitest-dev/vitest/issues/3456) [(4e996)](https://togithub.com/vitest-dev/vitest/commit/4e996ae5) - Prevent `birpc` timeouts when `Math.random` mock is not restored - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3460](https://togithub.com/vitest-dev/vitest/issues/3460) [(cd5d5)](https://togithub.com/vitest-dev/vitest/commit/cd5d58b7) - Assertion diff message now handle non writable property correctly - by [@PCreations](https://togithub.com/PCreations) in [https://github.com/vitest-dev/vitest/issues/3422](https://togithub.com/vitest-dev/vitest/issues/3422) [(f75ab)](https://togithub.com/vitest-dev/vitest/commit/f75ab650) - Extend logging of process timeout errors - by [@AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3452](https://togithub.com/vitest-dev/vitest/issues/3452) [(42643)](https://togithub.com/vitest-dev/vitest/commit/42643904) - Support requiring files with `less` extension - by [@rluvaton](https://togithub.com/rluvaton) in [https://github.com/vitest-dev/vitest/issues/3465](https://togithub.com/vitest-dev/vitest/issues/3465) [(4d045)](https://togithub.com/vitest-dev/vitest/commit/4d045695) - **cli**: - Improve colors used when erroring - by [@ghiscoding](https://togithub.com/ghiscoding) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3349](https://togithub.com/vitest-dev/vitest/issues/3349) [(16681)](https://togithub.com/vitest-dev/vitest/commit/16681791) - **runner**: - Suite timeout does not take effect - by [@btea](https://togithub.com/btea) in [https://github.com/vitest-dev/vitest/issues/3455](https://togithub.com/vitest-dev/vitest/issues/3455) [(82547)](https://togithub.com/vitest-dev/vitest/commit/82547376) - **spy**: - Don't print received calls if there are no calls - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3405](https://togithub.com/vitest-dev/vitest/issues/3405) [(41e11)](https://togithub.com/vitest-dev/vitest/commit/41e11dad) - **typecheck**: - Show tsc errors not related to test files - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3441](https://togithub.com/vitest-dev/vitest/issues/3441) [(a1da5)](https://togithub.com/vitest-dev/vitest/commit/a1da5714) - **types**: - Fix `PartialMock` with async TReturns - by [@ghry5](https://togithub.com/ghry5) in [https://github.com/vitest-dev/vitest/issues/3462](https://togithub.com/vitest-dev/vitest/issues/3462) [(b664d)](https://togithub.com/vitest-dev/vitest/commit/b664d42c) - **vite-node**: - Circular import stuck - by [@Dunqing](https://togithub.com/Dunqing) in [https://github.com/vitest-dev/vitest/issues/3418](https://togithub.com/vitest-dev/vitest/issues/3418) [(632ee)](https://togithub.com/vitest-dev/vitest/commit/632eef40) - Coerce to string in import(dep) - by [@jcbhmr](https://togithub.com/jcbhmr) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3430](https://togithub.com/vitest-dev/vitest/issues/3430) [(b72eb)](https://togithub.com/vitest-dev/vitest/commit/b72ebdb9) - Don't remove sourcemap string in source code - by [@rxliuli](https://togithub.com/rxliuli) and [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2918](https://togithub.com/vitest-dev/vitest/issues/2918) and [https://github.com/vitest-dev/vitest/issues/3379](https://togithub.com/vitest-dev/vitest/issues/3379) [(02dc9)](https://togithub.com/vitest-dev/vitest/commit/02dc9ea7) - Don't externalize "dist" by default - by [@sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3446](https://togithub.com/vitest-dev/vitest/issues/3446) [(306b2)](https://togithub.com/vitest-dev/vitest/commit/306b2337) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.31.1...v0.31.2) ### [`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 (@vue/shared)
### [`v3.3.11`](https://togithub.com/vuejs/core/blob/HEAD/CHANGELOG.md#3311-2023-12-08) [Compare Source](https://togithub.com/vuejs/core/compare/v3.3.10...v3.3.11) ##### Bug Fixes - **custom-element:** correctly handle number type props in prod ([#8989](https://togithub.com/vuejs/core/issues/8989)) ([d74d364](https://togithub.com/vuejs/core/commit/d74d364d62db8e48881af6b5a75ce4fb5f36cc35)) - **reactivity:** fix mutation on user proxy of reactive Array ([6ecbd5c](https://togithub.com/vuejs/core/commit/6ecbd5ce2a7f59314a8326a1d193874b87f4d8c8)), closes [#9742](https://togithub.com/vuejs/core/issues/9742) [#9751](https://togithub.com/vuejs/core/issues/9751) [#9750](https://togithub.com/vuejs/core/issues/9750) - **runtime-dom:** fix width and height prop check condition ([5b00286](https://togithub.com/vuejs/core/commit/5b002869c533220706f9788b496b8ca8d8e98609)), closes [#9762](https://togithub.com/vuejs/core/issues/9762) - **shared:** handle Map with symbol keys in toDisplayString ([#9731](https://togithub.com/vuejs/core/issues/9731)) ([364821d](https://togithub.com/vuejs/core/commit/364821d6bdb1775e2f55a69bcfb9f40f7acf1506)), closes [#9727](https://togithub.com/vuejs/core/issues/9727) - **shared:** handle more Symbol cases in toDisplayString ([983d45d](https://togithub.com/vuejs/core/commit/983d45d4f8eb766b5a16b7ea93b86d3c51618fa6)) - **Suspense:** properly get anchor when mount fallback vnode ([#9770](https://togithub.com/vuejs/core/issues/9770)) ([b700328](https://togithub.com/vuejs/core/commit/b700328342e17dc16b19316c2e134a26107139d2)), closes [#9769](https://togithub.com/vuejs/core/issues/9769) - **types:** ref() return type should not be any when initial value is any ([#9768](https://togithub.com/vuejs/core/issues/9768)) ([cdac121](https://togithub.com/vuejs/core/commit/cdac12161ec27b45ded48854c3d749664b6d4a6d)) - **watch:** should not fire pre watcher on child component unmount ([#7181](https://togithub.com/vuejs/core/issues/7181)) ([6784f0b](https://togithub.com/vuejs/core/commit/6784f0b1f8501746ea70d87d18ed63a62cf6b76d)), closes [#7030](https://togithub.com/vuejs/core/issues/7030) ### [`v3.3.10`](https://togithub.com/vuejs/core/blob/HEAD/CHANGELOG.md#3310-2023-12-04) [Compare Source](https://togithub.com/vuejs/core/compare/v3.3.9...v3.3.10) ##### Bug Fixes - **app:** prevent template from being cached between apps with different options ([#9724](https://togithub.com/vuejs/core/issues/9724)) ([ec71585](https://togithub.com/vuejs/core/commit/ec715854ca12520b2afc9e9b3981cbae05ae5206)), closes [#9618](https://togithub.com/vuejs/core/issues/9618) - **compiler-sfc:** avoid passing forEach index to genMap ([f12db7f](https://togithub.com/vuejs/core/commit/f12db7fb564a534cef2e5805cc9f54afe5d72fbf)) - **compiler-sfc:** deindent pug/jade templates ([6345197](https://togithub.com/vuejs/core/commit/634519720a21fb5a6871454e1cadad7053a568b8)), closes [#3231](https://togithub.com/vuejs/core/issues/3231) [#3842](https://togithub.com/vuejs/core/issues/3842) [#7723](https://togithub.com/vuejs/core/issues/7723) - **compiler-sfc:** fix :where and :is selector in scoped mode with multiple selectors ([#9735](https://togithub.com/vuejs/core/issues/9735)) ([c3e2c55](https://togithub.com/vuejs/core/commit/c3e2c556b532656b50b8ab5cd2d9eabc26622d63)), closes [#9707](https://togithub.com/vuejs/core/issues/9707) - **compiler-sfc:** generate more treeshaking friendly code ([#9507](https://togithub.com/vuejs/core/issues/9507)) ([8d74ca0](https://togithub.com/vuejs/core/commit/8d74ca0e6fa2738ca6854b7e879ff59419f948c7)), closes [#9500](https://togithub.com/vuejs/core/issues/9500) - **compiler-sfc:** support inferring generic types ([#8511](https://togithub.com/vuejs/core/issues/8511)) ([eb5e307](https://togithub.com/vuejs/core/commit/eb5e307c0be62002e62c4c800d0dfacb39b0d4ca)), closes [#8482](https://togithub.com/vuejs/core/issues/8482) - **compiler-sfc:** support resolving components from props ([#8785](https://togithub.com/vuejs/core/issues/8785)) ([7cbcee3](https://togithub.com/vuejs/core/commit/7cbcee3d831241a8bd3588ae92d3f27e3641e25f)) - **compiler-sfc:** throw error when failing to load TS during type resolution ([#8883](https://togithub.com/vuejs/core/issues/8883)) ([4936d2e](https://togithub.com/vuejs/core/commit/4936d2e11a8d0ca3704bfe408548cb26bb3fd5e9)) - **cssVars:** cssVar names should be double-escaped when generating code for ssr ([#8824](hConfiguration
📅 Schedule: Branch creation - "every 3 months on the first day of the month" (UTC), 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.
👻 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.