From f4a7725cedb722349b717f8c56493b86b1c30430 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 21 Aug 2024 20:17:12 +0000 Subject: [PATCH] chore(deps): update dependency vitest to v2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ##### [v2.0.5](https://github.com/vitest-dev/vitest/releases/tag/v2.0.5) #####    🚀 Features - Introduce experimental reported tasks  -  by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6149 [(13d85)](https://github.com/vitest-dev/vitest/commit/13d85bd1) - This is part of the experimental API and doesn't follow semver. We are hoping to stabilize it for 2.1. If you are working with custom reporters, give this a go! #####    🐞 Bug Fixes - Show a difference between string characters if both values are strings  -  by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6191 [(29176)](https://github.com/vitest-dev/vitest/commit/291766d7) - `testNamePattern` adds leading space  -  by [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/6186 [(073a5)](https://github.com/vitest-dev/vitest/commit/073a50c9) - **browser**: - Don't bundle `afterEach` cleanup hooks in node entrypoint  -  by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6192 [(e6fbc)](https://github.com/vitest-dev/vitest/commit/e6fbc620) - UserEvent.setup initiates a separate state for userEvent instance  -  by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6088 [(883f3)](https://github.com/vitest-dev/vitest/commit/883f3482) - Correctly import optimized module in vi.importActual  -  by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6219 [(804ff)](https://github.com/vitest-dev/vitest/commit/804ff2fd) - Passing options to hover/unhover  -  by [@MNeverOff](https://github.com/MNeverOff) in https://github.com/vitest-dev/vitest/issues/6175 [(d4c00)](https://github.com/vitest-dev/vitest/commit/d4c005bc) - Improve unique CSS selector generation  -  by [@zacharyvoase](https://github.com/zacharyvoase) and **Zack Voase** in https://github.com/vitest-dev/vitest/issues/6243 [(e7acd)](https://github.com/vitest-dev/vitest/commit/e7acd0cf) - **vitest**: - Remove nuxt from auto inline deps  -  by [@sheremet-va](https://github.com/sheremet-va) [(93882)](https://github.com/vitest-dev/vitest/commit/93882f38) - Improve `defineProject` and `defineWorkspace` types  -  by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6198 [(8cd82)](https://github.com/vitest-dev/vitest/commit/8cd8272b) - Correctly resolve mocked `node:*` imports in `__mocks__` folder  -  by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6204 [(a48be)](https://github.com/vitest-dev/vitest/commit/a48be6ff) - **web-worker**: - Expose globals on self  -  by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6170 [(12bb5)](https://github.com/vitest-dev/vitest/commit/12bb567e) #####     [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v2.0.4...v2.0.5) ##### [v2.0.4](https://github.com/vitest-dev/vitest/releases/tag/v2.0.4) #####    🐞 Bug Fixes - One-line environment options  -  by [@hahanein](https://github.com/hahanein) in https://github.com/vitest-dev/vitest/issues/5105 [(38269)](https://github.com/vitest-dev/vitest/commit/38269415) - Resolve assets imported with `require`  -  by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6159 [(807a2)](https://github.com/vitest-dev/vitest/commit/807a2cbc) - **browser**: - Don't panic if [@vitest/browser](https://github.com/vitest/browser) is installed outside of project root  -  by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6135 [(ccfcd)](https://github.com/vitest-dev/vitest/commit/ccfcd488) - Set global filepath  -  by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6190 [(0d0b4)](https://github.com/vitest-dev/vitest/commit/0d0b46b1) - Allow preview and open in the editor screenshot error from ui  -  by [@userquin](https://github.com/userquin) in https://github.com/vitest-dev/vitest/issues/6113 [(2d620)](https://github.com/vitest-dev/vitest/commit/2d62051f) - **coverage**: - Global thresholds to include files from glob thresholds  -  by [@thor-juhasz](https://github.com/thor-juhasz) and [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/6172 [(02e3f)](https://github.com/vitest-dev/vitest/commit/02e3f003) - Consistent type-only file handling  -  by [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/6183 [(90576)](https://github.com/vitest-dev/vitest/commit/90576148) - Ignore `*.cts` files  -  by [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/6189 [(5da45)](https://github.com/vitest-dev/vitest/commit/5da45db1) - Add `thresholds..100` option  -  by [@thor-juhasz](https://github.com/thor-juhasz) and [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/6174 [(f6845)](https://github.com/vitest-dev/vitest/commit/f68453f8) - **spy**: - Fix `mockImplementation` for function overload and unions  -  by [@hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/6181 [(7a75b)](https://github.com/vitest-dev/vitest/commit/7a75bd4c) #####     [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v2.0.3...v2.0.4) ##### [v2.0.3](https://github.com/vitest-dev/vitest/releases/tag/v2.0.3) #####    🚀 Features - **ui**: Show all suites/tests when parent matches  -  by [@userquin](https://github.com/userquin) in https://github.com/vitest-dev/vitest/issues/6106 [(840e0)](https://github.com/vitest-dev/vitest/commit/840e02f1) #####    🐞 Bug Fixes - `--inspect-brk` stop on Windows  -  by [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/6110 [(f8519)](https://github.com/vitest-dev/vitest/commit/f851982e) - **browser**: - Don't import from "vite"  -  by [@sheremet-va](https://github.com/sheremet-va) [(35655)](https://github.com/vitest-dev/vitest/commit/35655419) - Allow immidiate reinvalidation of mocked dependencies  -  by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6108 [(f44cc)](https://github.com/vitest-dev/vitest/commit/f44cc917) - **spy**: - Fix type error when assigning `vi.spyOn` to `MockInstance` of function overload  -  by [@hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/6086 [(e9f9a)](https://github.com/vitest-dev/vitest/commit/e9f9adcd) - **vite-node**: - Remove suffix slash on file protocol for window  -  by [@syi0808](https://github.com/syi0808) in https://github.com/vitest-dev/vitest/issues/6109 [(93ebd)](https://github.com/vitest-dev/vitest/commit/93ebdefc) #####     [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v2.0.2...v2.0.3) ##### [v2.0.2](https://github.com/vitest-dev/vitest/compare/v2.0.1...v2.0.2) ##### [v2.0.1](https://github.com/vitest-dev/vitest/releases/tag/v2.0.1) #####    🐞 Bug Fixes - **browser**: Correctly inherit browser config in a workspace  -  by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6054 [(4b03e)](https://github.com/vitest-dev/vitest/commit/4b03e72b) - **ui**: Move virtual scroller to dev dependencies  -  by [@userquin](https://github.com/userquin) in https://github.com/vitest-dev/vitest/issues/6053 [(f94ed)](https://github.com/vitest-dev/vitest/commit/f94ede02) - **vitest**: Print only running files, not every file  -  by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6052 [(4d559)](https://github.com/vitest-dev/vitest/commit/4d5597df) #####     [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/v2.0.0...v2.0.1) ##### [v2.0.0](https://github.com/vitest-dev/vitest/releases/tag/v2.0.0) Vitest 2.0 is here! This release page lists all changes made to the project during the beta. For the migration guide, please refer to the [documentation](https://vitest.dev/guide/migration.html#migrating-to-vitest-2-0). ##### 🚨 Breaking Changes - Simplify mock function generic types and align with jest - by **[@hi-ogawa](https://github.com/hi-ogawa)** in https://github.com/vitest-dev/vitest/pull/4784 [(a0c1d37)](https://github.com/vitest-dev/vitest/commit/a0c1d371edb35abfa0e6f53b05086a54d2ecc0a6) - Remove `--segfault-retry` - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5514 [(ed60e)](https://github.com/vitest-dev/vitest/commit/ed60e405e) - This flag was introduced to combat `threads` segfaults. Our current recommendation is to use the new default `forks` pool instead. - Run suite hooks in a stack - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5609 [(1277d)](https://github.com/vitest-dev/vitest/commit/1277dc1e3) - This feels like a more sensible default. Especially with the new [`onTestFinished`](https://vitest.dev/api/#ontestfinished) hook. This can make your tests run a little bit slower. - Enable `coverage.ignoreEmptyLines` by default - by [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/5543 [(31994)](https://github.com/vitest-dev/vitest/commit/31994942f) - ⚠️ This change may cause significant differences in your coverage results compared to Vitest v1. These changes are expected as coverage reporting is now more accurate. See https://github.com/vitest-dev/vitest/issues/5423 for more details. - Add correct location and snapshot fields in json reporter - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5434 [(bcccc)](https://github.com/vitest-dev/vitest/commit/bcccce6df) - Previously, the `location` field pointed to the error location instead of the test location. Now it is aligned with jest and contains the `line` and `column` of a test function, but requires [`includeTaskLocation`](https://vitest.dev/config/#includeTaskLocation) to be enabled. - Update dependency chai to v5 - by **renovate\[bot]** and [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5135 [(73646)](https://github.com/vitest-dev/vitest/commit/73646b638) - Remove watchExclude - by [@patak-dev](https://github.com/patak-dev) in https://github.com/vitest-dev/vitest/issues/5177 [(d7371)](https://github.com/vitest-dev/vitest/commit/d7371eae3) - Change default `pool` to `'forks'` - by [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/5047 [(7f8f9)](https://github.com/vitest-dev/vitest/commit/7f8f9c0c0) - This change is done for compatibility issues - This pool may be slightly slower than previous `threads` pool: https://vitest.dev/guide/improving-performance.html#pool - `--merge-reports` to support coverage - by [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/5736 [(b7438)](https://github.com/vitest-dev/vitest/commit/b7438b9be) - Add promise-based return assertions, do not auto-resolve returned promises - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5749 [(5f710)](https://github.com/vitest-dev/vitest/commit/5f710182e) - ⚠️ Vitest no longer unwraps promises in `spy.mock.returns`. If the function is async or returns a promise, it will always succeed and have a `Promise` in `results`. To make migration easier, we introduced `spy.mock.settledResults` that unwraps promises and `expect().toHaveResolved()` matcher that accepts unwrapped value. - Do not exit process if global setup has failed - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5726 [(ddb09)](https://github.com/vitest-dev/vitest/commit/ddb09eb12) - Don't exit process if config failed - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5715 [(f232f)](https://github.com/vitest-dev/vitest/commit/f232fdd61) - Add meta to `json` output - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5802 [(dd754)](https://github.com/vitest-dev/vitest/commit/dd754c103) - Rename `indexScripts` to `orchestratorScripts` in the browser config - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5842 [(49f34)](https://github.com/vitest-dev/vitest/commit/49f34ec47) - Add "vitest list" API to print collected tests without running them - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6013 [(583dd)](https://github.com/vitest-dev/vitest/commit/583dd8a98) - ⚠️ This changes the custom `pool` API - now requires `collectTests` method alongside `runTests`. - Remove the empty suite from the runner - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5435 [(dbbbe)](https://github.com/vitest-dev/vitest/commit/dbbbe4304) - Support concurrent suites - by **[@hi-ogawa](https://github.com/hi-ogawa)** in https://github.com/vitest-dev/vitest/pull/5491 [(222ce44)](https://github.com/vitest-dev/vitest/commit/222ce44119bd02bdf0c7546f9db653000616ccfa) ##### 🚀 Features - Pretty print diffs coming from cause - by [@dubzzz](https://github.com/dubzzz) in https://github.com/vitest-dev/vitest/issues/5660 [(6faf8)](https://github.com/vitest-dev/vitest/commit/6faf8f84b) - Allow import statement as vi.mock path for better IDE support - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5690 [(a99a1)](https://github.com/vitest-dev/vitest/commit/a99a14c1c) - Remove deprecated options - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5696 [(5c308)](https://github.com/vitest-dev/vitest/commit/5c308edc6) - Add blob reporter - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5663 [(e2053)](https://github.com/vitest-dev/vitest/commit/e20538a36) - Add expect.poll utility - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5708 [(e2e0f)](https://github.com/vitest-dev/vitest/commit/e2e0ff46a) - Add browser.ui option - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5771 [(a5033)](https://github.com/vitest-dev/vitest/commit/a50330eea) - Add median to `--output-json` - by [@Joristdh](https://github.com/Joristdh) in https://github.com/vitest-dev/vitest/issues/5745 [(0766b)](https://github.com/vitest-dev/vitest/commit/0766b7f72) - Allow augmenting config.test.env - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5784 [(b2469)](https://github.com/vitest-dev/vitest/commit/b24691efd) - Implement module mocking in browser mode - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5765 [(7b2f6)](https://github.com/vitest-dev/vitest/commit/7b2f64cfa) - Allow configuring expect options in the config - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5729 [(fc53f)](https://github.com/vitest-dev/vitest/commit/fc53f5634) - Add an option to print console stack trace - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5720 [(e4fe6)](https://github.com/vitest-dev/vitest/commit/e4fe6f51a) - Add browser frame to UI - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5808 [(3796d)](https://github.com/vitest-dev/vitest/commit/3796dd7e0) - Image type add bmp - by **btea** in https://github.com/vitest-dev/vitest/issues/5921 [(98f9b)](https://github.com/vitest-dev/vitest/commit/98f9b7ab9) - Add an option to return base64 from page.screenshot - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5993 [(be323)](https://github.com/vitest-dev/vitest/commit/be3231763) - Expose `parseAst`, `parseAstAsync` from vite - by [@sheremet-va](https://github.com/sheremet-va) [(f645e)](https://github.com/vitest-dev/vitest/commit/f645e48c5) - **browser**: - Add commands to communicate betweens server and the browser - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5097 [(aa431)](https://github.com/vitest-dev/vitest/commit/aa431f4db) - Do not reload the page during watch mode - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5810 [(e5b9a)](https://github.com/vitest-dev/vitest/commit/e5b9a0be4) - Support changing the viewport - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5811 [(71851)](https://github.com/vitest-dev/vitest/commit/718512d80) - Add browser iframe mouse interaction - by [@userquin](https://github.com/userquin) in https://github.com/vitest-dev/vitest/issues/5815 [(f29b9)](https://github.com/vitest-dev/vitest/commit/f29b9d408) - Support `click` event - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5777 [(839c3)](https://github.com/vitest-dev/vitest/commit/839c39f06) - Rename none provider to preview, make it default - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5826 [(18310)](https://github.com/vitest-dev/vitest/commit/1831008b1) - Run tests in parallel in headless mode, add `page.screenshot` method - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5853 [(81c42)](https://github.com/vitest-dev/vitest/commit/81c42fc8a) - Implement several `userEvent` methods, add `fill` and `dragAndDrop` events - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5882 [(4dbea)](https://github.com/vitest-dev/vitest/commit/4dbea4aed) - Introduce `expect.dom` method and bundle `jest-dom` matchers with `@vitest/browser` - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5910 [(3a96a)](https://github.com/vitest-dev/vitest/commit/3a96a3d0e) - Expose CDP in the browser - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5938 [(bec43)](https://github.com/vitest-dev/vitest/commit/bec434cb6) - Add "init" command for browser tests - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5960 [(49e97)](https://github.com/vitest-dev/vitest/commit/49e973cb9) - Add an option to take screenshots if the browser test fails - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5975 [(154cb)](https://github.com/vitest-dev/vitest/commit/154cb22de) - Add `tripleClick` to interactive api - by [@userquin](https://github.com/userquin) in https://github.com/vitest-dev/vitest/issues/5987 [(200a4)](https://github.com/vitest-dev/vitest/commit/200a4349a) - Playwright provider doesn't allow resizing the browser viewport - by [@userquin](https://github.com/userquin) and [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5984 [(ff978)](https://github.com/vitest-dev/vitest/commit/ff978e58d) - **config**: - Allow percentage value for workers option - by [@syi0808](https://github.com/syi0808) in https://github.com/vitest-dev/vitest/issues/5982 [(b1a27)](https://github.com/vitest-dev/vitest/commit/b1a27d404) - **runner**: - Implement `test.for` - by [@hi-ogawa](https://github.com/hi-ogawa) and [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5861 [(c2380)](https://github.com/vitest-dev/vitest/commit/c238072fd) - **spy**: - Collect mock.contexts - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5955 [(3b31a)](https://github.com/vitest-dev/vitest/commit/3b31a56d5) - **ui**: - Render tests in a tree - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5807 [(7900f)](https://github.com/vitest-dev/vitest/commit/7900f9f89) - Load module graph on tab selection - by [@userquin](https://github.com/userquin) in https://github.com/vitest-dev/vitest/issues/5844 [(b117e)](https://github.com/vitest-dev/vitest/commit/b117e8756) - Replace navigation tree with test explorer - by [@userquin](https://github.com/userquin) in https://github.com/vitest-dev/vitest/issues/5907 [(45dfc)](https://github.com/vitest-dev/vitest/commit/45dfc95ae) - Add initializing explorer logic - by [@userquin](https://github.com/userquin) in https://github.com/vitest-dev/vitest/issues/5941 [(c31c4)](https://github.com/vitest-dev/vitest/commit/c31c41c72) - Add action to explorer item to show the test/suite line in the source code tab - by [@userquin](https://github.com/userquin) and **Anjorin Damilare** in https://github.com/vitest-dev/vitest/issues/5948 [(7ec29)](https://github.com/vitest-dev/vitest/commit/7ec298eb3) - **ws-client**: - Allow change reactive for state, filesMap and idMap - by [@userquin](https://github.com/userquin) in https://github.com/vitest-dev/vitest/issues/5906 [(e6020)](https://github.com/vitest-dev/vitest/commit/e6020b9c2) ##### 🐞 Bug Fixes - Print console statements in vmThreads - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5678 [(34a80)](https://github.com/vitest-dev/vitest/commit/34a80b392) - Repeatable `--exclude` option - by [@fregante](https://github.com/fregante) in https://github.com/vitest-dev/vitest/issues/5782 [(d6700)](https://github.com/vitest-dev/vitest/commit/d6700bbd8) - Remove browser.fileParallelism - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5790 [(b881e)](https://github.com/vitest-dev/vitest/commit/b881e88b2) - Install UI icons - by [@sheremet-va](https://github.com/sheremet-va) [(b84f1)](https://github.com/vitest-dev/vitest/commit/b84f1721d) - Remove process.exit if workspace project failed to be created - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5804 [(a820e)](https://github.com/vitest-dev/vitest/commit/a820e7ac6) - Vi.waitFor/vi.waitUntil interval is now cleared after it times out - by [@pedro00dk](https://github.com/pedro00dk) in https://github.com/vitest-dev/vitest/issues/5875 [(04107)](https://github.com/vitest-dev/vitest/commit/041076e7c) - ToJSON recursive error serialization - by [@eddienubes](https://github.com/eddienubes) in https://github.com/vitest-dev/vitest/issues/5848 and https://github.com/vitest-dev/vitest/issues/5884 [(8d55d)](https://github.com/vitest-dev/vitest/commit/8d55d6bd4) - Print error properties only in verbose reporter - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5917 [(2bd8d)](https://github.com/vitest-dev/vitest/commit/2bd8d9d6f) - Use TTY reporter when running in Deno - by [@marvinhagemeister](https://github.com/marvinhagemeister) in https://github.com/vitest-dev/vitest/issues/5972 [(e0f45)](https://github.com/vitest-dev/vitest/commit/e0f45cb57) - Don't override uppercase - by [@sheremet-va](https://github.com/sheremet-va) [(caef4)](https://github.com/vitest-dev/vitest/commit/caef40a0b) - Clear screen and scrollback on iTerm2 - by [@kxalex](https://github.com/kxalex) in https://github.com/vitest-dev/vitest/issues/5978 [(d7f23)](https://github.com/vitest-dev/vitest/commit/d7f23d08c) - Include pretty-format in [@vitest/runner](https://github.com/vitest/runner) for optimization on npm - by [@sheremet-va](https://github.com/sheremet-va) [(42bd4)](https://github.com/vitest-dev/vitest/commit/42bd4a259) - Transpile esnext to node18 to support newest JS and TS features - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/4409 [(8f65a)](https://github.com/vitest-dev/vitest/commit/8f65ae906) - **api**: - Correct `project.provide` type - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5959 [(0eda9)](https://github.com/vitest-dev/vitest/commit/0eda99de9) - Don't call process.exit manually - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5926 [(e9b63)](https://github.com/vitest-dev/vitest/commit/e9b638d40) - **browser**: - Display UI - by [@sheremet-va](https://github.com/sheremet-va) [(d41e4)](https://github.com/vitest-dev/vitest/commit/d41e46a81) - Browser actions icons colors - by [@userquin](https://github.com/userquin) in https://github.com/vitest-dev/vitest/issues/5816 [(f9d9b)](https://github.com/vitest-dev/vitest/commit/f9d9b3bef) - Restore the original viewport when unselecting the preset viewport - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5821 [(5ebb3)](https://github.com/vitest-dev/vitest/commit/5ebb3abf5) - Don't get stuck after the manual page refresh - by [@sheremet-va](https://github.com/sheremet-va) [(2220b)](https://github.com/vitest-dev/vitest/commit/2220bb3fe) - Use iframe id instead of calculating it from filenames - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5823 [(34a31)](https://github.com/vitest-dev/vitest/commit/34a310da1) - Always clean up iframes on rerun - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5827 [(087fa)](https://github.com/vitest-dev/vitest/commit/087fa87c3) - Support [@testing-library/vue](https://github.com/testing-library/vue) in browser mode out of the box - by [@sheremet-va](https://github.com/sheremet-va) [(76b82)](https://github.com/vitest-dev/vitest/commit/76b82e5b9) - Print correct transformed module graph - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5833 [(a7581)](https://github.com/vitest-dev/vitest/commit/a75815756) - Use `preview` provider when running in StackBlitz - by [@userquin](https://github.com/userquin) in https://github.com/vitest-dev/vitest/issues/5836 [(76e13)](https://github.com/vitest-dev/vitest/commit/76e13587c) - Specify entries for correct deps optimization - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5839 [(c79b3)](https://github.com/vitest-dev/vitest/commit/c79b3f1f9) - Allow iframe to load even if there is a custom CSP header - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5841 [(caaaf)](https://github.com/vitest-dev/vitest/commit/caaafd903) - Don't optimize Vitest dependencies - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5843 [(f15b4)](https://github.com/vitest-dev/vitest/commit/f15b4e99d) - Set server.open to false and move error handling after init - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5845 [(47003)](https://github.com/vitest-dev/vitest/commit/470036794) - Show correct prepare time - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5852 [(52d54)](https://github.com/vitest-dev/vitest/commit/52d545bf9) - Resolve `coverage.reporter` from string values - by [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/5920 [(f33da)](https://github.com/vitest-dev/vitest/commit/f33dabbef) - Correctly update inline snapshot if changed - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5925 [(2380c)](https://github.com/vitest-dev/vitest/commit/2380cb95e) - Remove "util" warning - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5935 [(48f28)](https://github.com/vitest-dev/vitest/commit/48f28f731) - Remove hacky retry - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5971 [(2a2c9)](https://github.com/vitest-dev/vitest/commit/2a2c9085a) - Make userEvent more stable when running in parallel - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5974 [(14a21)](https://github.com/vitest-dev/vitest/commit/14a217d53) - Print screenshot path alongside the test error message - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5992 [(15289)](https://github.com/vitest-dev/vitest/commit/152891b3d) - Print correct stack trace in source files - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6003 [(62aa7)](https://github.com/vitest-dev/vitest/commit/62aa72081) - Correctly mock optimized cjs dependencies - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6035 [(057b4)](https://github.com/vitest-dev/vitest/commit/057b4f34b) - Support shadow root and svg elements - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6036 [(2e3c8)](https://github.com/vitest-dev/vitest/commit/2e3c872ae) - **coverage**: - Clean up empty coverage reports directory - by [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/5731 [(c469c)](https://github.com/vitest-dev/vitest/commit/c469c74d7) - `thresholds.autoUpdate` to support `mergeConfig` - by [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/5818 [(7afb3)](https://github.com/vitest-dev/vitest/commit/7afb3682f) - Pass thresholds errors to `stderr` of `startVitest()` - by [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/5954 [(70805)](https://github.com/vitest-dev/vitest/commit/708051319) - Exclude bench files from coverage - by [@kouak](https://github.com/kouak) in https://github.com/vitest-dev/vitest/issues/5983 [(429e1)](https://github.com/vitest-dev/vitest/commit/429e1a7f8) - Vite to ignore dynamic import of provider - by [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/5998 [(6d884)](https://github.com/vitest-dev/vitest/commit/6d8848e86) - Istanbul to support import attributes - by [@Gravitonic](https://github.com/Gravitonic) in https://github.com/vitest-dev/vitest/issues/6006 [(2898a)](https://github.com/vitest-dev/vitest/commit/2898a525d) - Support overriding `exclude` - by [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/5997 [(169bc)](https://github.com/vitest-dev/vitest/commit/169bc1fde) - Remove work-around for implicit `else` - by [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/6014 [(368c1)](https://github.com/vitest-dev/vitest/commit/368c13728) - **deps**: - Update dependency [@testing-library/dom](https://github.com/testing-library/dom) to v10 - by **renovate\[bot]** in https://github.com/vitest-dev/vitest/issues/5866 [(e9745)](https://github.com/vitest-dev/vitest/commit/e9745997e) - Update vulnerable `test-exclude` to v7 - by [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/5867 [(0a715)](https://github.com/vitest-dev/vitest/commit/0a715946b) - **expect**: - Fix immutable.js iterable equality - by [@hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/5692 [(1532c)](https://github.com/vitest-dev/vitest/commit/1532c19a0) - **forks**: - Resolve `poolOptions..isolate` from `forks` options - by [@AriPerkkio](https://github.com/AriPerkkio) in https://github.com/vitest-dev/vitest/issues/5840 [(a60a1)](https://github.com/vitest-dev/vitest/commit/a60a140ef) - **runner**: - Ensure inner suite { sequential: true } correctly overrides outer suite { concurrent: true } - by [@pengooseDev](https://github.com/pengooseDev) in https://github.com/vitest-dev/vitest/issues/5737 [(a20e7)](https://github.com/vitest-dev/vitest/commit/a20e75b89) - Ensure test.each print -0 and -NaN properly - by [@pengooseDev](https://github.com/pengooseDev) in https://github.com/vitest-dev/vitest/issues/5806 [(9ac8f)](https://github.com/vitest-dev/vitest/commit/9ac8ff9bd) - **snapshot**: - Fix `toMatchFileSnapshot` with empty file - by [@hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/5894 [(88006)](https://github.com/vitest-dev/vitest/commit/8800601d2) - **spy**: - Correctly track constructor's "this" type - by [@sheremet-va](https://github.com/sheremet-va) [(4776e)](https://github.com/vitest-dev/vitest/commit/4776eca1d) - **types**: - Mark pool options as not available in project config - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5934 [(486fd)](https://github.com/vitest-dev/vitest/commit/486fd1169) - **ui**: - Show correct module graph and project name in a Vitest workspace - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5792 [(48c50)](https://github.com/vitest-dev/vitest/commit/48c502fbe) - Update running todo tests inside todo suites (each) - by [@userquin](https://github.com/userquin) in https://github.com/vitest-dev/vitest/issues/5939 [(63ae1)](https://github.com/vitest-dev/vitest/commit/63ae10bd9) - `FileDetails` title status icon not being updated - by [@userquin](https://github.com/userquin) in https://github.com/vitest-dev/vitest/issues/5942 [(e9ddf)](https://github.com/vitest-dev/vitest/commit/e9ddf9ce2) - **ui, browser**: - Disable mouse events when resizing main navigation panel - by [@userquin](https://github.com/userquin) in https://github.com/vitest-dev/vitest/issues/5863 [(7cbd9)](https://github.com/vitest-dev/vitest/commit/7cbd943c7) - **utils**: - Produce valid snapshot names - by [@dubzzz](https://github.com/dubzzz) in https://github.com/vitest-dev/vitest/issues/5724 [(1ec61)](https://github.com/vitest-dev/vitest/commit/1ec61ceee) - Fix color util maximum call stack error - by [@hi-ogawa](https://github.com/hi-ogawa) in https://github.com/vitest-dev/vitest/issues/5733 [(a4ec5)](https://github.com/vitest-dev/vitest/commit/a4ec58319) - Package exports - by [@userquin](https://github.com/userquin) in https://github.com/vitest-dev/vitest/issues/5847 [(07876)](https://github.com/vitest-dev/vitest/commit/07876b7e0) - **vite-node**: - Expose all envs from .env file, not just with a prefix `VITE_` - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6017 [(d87be)](https://github.com/vitest-dev/vitest/commit/d87bef961) - **vitest**: - Expose `provide` to the public API - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5897 [(66e64)](https://github.com/vitest-dev/vitest/commit/66e648ff8) - Cache fs code only for forks pool - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/5909 [(e30d9)](https://github.com/vitest-dev/vitest/commit/e30d9b4d5) - Allow testing unandled rejection/exception - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6016 [(c8d56)](https://github.com/vitest-dev/vitest/commit/c8d56fe5f) - Show all failed tests when rerunning a test - by [@sheremet-va](https://github.com/sheremet-va) in https://github.com/vitest-dev/vitest/issues/6022 [(91ba6)](https://github.com/vitest-dev/vitest/commit/91ba6f95e) ##### [View changes on GitHub](https://github.com/vitest-dev/vitest/compare/6b29f3ddc86060cf3265959d4ae32e90b186cb92...v2.0.0) --- package.json | 2 +- pnpm-lock.yaml | 228 +++++++++++++++++++++---------------------------- 2 files changed, 98 insertions(+), 132 deletions(-) diff --git a/package.json b/package.json index 21fb491a..8ef20232 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "pkg-pr-new": "^0.0.20", "tsx": "^4.7.1", "typescript": "5.5.4", - "vitest": "^1.2.2" + "vitest": "^2.0.0" }, "dependencies": { "@eslint/js": "^8.57.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9286e26b..13011199 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -79,7 +79,7 @@ importers: version: 49.0.0(eslint@8.57.0) eslint-plugin-vitest: specifier: ^0.3.26 - version: 0.3.26(@typescript-eslint/eslint-plugin@7.0.1(@typescript-eslint/parser@7.0.1(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4)(vitest@1.6.0(@types/node@20.16.1)) + version: 0.3.26(@typescript-eslint/eslint-plugin@7.0.1(@typescript-eslint/parser@7.0.1(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4)(vitest@2.0.5(@types/node@20.16.1)) eslint-plugin-wrapper: specifier: 0.1.0-1 version: 0.1.0-1 @@ -121,8 +121,8 @@ importers: specifier: 5.5.4 version: 5.5.4 vitest: - specifier: ^1.2.2 - version: 1.6.0(@types/node@20.16.1) + specifier: ^2.0.0 + version: 2.0.5(@types/node@20.16.1) packages: @@ -1230,20 +1230,23 @@ packages: '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - '@vitest/expect@1.6.0': - resolution: {integrity: sha512-ixEvFVQjycy/oNgHjqsL6AZCDduC+tflRluaHIzKIsdbzkLn2U/iBnVeJwB6HsIjQBdfMR8Z0tRxKUsvFJEeWQ==} + '@vitest/expect@2.0.5': + resolution: {integrity: sha512-yHZtwuP7JZivj65Gxoi8upUN2OzHTi3zVfjwdpu2WrvCZPLwsJ2Ey5ILIPccoW23dd/zQBlJ4/dhi7DWNyXCpA==} - '@vitest/runner@1.6.0': - resolution: {integrity: sha512-P4xgwPjwesuBiHisAVz/LSSZtDjOTPYZVmNAnpHHSR6ONrf8eCJOFRvUwdHn30F5M1fxhqtl7QZQUk2dprIXAg==} + '@vitest/pretty-format@2.0.5': + resolution: {integrity: sha512-h8k+1oWHfwTkyTkb9egzwNMfJAEx4veaPSnMeKbVSjp4euqGSbQlm5+6VHwTr7u4FJslVVsUG5nopCaAYdOmSQ==} - '@vitest/snapshot@1.6.0': - resolution: {integrity: sha512-+Hx43f8Chus+DCmygqqfetcAZrDJwvTj0ymqjQq4CvmpKFSTVteEOBzCusu1x2tt4OJcvBflyHUE0DZSLgEMtQ==} + '@vitest/runner@2.0.5': + resolution: {integrity: sha512-TfRfZa6Bkk9ky4tW0z20WKXFEwwvWhRY+84CnSEtq4+3ZvDlJyY32oNTJtM7AW9ihW90tX/1Q78cb6FjoAs+ig==} - '@vitest/spy@1.6.0': - resolution: {integrity: sha512-leUTap6B/cqi/bQkXUu6bQV5TZPx7pmMBKBQiI0rJA8c3pB56ZsaTbREnF7CJfmvAS4V2cXIBAh/3rVwrrCYgw==} + '@vitest/snapshot@2.0.5': + resolution: {integrity: sha512-SgCPUeDFLaM0mIUHfaArq8fD2WbaXG/zVXjRupthYfYGzc8ztbFbu6dUNOblBG7XLMR1kEhS/DNnfCZ2IhdDew==} - '@vitest/utils@1.6.0': - resolution: {integrity: sha512-21cPiuGMoMZwiOHa2i4LXkMkMkCGzA+MVFV70jRwHo95dL4x/ts5GZhML1QWuy7yfp3WzK3lRvZi3JnXTYqrBw==} + '@vitest/spy@2.0.5': + resolution: {integrity: sha512-c/jdthAhvJdpfVuaexSrnawxZz6pywlTPe84LUB2m/4t3rl2fTo9NFGBG4oWgaD+FTgDDV8hJ/nibT7IfH3JfA==} + + '@vitest/utils@2.0.5': + resolution: {integrity: sha512-d8HKbqIcya+GR67mkZbrzhS5kKhtp8dQLcmRZLGTscGVg7yImT82cIrhtn2L8+VujWcy6KZweApgNmPsTAO/UQ==} '@voxpelli/config-array-find-files@0.1.2': resolution: {integrity: sha512-jOva73R+0Nc5/pyS/piBSjQzO4EehME7rPSkBpPC9PYSta+yj3OpF14v0m0HLLYLVNuyHbBjQh5QvGIZwTH2eA==} @@ -1256,10 +1259,6 @@ packages: peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - acorn-walk@8.3.3: - resolution: {integrity: sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==} - engines: {node: '>=0.4.0'} - acorn@8.11.3: resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==} engines: {node: '>=0.4.0'} @@ -1398,8 +1397,9 @@ packages: resolution: {integrity: sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==} engines: {node: '>= 0.4'} - assertion-error@1.1.0: - resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} + assertion-error@2.0.1: + resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} + engines: {node: '>=12'} ast-types-flow@0.0.8: resolution: {integrity: sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==} @@ -1507,9 +1507,9 @@ packages: caniuse-lite@1.0.30001597: resolution: {integrity: sha512-7LjJvmQU6Sj7bL0j5b5WY/3n7utXUJvAe1lxhsHDbLmwX9mdL86Yjtr+5SRCyf8qME4M7pU2hswj0FpyBVCv9w==} - chai@4.5.0: - resolution: {integrity: sha512-RITGBfijLkBddZvnn8jdqoTypxvqbOLYQkGGxXzeFjVHvudaPw0HNFD9x928/eUwYWd2dPCugVqspGALTZZQKw==} - engines: {node: '>=4'} + chai@5.1.1: + resolution: {integrity: sha512-pT1ZgP8rPNqUgieVaEY+ryQr6Q4HXNg8Ei9UnLUrjN4IA7dvQC5JB+/kxVcPNDHyBcc/26CXPkbNzq3qwrOEKA==} + engines: {node: '>=12'} chalk-template@1.1.0: resolution: {integrity: sha512-T2VJbcDuZQ0Tb2EWwSotMPJjgpy1/tGee1BTpUNsGZ/qgNjV2t7Mvu+d4600U564nbLesN1x2dPL+xii174Ekg==} @@ -1543,8 +1543,9 @@ packages: chardet@0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} - check-error@1.0.3: - resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} + check-error@2.1.1: + resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} + engines: {node: '>= 16'} chokidar@3.6.0: resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} @@ -1725,8 +1726,8 @@ packages: babel-plugin-macros: optional: true - deep-eql@4.1.4: - resolution: {integrity: sha512-SUwdGfqdKOwxCPeVYjwSyRpJ7Z+fhpwIAtmCUdZIWZ/YP5R9WAsyuSgpLVDi9bjWoN2LXHNss/dk3urXtdQxGg==} + deep-eql@5.0.2: + resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} engines: {node: '>=6'} deep-equal@2.2.3: @@ -2798,9 +2799,6 @@ packages: js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - js-tokens@9.0.0: - resolution: {integrity: sha512-WriZw1luRMlmV3LGJaR6QOJjWwgLUTf89OwT2lUOyjX2dJGBwgmIkbcz+7WFZjrZM635JOIR517++e/67CP9dQ==} - js-yaml@3.14.1: resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} hasBin: true @@ -2898,10 +2896,6 @@ packages: resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - local-pkg@0.5.0: - resolution: {integrity: sha512-ok6z3qlYyCDS4ZEU27HaU6x/xZa9Whf8jD4ptH5UZTQYZVYeb9bnZ3ojVhiJNLiXK1Hfc0GNbLXcmZ5plLDDBg==} - engines: {node: '>=14'} - locate-path@5.0.0: resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} engines: {node: '>=8'} @@ -2943,8 +2937,8 @@ packages: resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} hasBin: true - loupe@2.3.7: - resolution: {integrity: sha512-zSMINGVYkdpYSOBmLi0D1Uo7JU9nVdQKrHxC8eYlV+9YKK9WePqAlL7lSlorG/U2Fw1w0hTBmaa/jrQ3UbPHtA==} + loupe@3.1.1: + resolution: {integrity: sha512-edNu/8D5MKVfGVFRhFf8aAxiTM6Wumfz5XsaatSxlD3w4R1d/WEKUTydCdPGbl9K7QG/Ca3GnDV2sIKIpXRQcw==} lowercase-keys@3.0.0: resolution: {integrity: sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ==} @@ -3231,10 +3225,6 @@ packages: resolution: {integrity: sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - p-limit@5.0.0: - resolution: {integrity: sha512-/Eaoq+QyLSiXQ4lyYV23f14mZRQcXnxfHrN0vCai+ak9G0pp9iEQukIIZq5NccEvwRB8PUnZT0KsOoDCINS1qQ==} - engines: {node: '>=18'} - p-locate@4.1.0: resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} engines: {node: '>=8'} @@ -3324,8 +3314,9 @@ packages: pathe@1.1.2: resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} - pathval@1.1.1: - resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} + pathval@2.0.0: + resolution: {integrity: sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==} + engines: {node: '>= 14.16'} picocolors@1.0.1: resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} @@ -3797,9 +3788,6 @@ packages: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} - strip-literal@2.1.0: - resolution: {integrity: sha512-Op+UycaUt/8FbN/Z2TWPBLge3jWrP3xj10f3fnYxf052bKuS3EKs1ZQcVGjnEMdsNVAM+plXRdmjrZ/KgG3Skw==} - supports-color@2.0.0: resolution: {integrity: sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==} engines: {node: '>=0.8.0'} @@ -3845,12 +3833,16 @@ packages: tinybench@2.9.0: resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} - tinypool@0.8.4: - resolution: {integrity: sha512-i11VH5gS6IFeLY3gMBQ00/MmLncVP7JLXOw1vlgkytLmJK7QnEr7NXf0LBdxfmNPAeyetukOk0bOYrJrFGjYJQ==} + tinypool@1.0.1: + resolution: {integrity: sha512-URZYihUbRPcGv95En+sz6MfghfIc2OJ1sv/RmhWZLouPY0/8Vo80viwPvg3dlaS9fuq7fQMEfgRRK7BBZThBEA==} + engines: {node: ^18.0.0 || >=20.0.0} + + tinyrainbow@1.2.0: + resolution: {integrity: sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==} engines: {node: '>=14.0.0'} - tinyspy@2.2.1: - resolution: {integrity: sha512-KYad6Vy5VDWV4GH3fjpseMQ/XU2BhIYP7Vzd0LG44qRWm/Yt2WCOTicFdvmgo6gWaqooMQCawTtILVQJupKu7A==} + tinyspy@3.0.0: + resolution: {integrity: sha512-q5nmENpTHgiPVd1cJDDc9cVoYN5x4vCvwT3FMilvKPKneCBZAxn2YWQjDF0UMcE9k0Cay1gBiDfTMU0g+mPMQA==} engines: {node: '>=14.0.0'} tmp@0.0.33: @@ -3910,10 +3902,6 @@ packages: resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} engines: {node: '>=4'} - type-detect@4.1.0: - resolution: {integrity: sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==} - engines: {node: '>=4'} - type-fest@0.20.2: resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} engines: {node: '>=10'} @@ -4055,8 +4043,8 @@ packages: resolution: {integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - vite-node@1.6.0: - resolution: {integrity: sha512-de6HJgzC+TFzOu0NTC4RAIsyf/DY/ibWDYQUcuEA84EMHhcefTUGkjFHKKEJhQN4A+6I0u++kr3l36ZF2d7XRw==} + vite-node@2.0.5: + resolution: {integrity: sha512-LdsW4pxj0Ot69FAoXZ1yTnA9bjGohr2yNBU7QKRxpz8ITSkhuDl6h3zS/tvgz4qrNjeRnvrWeXQ8ZF7Um4W00Q==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true @@ -4091,15 +4079,15 @@ packages: terser: optional: true - vitest@1.6.0: - resolution: {integrity: sha512-H5r/dN06swuFnzNFhq/dnz37bPXnq8xB2xB5JOVk8K09rUtoeNN+LHWkoQ0A/i3hvbUKKcCei9KpbxqHMLhLLA==} + vitest@2.0.5: + resolution: {integrity: sha512-8GUxONfauuIdeSl5f9GTgVEpg5BTOlplET4WEDaeY2QBiN8wSm68vxN/tb5z405OwppfoCavnwXafiaYBC/xOA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': 1.6.0 - '@vitest/ui': 1.6.0 + '@vitest/browser': 2.0.5 + '@vitest/ui': 2.0.5 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -5243,7 +5231,7 @@ snapshots: dependencies: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/visitor-keys': 7.18.0 - debug: 4.3.4 + debug: 4.3.6 globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.5 @@ -5395,34 +5383,38 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vitest/expect@1.6.0': + '@vitest/expect@2.0.5': dependencies: - '@vitest/spy': 1.6.0 - '@vitest/utils': 1.6.0 - chai: 4.5.0 + '@vitest/spy': 2.0.5 + '@vitest/utils': 2.0.5 + chai: 5.1.1 + tinyrainbow: 1.2.0 - '@vitest/runner@1.6.0': + '@vitest/pretty-format@2.0.5': dependencies: - '@vitest/utils': 1.6.0 - p-limit: 5.0.0 + tinyrainbow: 1.2.0 + + '@vitest/runner@2.0.5': + dependencies: + '@vitest/utils': 2.0.5 pathe: 1.1.2 - '@vitest/snapshot@1.6.0': + '@vitest/snapshot@2.0.5': dependencies: + '@vitest/pretty-format': 2.0.5 magic-string: 0.30.11 pathe: 1.1.2 - pretty-format: 29.7.0 - '@vitest/spy@1.6.0': + '@vitest/spy@2.0.5': dependencies: - tinyspy: 2.2.1 + tinyspy: 3.0.0 - '@vitest/utils@1.6.0': + '@vitest/utils@2.0.5': dependencies: - diff-sequences: 29.6.3 + '@vitest/pretty-format': 2.0.5 estree-walker: 3.0.3 - loupe: 2.3.7 - pretty-format: 29.7.0 + loupe: 3.1.1 + tinyrainbow: 1.2.0 '@voxpelli/config-array-find-files@0.1.2(@eslint/config-array@0.17.1)': dependencies: @@ -5437,10 +5429,6 @@ snapshots: dependencies: acorn: 8.12.1 - acorn-walk@8.3.3: - dependencies: - acorn: 8.12.1 - acorn@8.11.3: {} acorn@8.12.1: {} @@ -5593,7 +5581,7 @@ snapshots: is-array-buffer: 3.0.4 is-shared-array-buffer: 1.0.3 - assertion-error@1.1.0: {} + assertion-error@2.0.1: {} ast-types-flow@0.0.8: {} @@ -5710,15 +5698,13 @@ snapshots: caniuse-lite@1.0.30001597: {} - chai@4.5.0: + chai@5.1.1: dependencies: - assertion-error: 1.1.0 - check-error: 1.0.3 - deep-eql: 4.1.4 - get-func-name: 2.0.2 - loupe: 2.3.7 - pathval: 1.1.1 - type-detect: 4.1.0 + assertion-error: 2.0.1 + check-error: 2.1.1 + deep-eql: 5.0.2 + loupe: 3.1.1 + pathval: 2.0.0 chalk-template@1.1.0: dependencies: @@ -5753,9 +5739,7 @@ snapshots: chardet@0.7.0: {} - check-error@1.0.3: - dependencies: - get-func-name: 2.0.2 + check-error@2.1.1: {} chokidar@3.6.0: dependencies: @@ -5906,9 +5890,7 @@ snapshots: dedent@1.5.1: {} - deep-eql@4.1.4: - dependencies: - type-detect: 4.1.0 + deep-eql@5.0.2: {} deep-equal@2.2.3: dependencies: @@ -6439,13 +6421,13 @@ snapshots: semver: 7.5.4 strip-indent: 3.0.0 - eslint-plugin-vitest@0.3.26(@typescript-eslint/eslint-plugin@7.0.1(@typescript-eslint/parser@7.0.1(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4)(vitest@1.6.0(@types/node@20.16.1)): + eslint-plugin-vitest@0.3.26(@typescript-eslint/eslint-plugin@7.0.1(@typescript-eslint/parser@7.0.1(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4)(vitest@2.0.5(@types/node@20.16.1)): dependencies: '@typescript-eslint/utils': 7.2.0(eslint@8.57.0)(typescript@5.5.4) eslint: 8.57.0 optionalDependencies: '@typescript-eslint/eslint-plugin': 7.0.1(@typescript-eslint/parser@7.0.1(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) - vitest: 1.6.0(@types/node@20.16.1) + vitest: 2.0.5(@types/node@20.16.1) transitivePeerDependencies: - supports-color - typescript @@ -7293,8 +7275,6 @@ snapshots: js-tokens@4.0.0: {} - js-tokens@9.0.0: {} - js-yaml@3.14.1: dependencies: argparse: 1.0.10 @@ -7397,11 +7377,6 @@ snapshots: load-tsconfig@0.2.5: {} - local-pkg@0.5.0: - dependencies: - mlly: 1.7.1 - pkg-types: 1.1.3 - locate-path@5.0.0: dependencies: p-locate: 4.1.0 @@ -7444,7 +7419,7 @@ snapshots: dependencies: js-tokens: 4.0.0 - loupe@2.3.7: + loupe@3.1.1: dependencies: get-func-name: 2.0.2 @@ -7779,10 +7754,6 @@ snapshots: dependencies: yocto-queue: 1.1.1 - p-limit@5.0.0: - dependencies: - yocto-queue: 1.1.1 - p-locate@4.1.0: dependencies: p-limit: 2.3.0 @@ -7866,7 +7837,7 @@ snapshots: pathe@1.1.2: {} - pathval@1.1.1: {} + pathval@2.0.0: {} picocolors@1.0.1: {} @@ -8391,10 +8362,6 @@ snapshots: strip-json-comments@3.1.1: {} - strip-literal@2.1.0: - dependencies: - js-tokens: 9.0.0 - supports-color@2.0.0: {} supports-color@5.5.0: @@ -8432,9 +8399,11 @@ snapshots: tinybench@2.9.0: {} - tinypool@0.8.4: {} + tinypool@1.0.1: {} - tinyspy@2.2.1: {} + tinyrainbow@1.2.0: {} + + tinyspy@3.0.0: {} tmp@0.0.33: dependencies: @@ -8483,8 +8452,6 @@ snapshots: type-detect@4.0.8: {} - type-detect@4.1.0: {} - type-fest@0.20.2: {} type-fest@0.21.3: {} @@ -8647,12 +8614,12 @@ snapshots: validate-npm-package-name@5.0.1: {} - vite-node@1.6.0(@types/node@20.16.1): + vite-node@2.0.5(@types/node@20.16.1): dependencies: cac: 6.7.14 debug: 4.3.6 pathe: 1.1.2 - picocolors: 1.0.1 + tinyrainbow: 1.2.0 vite: 5.4.2(@types/node@20.16.1) transitivePeerDependencies: - '@types/node' @@ -8674,27 +8641,26 @@ snapshots: '@types/node': 20.16.1 fsevents: 2.3.3 - vitest@1.6.0(@types/node@20.16.1): + vitest@2.0.5(@types/node@20.16.1): dependencies: - '@vitest/expect': 1.6.0 - '@vitest/runner': 1.6.0 - '@vitest/snapshot': 1.6.0 - '@vitest/spy': 1.6.0 - '@vitest/utils': 1.6.0 - acorn-walk: 8.3.3 - chai: 4.5.0 + '@ampproject/remapping': 2.3.0 + '@vitest/expect': 2.0.5 + '@vitest/pretty-format': 2.0.5 + '@vitest/runner': 2.0.5 + '@vitest/snapshot': 2.0.5 + '@vitest/spy': 2.0.5 + '@vitest/utils': 2.0.5 + chai: 5.1.1 debug: 4.3.6 execa: 8.0.1 - local-pkg: 0.5.0 magic-string: 0.30.11 pathe: 1.1.2 - picocolors: 1.0.1 std-env: 3.7.0 - strip-literal: 2.1.0 tinybench: 2.9.0 - tinypool: 0.8.4 + tinypool: 1.0.1 + tinyrainbow: 1.2.0 vite: 5.4.2(@types/node@20.16.1) - vite-node: 1.6.0(@types/node@20.16.1) + vite-node: 2.0.5(@types/node@20.16.1) why-is-node-running: 2.3.0 optionalDependencies: '@types/node': 20.16.1