Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update all non-major dependencies (#52)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@commitlint/cli](https://commitlint.js.org/) ([source](https://togithub.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli)) | [`^18.4.3` -> `^18.4.4`](https://renovatebot.com/diffs/npm/@commitlint%2fcli/18.4.3/18.4.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@commitlint%2fcli/18.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@commitlint%2fcli/18.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@commitlint%2fcli/18.4.3/18.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@commitlint%2fcli/18.4.3/18.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@commitlint/config-conventional](https://commitlint.js.org/) ([source](https://togithub.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional)) | [`^18.4.3` -> `^18.4.4`](https://renovatebot.com/diffs/npm/@commitlint%2fconfig-conventional/18.4.3/18.4.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@commitlint%2fconfig-conventional/18.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@commitlint%2fconfig-conventional/18.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@commitlint%2fconfig-conventional/18.4.3/18.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@commitlint%2fconfig-conventional/18.4.3/18.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`^20.10.5` -> `^20.11.5`](https://renovatebot.com/diffs/npm/@types%2fnode/20.10.5/20.11.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.10.5/20.11.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.10.5/20.11.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [prettier](https://prettier.io) ([source](https://togithub.com/prettier/prettier)) | [`^3.1.1` -> `^3.2.4`](https://renovatebot.com/diffs/npm/prettier/3.1.1/3.2.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/prettier/3.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prettier/3.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prettier/3.1.1/3.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prettier/3.1.1/3.2.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`^1.1.0` -> `^1.2.1`](https://renovatebot.com/diffs/npm/vitest/1.1.0/1.2.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.0/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.0/1.2.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>conventional-changelog/commitlint (@​commitlint/cli)</summary> ### [`v18.4.4`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#1844-2024-01-04) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v18.4.3...v18.4.4) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) </details> <details> <summary>conventional-changelog/commitlint (@​commitlint/config-conventional)</summary> ### [`v18.4.4`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/config-conventional/CHANGELOG.md#1844-2024-01-04) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v18.4.3...v18.4.4) **Note:** Version bump only for package [@​commitlint/config-conventional](https://togithub.com/commitlint/config-conventional) </details> <details> <summary>prettier/prettier (prettier)</summary> ### [`v3.2.4`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#324) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.3...3.2.4) [diff](https://togithub.com/prettier/prettier/compare/3.2.3...3.2.4) ##### Fix incorrect parser inference ([#​15947](https://togithub.com/prettier/prettier/pull/15947) by [@​fisker](https://togithub.com/fisker)) Files like `.eslintrc.json` were incorrectly formatted as JSONC files. ```jsx // Input prettier --file-info .eslintrc.json { "ignored": false, "inferredParser": "jsonc" } // Prettier 3.2.4 prettier --file-info .eslintrc.json { "ignored": false, "inferredParser": "json" } ``` ### [`v3.2.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#323) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.2...3.2.3) [diff](https://togithub.com/prettier/prettier/compare/3.2.2...3.2.3) ##### Throw errors for invalid code ([#​15881](https://togithub.com/prettier/prettier/pull/15881) by [@​fisker](https://togithub.com/fisker), [@​Josh-Cena](https://togithub.com/Josh-Cena), [@​auvred](https://togithub.com/auvred)) ```ts // Input 1++; // Prettier 3.2.2 1++; // Prettier 3.2.3 SyntaxError: Invalid left-hand side expression in unary operation (1:1) > 1 | 1++; | ^ ``` ```ts // Input try {} catch (error = 1){} // Prettier 3.2.2 try { } catch (error) {} // Prettier 3.2.3 SyntaxError: Catch clause variable cannot have an initializer. (1:23) > 1 | try {} catch (error = 1){} | ^ ``` ##### Fix parser inference ([#​15927](https://togithub.com/prettier/prettier/pull/15927) by [@​fisker](https://togithub.com/fisker)) ```console // Prettier 3.2.2 prettier --file-info tsconfig.json { "ignored": false, "inferredParser": "json" } // Prettier 3.2.3 prettier --file-info tsconfig.json { "ignored": false, "inferredParser": "jsonc" } ``` ### [`v3.2.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#322) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.1...3.2.2) [diff](https://togithub.com/prettier/prettier/compare/3.2.1...3.2.2) ##### Fix crash when parsing template literal CSS in a JSX style tag using a spread attribute ([#​15896](https://togithub.com/prettier/prettier/pull/15896) by [@​eelco](https://togithub.com/eelco)) For example this code would crash before: ```jsx <style {...spread}>{`.{}`}</style> ``` ##### Fix formatting error on optional call expression and member chain ([#​15920](https://togithub.com/prettier/prettier/pull/15920) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```jsx // Input a(() => {}, c?.d()); // Prettier 3.2.1 TypeError: Cannot read properties of undefined (reading 'type') // Prettier 3.2.2 a(() => {}, c?.d()); ``` ### [`v3.2.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#321) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.0...3.2.1) [diff](https://togithub.com/prettier/prettier/compare/3.2.0...3.2.1) ##### Fix formatting error on member chain ([#​15915](https://togithub.com/prettier/prettier/pull/15915) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) ```jsx // Input test().test2().test2(thing?.something); // Prettier 3.2.0 TypeError: Cannot read properties of undefined (reading 'type') // Prettier 3.2.1 test().test2().test2(thing?.something); ``` ### [`v3.2.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#320) [Compare Source](https://togithub.com/prettier/prettier/compare/3.1.1...3.2.0) [diff](https://togithub.com/prettier/prettier/compare/3.1.1...3.2.0) 🔗 [Release Notes](https://prettier.io/blog/2024/01/13/3.2.0.html) </details> <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v1.2.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ##### 🐞 Bug Fixes - **browser**: - Apply inlined workspace config to browser mode vite server - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4947](https://togithub.com/vitest-dev/vitest/issues/4947) [<samp>(db01f)</samp>](https://togithub.com/vitest-dev/vitest/commit/db01f6c2) - Fix browser testing url for https - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4855](https://togithub.com/vitest-dev/vitest/issues/4855) [<samp>(6c1cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/6c1cc78b) - Don't fail when calling vi.useFakeTimers - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4992](https://togithub.com/vitest-dev/vitest/issues/4992) [<samp>(6c5fe)</samp>](https://togithub.com/vitest-dev/vitest/commit/6c5fe49b) - **coverage**: - `thresholds.autoUpdate` to work with arrow function configuration files - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4959](https://togithub.com/vitest-dev/vitest/issues/4959) [<samp>(4b411)</samp>](https://togithub.com/vitest-dev/vitest/commit/4b41131a) - **expect**: - Implement chai inspect for `AsymmetricMatcher` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4942](https://togithub.com/vitest-dev/vitest/issues/4942) [<samp>(06bae)</samp>](https://togithub.com/vitest-dev/vitest/commit/06bae4dd) - **vite-node**: - Externalize network imports - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4987](https://togithub.com/vitest-dev/vitest/issues/4987) [<samp>(21f57)</samp>](https://togithub.com/vitest-dev/vitest/commit/21f5744d) - **vitest**: - Handle single `await vi.hoisted` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4962](https://togithub.com/vitest-dev/vitest/issues/4962) [<samp>(dcf2e)</samp>](https://togithub.com/vitest-dev/vitest/commit/dcf2e9f2) - Simplify hoist transform check regex to avoid expensive regex match - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4974](https://togithub.com/vitest-dev/vitest/issues/4974) [<samp>(df0db)</samp>](https://togithub.com/vitest-dev/vitest/commit/df0db6a9) - Correctly find module if it has a version query - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4976](https://togithub.com/vitest-dev/vitest/issues/4976) [<samp>(952c3)</samp>](https://togithub.com/vitest-dev/vitest/commit/952c31df) - Check color support for intercepted console logging - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4966](https://togithub.com/vitest-dev/vitest/issues/4966) [<samp>(39a71)</samp>](https://togithub.com/vitest-dev/vitest/commit/39a7169c) - Use development/production conditions when resolving external modules - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4980](https://togithub.com/vitest-dev/vitest/issues/4980) [<samp>(8877e)</samp>](https://togithub.com/vitest-dev/vitest/commit/8877e22a) - Throw a syntax error if vi.hoisted is directly exported - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4969](https://togithub.com/vitest-dev/vitest/issues/4969) [<samp>(f8bff)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8bff9ef) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.2.0...v1.2.1) ### [`v1.2.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.2.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ##### 🚀 Features - Support case-insensitive path matching in cli - by [@​tigranmk](https://togithub.com/tigranmk) in [https://github.com/vitest-dev/vitest/issues/3567](https://togithub.com/vitest-dev/vitest/issues/3567) and [https://github.com/vitest-dev/vitest/issues/4911](https://togithub.com/vitest-dev/vitest/issues/4911) [<samp>(1326c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1326c6ef) - Add typeahead search - by [@​bonyuta0204](https://togithub.com/bonyuta0204) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4275](https://togithub.com/vitest-dev/vitest/issues/4275) and [https://github.com/vitest-dev/vitest/issues/4733](https://togithub.com/vitest-dev/vitest/issues/4733) [<samp>(480d8)</samp>](https://togithub.com/vitest-dev/vitest/commit/480d866a) - Add syntax highlighting to error messages - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4813](https://togithub.com/vitest-dev/vitest/issues/4813) [<samp>(8c969)</samp>](https://togithub.com/vitest-dev/vitest/commit/8c969de2) - Allow extending toEqual - by [@​tigranmk](https://togithub.com/tigranmk) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2875](https://togithub.com/vitest-dev/vitest/issues/2875) and [https://github.com/vitest-dev/vitest/issues/4880](https://togithub.com/vitest-dev/vitest/issues/4880) [<samp>(463be)</samp>](https://togithub.com/vitest-dev/vitest/commit/463bee38) - **coverage**: - Custom reporter support - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4828](https://togithub.com/vitest-dev/vitest/issues/4828) [<samp>(96dc6)</samp>](https://togithub.com/vitest-dev/vitest/commit/96dc6e9a) - **ui**: - Show unhandled errors on the ui - by [@​spiroka](https://togithub.com/spiroka) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4380](https://togithub.com/vitest-dev/vitest/issues/4380) [<samp>(7f59a)</samp>](https://togithub.com/vitest-dev/vitest/commit/7f59a1b8) - **vitest**: - Add `--disable-console-intercept` option to allow opting-out from automatic console log interception - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4786](https://togithub.com/vitest-dev/vitest/issues/4786) [<samp>(43fa6)</samp>](https://togithub.com/vitest-dev/vitest/commit/43fa6baa) - Show slow test duration in verbose reporter on CI - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4929](https://togithub.com/vitest-dev/vitest/issues/4929) [<samp>(ccb25)</samp>](https://togithub.com/vitest-dev/vitest/commit/ccb25836) - Allow overiding package installer with public API - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4936](https://togithub.com/vitest-dev/vitest/issues/4936) [<samp>(c2cce)</samp>](https://togithub.com/vitest-dev/vitest/commit/c2cceebb) ##### 🐞 Bug Fixes - **browser**: - Support vite config `server.headers` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4890](https://togithub.com/vitest-dev/vitest/issues/4890) [<samp>(55f53)</samp>](https://togithub.com/vitest-dev/vitest/commit/55f5349f) - Fix `testNamePattern` config - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4909](https://togithub.com/vitest-dev/vitest/issues/4909) [<samp>(4add9)</samp>](https://togithub.com/vitest-dev/vitest/commit/4add9516) - Fix updating snapshot during watch mode - by [@​hi-ogawa](https://togithub.com/hi-ogawa) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4867](https://togithub.com/vitest-dev/vitest/issues/4867) [<samp>(508fc)</samp>](https://togithub.com/vitest-dev/vitest/commit/508fced9) - Remove redundant test failure logging - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4891](https://togithub.com/vitest-dev/vitest/issues/4891) [<samp>(7fd44)</samp>](https://togithub.com/vitest-dev/vitest/commit/7fd44dc3) - **happy-dom**: - Window.close() for environment teardown - by [@​capricorn86](https://togithub.com/capricorn86) in [https://github.com/vitest-dev/vitest/issues/4931](https://togithub.com/vitest-dev/vitest/issues/4931) [<samp>(91719)</samp>](https://togithub.com/vitest-dev/vitest/commit/91719bbd) - **utils**: - Fix `objDisplay` default truncate option for `test.each` title - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4917](https://togithub.com/vitest-dev/vitest/issues/4917) [<samp>(9ae9d)</samp>](https://togithub.com/vitest-dev/vitest/commit/9ae9dac9) - **vitest**: - Fix tap reporter to handle custom error - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4897](https://togithub.com/vitest-dev/vitest/issues/4897) [<samp>(f8ba8)</samp>](https://togithub.com/vitest-dev/vitest/commit/f8ba80f2) - Gracefully exit Vitest if `process.exit` is called inside the test - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4903](https://togithub.com/vitest-dev/vitest/issues/4903) [<samp>(8e6c1)</samp>](https://togithub.com/vitest-dev/vitest/commit/8e6c104a) - Throw "cannot mock" error only in isolated pools - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4905](https://togithub.com/vitest-dev/vitest/issues/4905) [<samp>(f99cc)</samp>](https://togithub.com/vitest-dev/vitest/commit/f99cc313) - Don't throw SyntaxError when "await vi.hoisted" is used - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4915](https://togithub.com/vitest-dev/vitest/issues/4915) [<samp>(ca62f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca62f37a) - Correctly parse --maxWorkers/--minWorkers - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4924](https://togithub.com/vitest-dev/vitest/issues/4924) [<samp>(0e77e)</samp>](https://togithub.com/vitest-dev/vitest/commit/0e77e697) - Show correct error when vi.hoisted is used inside vi.mock and the other way around - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4916](https://togithub.com/vitest-dev/vitest/issues/4916) [<samp>(c4eac)</samp>](https://togithub.com/vitest-dev/vitest/commit/c4eacbb7) - Call global teardown when using workspaces - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4935](https://togithub.com/vitest-dev/vitest/issues/4935) [<samp>(528bd)</samp>](https://togithub.com/vitest-dev/vitest/commit/528bd558) - Use file instead of id for HMR - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4938](https://togithub.com/vitest-dev/vitest/issues/4938) [<samp>(ca76f)</samp>](https://togithub.com/vitest-dev/vitest/commit/ca76f457) - Add inlined deps to ssr.noExternal so they are added to the module graph - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4945](https://togithub.com/vitest-dev/vitest/issues/4945) [<samp>(1663f)</samp>](https://togithub.com/vitest-dev/vitest/commit/1663f5ca) - **workspace**: - Support overring `pool` and `poolOptions` on project level - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4765](https://togithub.com/vitest-dev/vitest/issues/4765) [<samp>(e9fe4)</samp>](https://togithub.com/vitest-dev/vitest/commit/e9fe4181) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.3...v1.2.0) ### [`v1.1.3`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.3) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ##### 🐞 Bug Fixes - **vitest**: - Vi.mock breaks tests when using imported variables inside the factory - by [@​sheremet-va](https://togithub.com/sheremet-va) and **Dunqing** in [https://github.com/vitest-dev/vitest/issues/4873](https://togithub.com/vitest-dev/vitest/issues/4873) [<samp>(7719e)</samp>](https://togithub.com/vitest-dev/vitest/commit/7719e79e) - Apply `slowTestThreshold` to all reporters - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4876](https://togithub.com/vitest-dev/vitest/issues/4876) [<samp>(1769c)</samp>](https://togithub.com/vitest-dev/vitest/commit/1769c796) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.2...v1.1.3) ### [`v1.1.2`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.2) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ##### 🐞 Bug Fixes - Remove internal flag from UI option in the config - by [@​sheremet-va](https://togithub.com/sheremet-va) [<samp>(7b4a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/7b4a2fce) - **browser**: - Avoid safaridriver collision - by [@​mbland](https://togithub.com/mbland) in [https://github.com/vitest-dev/vitest/issues/4863](https://togithub.com/vitest-dev/vitest/issues/4863) [<samp>(345a2)</samp>](https://togithub.com/vitest-dev/vitest/commit/345a25d6) - Resolved failure to find arbitrarily-named snapshot files when using `expect(...).toMatchFileSnapshot()` matcher. - by [@​zmullett](https://togithub.com/zmullett), **Zac Mullett** and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4839](https://togithub.com/vitest-dev/vitest/issues/4839) [<samp>(b8140)</samp>](https://togithub.com/vitest-dev/vitest/commit/b8140fca) - Handle config.base - by [@​mbland](https://togithub.com/mbland) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4686](https://togithub.com/vitest-dev/vitest/issues/4686) and [https://github.com/vitest-dev/vitest/issues/4692](https://togithub.com/vitest-dev/vitest/issues/4692) [<samp>(9e345)</samp>](https://togithub.com/vitest-dev/vitest/commit/9e34557e) - **deps**: - Update dependency acorn-walk to ^8.3.1 - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/4837](https://togithub.com/vitest-dev/vitest/issues/4837)7 [<samp>(47bc2)</samp>](https://togithub.com/vitest-dev/vitest/commit/47bc233d) - Update dependency sirv to ^2.0.4 - by [@​renovate](https://togithub.com/renovate)\[bot] in[https://github.com/vitest-dev/vitest/issues/4838](https://togithub.com/vitest-dev/vitest/issues/4838)8 [<samp>(df261)</samp>](https://togithub.com/vitest-dev/vitest/commit/df261ae1) - **runner**: - Fix fixture cleanup for concurrent tests - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4827](https://togithub.com/vitest-dev/vitest/issues/4827) [<samp>(1fee6)</samp>](https://togithub.com/vitest-dev/vitest/commit/1fee63f2) - **spy**: - Don't allow Promise in mockImplementation - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4859](https://togithub.com/vitest-dev/vitest/issues/4859) [<samp>(072e0)</samp>](https://togithub.com/vitest-dev/vitest/commit/072e02bf) - **vite-node**: - Correctly return cached result - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4870](https://togithub.com/vitest-dev/vitest/issues/4870) [<samp>(15bbb)</samp>](https://togithub.com/vitest-dev/vitest/commit/15bbbf81) - **vitest**: - Throw an error if mock was already loaded when vi.mock is called - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4862](https://togithub.com/vitest-dev/vitest/issues/4862) [<samp>(e12a5)</samp>](https://togithub.com/vitest-dev/vitest/commit/e12a5a36) - Correctly rerun test files on change if server was restarted - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4871](https://togithub.com/vitest-dev/vitest/issues/4871) [<samp>(6088b)</samp>](https://togithub.com/vitest-dev/vitest/commit/6088b372) - **vm-threads**: - Don't crash on percentage based `memoryLimit` - by [@​inottn](https://togithub.com/inottn) and [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4802](https://togithub.com/vitest-dev/vitest/issues/4802) [<samp>(70e8a)</samp>](https://togithub.com/vitest-dev/vitest/commit/70e8a389) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.1...v1.1.2) ### [`v1.1.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) ##### 🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by [@​wojtekmaj](https://togithub.com/wojtekmaj) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4698](https://togithub.com/vitest-dev/vitest/issues/4698) [<samp>(ee8b4)</samp>](https://togithub.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4815](https://togithub.com/vitest-dev/vitest/issues/4815) [<samp>(8f622)</samp>](https://togithub.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism` - by [@​bonyuta0204](https://togithub.com/bonyuta0204) in [https://github.com/vitest-dev/vitest/issues/4831](https://togithub.com/vitest-dev/vitest/issues/4831) [<samp>(5053a)</samp>](https://togithub.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible - by [@​bard](https://togithub.com/bard) in [https://github.com/vitest-dev/vitest/issues/4824](https://togithub.com/vitest-dev/vitest/issues/4824) [<samp>(7e6a6)</samp>](https://togithub.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip` - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4814](https://togithub.com/vitest-dev/vitest/issues/4814) [<samp>(19faf)</samp>](https://togithub.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies - by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4811](https://togithub.com/vitest-dev/vitest/issues/4811) [<samp>(e8ca6)</samp>](https://togithub.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4796](https://togithub.com/vitest-dev/vitest/issues/4796) [<samp>(957da)</samp>](https://togithub.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4795](https://togithub.com/vitest-dev/vitest/issues/4795) [<samp>(06c14)</samp>](https://togithub.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter - by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4819](https://togithub.com/vitest-dev/vitest/issues/4819) [<samp>(2baea)</samp>](https://togithub.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice - by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4781](https://togithub.com/vitest-dev/vitest/issues/4781) [<samp>(cf53d)</samp>](https://togithub.com/vitest-dev/vitest/commit/cf53d4be) ##### [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Berlin, 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](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/mheob/used-pm).
- Loading branch information