From 534015092ce0442716d020e425475671c098297d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 9 Jun 2023 22:10:24 +0000 Subject: [PATCH] chore(deps): update dependency @vitest/coverage-istanbul to ^0.32.0 (#221) 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/coverage-istanbul](https://togithub.com/vitest-dev/vitest/tree/main/packages/coverage-istanbul#readme) ([source](https://togithub.com/vitest-dev/vitest)) | [`^0.31.0` -> `^0.32.0`](https://renovatebot.com/diffs/npm/@vitest%2fcoverage-istanbul/0.31.4/0.32.0) | [![age](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.32.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.32.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.32.0/compatibility-slim/0.31.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@vitest%2fcoverage-istanbul/0.32.0/confidence-slim/0.31.4)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
vitest-dev/vitest ### [`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)
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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://app.renovatebot.com/dashboard#github/JoshuaKGoldberg/ts-api-utils). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 398f46a8..327743fe 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "@typescript-eslint/eslint-plugin": "^5.48.2", "@typescript-eslint/parser": "^5.48.2", "@typescript/vfs": "^1.4.0", - "@vitest/coverage-istanbul": "^0.31.0", + "@vitest/coverage-istanbul": "^0.32.0", "cspell": "^6.19.2", "eslint": "^8.32.0", "eslint-config-prettier": "^8.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a42ee11c..093133b9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,7 +4,7 @@ specifiers: '@typescript-eslint/eslint-plugin': ^5.48.2 '@typescript-eslint/parser': ^5.48.2 '@typescript/vfs': ^1.4.0 - '@vitest/coverage-istanbul': ^0.31.0 + '@vitest/coverage-istanbul': ^0.32.0 cspell: ^6.19.2 eslint: ^8.32.0 eslint-config-prettier: ^8.6.0 @@ -49,7 +49,7 @@ devDependencies: '@typescript-eslint/eslint-plugin': 5.54.0_i35x2evwqdd6ptegpuvrz5ocmm '@typescript-eslint/parser': 5.54.0_byynos7ffx3cepxtk6gvolkky4 '@typescript/vfs': 1.4.0 - '@vitest/coverage-istanbul': 0.31.0_vitest@0.31.0 + '@vitest/coverage-istanbul': 0.32.0_vitest@0.31.0 cspell: 6.27.0 eslint: 8.35.0 eslint-config-prettier: 8.6.0_eslint@8.35.0 @@ -1773,10 +1773,10 @@ packages: - supports-color dev: true - /@vitest/coverage-istanbul/0.31.0_vitest@0.31.0: - resolution: {integrity: sha512-SaTI1PSpCRtBhJ5ihBx7Z+jgrFAQlDjuI4MFmKQ/HjyYWzEoaU+I062SquRrOLjJtVOHnwJdjVJXKi0dgFiR9Q==} + /@vitest/coverage-istanbul/0.32.0_vitest@0.31.0: + resolution: {integrity: sha512-itX7qym7g9SxUpE/VoJWUQ6KR2k1poSbpJCou3R8wmNZ0i5K4HT0o33Sc8tKT4XJ0SluHrS7voORpu5w6y/hGg==} peerDependencies: - vitest: '>=0.30.0 <1' + vitest: '>=0.32.0 <1' dependencies: istanbul-lib-coverage: 3.2.0 istanbul-lib-instrument: 5.2.1