sveltejs / vite-plugin-svelte

Svelte plugin for http://vitejs.dev/
MIT License
864 stars 105 forks source link

chore(deps): update all non-major dependencies #642

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sveltejs/kit (source) ^1.15.9 -> ^1.16.3 age adoption passing confidence
@types/node (source) ^18.16.3 -> ^18.16.7 age adoption passing confidence
@types/semver (source) ^7.3.13 -> ^7.5.0 age adoption passing confidence
@typescript-eslint/eslint-plugin ^5.59.1 -> ^5.59.5 age adoption passing confidence
@typescript-eslint/parser ^5.59.1 -> ^5.59.5 age adoption passing confidence
eslint (source) ^8.39.0 -> ^8.40.0 age adoption passing confidence
pnpm (source) 8.3.1 -> 8.5.0 age adoption passing confidence
rollup (source) ^3.21.2 -> ^3.21.6 age adoption passing confidence
svelte (source) ^3.58.0 -> ^3.59.1 age adoption passing confidence
svelte-check ^3.2.0 -> ^3.3.2 age adoption passing confidence
vite (source) ^4.3.3 -> ^4.3.5 age adoption passing confidence
vitest ^0.30.1 -> ^0.31.0 age adoption passing confidence

Release Notes

sveltejs/kit ### [`v1.16.3`](https://togithub.com/sveltejs/kit/blob/HEAD/packages/kit/CHANGELOG.md#​1163) [Compare Source](https://togithub.com/sveltejs/kit/compare/@sveltejs/kit@1.16.2...@sveltejs/kit@1.16.3) ##### Patch Changes - fix: entry generation with mixed segments ([#​9879](https://togithub.com/sveltejs/kit/pull/9879)) - fix: use `focusVisible: false` to prevent unwanted focus ring on navigation ([#​9861](https://togithub.com/sveltejs/kit/pull/9861)) ### [`v1.16.2`](https://togithub.com/sveltejs/kit/blob/HEAD/packages/kit/CHANGELOG.md#​1162) [Compare Source](https://togithub.com/sveltejs/kit/compare/@sveltejs/kit@1.16.1...@sveltejs/kit@1.16.2) ##### Patch Changes - fix: support Node 20 ([`6e2efcf62`](https://togithub.com/sveltejs/kit/commit/6e2efcf627ce8d179c941212d761aa93568b1724)) - fix: reset focus synchronously on navigation ([#​9837](https://togithub.com/sveltejs/kit/pull/9837)) ### [`v1.16.1`](https://togithub.com/sveltejs/kit/blob/HEAD/packages/kit/CHANGELOG.md#​1161) [Compare Source](https://togithub.com/sveltejs/kit/compare/@sveltejs/kit@1.16.0...@sveltejs/kit@1.16.1) ##### Patch Changes - fix: realign state.branch on the client on first load ([#​9754](https://togithub.com/sveltejs/kit/pull/9754)) - fix: update `$page.data` correctly after invalidate ([#​9798](https://togithub.com/sveltejs/kit/pull/9798)) - fix: file not found in manifest ([#​9846](https://togithub.com/sveltejs/kit/pull/9846)) ### [`v1.16.0`](https://togithub.com/sveltejs/kit/blob/HEAD/packages/kit/CHANGELOG.md#​1160) [Compare Source](https://togithub.com/sveltejs/kit/compare/@sveltejs/kit@1.15.11...@sveltejs/kit@1.16.0) ##### Minor Changes - feat: route-level entry generators via `export const entries` ([#​9571](https://togithub.com/sveltejs/kit/pull/9571)) ### [`v1.15.11`](https://togithub.com/sveltejs/kit/blob/HEAD/packages/kit/CHANGELOG.md#​11511) [Compare Source](https://togithub.com/sveltejs/kit/compare/@sveltejs/kit@1.15.10...@sveltejs/kit@1.15.11) ##### Patch Changes - chore: more compact representation for invalidated search param ([#​9708](https://togithub.com/sveltejs/kit/pull/9708)) - chore: fix import path to app script on windows ([#​9743](https://togithub.com/sveltejs/kit/pull/9743)) - fix: make $app/navigation more resilient to bundler reordering ([#​9808](https://togithub.com/sveltejs/kit/pull/9808)) - fix: page load `fetch()` now accepts the same input types for the body as the native fetch function ([#​9801](https://togithub.com/sveltejs/kit/pull/9801)) - fix: handle preload and filterSerializedResponseHeaders in sequence function ([#​9741](https://togithub.com/sveltejs/kit/pull/9741)) ### [`v1.15.10`](https://togithub.com/sveltejs/kit/blob/HEAD/packages/kit/CHANGELOG.md#​11510) [Compare Source](https://togithub.com/sveltejs/kit/compare/@sveltejs/kit@1.15.9...@sveltejs/kit@1.15.10) ##### Patch Changes - fix: log whole error object in default handleError ([#​9791](https://togithub.com/sveltejs/kit/pull/9791))
typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin) ### [`v5.59.5`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5595-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5594v5595-2023-05-08) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.2...v5.59.5) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) ### [`v5.59.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5592-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5591v5592-2023-05-01) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.1...v5.59.2) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)
typescript-eslint/typescript-eslint (@​typescript-eslint/parser) ### [`v5.59.5`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5595-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5594v5595-2023-05-08) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.2...v5.59.5) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.59.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5592-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5591v5592-2023-05-01) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.59.1...v5.59.2) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
eslint/eslint ### [`v8.40.0`](https://togithub.com/eslint/eslint/releases/tag/v8.40.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.39.0...v8.40.0) #### Features - [`5db7808`](https://togithub.com/eslint/eslint/commit/5db7808139c1f2172797285a0700f01644bda254) feat: improve flat config errors for invalid rule options and severities ([#​17140](https://togithub.com/eslint/eslint/issues/17140)) (Josh Goldberg ✨) - [`f5574dc`](https://togithub.com/eslint/eslint/commit/f5574dc739fcc74a7841217ba1f31cce02bee1ff) feat: Add findConfigFile() method to FlatESLint ([#​17142](https://togithub.com/eslint/eslint/issues/17142)) (Nicholas C. Zakas) - [`e52b98b`](https://togithub.com/eslint/eslint/commit/e52b98bf25d882da4efd5559ce5974b6697cf701) feat: add `sourceCode` property to the rule context ([#​17107](https://togithub.com/eslint/eslint/issues/17107)) (Nitin Kumar) - [`1468f5b`](https://togithub.com/eslint/eslint/commit/1468f5b640cfa6fdd8a5ec895337f692def2780b) feat: add `physicalFilename` property to the rule context ([#​17111](https://togithub.com/eslint/eslint/issues/17111)) (Nitin Kumar) - [`0df4d4f`](https://togithub.com/eslint/eslint/commit/0df4d4f658c214e51310a986c03d44d34ceae3ec) feat: add `cwd` to rule context ([#​17106](https://togithub.com/eslint/eslint/issues/17106)) (Nitin Kumar) - [`52018f2`](https://togithub.com/eslint/eslint/commit/52018f21c19b3e461cae32843cddd17ed42f19cd) feat: add `filename` property to the rule context ([#​17108](https://togithub.com/eslint/eslint/issues/17108)) (Nitin Kumar) - [`559ff4e`](https://togithub.com/eslint/eslint/commit/559ff4e4bc54a8b6e6b54825d83c532d724204b3) feat: add new `omitLastInOneLineClassBody` option to the `semi` rule ([#​17105](https://togithub.com/eslint/eslint/issues/17105)) (Nitin Kumar) #### Bug Fixes - [`f076e54`](https://togithub.com/eslint/eslint/commit/f076e54ecdb0fae70d9b43ad6888606097beef97) fix: Ensure FlatESLint#findConfigFile() doesn't throw. ([#​17151](https://togithub.com/eslint/eslint/issues/17151)) (Nicholas C. Zakas) #### Documentation - [`e980bf3`](https://togithub.com/eslint/eslint/commit/e980bf38cf441f2eb29c458b93df77dc0111b391) docs: Update README (GitHub Actions Bot) - [`e92a6fc`](https://togithub.com/eslint/eslint/commit/e92a6fc7ed2a427f5e95f4b3a1c21d71553c97ee) docs: Update README (GitHub Actions Bot) - [`af5fe64`](https://togithub.com/eslint/eslint/commit/af5fe64c398c9bd4206c3c6c1ade81768b291031) docs: Fix custom rule schema docs ([#​17115](https://togithub.com/eslint/eslint/issues/17115)) (Adam Jones) - [`4a352a9`](https://togithub.com/eslint/eslint/commit/4a352a957ba9e721bec9f6f403b419a22b0ec423) docs: explain how to include predefined globals ([#​17114](https://togithub.com/eslint/eslint/issues/17114)) (Marcus Wyatt) - [`5ea15d9`](https://togithub.com/eslint/eslint/commit/5ea15d92ee358e8f3f652c94c019cac96aaec651) docs: add mastodon link in readme ([#​17110](https://togithub.com/eslint/eslint/issues/17110)) (唯然) #### Chores - [`4053004`](https://togithub.com/eslint/eslint/commit/4053004c951813473d1c43f9f9959a9a3484242f) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).40.0 ([#​17156](https://togithub.com/eslint/eslint/issues/17156)) (Milos Djermanovic) - [`50fed1d`](https://togithub.com/eslint/eslint/commit/50fed1da4449ad7ecbb558294438273cfce603d4) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (ESLint Jenkins) - [`4c7a170`](https://togithub.com/eslint/eslint/commit/4c7a170b04c5a746e401bef7ce79766ff66a1168) chore: upgrade [@​eslint/eslintrc](https://togithub.com/eslint/eslintrc)[@​2](https://togithub.com/2).0.3 ([#​17155](https://togithub.com/eslint/eslint/issues/17155)) (Milos Djermanovic) - [`e80b7cc`](https://togithub.com/eslint/eslint/commit/e80b7cce640b60c00802148dbb51d03c7223afa9) chore: upgrade espree@9.5.2 ([#​17154](https://togithub.com/eslint/eslint/issues/17154)) (Milos Djermanovic) - [`ce3ac91`](https://togithub.com/eslint/eslint/commit/ce3ac91b510576e2afba1657aa5f09e162b4ab07) chore: upgrade eslint-visitor-keys@3.4.1 ([#​17153](https://togithub.com/eslint/eslint/issues/17153)) (Milos Djermanovic) - [`9094d79`](https://togithub.com/eslint/eslint/commit/9094d79fb42c0ebb6100426a3f2f851e8d42a0ee) chore: add `latest/` to `meta.docs.url` in all core rules ([#​17136](https://togithub.com/eslint/eslint/issues/17136)) (Milos Djermanovic) - [`d85efad`](https://togithub.com/eslint/eslint/commit/d85efad655deacc0dc3fdbbace33307094c3b91b) perf: don't use `grapheme-splitter` on ASCII strings in key-spacing rule ([#​17122](https://togithub.com/eslint/eslint/issues/17122)) (Milos Djermanovic)
pnpm/pnpm ### [`v8.5.0`](https://togithub.com/pnpm/pnpm/releases/tag/v8.5.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v8.4.0...v8.5.0) ##### Minor Changes - `pnpm patch-remove` command added [#​6521](https://togithub.com/pnpm/pnpm/pull/6521). ##### Patch Changes - `pnpm link -g ` should not modify the `package.json` file [#​4341](https://togithub.com/pnpm/pnpm/issues/4341). - The deploy command should not ask for confirmation to purge the `node_modules` directory [#​6510](https://togithub.com/pnpm/pnpm/issues/6510). - Show cyclic workspace dependency details [#​5059](https://togithub.com/pnpm/pnpm/issues/5059). - Node.js range specified through the `engines` field should match prerelease versions [#​6509](https://togithub.com/pnpm/pnpm/pull/6509). ##### Our Gold Sponsors
##### Our Silver Sponsors
### [`v8.4.0`](https://togithub.com/pnpm/pnpm/releases/tag/v8.4.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v8.3.1...v8.4.0) #### Minor Changes - `pnpm publish` supports the `--provenance` CLI option [#​6435](https://togithub.com/pnpm/pnpm/issues/6435). #### Patch Changes - Link the bin files of local workspace dependencies, when `node-linker` is set to `hoisted` [6486](https://togithub.com/pnpm/pnpm/issues/6486). - Ask the user to confirm the removal of `node_modules` directory unless the `--force` option is passed. - Do not create a `node_modules` folder with a `.modules.yaml` file if there are no dependencies inside `node_modules`. #### Our Gold Sponsors
#### Our Silver Sponsors
rollup/rollup ### [`v3.21.6`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#​3216) [Compare Source](https://togithub.com/rollup/rollup/compare/v3.21.5...v3.21.6) *2023-05-09* ##### Bug Fixes - Ensure Rollup CLI prints everything to stdout before exiting ([#​4980](https://togithub.com/rollup/rollup/issues/4980)) ##### Pull Requests - [#​4980](https://togithub.com/rollup/rollup/pull/4980): chore(deps): lock file maintenance minor/patch updates ([@​renovate](https://togithub.com/renovate)\[bot]) - [#​4983](https://togithub.com/rollup/rollup/pull/4983): Prevent exit before stdout is drained ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v3.21.5`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#​3215) [Compare Source](https://togithub.com/rollup/rollup/compare/v3.21.4...v3.21.5) *2023-05-05* ##### Bug Fixes - Keep all consecutive lines at the top of each module that start with a comment ([#​4975](https://togithub.com/rollup/rollup/issues/4975)) - Ensure that declarations inside switch cases do not use the same scope as the discriminator ([#​4979](https://togithub.com/rollup/rollup/issues/4979)) ##### Pull Requests - [#​4975](https://togithub.com/rollup/rollup/pull/4975): Keep leading comments on consecutive lines ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​4979](https://togithub.com/rollup/rollup/pull/4979): Use correct scope in switch statements ([@​lukastaegert](https://togithub.com/lukastaegert)) ### [`v3.21.4`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#​3214) [Compare Source](https://togithub.com/rollup/rollup/compare/v3.21.3...v3.21.4) *2023-05-03* ##### Bug Fixes - Resolve crash when shimming a missing export in an otherwise non-included module when preserving modules ([#​4971](https://togithub.com/rollup/rollup/issues/4971)) ##### Pull Requests - [#​4971](https://togithub.com/rollup/rollup/pull/4971): Handle shimming missing exports when preserving modules ([@​lukastaegert](https://togithub.com/lukastaegert)) - [#​4972](https://togithub.com/rollup/rollup/pull/4972): Configure Renovate ([@​renovate](https://togithub.com/renovate)\[bot]) ### [`v3.21.3`](https://togithub.com/rollup/rollup/blob/HEAD/CHANGELOG.md#​3213) [Compare Source](https://togithub.com/rollup/rollup/compare/v3.21.2...v3.21.3) *2023-05-02* ##### Bug Fixes - Run `process.exit()` when Rollup CLI finishes successfully to solve issues on some systems ([#​4969](https://togithub.com/rollup/rollup/issues/4969)) ##### Pull Requests - [#​4954](https://togithub.com/rollup/rollup/pull/4954): test: enable typecheck for \_config files ([@​antfu](https://togithub.com/antfu)) - [#​4969](https://togithub.com/rollup/rollup/pull/4969): Automatically force close Rollup when done ([@​lukastaegert](https://togithub.com/lukastaegert))
sveltejs/svelte ### [`v3.59.1`](https://togithub.com/sveltejs/svelte/blob/HEAD/CHANGELOG.md#​3591) [Compare Source](https://togithub.com/sveltejs/svelte/compare/v3.59.0...v3.59.1) - Handle dynamic values in `a11y-autocomplete-valid` ([#​8567](https://togithub.com/sveltejs/svelte/pull/8567)) ### [`v3.59.0`](https://togithub.com/sveltejs/svelte/blob/HEAD/CHANGELOG.md#​3590) [Compare Source](https://togithub.com/sveltejs/svelte/compare/v3.58.0...v3.59.0) - Add `ResizeObserver` bindings `contentRect`/`contentBoxSize`/`borderBoxSize`/`devicePixelContentBoxSize` ([#​8022](https://togithub.com/sveltejs/svelte/pull/8022)) - Add `devicePixelRatio` binding for `` ([#​8285](https://togithub.com/sveltejs/svelte/issues/8285)) - Add `fullscreenElement` and `visibilityState` bindings for `` ([#​8507](https://togithub.com/sveltejs/svelte/pull/8507)) - Add `a11y-autocomplete-valid` warning ([#​8520](https://togithub.com/sveltejs/svelte/pull/8520)) - Fix handling of `width`/`height` attributes when spreading ([#​6752](https://togithub.com/sveltejs/svelte/issues/6752)) - Fix updating of interpolated `style:` directive when using spread ([#​8438](https://togithub.com/sveltejs/svelte/issues/8438)) - Remove `style:` directive property when value is `undefined` ([#​8462](https://togithub.com/sveltejs/svelte/issues/8462)) - Fix type of `VERSION` compiler export ([#​8498](https://togithub.com/sveltejs/svelte/issues/8498)) - Relax `a11y-no-redundant-roles` warning ([#​8536](https://togithub.com/sveltejs/svelte/pull/8536)) - Handle nested array rest destructuring ([#​8552](https://togithub.com/sveltejs/svelte/issues/8552), [#​8554](https://togithub.com/sveltejs/svelte/issues/8554))
sveltejs/language-tools ### [`v3.3.2`](https://togithub.com/sveltejs/language-tools/releases/tag/svelte-check-3.3.2) [Compare Source](https://togithub.com/sveltejs/language-tools/compare/svelte-check-3.3.1...svelte-check-3.3.2) - (fix) allow non-literal createEventDispatcher generic template ([#​2004](https://togithub.com/sveltejs/language-tools/issues/2004)) - (fix) ignore updated files not belonging to project ([#​2006](https://togithub.com/sveltejs/language-tools/issues/2006)) ### [`v3.3.1`](https://togithub.com/sveltejs/language-tools/releases/tag/svelte-check-3.3.1) [Compare Source](https://togithub.com/sveltejs/language-tools/compare/svelte-check-3.3.0...svelte-check-3.3.1) - (fix) add entries as a valid export ### [`v3.3.0`](https://togithub.com/sveltejs/language-tools/releases/tag/svelte-check-3.3.0) [Compare Source](https://togithub.com/sveltejs/language-tools/compare/svelte-check-3.2.0...svelte-check-3.3.0) - (feat) Auto-typing support for entries ([#​1983](https://togithub.com/sveltejs/language-tools/issues/1983))
vitejs/vite ### [`v4.3.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small435-2023-05-05-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v4.3.4...v4.3.5) - fix: location is not defined error in cleanScssBugUrl ([#​13100](https://togithub.com/vitejs/vite/issues/13100)) ([91d7b67](https://togithub.com/vitejs/vite/commit/91d7b67)), closes [#​13100](https://togithub.com/vitejs/vite/issues/13100) - fix: unwrapId and pass ssr flag when adding to moduleGraph in this.load ([#​13083](https://togithub.com/vitejs/vite/issues/13083)) ([9041e19](https://togithub.com/vitejs/vite/commit/9041e19)), closes [#​13083](https://togithub.com/vitejs/vite/issues/13083) - fix(assetImportMetaUrl): reserve dynamic template literal query params ([#​13034](https://togithub.com/vitejs/vite/issues/13034)) ([7089528](https://togithub.com/vitejs/vite/commit/7089528)), closes [#​13034](https://togithub.com/vitejs/vite/issues/13034) - fix(debug): skip filter object args ([#​13098](https://togithub.com/vitejs/vite/issues/13098)) ([d95a9af](https://togithub.com/vitejs/vite/commit/d95a9af)), closes [#​13098](https://togithub.com/vitejs/vite/issues/13098) - fix(scan): handle html script tag attributes that contain ">" ([#​13101](https://togithub.com/vitejs/vite/issues/13101)) ([8a37de6](https://togithub.com/vitejs/vite/commit/8a37de6)), closes [#​13101](https://togithub.com/vitejs/vite/issues/13101) - fix(ssr): ignore \__esModule for ssrExportAll ([#​13084](https://togithub.com/vitejs/vite/issues/13084)) ([8a8ea1d](https://togithub.com/vitejs/vite/commit/8a8ea1d)), closes [#​13084](https://togithub.com/vitejs/vite/issues/13084) ### [`v4.3.4`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small434-2023-05-02-small) [Compare Source](https://togithub.com/vitejs/vite/compare/v4.3.3...v4.3.4) - fix(define): incorrect raw expression value type in build ([#​13003](https://togithub.com/vitejs/vite/issues/13003)) ([8f4cf07](https://togithub.com/vitejs/vite/commit/8f4cf07)), closes [#​13003](https://togithub.com/vitejs/vite/issues/13003) - fix(importAnalysisBuild): support parsing '**VITE_PRELOAD**' ([#​13023](https://togithub.com/vitejs/vite/issues/13023)) ([447df7c](https://togithub.com/vitejs/vite/commit/447df7c)), closes [#​13023](https://togithub.com/vitejs/vite/issues/13023) - fix(server): should respect hmr port when middlewareMode=false ([#​13040](https://togithub.com/vitejs/vite/issues/13040)) ([1ee0014](https://togithub.com/vitejs/vite/commit/1ee0014)), closes [#​13040](https://togithub.com/vitejs/vite/issues/13040) - fix(ssr): track for statements as block scope ([#​13021](https://togithub.com/vitejs/vite/issues/13021)) ([2f8502f](https://togithub.com/vitejs/vite/commit/2f8502f)), closes [#​13021](https://togithub.com/vitejs/vite/issues/13021) - chore: add changelog for vite 4.2.2 and 3.2.6 ([#​13055](https://togithub.com/vitejs/vite/issues/13055)) ([0c9f1f4](https://togithub.com/vitejs/vite/commit/0c9f1f4)), closes [#​13055](https://togithub.com/vitejs/vite/issues/13055)
vitest-dev/vitest ### [`v0.31.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.31.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0) #####    🚨 Breaking Changes - Remove `browser` from allowed pools inside `poolMatchGlob` config option. Please, use Vitest workspaces for running tests in the browser. - Move assertion declarations to expect package  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3294](https://togithub.com/vitest-dev/vitest/issues/3294) [(cf3af)](https://togithub.com/vitest-dev/vitest/commit/cf3afe2b) - The change should be minor: ```diff - declare namespace Vi { + declare module 'vitest' { interface Assertion extends CustomMatchers {} interface AsymmetricMatchersContaining extends CustomMatchers {} } ``` #####    🚀 Features - Update mock implementation to support ESM runtime, introduce "vi.hoisted"  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3258](https://togithub.com/vitest-dev/vitest/issues/3258) [(0c09a)](https://togithub.com/vitest-dev/vitest/commit/0c09a40d) - Bypass ESM import order restriction with `vi.hoisted` to run code before imports are executed: ```ts vi.hoisted(() => vi.setSystemTime(new Date(2022, 1, 1))) ``` You can also use it to pass variables to `vi.mock`: ```ts const { mockedMethod } = vi.hoisted(() => { return { mockedMethod: vi.fn() } }) vi.mock('./path/to/module.js', () => { return { originalMethod: mockedMethod } }) ``` - Add repeat method to tests  -  by [@​samkevin1](https://togithub.com/samkevin1) in [https://github.com/vitest-dev/vitest/issues/2652](https://togithub.com/vitest-dev/vitest/issues/2652) [(7c8f0)](https://togithub.com/vitest-dev/vitest/commit/7c8f0ba9) - Add an option to hide skipped test lines  -  by [@​g4rry420](https://togithub.com/g4rry420) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/2745](https://togithub.com/vitest-dev/vitest/issues/2745) [(9bdb1)](https://togithub.com/vitest-dev/vitest/commit/9bdb1603) - **coverage**: Watermarks for c8  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3254](https://togithub.com/vitest-dev/vitest/issues/3254) [(730af)](https://togithub.com/vitest-dev/vitest/commit/730af0b4) - **ui**: Add html coverage  -  by [@​userquin](https://togithub.com/userquin) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3071](https://togithub.com/vitest-dev/vitest/issues/3071) [(e24cd)](https://togithub.com/vitest-dev/vitest/commit/e24cd9b2) - **watch**: Test run cancelling, feat: `--bail` option for cancelling test run  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3163](https://togithub.com/vitest-dev/vitest/issues/3163) [(8d460)](https://togithub.com/vitest-dev/vitest/commit/8d4606eb) #####    🐞 Bug Fixes - Don't call global setup teardown twice  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3188](https://togithub.com/vitest-dev/vitest/issues/3188) [(ba3d1)](https://togithub.com/vitest-dev/vitest/commit/ba3d1338) - Reporter to log version before provider initalizations  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3131](https://togithub.com/vitest-dev/vitest/issues/3131) [(481b1)](https://togithub.com/vitest-dev/vitest/commit/481b1fd2) - Throw an error if Vitest cannot access its internal state  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3250](https://togithub.com/vitest-dev/vitest/issues/3250) [(fbb14)](https://togithub.com/vitest-dev/vitest/commit/fbb1468e) - Warning suppression broken  -  by [@​IceQub3](https://togithub.com/IceQub3) in [https://github.com/vitest-dev/vitest/issues/3270](https://togithub.com/vitest-dev/vitest/issues/3270) and [https://github.com/vitest-dev/vitest/issues/3271](https://togithub.com/vitest-dev/vitest/issues/3271) [(036de)](https://togithub.com/vitest-dev/vitest/commit/036de797) - Show correct diff in "toHaveBeenCalledWith"  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3289](https://togithub.com/vitest-dev/vitest/issues/3289) [(19fcd)](https://togithub.com/vitest-dev/vitest/commit/19fcd8df) - Don't print esm warning, if package name is not found  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3292](https://togithub.com/vitest-dev/vitest/issues/3292) [(62c14)](https://togithub.com/vitest-dev/vitest/commit/62c14cba) - Support exactOptionalPropertyTypes  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3293](https://togithub.com/vitest-dev/vitest/issues/3293) [(ba81d)](https://togithub.com/vitest-dev/vitest/commit/ba81d8a3) - Don't inline vite hmr and rollup types  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3291](https://togithub.com/vitest-dev/vitest/issues/3291) [(1f118)](https://togithub.com/vitest-dev/vitest/commit/1f1189bc) - **browser**: - Failing to load vitest/utils  -  by [@​userquin](https://togithub.com/userquin) in [https://github.com/vitest-dev/vitest/issues/3190](https://togithub.com/vitest-dev/vitest/issues/3190) [(78bad)](https://togithub.com/vitest-dev/vitest/commit/78bad4ab) - **coverage**: - `thresholdAutoUpdate` to work with `perFile`  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3182](https://togithub.com/vitest-dev/vitest/issues/3182) [(29eeb)](https://togithub.com/vitest-dev/vitest/commit/29eebf65) - Throw error if fail to load built-in provider  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3217](https://togithub.com/vitest-dev/vitest/issues/3217) [(0a287)](https://togithub.com/vitest-dev/vitest/commit/0a2875e3) - Stackblitz hangs with c8  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3225](https://togithub.com/vitest-dev/vitest/issues/3225) [(d9fda)](https://togithub.com/vitest-dev/vitest/commit/d9fda2a1) - C8 to ignore vite's generated helpers  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3241](https://togithub.com/vitest-dev/vitest/issues/3241) [(21942)](https://togithub.com/vitest-dev/vitest/commit/21942db0) - Workspaces c8 source maps  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3226](https://togithub.com/vitest-dev/vitest/issues/3226) [(efce3)](https://togithub.com/vitest-dev/vitest/commit/efce3b4d) - **docs**: - Correct typo and broken link to WebdriverIO  -  by [@​nathanbabcock](https://togithub.com/nathanbabcock) in [https://github.com/vitest-dev/vitest/issues/3275](https://togithub.com/vitest-dev/vitest/issues/3275) [(c7da1)](https://togithub.com/vitest-dev/vitest/commit/c7da155f) - **spy**: - Update to set initial implementation through normal logic  -  by [@​Codex-](https://togithub.com/Codex-) in [https://github.com/vitest-dev/vitest/issues/3260](https://togithub.com/vitest-dev/vitest/issues/3260) and [https://github.com/vitest-dev/vitest/issues/3263](https://togithub.com/vitest-dev/vitest/issues/3263) [(c759a)](https://togithub.com/vitest-dev/vitest/commit/c759a9aa) - **vite-node**: - Circular imports  -  by [@​antfu](https://togithub.com/antfu) in [https://github.com/vitest-dev/vitest/issues/3196](https://togithub.com/vitest-dev/vitest/issues/3196) [(cbb59)](https://togithub.com/vitest-dev/vitest/commit/cbb593a8) - Add missing `import.meta.hot.send` mock  -  by [@​antfu](https://togithub.com/antfu) [(b1624)](https://togithub.com/vitest-dev/vitest/commit/b1624db5) - **vitest**: - Also check for vite relative to vitest package  -  by [@​JoshuaKGoldberg](https://togithub.com/JoshuaKGoldberg) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3274](https://togithub.com/vitest-dev/vitest/issues/3274) [(a3393)](https://togithub.com/vitest-dev/vitest/commit/a3393b15) - **watch**: - Run test files when added to filesystem  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3189](https://togithub.com/vitest-dev/vitest/issues/3189) [(7b2c8)](https://togithub.com/vitest-dev/vitest/commit/7b2c81bc) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.30.1...v0.31.0)

Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (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.