From c1e0a0da133b0bbc99f961a8615aa2310d458c95 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 15 Aug 2023 16:32:39 +0200 Subject: [PATCH] chore(deps): update dependency vitest to v0.34.1 (#32) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) | [`0.31.0` -> `0.34.1`](https://renovatebot.com/diffs/npm/vitest/0.31.0/0.34.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/0.31.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/0.31.0/0.34.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
vitest-dev/vitest (vitest) ### [`v0.34.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) #####    🐞 Bug Fixes - Pass `--experimental-vm-worker-memory-limit` to `tinypool`  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3856](https://togithub.com/vitest-dev/vitest/issues/3856) [(3c67a)](https://togithub.com/vitest-dev/vitest/commit/3c67a4cb) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.34.0...v0.34.1) ### [`v0.34.0`](https://togithub.com/vitest-dev/vitest/releases/tag/v0.34.0) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) #####    🚨 Breaking Changes - Transform mode affects only test files, not regular files  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3491](https://togithub.com/vitest-dev/vitest/issues/3491) [(9608b)](https://togithub.com/vitest-dev/vitest/commit/9608bf72) - `transformMode` is now moved to `server.transformMode`. This option is highly discouraged to use. If you need to change the transform mode, use the new option `testTransformMode` instead to control the mode based on the running test, not the current file path. By default, tests with `jsdom` or `happy-dom` use `web` transform mode, and tests using `node` or `edge` environment use `ssr` mode. If you have a custom environment, it should provide `transformMode` property. - Disable `coverage.reportOnFailure` by default  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3615](https://togithub.com/vitest-dev/vitest/issues/3615) [(0c6f6)](https://togithub.com/vitest-dev/vitest/commit/0c6f624f) - Remove `@vitest/coverage-c8` package  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3614](https://togithub.com/vitest-dev/vitest/issues/3614) [(a90d6)](https://togithub.com/vitest-dev/vitest/commit/a90d64fe) - `@vitest/coverage-c8` is no longer supported. Please, use `@vitest/coverage-v8` instead. - Support running tests using VM context  -  by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3203](https://togithub.com/vitest-dev/vitest/issues/3203) [(b0929)](https://togithub.com/vitest-dev/vitest/commit/b0929852) - To address speed issues in some applications, Vitest now provides `experimentalVmThreads` pool to run your tests using VM Sandboxes environment. Make sure you understand [all pitfalls](https://vitest.dev/config/#experimentalvmthreads) of this pool before opening an issue. - Introduce `server` option  -  by [@​fenghan34](https://togithub.com/fenghan34) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3725](https://togithub.com/vitest-dev/vitest/issues/3725) [(dc4fa)](https://togithub.com/vitest-dev/vitest/commit/dc4faf64) - Most of `deps.` options are now moved to `server.deps` with a deprecation warning. Please, consider using `deps.optimizer` instead of `deps.inline`/`deps.external`. Ideally, we would like to move away from using `server.deps.inline` altogether. - **vite-node**: Make CLI arguments parsing behavior consistent with node/tsx/ts-node  -  by [@​rxliuli](https://togithub.com/rxliuli) in [https://github.com/vitest-dev/vitest/issues/3574](https://togithub.com/vitest-dev/vitest/issues/3574) [(1cd4e)](https://togithub.com/vitest-dev/vitest/commit/1cd4eb0f) - You now have to provide CLI arguments before the entry point. For example, instead of `vite-node index.ts --watch`, you now have to do `vite-node --watch index.ts`. - Add preact example, remove optimizer experimental status, enable by default  -  by [@​sheremet-va](https://togithub.com/sheremet-va) and [@​eryue0220](https://togithub.com/eryue0220) in [https://github.com/vitest-dev/vitest/issues/3854](https://togithub.com/vitest-dev/vitest/issues/3854) [(4b946)](https://togithub.com/vitest-dev/vitest/commit/4b946ca9) - `deps.optimizer` is now enabled by default. This means that Vitest will bundle specified dependencies before running your tests. This field inherits options from `optimizeDeps` and `ssr.optimizeDeps` which are populated by other plugins (like, Svelte). #####    🚀 Features - Support `describe.sequential`  -  by [@​fenghan34](https://togithub.com/fenghan34) and [@​dammy001](https://togithub.com/dammy001) in [https://github.com/vitest-dev/vitest/issues/3771](https://togithub.com/vitest-dev/vitest/issues/3771) [(86934)](https://togithub.com/vitest-dev/vitest/commit/8693449b) - Support config junit reporter className with env  -  by [@​InfiniteXyy](https://togithub.com/InfiniteXyy) in [https://github.com/vitest-dev/vitest/issues/3808](https://togithub.com/vitest-dev/vitest/issues/3808) [(e8bc4)](https://togithub.com/vitest-dev/vitest/commit/e8bc46b6) - Running vitest with `--related --watch` reruns non-affected tests if they were changed during a run  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3844](https://togithub.com/vitest-dev/vitest/issues/3844) [(c9aea)](https://togithub.com/vitest-dev/vitest/commit/c9aeac4c) #####    🐞 Bug Fixes - Isolate workers between envs and workspaces  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) [(ed4e0)](https://togithub.com/vitest-dev/vitest/commit/ed4e0424) - Modify condition  -  by [@​btea](https://togithub.com/btea) [(a78e6)](https://togithub.com/vitest-dev/vitest/commit/a78e6bd0) - Module Graph view is blocking the Console view  -  by [@​g4rry420](https://togithub.com/g4rry420) [(3b5f9)](https://togithub.com/vitest-dev/vitest/commit/3b5f96bc) - Port the latest `defineConfig` type from vite  -  by [@​sodatea](https://togithub.com/sodatea) in [https://github.com/vitest-dev/vitest/issues/3804](https://togithub.com/vitest-dev/vitest/issues/3804) [(9c8e3)](https://togithub.com/vitest-dev/vitest/commit/9c8e3083) - Don't overwrite Node.js URL global  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3828](https://togithub.com/vitest-dev/vitest/issues/3828) [(cdab4)](https://togithub.com/vitest-dev/vitest/commit/cdab4651) - ForceRerunTriggers correctly triggers a rerun  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3829](https://togithub.com/vitest-dev/vitest/issues/3829) [(17988)](https://togithub.com/vitest-dev/vitest/commit/17988e51) - **browser**: - Don't inline magic-string and estree-walker  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3726](https://togithub.com/vitest-dev/vitest/issues/3726) [(ee937)](https://togithub.com/vitest-dev/vitest/commit/ee93762a) - Multi-suite coverage  -  by [@​elby22](https://togithub.com/elby22) in [https://github.com/vitest-dev/vitest/issues/3806](https://togithub.com/vitest-dev/vitest/issues/3806) [(5de9a)](https://togithub.com/vitest-dev/vitest/commit/5de9af26) - **core**: - DataView comparison does not work in `toStrictEqual`  -  by [@​Dunqing](https://togithub.com/Dunqing) [(52aef)](https://togithub.com/vitest-dev/vitest/commit/52aef92e) - **coverage**: - V8 provider to pick source maps without url query params  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3784](https://togithub.com/vitest-dev/vitest/issues/3784) [(280e6)](https://togithub.com/vitest-dev/vitest/commit/280e6745) - Update `istanbul-lib-instrument` to v6 to fix vulnerable dependency  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3814](https://togithub.com/vitest-dev/vitest/issues/3814) [(f3bd9)](https://togithub.com/vitest-dev/vitest/commit/f3bd9102) - Exclude vite virtual modules by default  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3794](https://togithub.com/vitest-dev/vitest/issues/3794) [(3c851)](https://togithub.com/vitest-dev/vitest/commit/3c851872) - **node**: - Guard error info  -  by [@​btea](https://togithub.com/btea) [(88b39)](https://togithub.com/vitest-dev/vitest/commit/88b39758) - **vite-node**: - Always treat node_modules as modulesDirectory  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3830](https://togithub.com/vitest-dev/vitest/issues/3830) [(51ab8)](https://togithub.com/vitest-dev/vitest/commit/51ab8d6c) - Normalize drive letter to keep the same reference to a module  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3836](https://togithub.com/vitest-dev/vitest/issues/3836) [(45521)](https://togithub.com/vitest-dev/vitest/commit/45521859) - Correctly resolve hmr filepath  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/3834](https://togithub.com/vitest-dev/vitest/issues/3834) [(711a6)](https://togithub.com/vitest-dev/vitest/commit/711a6249) - **watch**: - Clear screen on all terminals  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/3661](https://togithub.com/vitest-dev/vitest/issues/3661) [(8bd26)](https://togithub.com/vitest-dev/vitest/commit/8bd26b01) #####    🏎 Performance - Deprecate deps.registerNodeLoader  -  by [@​sheremet-va](https://togithub.com/sheremet-va) [(7f45b)](https://togithub.com/vitest-dev/vitest/commit/7f45bf2d) - This option was introduced to support aliasing inside external packages. Please, use `deps.optimizer.web` instead. If you test Node.js applications, consider adding external packages to `server.deps.inline`. #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v0.33.0...v0.34.0) ### [`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)
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am 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. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] 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/kivra/toybox). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Marcus Tisäter <77273035+marcustisater-kivra@users.noreply.github.com> --- package-lock.json | 668 ++++++++++++++++------------------------------ package.json | 2 +- 2 files changed, 228 insertions(+), 442 deletions(-) diff --git a/package-lock.json b/package-lock.json index ecd44b4..e84b25c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,7 +35,7 @@ "react": "18.2.0", "react-dom": "18.2.0", "typescript": "4.9.5", - "vitest": "0.31.0" + "vitest": "0.34.1" }, "peerDependencies": { "react": ">=18.2.0", @@ -915,6 +915,18 @@ "react-dom": ">=16.8.0" } }, + "node_modules/@jest/schemas": { + "version": "29.6.0", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.0.tgz", + "integrity": "sha512-rxLjXyJBTL4LQeJW3aKo0M/+GkCOXsO+8i9Iu7eDb6KwtP65ayoDsitrdPBtujxQ88k4wI2FNYfa6TOGwSn6cQ==", + "dev": true, + "dependencies": { + "@sinclair/typebox": "^0.27.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", @@ -1561,6 +1573,12 @@ "react": "^16.8 || ^17.0 || ^18.0" } }, + "node_modules/@sinclair/typebox": { + "version": "0.27.8", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", + "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", + "dev": true + }, "node_modules/@types/body-parser": { "version": "1.19.2", "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", @@ -1740,13 +1758,13 @@ } }, "node_modules/@vitest/expect": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.31.0.tgz", - "integrity": "sha512-Jlm8ZTyp6vMY9iz9Ny9a0BHnCG4fqBa8neCF6Pk/c/6vkUk49Ls6UBlgGAU82QnzzoaUs9E/mUhq/eq9uMOv/g==", + "version": "0.34.1", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.34.1.tgz", + "integrity": "sha512-q2CD8+XIsQ+tHwypnoCk8Mnv5e6afLFvinVGCq3/BOT4kQdVQmY6rRfyKkwcg635lbliLPqbunXZr+L1ssUWiQ==", "dev": true, "dependencies": { - "@vitest/spy": "0.31.0", - "@vitest/utils": "0.31.0", + "@vitest/spy": "0.34.1", + "@vitest/utils": "0.34.1", "chai": "^4.3.7" }, "funding": { @@ -1754,67 +1772,54 @@ } }, "node_modules/@vitest/runner": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-0.31.0.tgz", - "integrity": "sha512-H1OE+Ly7JFeBwnpHTrKyCNm/oZgr+16N4qIlzzqSG/YRQDATBYmJb/KUn3GrZaiQQyL7GwpNHVZxSQd6juLCgw==", + "version": "0.34.1", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-0.34.1.tgz", + "integrity": "sha512-YfQMpYzDsYB7yqgmlxZ06NI4LurHWfrH7Wy3Pvf/z/vwUSgq1zLAb1lWcItCzQG+NVox+VvzlKQrYEXb47645g==", "dev": true, "dependencies": { - "@vitest/utils": "0.31.0", - "concordance": "^5.0.4", + "@vitest/utils": "0.34.1", "p-limit": "^4.0.0", - "pathe": "^1.1.0" + "pathe": "^1.1.1" }, "funding": { "url": "https://opencollective.com/vitest" } }, "node_modules/@vitest/snapshot": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-0.31.0.tgz", - "integrity": "sha512-5dTXhbHnyUMTMOujZPB0wjFjQ6q5x9c8TvAsSPUNKjp1tVU7i9pbqcKPqntyu2oXtmVxKbuHCqrOd+Ft60r4tg==", + "version": "0.34.1", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-0.34.1.tgz", + "integrity": "sha512-0O9LfLU0114OqdF8lENlrLsnn024Tb1CsS9UwG0YMWY2oGTQfPtkW+B/7ieyv0X9R2Oijhi3caB1xgGgEgclSQ==", "dev": true, "dependencies": { - "magic-string": "^0.30.0", - "pathe": "^1.1.0", - "pretty-format": "^27.5.1" + "magic-string": "^0.30.1", + "pathe": "^1.1.1", + "pretty-format": "^29.5.0" }, "funding": { "url": "https://opencollective.com/vitest" } }, - "node_modules/@vitest/snapshot/node_modules/magic-string": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.0.tgz", - "integrity": "sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==", - "dev": true, - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.4.13" - }, - "engines": { - "node": ">=12" - } - }, "node_modules/@vitest/spy": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-0.31.0.tgz", - "integrity": "sha512-IzCEQ85RN26GqjQNkYahgVLLkULOxOm5H/t364LG0JYb3Apg0PsYCHLBYGA006+SVRMWhQvHlBBCyuByAMFmkg==", + "version": "0.34.1", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-0.34.1.tgz", + "integrity": "sha512-UT4WcI3EAPUNO8n6y9QoEqynGGEPmmRxC+cLzneFFXpmacivjHZsNbiKD88KUScv5DCHVDgdBsLD7O7s1enFcQ==", "dev": true, "dependencies": { - "tinyspy": "^2.1.0" + "tinyspy": "^2.1.1" }, "funding": { "url": "https://opencollective.com/vitest" } }, "node_modules/@vitest/utils": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-0.31.0.tgz", - "integrity": "sha512-kahaRyLX7GS1urekRXN2752X4gIgOGVX4Wo8eDUGUkTWlGpXzf5ZS6N9RUUS+Re3XEE8nVGqNyxkSxF5HXlGhQ==", + "version": "0.34.1", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-0.34.1.tgz", + "integrity": "sha512-/ql9dsFi4iuEbiNcjNHQWXBum7aL8pyhxvfnD9gNtbjR9fUKAjxhj4AA3yfLXg6gJpMGGecvtF8Au2G9y3q47Q==", "dev": true, "dependencies": { - "concordance": "^5.0.4", + "diff-sequences": "^29.4.3", "loupe": "^2.3.6", - "pretty-format": "^27.5.1" + "pretty-format": "^29.5.0" }, "funding": { "url": "https://opencollective.com/vitest" @@ -1833,9 +1838,9 @@ } }, "node_modules/acorn": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", - "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", + "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -1853,15 +1858,6 @@ "node": ">=0.4.0" } }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", @@ -1912,12 +1908,6 @@ "npm": ">=6" } }, - "node_modules/blueimp-md5": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/blueimp-md5/-/blueimp-md5-2.19.0.tgz", - "integrity": "sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==", - "dev": true - }, "node_modules/body-parser": { "version": "1.20.1", "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", @@ -2106,40 +2096,6 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" }, - "node_modules/concordance": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/concordance/-/concordance-5.0.4.tgz", - "integrity": "sha512-OAcsnTEYu1ARJqWVGwf4zh4JDfHZEaSNlNccFmt8YjB2l/n19/PF2viLINHc57vO4FKIAFl2FWASIGZZWZ2Kxw==", - "dev": true, - "dependencies": { - "date-time": "^3.1.0", - "esutils": "^2.0.3", - "fast-diff": "^1.2.0", - "js-string-escape": "^1.0.1", - "lodash": "^4.17.15", - "md5-hex": "^3.0.1", - "semver": "^7.3.2", - "well-known-symbols": "^2.0.0" - }, - "engines": { - "node": ">=10.18.0 <11 || >=12.14.0 <13 || >=14" - } - }, - "node_modules/concordance/node_modules/semver": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/content-disposition": { "version": "0.5.4", "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", @@ -2197,18 +2153,6 @@ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.9.tgz", "integrity": "sha512-rpw6JPxK6Rfg1zLOYCSwle2GFOOsnjmDYDaBwEcwoOg4qlsIVCN789VkBZDJAGi4T07gI4YSutR43t9Zz4Lzuw==" }, - "node_modules/date-time": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/date-time/-/date-time-3.1.0.tgz", - "integrity": "sha512-uqCUKXE5q1PNBXjPqvwhwJf9SwMoAHBgWJ6DcrnS5o+W2JOiIILl0JEdVD8SGujrNS02GGxgwAg2PN2zONgtjg==", - "dev": true, - "dependencies": { - "time-zone": "^1.0.0" - }, - "engines": { - "node": ">=6" - } - }, "node_modules/debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -2259,6 +2203,15 @@ "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz", "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==" }, + "node_modules/diff-sequences": { + "version": "29.4.3", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.4.3.tgz", + "integrity": "sha512-ofrBgwpPhCD85kMKtE9RYFFq6OC1A89oW2vvgWZNCwxrUpRUILopY7lsYyMDSjc8g6U6aiO0Qubg6r4Wgt5ZnA==", + "dev": true, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, "node_modules/ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", @@ -2645,15 +2598,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/etag": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", @@ -2716,12 +2660,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" }, - "node_modules/fast-diff": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", - "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", - "dev": true - }, "node_modules/finalhandler": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", @@ -2971,15 +2909,6 @@ "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==" }, - "node_modules/js-string-escape": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/js-string-escape/-/js-string-escape-1.0.1.tgz", - "integrity": "sha512-Smw4xcfIQ5LVjAOuJCvN/zIodzA/BBSsluuoSykP+lUvScIi4U6RJLfwHet5cxFnCswUjISV8oAXaqaJDY3chg==", - "dev": true, - "engines": { - "node": ">= 0.8" - } - }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -3035,12 +2964,6 @@ "url": "https://github.com/sponsors/antfu" } }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, "node_modules/loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", @@ -3061,18 +2984,24 @@ "get-func-name": "^2.0.0" } }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "node_modules/magic-string": { + "version": "0.30.2", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.2.tgz", + "integrity": "sha512-lNZdu7pewtq/ZvWUp9Wpf/x7WzMTsR26TWV03BRZrXFsv+BI6dy8RAiKgm1uM/kyR0rCfUcqvOlXKG66KhIGug==", "dev": true, "dependencies": { - "yallist": "^4.0.0" + "@jridgewell/sourcemap-codec": "^1.4.15" }, "engines": { - "node": ">=10" + "node": ">=12" } }, + "node_modules/magic-string/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", + "dev": true + }, "node_modules/markdown-to-jsx": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/markdown-to-jsx/-/markdown-to-jsx-7.2.0.tgz", @@ -3084,18 +3013,6 @@ "react": ">= 0.14.0" } }, - "node_modules/md5-hex": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/md5-hex/-/md5-hex-3.0.1.tgz", - "integrity": "sha512-BUiRtTtV39LIJwinWBjqVsU9xhdnz7/i889V859IBFpuqGAj6LuOvHv5XLbgZ2R7ptJoJaEcxkv88/h25T7Ciw==", - "dev": true, - "dependencies": { - "blueimp-md5": "^2.10.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -3148,15 +3065,15 @@ } }, "node_modules/mlly": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.2.0.tgz", - "integrity": "sha512-+c7A3CV0KGdKcylsI6khWyts/CYrGTrRVo4R/I7u/cUsy0Conxa6LUhiEzVKIw14lc2L5aiO4+SeVe4TeGRKww==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.4.0.tgz", + "integrity": "sha512-ua8PAThnTwpprIaU47EPeZ/bPUVp2QYBbWMphUQpVdBI3Lgqzm5KZQ45Agm3YJedHXaIHl6pBGabaLSUPPSptg==", "dev": true, "dependencies": { - "acorn": "^8.8.2", - "pathe": "^1.1.0", - "pkg-types": "^1.0.2", - "ufo": "^1.1.1" + "acorn": "^8.9.0", + "pathe": "^1.1.1", + "pkg-types": "^1.0.3", + "ufo": "^1.1.2" } }, "node_modules/mobx": { @@ -3321,9 +3238,9 @@ } }, "node_modules/pathe": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.0.tgz", - "integrity": "sha512-ODbEPR0KKHqECXW1GoxdDb+AZvULmXjVPy4rt+pGo2+TnjJTIPJQSVS6N63n8T2Ip+syHhbn52OewKicV0373w==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.1.tgz", + "integrity": "sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==", "dev": true }, "node_modules/pathval": { @@ -3379,17 +3296,17 @@ } }, "node_modules/pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "version": "29.6.2", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.6.2.tgz", + "integrity": "sha512-1q0oC8eRveTg5nnBEWMXAU2qpv65Gnuf2eCQzSjxpWFkPaPARwqZZDGuNE0zPAZfTCHzIk3A8dIjwlQKKLphyg==", "dev": true, "dependencies": { - "ansi-regex": "^5.0.1", + "@jest/schemas": "^29.6.0", "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" + "react-is": "^18.0.0" }, "engines": { - "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0" + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/pretty-format/node_modules/ansi-styles": { @@ -3405,9 +3322,9 @@ } }, "node_modules/pretty-format/node_modules/react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", + "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", "dev": true }, "node_modules/prism-react-renderer": { @@ -3887,15 +3804,6 @@ "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.1.2.tgz", "integrity": "sha512-qCN98uP7i9z0fIS4amQ5zbGBOq+OSigYeGvPy7NDk8Y9yncqDZ9pRPgfsc2PJIVM9RrJj7GIfuRgmjoUU9zTHQ==" }, - "node_modules/time-zone": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/time-zone/-/time-zone-1.0.0.tgz", - "integrity": "sha512-TIsDdtKo6+XrPtiTm1ssmMngN1sAhyKnTO2kunQWqNPWIVvCm15Wmw4SWInwTVgJ5u/Tr04+8Ei9TNcw4x4ONA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/tiny-invariant": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz", @@ -3913,18 +3821,18 @@ "dev": true }, "node_modules/tinypool": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-0.5.0.tgz", - "integrity": "sha512-paHQtnrlS1QZYKF/GnLoOM/DN9fqaGOFbCbxzAhwniySnzl9Ebk8w73/dd34DAhe/obUbPAOldTyYXQZxnPBPQ==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-0.7.0.tgz", + "integrity": "sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==", "dev": true, "engines": { "node": ">=14.0.0" } }, "node_modules/tinyspy": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-2.1.0.tgz", - "integrity": "sha512-7eORpyqImoOvkQJCSkL0d0mB4NHHIFAy4b1u8PHdDa7SjGS2njzl6/lyGoZLm+eyYEtlUmFGE0rFj66SWxZgQQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-2.1.1.tgz", + "integrity": "sha512-XPJL2uSzcOyBMky6OFrusqWlzfFrXtE0hPuMgW8A2HmaqrPo4ZQHRN/V0QXN3FSjKxpsbRrFc5LI7KOwBsT1/w==", "dev": true, "engines": { "node": ">=14.0.0" @@ -4000,9 +3908,9 @@ } }, "node_modules/ufo": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.1.2.tgz", - "integrity": "sha512-TrY6DsjTQQgyS3E3dBaOXf0TpPD8u9FVrVYmKVegJuFw51n/YB9XPt+U6ydzFG5ZIN7+DIjPbNmXoBj9esYhgQ==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.2.0.tgz", + "integrity": "sha512-RsPyTbqORDNDxqAdQPQBpgqhWle1VcTSou/FraClYlHf6TZnQcGslpLcAphNR+sQW4q5lLWLbOsRlh9j24baQg==", "dev": true }, "node_modules/unpipe": { @@ -4189,15 +4097,15 @@ } }, "node_modules/vite-node": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-0.31.0.tgz", - "integrity": "sha512-8x1x1LNuPvE2vIvkSB7c1mApX5oqlgsxzHQesYF7l5n1gKrEmrClIiZuOFbFDQcjLsmcWSwwmrWrcGWm9Fxc/g==", + "version": "0.34.1", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-0.34.1.tgz", + "integrity": "sha512-odAZAL9xFMuAg8aWd7nSPT+hU8u2r9gU3LRm9QKjxBEF2rRdWpMuqkrkjvyVQEdNFiBctqr2Gg4uJYizm5Le6w==", "dev": true, "dependencies": { "cac": "^6.7.14", "debug": "^4.3.4", - "mlly": "^1.2.0", - "pathe": "^1.1.0", + "mlly": "^1.4.0", + "pathe": "^1.1.1", "picocolors": "^1.0.0", "vite": "^3.0.0 || ^4.0.0" }, @@ -4278,35 +4186,34 @@ } }, "node_modules/vitest": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.31.0.tgz", - "integrity": "sha512-JwWJS9p3GU9GxkG7eBSmr4Q4x4bvVBSswaCFf1PBNHiPx00obfhHRJfgHcnI0ffn+NMlIh9QGvG75FlaIBdKGA==", + "version": "0.34.1", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.34.1.tgz", + "integrity": "sha512-G1PzuBEq9A75XSU88yO5G4vPT20UovbC/2osB2KEuV/FisSIIsw7m5y2xMdB7RsAGHAfg2lPmp2qKr3KWliVlQ==", "dev": true, "dependencies": { - "@types/chai": "^4.3.4", + "@types/chai": "^4.3.5", "@types/chai-subset": "^1.3.3", "@types/node": "*", - "@vitest/expect": "0.31.0", - "@vitest/runner": "0.31.0", - "@vitest/snapshot": "0.31.0", - "@vitest/spy": "0.31.0", - "@vitest/utils": "0.31.0", - "acorn": "^8.8.2", + "@vitest/expect": "0.34.1", + "@vitest/runner": "0.34.1", + "@vitest/snapshot": "0.34.1", + "@vitest/spy": "0.34.1", + "@vitest/utils": "0.34.1", + "acorn": "^8.9.0", "acorn-walk": "^8.2.0", "cac": "^6.7.14", "chai": "^4.3.7", - "concordance": "^5.0.4", "debug": "^4.3.4", "local-pkg": "^0.4.3", - "magic-string": "^0.30.0", - "pathe": "^1.1.0", + "magic-string": "^0.30.1", + "pathe": "^1.1.1", "picocolors": "^1.0.0", - "std-env": "^3.3.2", + "std-env": "^3.3.3", "strip-literal": "^1.0.1", - "tinybench": "^2.4.0", - "tinypool": "^0.5.0", + "tinybench": "^2.5.0", + "tinypool": "^0.7.0", "vite": "^3.0.0 || ^4.0.0", - "vite-node": "0.31.0", + "vite-node": "0.34.1", "why-is-node-running": "^2.2.2" }, "bin": { @@ -4355,27 +4262,6 @@ } } }, - "node_modules/vitest/node_modules/magic-string": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.0.tgz", - "integrity": "sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==", - "dev": true, - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.4.13" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/well-known-symbols": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/well-known-symbols/-/well-known-symbols-2.0.0.tgz", - "integrity": "sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/why-is-node-running": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.2.2.tgz", @@ -4392,12 +4278,6 @@ "node": ">=8" } }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "node_modules/yaml": { "version": "1.10.2", "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", @@ -4971,6 +4851,15 @@ "@floating-ui/dom": "^1.2.1" } }, + "@jest/schemas": { + "version": "29.6.0", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.0.tgz", + "integrity": "sha512-rxLjXyJBTL4LQeJW3aKo0M/+GkCOXsO+8i9Iu7eDb6KwtP65ayoDsitrdPBtujxQ88k4wI2FNYfa6TOGwSn6cQ==", + "dev": true, + "requires": { + "@sinclair/typebox": "^0.27.8" + } + }, "@jridgewell/gen-mapping": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", @@ -5367,6 +5256,12 @@ "@babel/runtime": "^7.13.10" } }, + "@sinclair/typebox": { + "version": "0.27.8", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", + "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", + "dev": true + }, "@types/body-parser": { "version": "1.19.2", "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.2.tgz", @@ -5542,68 +5437,56 @@ } }, "@vitest/expect": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.31.0.tgz", - "integrity": "sha512-Jlm8ZTyp6vMY9iz9Ny9a0BHnCG4fqBa8neCF6Pk/c/6vkUk49Ls6UBlgGAU82QnzzoaUs9E/mUhq/eq9uMOv/g==", + "version": "0.34.1", + "resolved": "https://registry.npmjs.org/@vitest/expect/-/expect-0.34.1.tgz", + "integrity": "sha512-q2CD8+XIsQ+tHwypnoCk8Mnv5e6afLFvinVGCq3/BOT4kQdVQmY6rRfyKkwcg635lbliLPqbunXZr+L1ssUWiQ==", "dev": true, "requires": { - "@vitest/spy": "0.31.0", - "@vitest/utils": "0.31.0", + "@vitest/spy": "0.34.1", + "@vitest/utils": "0.34.1", "chai": "^4.3.7" } }, "@vitest/runner": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-0.31.0.tgz", - "integrity": "sha512-H1OE+Ly7JFeBwnpHTrKyCNm/oZgr+16N4qIlzzqSG/YRQDATBYmJb/KUn3GrZaiQQyL7GwpNHVZxSQd6juLCgw==", + "version": "0.34.1", + "resolved": "https://registry.npmjs.org/@vitest/runner/-/runner-0.34.1.tgz", + "integrity": "sha512-YfQMpYzDsYB7yqgmlxZ06NI4LurHWfrH7Wy3Pvf/z/vwUSgq1zLAb1lWcItCzQG+NVox+VvzlKQrYEXb47645g==", "dev": true, "requires": { - "@vitest/utils": "0.31.0", - "concordance": "^5.0.4", + "@vitest/utils": "0.34.1", "p-limit": "^4.0.0", - "pathe": "^1.1.0" + "pathe": "^1.1.1" } }, "@vitest/snapshot": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-0.31.0.tgz", - "integrity": "sha512-5dTXhbHnyUMTMOujZPB0wjFjQ6q5x9c8TvAsSPUNKjp1tVU7i9pbqcKPqntyu2oXtmVxKbuHCqrOd+Ft60r4tg==", + "version": "0.34.1", + "resolved": "https://registry.npmjs.org/@vitest/snapshot/-/snapshot-0.34.1.tgz", + "integrity": "sha512-0O9LfLU0114OqdF8lENlrLsnn024Tb1CsS9UwG0YMWY2oGTQfPtkW+B/7ieyv0X9R2Oijhi3caB1xgGgEgclSQ==", "dev": true, "requires": { - "magic-string": "^0.30.0", - "pathe": "^1.1.0", - "pretty-format": "^27.5.1" - }, - "dependencies": { - "magic-string": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.0.tgz", - "integrity": "sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==", - "dev": true, - "requires": { - "@jridgewell/sourcemap-codec": "^1.4.13" - } - } + "magic-string": "^0.30.1", + "pathe": "^1.1.1", + "pretty-format": "^29.5.0" } }, "@vitest/spy": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-0.31.0.tgz", - "integrity": "sha512-IzCEQ85RN26GqjQNkYahgVLLkULOxOm5H/t364LG0JYb3Apg0PsYCHLBYGA006+SVRMWhQvHlBBCyuByAMFmkg==", + "version": "0.34.1", + "resolved": "https://registry.npmjs.org/@vitest/spy/-/spy-0.34.1.tgz", + "integrity": "sha512-UT4WcI3EAPUNO8n6y9QoEqynGGEPmmRxC+cLzneFFXpmacivjHZsNbiKD88KUScv5DCHVDgdBsLD7O7s1enFcQ==", "dev": true, "requires": { - "tinyspy": "^2.1.0" + "tinyspy": "^2.1.1" } }, "@vitest/utils": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-0.31.0.tgz", - "integrity": "sha512-kahaRyLX7GS1urekRXN2752X4gIgOGVX4Wo8eDUGUkTWlGpXzf5ZS6N9RUUS+Re3XEE8nVGqNyxkSxF5HXlGhQ==", + "version": "0.34.1", + "resolved": "https://registry.npmjs.org/@vitest/utils/-/utils-0.34.1.tgz", + "integrity": "sha512-/ql9dsFi4iuEbiNcjNHQWXBum7aL8pyhxvfnD9gNtbjR9fUKAjxhj4AA3yfLXg6gJpMGGecvtF8Au2G9y3q47Q==", "dev": true, "requires": { - "concordance": "^5.0.4", + "diff-sequences": "^29.4.3", "loupe": "^2.3.6", - "pretty-format": "^27.5.1" + "pretty-format": "^29.5.0" } }, "accepts": { @@ -5616,9 +5499,9 @@ } }, "acorn": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", - "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz", + "integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==", "dev": true }, "acorn-walk": { @@ -5627,12 +5510,6 @@ "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", "dev": true }, - "ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true - }, "ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", @@ -5670,12 +5547,6 @@ "resolve": "^1.19.0" } }, - "blueimp-md5": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/blueimp-md5/-/blueimp-md5-2.19.0.tgz", - "integrity": "sha512-DRQrD6gJyy8FbiE4s+bDoXS9hiW3Vbx5uCdwvcCf3zLHL+Iv7LtGHLpr+GZV8rHG8tK766FGYBwRbu8pELTt+w==", - "dev": true - }, "body-parser": { "version": "1.20.1", "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz", @@ -5807,33 +5678,6 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" }, - "concordance": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/concordance/-/concordance-5.0.4.tgz", - "integrity": "sha512-OAcsnTEYu1ARJqWVGwf4zh4JDfHZEaSNlNccFmt8YjB2l/n19/PF2viLINHc57vO4FKIAFl2FWASIGZZWZ2Kxw==", - "dev": true, - "requires": { - "date-time": "^3.1.0", - "esutils": "^2.0.3", - "fast-diff": "^1.2.0", - "js-string-escape": "^1.0.1", - "lodash": "^4.17.15", - "md5-hex": "^3.0.1", - "semver": "^7.3.2", - "well-known-symbols": "^2.0.0" - }, - "dependencies": { - "semver": { - "version": "7.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-+XC0AD/R7Q2mPSRuy2Id0+CGTZ98+8f+KvwirxOKIEyid+XSx6HbC63p+O4IndTHuX5Z+JxQ0TghCkO5Cg/2HA==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - } - } - }, "content-disposition": { "version": "0.5.4", "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz", @@ -5879,15 +5723,6 @@ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.9.tgz", "integrity": "sha512-rpw6JPxK6Rfg1zLOYCSwle2GFOOsnjmDYDaBwEcwoOg4qlsIVCN789VkBZDJAGi4T07gI4YSutR43t9Zz4Lzuw==" }, - "date-time": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/date-time/-/date-time-3.1.0.tgz", - "integrity": "sha512-uqCUKXE5q1PNBXjPqvwhwJf9SwMoAHBgWJ6DcrnS5o+W2JOiIILl0JEdVD8SGujrNS02GGxgwAg2PN2zONgtjg==", - "dev": true, - "requires": { - "time-zone": "^1.0.0" - } - }, "debug": { "version": "4.3.4", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", @@ -5920,6 +5755,12 @@ "resolved": "https://registry.npmjs.org/detect-node-es/-/detect-node-es-1.1.0.tgz", "integrity": "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==" }, + "diff-sequences": { + "version": "29.4.3", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.4.3.tgz", + "integrity": "sha512-ofrBgwpPhCD85kMKtE9RYFFq6OC1A89oW2vvgWZNCwxrUpRUILopY7lsYyMDSjc8g6U6aiO0Qubg6r4Wgt5ZnA==", + "dev": true + }, "ee-first": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", @@ -6107,12 +5948,6 @@ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==" }, - "esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true - }, "etag": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", @@ -6171,12 +6006,6 @@ } } }, - "fast-diff": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", - "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", - "dev": true - }, "finalhandler": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", @@ -6367,12 +6196,6 @@ "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", "integrity": "sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==" }, - "js-string-escape": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/js-string-escape/-/js-string-escape-1.0.1.tgz", - "integrity": "sha512-Smw4xcfIQ5LVjAOuJCvN/zIodzA/BBSsluuoSykP+lUvScIi4U6RJLfwHet5cxFnCswUjISV8oAXaqaJDY3chg==", - "dev": true - }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -6410,12 +6233,6 @@ "integrity": "sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g==", "dev": true }, - "lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, "loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", @@ -6433,13 +6250,21 @@ "get-func-name": "^2.0.0" } }, - "lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "magic-string": { + "version": "0.30.2", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.2.tgz", + "integrity": "sha512-lNZdu7pewtq/ZvWUp9Wpf/x7WzMTsR26TWV03BRZrXFsv+BI6dy8RAiKgm1uM/kyR0rCfUcqvOlXKG66KhIGug==", "dev": true, "requires": { - "yallist": "^4.0.0" + "@jridgewell/sourcemap-codec": "^1.4.15" + }, + "dependencies": { + "@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", + "dev": true + } } }, "markdown-to-jsx": { @@ -6448,15 +6273,6 @@ "integrity": "sha512-3l4/Bigjm4bEqjCR6Xr+d4DtM1X6vvtGsMGSjJYyep8RjjIvcWtrXBS8Wbfe1/P+atKNMccpsraESIaWVplzVg==", "requires": {} }, - "md5-hex": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/md5-hex/-/md5-hex-3.0.1.tgz", - "integrity": "sha512-BUiRtTtV39LIJwinWBjqVsU9xhdnz7/i889V859IBFpuqGAj6LuOvHv5XLbgZ2R7ptJoJaEcxkv88/h25T7Ciw==", - "dev": true, - "requires": { - "blueimp-md5": "^2.10.0" - } - }, "media-typer": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", @@ -6491,15 +6307,15 @@ } }, "mlly": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.2.0.tgz", - "integrity": "sha512-+c7A3CV0KGdKcylsI6khWyts/CYrGTrRVo4R/I7u/cUsy0Conxa6LUhiEzVKIw14lc2L5aiO4+SeVe4TeGRKww==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.4.0.tgz", + "integrity": "sha512-ua8PAThnTwpprIaU47EPeZ/bPUVp2QYBbWMphUQpVdBI3Lgqzm5KZQ45Agm3YJedHXaIHl6pBGabaLSUPPSptg==", "dev": true, "requires": { - "acorn": "^8.8.2", - "pathe": "^1.1.0", - "pkg-types": "^1.0.2", - "ufo": "^1.1.1" + "acorn": "^8.9.0", + "pathe": "^1.1.1", + "pkg-types": "^1.0.3", + "ufo": "^1.1.2" } }, "mobx": { @@ -6600,9 +6416,9 @@ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==" }, "pathe": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.0.tgz", - "integrity": "sha512-ODbEPR0KKHqECXW1GoxdDb+AZvULmXjVPy4rt+pGo2+TnjJTIPJQSVS6N63n8T2Ip+syHhbn52OewKicV0373w==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-1.1.1.tgz", + "integrity": "sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q==", "dev": true }, "pathval": { @@ -6638,14 +6454,14 @@ } }, "pretty-format": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz", - "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==", + "version": "29.6.2", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.6.2.tgz", + "integrity": "sha512-1q0oC8eRveTg5nnBEWMXAU2qpv65Gnuf2eCQzSjxpWFkPaPARwqZZDGuNE0zPAZfTCHzIk3A8dIjwlQKKLphyg==", "dev": true, "requires": { - "ansi-regex": "^5.0.1", + "@jest/schemas": "^29.6.0", "ansi-styles": "^5.0.0", - "react-is": "^17.0.1" + "react-is": "^18.0.0" }, "dependencies": { "ansi-styles": { @@ -6655,9 +6471,9 @@ "dev": true }, "react-is": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", - "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==", + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", + "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", "dev": true } } @@ -7008,12 +6824,6 @@ "resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.1.2.tgz", "integrity": "sha512-qCN98uP7i9z0fIS4amQ5zbGBOq+OSigYeGvPy7NDk8Y9yncqDZ9pRPgfsc2PJIVM9RrJj7GIfuRgmjoUU9zTHQ==" }, - "time-zone": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/time-zone/-/time-zone-1.0.0.tgz", - "integrity": "sha512-TIsDdtKo6+XrPtiTm1ssmMngN1sAhyKnTO2kunQWqNPWIVvCm15Wmw4SWInwTVgJ5u/Tr04+8Ei9TNcw4x4ONA==", - "dev": true - }, "tiny-invariant": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.1.tgz", @@ -7031,15 +6841,15 @@ "dev": true }, "tinypool": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-0.5.0.tgz", - "integrity": "sha512-paHQtnrlS1QZYKF/GnLoOM/DN9fqaGOFbCbxzAhwniySnzl9Ebk8w73/dd34DAhe/obUbPAOldTyYXQZxnPBPQ==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/tinypool/-/tinypool-0.7.0.tgz", + "integrity": "sha512-zSYNUlYSMhJ6Zdou4cJwo/p7w5nmAH17GRfU/ui3ctvjXFErXXkruT4MWW6poDeXgCaIBlGLrfU6TbTXxyGMww==", "dev": true }, "tinyspy": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-2.1.0.tgz", - "integrity": "sha512-7eORpyqImoOvkQJCSkL0d0mB4NHHIFAy4b1u8PHdDa7SjGS2njzl6/lyGoZLm+eyYEtlUmFGE0rFj66SWxZgQQ==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/tinyspy/-/tinyspy-2.1.1.tgz", + "integrity": "sha512-XPJL2uSzcOyBMky6OFrusqWlzfFrXtE0hPuMgW8A2HmaqrPo4ZQHRN/V0QXN3FSjKxpsbRrFc5LI7KOwBsT1/w==", "dev": true }, "to-fast-properties": { @@ -7087,9 +6897,9 @@ "dev": true }, "ufo": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.1.2.tgz", - "integrity": "sha512-TrY6DsjTQQgyS3E3dBaOXf0TpPD8u9FVrVYmKVegJuFw51n/YB9XPt+U6ydzFG5ZIN7+DIjPbNmXoBj9esYhgQ==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.2.0.tgz", + "integrity": "sha512-RsPyTbqORDNDxqAdQPQBpgqhWle1VcTSou/FraClYlHf6TZnQcGslpLcAphNR+sQW4q5lLWLbOsRlh9j24baQg==", "dev": true }, "unpipe": { @@ -7213,69 +7023,51 @@ } }, "vite-node": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-0.31.0.tgz", - "integrity": "sha512-8x1x1LNuPvE2vIvkSB7c1mApX5oqlgsxzHQesYF7l5n1gKrEmrClIiZuOFbFDQcjLsmcWSwwmrWrcGWm9Fxc/g==", + "version": "0.34.1", + "resolved": "https://registry.npmjs.org/vite-node/-/vite-node-0.34.1.tgz", + "integrity": "sha512-odAZAL9xFMuAg8aWd7nSPT+hU8u2r9gU3LRm9QKjxBEF2rRdWpMuqkrkjvyVQEdNFiBctqr2Gg4uJYizm5Le6w==", "dev": true, "requires": { "cac": "^6.7.14", "debug": "^4.3.4", - "mlly": "^1.2.0", - "pathe": "^1.1.0", + "mlly": "^1.4.0", + "pathe": "^1.1.1", "picocolors": "^1.0.0", "vite": "^3.0.0 || ^4.0.0" } }, "vitest": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.31.0.tgz", - "integrity": "sha512-JwWJS9p3GU9GxkG7eBSmr4Q4x4bvVBSswaCFf1PBNHiPx00obfhHRJfgHcnI0ffn+NMlIh9QGvG75FlaIBdKGA==", + "version": "0.34.1", + "resolved": "https://registry.npmjs.org/vitest/-/vitest-0.34.1.tgz", + "integrity": "sha512-G1PzuBEq9A75XSU88yO5G4vPT20UovbC/2osB2KEuV/FisSIIsw7m5y2xMdB7RsAGHAfg2lPmp2qKr3KWliVlQ==", "dev": true, "requires": { - "@types/chai": "^4.3.4", + "@types/chai": "^4.3.5", "@types/chai-subset": "^1.3.3", "@types/node": "*", - "@vitest/expect": "0.31.0", - "@vitest/runner": "0.31.0", - "@vitest/snapshot": "0.31.0", - "@vitest/spy": "0.31.0", - "@vitest/utils": "0.31.0", - "acorn": "^8.8.2", + "@vitest/expect": "0.34.1", + "@vitest/runner": "0.34.1", + "@vitest/snapshot": "0.34.1", + "@vitest/spy": "0.34.1", + "@vitest/utils": "0.34.1", + "acorn": "^8.9.0", "acorn-walk": "^8.2.0", "cac": "^6.7.14", "chai": "^4.3.7", - "concordance": "^5.0.4", "debug": "^4.3.4", "local-pkg": "^0.4.3", - "magic-string": "^0.30.0", - "pathe": "^1.1.0", + "magic-string": "^0.30.1", + "pathe": "^1.1.1", "picocolors": "^1.0.0", - "std-env": "^3.3.2", + "std-env": "^3.3.3", "strip-literal": "^1.0.1", - "tinybench": "^2.4.0", - "tinypool": "^0.5.0", + "tinybench": "^2.5.0", + "tinypool": "^0.7.0", "vite": "^3.0.0 || ^4.0.0", - "vite-node": "0.31.0", + "vite-node": "0.34.1", "why-is-node-running": "^2.2.2" - }, - "dependencies": { - "magic-string": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.0.tgz", - "integrity": "sha512-LA+31JYDJLs82r2ScLrlz1GjSgu66ZV518eyWT+S8VhyQn/JL0u9MeBOvQMGYiPk1DBiSN9DDMOcXvigJZaViQ==", - "dev": true, - "requires": { - "@jridgewell/sourcemap-codec": "^1.4.13" - } - } } }, - "well-known-symbols": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/well-known-symbols/-/well-known-symbols-2.0.0.tgz", - "integrity": "sha512-ZMjC3ho+KXo0BfJb7JgtQ5IBuvnShdlACNkKkdsqBmYw3bPAaJfPeYUo6tLUaT5tG/Gkh7xkpBhKRQ9e7pyg9Q==", - "dev": true - }, "why-is-node-running": { "version": "2.2.2", "resolved": "https://registry.npmjs.org/why-is-node-running/-/why-is-node-running-2.2.2.tgz", @@ -7286,12 +7078,6 @@ "stackback": "0.0.2" } }, - "yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, "yaml": { "version": "1.10.2", "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", diff --git a/package.json b/package.json index 4fa1271..c95dcef 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "react": "18.2.0", "react-dom": "18.2.0", "typescript": "4.9.5", - "vitest": "0.31.0" + "vitest": "0.34.1" }, "volta": { "node": "16.13.1"