vue-types
vue-types copied to clipboard
chore(deps): update dependency vitest to v1
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| vitest (source) | 0.31.4 -> 1.3.1 |
Release Notes
vitest-dev/vitest (vitest)
v1.3.1
v1.3.0
🚀 Features
- Deprecate watchExclude - by @patak-dev in https://github.com/vitest-dev/vitest/issues/5171 (82885)
- browser:
- Run test files in isolated iframes - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5036 (4f401)
- config:
- Add
snapshotSerializersoption - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5092 (5b102)
- Add
- reporters:
- Support custom options - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5111 (fec9c)
- runner:
- Support automatic fixtures - by @fenghan34 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/5102 (0441f)
- ui:
- Save splitpanes size to local storage - by @posva in https://github.com/vitest-dev/vitest/issues/5166 (c28b4)
- vitest:
- Add onTestFinished hook - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5128 (6f5b4)
- Add github actions reporter - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5093 (40afb)
- Expose jsdom global if jsdom environment is enabled - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5155 (567d2)
- Add new CLI options - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5163 (4e179)
- "test" accepts options object as the second parameter - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5142 (7d9b1)
- vm:
- Support wasm module - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5131 (5ed53)
🐞 Bug Fixes
- Fix sourcemap in vm pools - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5063 (81105)
- Don't optimize react/jsx-runtime by default when running in Node - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5079 (0d2bf)
- Rpc timeout error messages to include caller - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5103 (a6e04)
- Requires fixed version across the monorepo - by @antfu in https://github.com/vitest-dev/vitest/issues/5208 (68f51)
- Prevent merging of
poolOptions- by @penalosa in https://github.com/vitest-dev/vitest/issues/5221 (bc5b2) - browser:
- Don't exclude node builtins from optimization - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5082 (714c9)
- Support
coverage.reportsDirectorywith multiple directories - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5056 (ae73f)
- cli:
- Parse
--browser=<name>correctly - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5179 (656e2)
- Parse
- coverage:
.tmpdirectory conflicts with--shardoption - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5184 (5749d)
- deps:
- Update dependency strip-literal to v2 - by @renovate[bot] inhttps://github.com/vitest-dev/vitest/issues/51366 (ef557)
- reporters:
- Testsuite name should include project root in Junit output - by @fenghan34 in https://github.com/vitest-dev/vitest/issues/5116 (2494f)
- typecheck:
- Fix suite collection while-loop - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5065 (35675)
- ui:
- Fix tests duration time - by @vovsemenv in https://github.com/vitest-dev/vitest/issues/5219 (58103)
- utils:
- Fix asymmetric matcher diff inside array - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5189 (3ffcd)
- vitest:
- Correctly report failed test files as failures in json reporter, export json reporter types - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5081 (0417b)
- Don't run typecheck tests in browser if both are enabled - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5080 (1045b)
- Handle function config inside
defineWorkspace- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5089 (0bf52) - Remove excessive listeners when running without isolation, don't reset the state - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5132 (b607f)
- Auto-enable "github-actions" only where users didn't configure reporters - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5158 (ef044)
- Support more array cli options - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5162 (3afe6)
- Add types for the new global
jsdomvariable - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5164 (0f898) - Expose onTestFinished globally - by @sheremet-va (1304f)
- Disable optimizer by default until it's stable - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5156 (e1bd8)
- Delegate snapshot options to workspace from root config - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5199 (86297)
- Fix
optimizeDeps.disabledwarnings on Vite 5.1 - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5215 (1aecd)
- vm:
- Handle
disableConsoleInterceptconfig - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5074 (a55ad) - Improve error when module is not found - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5053 (79a50)
- Handle
View changes on GitHub
v1.2.2
🐞 Bug Fixes
- coverage:
- Remove
coverage/.tmpfiles after run - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5008 (d53b8) - Don't crash when re-run removes earlier run's reports - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5022 (66898)
- Remove
- expect:
- Improve
toThrow(asymmetricMatcher)failure message - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5000 (a199a)
- Improve
- forks:
- Set correct
VITEST_POOL_ID- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5002 (7d0a4)
- Set correct
- threads:
- Mention common work-around for the logged error - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5024 (915d6)
- typecheck:
- Fix
ignoreSourceErrorsin run mode - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5044 (6dae3)
- Fix
- vite-node:
- Provide import.meta.filename and dirname - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5011 (73148)
- vitest:
- Expose getHooks & setHooks - by @adriencaccia in https://github.com/vitest-dev/vitest/issues/5032 (73448)
- Test deep dependencies change detection - by @blake-newman in https://github.com/vitest-dev/vitest/issues/4934 (9c7c0)
- Throw an error if vi.mock is exported - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5034 (253df)
- Allow
useFakeTimersto fakerequestIdleCallbackon non browser - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/5028 (a9a48) - Support older NodeJS with async
import.meta.resolve- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5045 (cf564) - Don't throw an error if mocked file was already imported - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5050 (fff1a)
View changes on GitHub
v1.2.1
🐞 Bug Fixes
- browser:
- Apply inlined workspace config to browser mode vite server - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4947 (db01f)
- Fix browser testing url for https - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4855 (6c1cc)
- Don't fail when calling vi.useFakeTimers - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4992 (6c5fe)
- coverage:
thresholds.autoUpdateto work with arrow function configuration files - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4959 (4b411)
- expect:
- Implement chai inspect for
AsymmetricMatcher- by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4942 (06bae)
- Implement chai inspect for
- vite-node:
- Externalize network imports - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4987 (21f57)
- vitest:
- Handle single
await vi.hoisted- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4962 (dcf2e) - Simplify hoist transform check regex to avoid expensive regex match - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4974 (df0db)
- Correctly find module if it has a version query - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4976 (952c3)
- Check color support for intercepted console logging - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4966 (39a71)
- Use development/production conditions when resolving external modules - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4980 (8877e)
- Throw a syntax error if vi.hoisted is directly exported - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4969 (f8bff)
- Handle single
View changes on GitHub
v1.2.0
🚀 Features
- Support case-insensitive path matching in cli - by @tigranmk in https://github.com/vitest-dev/vitest/issues/3567 and https://github.com/vitest-dev/vitest/issues/4911 (1326c)
- Add typeahead search - by @bonyuta0204 and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4275 and https://github.com/vitest-dev/vitest/issues/4733 (480d8)
- Add syntax highlighting to error messages - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4813 (8c969)
- Allow extending toEqual - by @tigranmk and @sheremet-va in https://github.com/vitest-dev/vitest/issues/2875 and https://github.com/vitest-dev/vitest/issues/4880 (463be)
- coverage:
- Custom reporter support - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4828 (96dc6)
- ui:
- Show unhandled errors on the ui - by @spiroka and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4380 (7f59a)
- vitest:
- Add
--disable-console-interceptoption to allow opting-out from automatic console log interception - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4786 (43fa6) - Show slow test duration in verbose reporter on CI - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4929 (ccb25)
- Allow overiding package installer with public API - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4936 (c2cce)
- Add
🐞 Bug Fixes
- browser:
- Support vite config
server.headers- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4890 (55f53) - Fix
testNamePatternconfig - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4909 (4add9) - Fix updating snapshot during watch mode - by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4867 (508fc)
- Remove redundant test failure logging - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4891 (7fd44)
- Support vite config
- happy-dom:
- Window.close() for environment teardown - by @capricorn86 in https://github.com/vitest-dev/vitest/issues/4931 (91719)
- utils:
- Fix
objDisplaydefault truncate option fortest.eachtitle - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4917 (9ae9d)
- Fix
- vitest:
- Fix tap reporter to handle custom error - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4897 (f8ba8)
- Gracefully exit Vitest if
process.exitis called inside the test - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4903 (8e6c1) - Throw "cannot mock" error only in isolated pools - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4905 (f99cc)
- Don't throw SyntaxError when "await vi.hoisted" is used - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4915 (ca62f)
- Correctly parse --maxWorkers/--minWorkers - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4924 (0e77e)
- Show correct error when vi.hoisted is used inside vi.mock and the other way around - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4916 (c4eac)
- Call global teardown when using workspaces - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4935 (528bd)
- Use file instead of id for HMR - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4938 (ca76f)
- Add inlined deps to ssr.noExternal so they are added to the module graph - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4945 (1663f)
- workspace:
- Support overring
poolandpoolOptionson project level - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4765 (e9fe4)
- Support overring
View changes on GitHub
v1.1.3
🐞 Bug Fixes
- vitest:
- Vi.mock breaks tests when using imported variables inside the factory - by @sheremet-va and Dunqing in https://github.com/vitest-dev/vitest/issues/4873 (7719e)
- Apply
slowTestThresholdto all reporters - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4876 (1769c)
View changes on GitHub
v1.1.2
🐞 Bug Fixes
- Remove internal flag from UI option in the config - by @sheremet-va (7b4a2)
- browser:
- Avoid safaridriver collision - by @mbland in https://github.com/vitest-dev/vitest/issues/4863 (345a2)
- Resolved failure to find arbitrarily-named snapshot files when using
expect(...).toMatchFileSnapshot()matcher. - by @zmullett, Zac Mullett and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4839 (b8140) - Handle config.base - by @mbland and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4686 and https://github.com/vitest-dev/vitest/issues/4692 (9e345)
- deps:
- Update dependency acorn-walk to ^8.3.1 - by @renovate[bot] inhttps://github.com/vitest-dev/vitest/issues/48377 (47bc2)
- Update dependency sirv to ^2.0.4 - by @renovate[bot] inhttps://github.com/vitest-dev/vitest/issues/48388 (df261)
- runner:
- Fix fixture cleanup for concurrent tests - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4827 (1fee6)
- spy:
- Don't allow Promise in mockImplementation - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4859 (072e0)
- vite-node:
- Correctly return cached result - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4870 (15bbb)
- vitest:
- Throw an error if mock was already loaded when vi.mock is called - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4862 (e12a5)
- Correctly rerun test files on change if server was restarted - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4871 (6088b)
- vm-threads:
- Don't crash on percentage based
memoryLimit- by @inottn and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4802 (70e8a)
- Don't crash on percentage based
View changes on GitHub
v1.1.1
🐞 Bug Fixes
- Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces - by @wojtekmaj and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4698 (ee8b4)
- Don't fail if
inline: trueis set - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4815 (8f622) - Correct option name
--no-parallelism- by @bonyuta0204 in https://github.com/vitest-dev/vitest/issues/4831 (5053a) - Match jest json output by making json reporter output ndjson-compatible - by @bard in https://github.com/vitest-dev/vitest/issues/4824 (7e6a6)
- runner:
- Reset "current test" state on dynamic
skip- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4814 (19faf)
- Reset "current test" state on dynamic
- vitest:
- Don't hang when mocking files with cyclic dependencies - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4811 (e8ca6)
- Initialize snapshot state only once for each file suite - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4796 (957da)
- Fix file snapshots in skipped suites considered obsolete - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4795 (06c14)
- Show
beforeAll/afterAllerrors in junit reporter - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4819 (2baea)
- vm-threads:
- Tests not cancelled on key press, cancelled tests shown twice - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4781 (cf53d)
View changes on GitHub
v1.1.0
🚀 Features
- Add es-main compatibility to vite-node - by @zookatron in https://github.com/vitest-dev/vitest/issues/4751 (486a3)
- Add
--workspaceoption, fix root resolution in workspaces - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4773 (67d93) - Add
--no-file-parallelism,--maxWorkers,--minWorkersflags - by @sheremet-va and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4705 (fd5d7) - Add
--no-isolateflag to improve performance, add documentation about performance - by @sheremet-va, @AriPerkkio and Pascal Jufer in https://github.com/vitest-dev/vitest/issues/4777 (4d55a) - Add
--excludeCLI flag - by @Namchee and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4279 (f859e)
🐞 Bug Fixes
- Correctly reset provided values - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4775 (5a71e)
- expect:
- Fix
toHavePropertyassertion error diff - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4734 (f8f70)
- Fix
- runner:
- Handle fixture teardown error - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4683 (c6f5f)
- types:
defineWorkspacefix intellisense and report type errors - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4743 (9cc36)
- ui:
- Escape html for console log view - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4724 (e0dde)
- Fix coverage iframe url for html report preview - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4717 (71911)
- Show file item when search filter matches only test cases - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4736 (f43fd)
- vitest:
- Pass down CLI options to override workspace configs - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4774 (8dabe)
View changes on GitHub
v1.0.4
The previous release was built incorrectly and didn't include the performance fix. This release fixes that.
🐞 Bug Fixes
- cli:
--coverage.all=falseresolved incorrectly - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4697 (a7931)
🏎 Performance
- reporters: Downgrade
log-updateto v5 - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4711 (13ff9)
View changes on GitHub
v1.0.3
🐞 Bug Fixes
- Correct package exports - by @userquin in https://github.com/vitest-dev/vitest/issues/4707 (37388)
- runner: Fix async fixture teardown - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4700 (92afd)
- vitest: Correctly filter changed files when Vitest workspace is used - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4693 (34135)
🏎 Performance
- reporters: Downgrade
log-updateto v5 - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4711 (13ff9)
View changes on GitHub
v1.0.2
🐞 Bug Fixes
- Don't check if vite is installed - by @wojtekmaj in https://github.com/vitest-dev/vitest/issues/4659 (775e2)
- Fix ensurePackageInstalled on Yarn PnP - by @wojtekmaj in https://github.com/vitest-dev/vitest/issues/4657 (574cc)
- Apply
stripSnapshotIndentationfor thrown snapshot - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4663 (74820) - cli:
- Prompted packages fail to install - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4593 (a9908)
- expect:
- Apply
URLequality check only whenURLis available - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4670 (43783)
- Apply
- runner:
- Improve fixture error messages - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4673 (1e4aa)
- Fix fixture cleanup when test times out - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4679 (e7c5e)
- vitest:
- Support new Request('/api') in happy-dom - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4671 (6e6ee)
- Skip processing getter in auto-mocked constructor call - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/4677 (cb786)
View changes on GitHub
v1.0.1
🐞 Bug Fixes
- Bump vitest packages
peerDependenciesversions - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4654 (42070)
View changes on GitHub
v1.0.0
Vitest 1.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.
🚨 Breaking Changes
- Add support for
poolandpoolOptions, remove old flags - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4172 (114a9) - Support multiple parallel
child_process- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/3925 (8b4a4) - Make snapshots more visually pleasing by @sheremet-va in https://github.com/vitest-dev/vitest/pull/3961
- Set
vitestpeer dependency range for sub packages - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4299 (cd03c) - Bump minimum node version to 18 and match Vite 5 requirement - by @ghiscoding in https://github.com/vitest-dev/vitest/issues/4296 (263b7)
- Remove deprecated node loader - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4371 (29299)
- Move browser providers to @vitest/browser package - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4364 (5cdeb)
- Remove EnhancedSpy type, deprecate SpyInstance, improve mocks and vi documentation - by @sheremet-va and @dammy001 in https://github.com/vitest-dev/vitest/issues/4400 (d40b3)
expect().toContain()can handle classList, Node.contains, and any array-like structure. This means you cannot use it to check if one object is a subset of another - useexpect().toMatchObject()in that case - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4239 (ce84f)- runner: Correctly process custom tasks, update runner hooks naming by @sheremet-va in https://github.com/vitest-dev/vitest/pull/4076
- coverage:
- glob based coverage thresholds by @AriPerkkio in https://github.com/vitest-dev/vitest/pull/4442 (18300)
- Use
transformModeand workspace project based source maps - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4309 (28109cc) - Enable
coverage.allby default - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4265 (5a741)
🚀 Features
- Add Marko example and include code coverage for Marko files - by @DylanPiercey in https://github.com/vitest-dev/vitest/issues/4263 (eac77)
- Update magic-string - by @bluwy in https://github.com/vitest-dev/vitest/issues/4345 (fde18)
- Implement provide/inject API to transfer data from the main thread - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4422 (a7522)
- Improve expectTypeOf error messages - by @mmkal, Misha Kaletsky and @sheremet-va in https://github.com/vitest-dev/vitest/issues/4206 (18300)
- Add test.sequential() api - by @dsyddall in https://github.com/vitest-dev/vitest/issues/4512 (c3619)
- Allow custom pools - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4417 (a3fd5)
- Add --project option to limit what projects are running - by @sheremet-va, @dammy001 and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4561 (58ef5)
- benchmark:
- Move importTinybench to runner - by @Dunqing in https://github.com/vitest-dev/vitest/issues/4376 (c36d2)
- browser:
- Support "none" provider and update lit example to use it - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4427 (d03a2)
- coverage:
- Support
/* v8 ignore...ignore hints - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4573 (f9e4a)
- Support
- expect:
- Support
expect.closeToapi - by @Dunqing and golebiowskib in https://github.com/vitest-dev/vitest/issues/4260 (7f91c) - Compare URL objects by href - by @kleinfreund and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/4615 (f7a73)
- Support
- snapshot:
- Add option to configure snapshot directory - by @d3lm in https://github.com/vitest-dev/vitest/issues/4651 (20b2a)
- vite-node:
- Support import.meta.hot.off for vite 5 - by @bluwy in https://github.com/vitest-dev/vitest/issues/4315 (01b1c)
- vitest:
- Expose getBenchFn, getBenchOptions - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/4208 (8e5e4)
- Run typecheck during tests - by [@
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. View repository job log here.
⚠️ No Changeset found
Latest commit: eb9857bb4c9b13d324f51853e94e2308143e3222
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: pnpm-lock.yaml
Scope: all 5 workspace projects
WARN GET https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.21.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/@types/node/-/node-20.1.7.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/babel-plugin-transform-node-env-inline/-/babel-plugin-transform-node-env-inline-0.4.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/cpy-cli/-/cpy-cli-5.0.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/del/-/del-7.0.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/del-cli/-/del-cli-5.0.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/microbundle/-/microbundle-0.15.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/markdown-it-container/-/markdown-it-container-4.0.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/vitepress/-/vitepress-1.0.0-beta.7.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/vue error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/vitest error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.21.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/@types/node/-/node-20.1.7.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/babel-plugin-transform-node-env-inline/-/babel-plugin-transform-node-env-inline-0.4.3.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/cpy-cli/-/cpy-cli-5.0.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/del/-/del-7.0.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/del-cli/-/del-cli-5.0.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/microbundle/-/microbundle-0.15.1.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/markdown-it-container/-/markdown-it-container-4.0.0.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/vitepress/-/vitepress-1.0.0-beta.7.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/vue error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/vitest error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
WARN GET https://registry.npmjs.org/@nuxt/module-builder/-/module-builder-0.3.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
ERR_INVALID_THIS Value of "this" must be of type URLSearchParams
pnpm [ERR_INVALID_THIS]: Value of "this" must be of type URLSearchParams
at Proxy.getAll (node:internal/url:534:13)
at Proxy.<anonymous> (/opt/containerbase/tools/pnpm/7.29.3/20.12.2/node_modules/pnpm/dist/pnpm.cjs:59646:55)
at /opt/containerbase/tools/pnpm/7.29.3/20.12.2/node_modules/pnpm/dist/pnpm.cjs:59708:31
at Array.reduce (<anonymous>)
at Proxy.raw (/opt/containerbase/tools/pnpm/7.29.3/20.12.2/node_modules/pnpm/dist/pnpm.cjs:59707:33)
at new Headers (/opt/containerbase/tools/pnpm/7.29.3/20.12.2/node_modules/pnpm/dist/pnpm.cjs:59592:28)
at getNodeRequestOptions (/opt/containerbase/tools/pnpm/7.29.3/20.12.2/node_modules/pnpm/dist/pnpm.cjs:59941:23)
at /opt/containerbase/tools/pnpm/7.29.3/20.12.2/node_modules/pnpm/dist/pnpm.cjs:59998:25
at new Promise (<anonymous>)
at fetch (/opt/containerbase/tools/pnpm/7.29.3/20.12.2/node_modules/pnpm/dist/pnpm.cjs:59996:14)
WARN GET https://registry.npmjs.org/@nuxt/schema/-/schema-3.5.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/@changesets/cli/-/cli-2.26.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.11.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.59.11.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/@vitest/coverage-c8/-/coverage-c8-0.31.4.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/eslint/-/eslint-8.40.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-5.0.0.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/happy-dom/-/happy-dom-14.7.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/lefthook/-/lefthook-1.3.13.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/prettier/-/prettier-3.0.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/vite/-/vite-5.0.13.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
WARN GET https://registry.npmjs.org/@nuxt/kit/-/kit-3.5.3.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.