From 53c76ae2e218051ab0b80c794d090be45ff4c6ce Mon Sep 17 00:00:00 2001 From: LongYinan Date: Tue, 2 Jan 2024 13:46:17 +0000 Subject: [PATCH] chore: bump up vitest version to v1.1.1 (#5495) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [vitest](https://togithub.com/vitest-dev/vitest) ([source](https://togithub.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`1.1.0` -> `1.1.1`](https://renovatebot.com/diffs/npm/vitest/1.1.0/1.1.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vitest/1.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vitest/1.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vitest/1.1.0/1.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vitest/1.1.0/1.1.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
vitest-dev/vitest (vitest) ### [`v1.1.1`](https://togithub.com/vitest-dev/vitest/releases/tag/v1.1.1) [Compare Source](https://togithub.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1) #####    🐞 Bug Fixes - Don't crash when using happy-dom or jsdom environment on Yarn PnP workspaces  -  by [@​wojtekmaj](https://togithub.com/wojtekmaj) and [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4698](https://togithub.com/vitest-dev/vitest/issues/4698) [(ee8b4)](https://togithub.com/vitest-dev/vitest/commit/ee8b46db) - Don't fail if `inline: true` is set  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4815](https://togithub.com/vitest-dev/vitest/issues/4815) [(8f622)](https://togithub.com/vitest-dev/vitest/commit/8f6225b8) - Correct option name `--no-parallelism`  -  by [@​bonyuta0204](https://togithub.com/bonyuta0204) in [https://github.com/vitest-dev/vitest/issues/4831](https://togithub.com/vitest-dev/vitest/issues/4831) [(5053a)](https://togithub.com/vitest-dev/vitest/commit/5053a5dd) - Match jest json output by making json reporter output ndjson-compatible  -  by [@​bard](https://togithub.com/bard) in [https://github.com/vitest-dev/vitest/issues/4824](https://togithub.com/vitest-dev/vitest/issues/4824) [(7e6a6)](https://togithub.com/vitest-dev/vitest/commit/7e6a62af) - **runner**: - Reset "current test" state on dynamic `skip`  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4814](https://togithub.com/vitest-dev/vitest/issues/4814) [(19faf)](https://togithub.com/vitest-dev/vitest/commit/19faf00e) - **vitest**: - Don't hang when mocking files with cyclic dependencies  -  by [@​sheremet-va](https://togithub.com/sheremet-va) in [https://github.com/vitest-dev/vitest/issues/4811](https://togithub.com/vitest-dev/vitest/issues/4811) [(e8ca6)](https://togithub.com/vitest-dev/vitest/commit/e8ca6437) - Initialize snapshot state only once for each file suite  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4796](https://togithub.com/vitest-dev/vitest/issues/4796) [(957da)](https://togithub.com/vitest-dev/vitest/commit/957daa32) - Fix file snapshots in skipped suites considered obsolete  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4795](https://togithub.com/vitest-dev/vitest/issues/4795) [(06c14)](https://togithub.com/vitest-dev/vitest/commit/06c14f7d) - Show `beforeAll/afterAll` errors in junit reporter  -  by [@​hi-ogawa](https://togithub.com/hi-ogawa) in [https://github.com/vitest-dev/vitest/issues/4819](https://togithub.com/vitest-dev/vitest/issues/4819) [(2baea)](https://togithub.com/vitest-dev/vitest/commit/2baea35e) - **vm-threads**: - Tests not cancelled on key press, cancelled tests shown twice  -  by [@​AriPerkkio](https://togithub.com/AriPerkkio) in [https://github.com/vitest-dev/vitest/issues/4781](https://togithub.com/vitest-dev/vitest/issues/4781) [(cf53d)](https://togithub.com/vitest-dev/vitest/commit/cf53d4be) #####     [View changes on GitHub](https://togithub.com/vitest-dev/vitest/compare/v1.1.0...v1.1.1)
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE). --- packages/common/workspace/package.json | 2 +- yarn.lock | 121 +------------------------ 2 files changed, 2 insertions(+), 121 deletions(-) diff --git a/packages/common/workspace/package.json b/packages/common/workspace/package.json index 05e697fb2..3cb44aab2 100644 --- a/packages/common/workspace/package.json +++ b/packages/common/workspace/package.json @@ -18,7 +18,7 @@ "yjs": "^13.6.10" }, "devDependencies": { - "vitest": "1.1.0" + "vitest": "1.1.1" }, "version": "0.11.0" } diff --git a/yarn.lock b/yarn.lock index 18fea59b7..b37646199 100644 --- a/yarn.lock +++ b/yarn.lock @@ -839,7 +839,7 @@ __metadata: "@affine/env": "workspace:*" "@toeverything/infra": "workspace:*" lodash-es: "npm:^4.17.21" - vitest: "npm:1.1.0" + vitest: "npm:1.1.1" yjs: "npm:^13.6.10" peerDependencies: "@blocksuite/blocks": "*" @@ -14788,17 +14788,6 @@ __metadata: languageName: node linkType: hard -"@vitest/expect@npm:1.1.0": - version: 1.1.0 - resolution: "@vitest/expect@npm:1.1.0" - dependencies: - "@vitest/spy": "npm:1.1.0" - "@vitest/utils": "npm:1.1.0" - chai: "npm:^4.3.10" - checksum: 08d1ea192cf638da4b6f19e67642ea6a181593bca3c21ca8cb741d8d0792f95876281414b9cce0c0583701489a1ebbbdc4a83eec3012874bba3282d15664eaaa - languageName: node - linkType: hard - "@vitest/expect@npm:1.1.1": version: 1.1.1 resolution: "@vitest/expect@npm:1.1.1" @@ -14810,17 +14799,6 @@ __metadata: languageName: node linkType: hard -"@vitest/runner@npm:1.1.0": - version: 1.1.0 - resolution: "@vitest/runner@npm:1.1.0" - dependencies: - "@vitest/utils": "npm:1.1.0" - p-limit: "npm:^5.0.0" - pathe: "npm:^1.1.1" - checksum: f21c503ea944cdafcf33160913759ae686739ccde7b36d060128a4f7387245019ab4508d825ddf51268aea6e72bc8afd4806ca6ba88f564274d5265229c8e91f - languageName: node - linkType: hard - "@vitest/runner@npm:1.1.1": version: 1.1.1 resolution: "@vitest/runner@npm:1.1.1" @@ -14832,17 +14810,6 @@ __metadata: languageName: node linkType: hard -"@vitest/snapshot@npm:1.1.0": - version: 1.1.0 - resolution: "@vitest/snapshot@npm:1.1.0" - dependencies: - magic-string: "npm:^0.30.5" - pathe: "npm:^1.1.1" - pretty-format: "npm:^29.7.0" - checksum: e4db6344019aae10fe880cecf0a058e22e4952172cc9bb2a8ea9fc41d3e32a3dc3e99520676cffd4d870ba77108e24f2d8ab1e391da423d21c2533e1933def5e - languageName: node - linkType: hard - "@vitest/snapshot@npm:1.1.1": version: 1.1.1 resolution: "@vitest/snapshot@npm:1.1.1" @@ -14854,15 +14821,6 @@ __metadata: languageName: node linkType: hard -"@vitest/spy@npm:1.1.0": - version: 1.1.0 - resolution: "@vitest/spy@npm:1.1.0" - dependencies: - tinyspy: "npm:^2.2.0" - checksum: 99d507df9e0f4224fa21b841721af2ed03d7538e534fb55627d5e8ba684b8659b79a1d46cfaa87d24121ce14fd0a93a04c01099e0758ba40fbdd6efebc4278d1 - languageName: node - linkType: hard - "@vitest/spy@npm:1.1.1": version: 1.1.1 resolution: "@vitest/spy@npm:1.1.1" @@ -14889,17 +14847,6 @@ __metadata: languageName: node linkType: hard -"@vitest/utils@npm:1.1.0": - version: 1.1.0 - resolution: "@vitest/utils@npm:1.1.0" - dependencies: - diff-sequences: "npm:^29.6.3" - loupe: "npm:^2.3.7" - pretty-format: "npm:^29.7.0" - checksum: d1e5443b366664f244d8cbce8a36fcc74a5c784a97aeabd93511afc86c04acdd57414c16d97151656466626af9553cf10074618c16722fff88bbb7545186eeb8 - languageName: node - linkType: hard - "@vitest/utils@npm:1.1.1": version: 1.1.1 resolution: "@vitest/utils@npm:1.1.1" @@ -34827,21 +34774,6 @@ __metadata: languageName: node linkType: hard -"vite-node@npm:1.1.0": - version: 1.1.0 - resolution: "vite-node@npm:1.1.0" - dependencies: - cac: "npm:^6.7.14" - debug: "npm:^4.3.4" - pathe: "npm:^1.1.1" - picocolors: "npm:^1.0.0" - vite: "npm:^5.0.0" - bin: - vite-node: vite-node.mjs - checksum: 2978b2fa7091233c234a86d60be6d6b407748471ae7b0e10a93ccd707ed2c888f04bc1c0e0737fa243f85e8477c18d6ed998b5bf67fd42cdd8778cc9cd40868c - languageName: node - linkType: hard - "vite-node@npm:1.1.1": version: 1.1.1 resolution: "vite-node@npm:1.1.1" @@ -35003,57 +34935,6 @@ __metadata: languageName: node linkType: hard -"vitest@npm:1.1.0": - version: 1.1.0 - resolution: "vitest@npm:1.1.0" - dependencies: - "@vitest/expect": "npm:1.1.0" - "@vitest/runner": "npm:1.1.0" - "@vitest/snapshot": "npm:1.1.0" - "@vitest/spy": "npm:1.1.0" - "@vitest/utils": "npm:1.1.0" - acorn-walk: "npm:^8.3.0" - cac: "npm:^6.7.14" - chai: "npm:^4.3.10" - debug: "npm:^4.3.4" - execa: "npm:^8.0.1" - local-pkg: "npm:^0.5.0" - magic-string: "npm:^0.30.5" - pathe: "npm:^1.1.1" - picocolors: "npm:^1.0.0" - std-env: "npm:^3.5.0" - strip-literal: "npm:^1.3.0" - tinybench: "npm:^2.5.1" - tinypool: "npm:^0.8.1" - vite: "npm:^5.0.0" - vite-node: "npm:1.1.0" - why-is-node-running: "npm:^2.2.2" - peerDependencies: - "@edge-runtime/vm": "*" - "@types/node": ^18.0.0 || >=20.0.0 - "@vitest/browser": ^1.0.0 - "@vitest/ui": ^1.0.0 - happy-dom: "*" - jsdom: "*" - peerDependenciesMeta: - "@edge-runtime/vm": - optional: true - "@types/node": - optional: true - "@vitest/browser": - optional: true - "@vitest/ui": - optional: true - happy-dom: - optional: true - jsdom: - optional: true - bin: - vitest: vitest.mjs - checksum: 5e4ac0231b2dc9cf51892e0414c7ab092e70bf5eacdb9c4a8cdd941bdd325544eb4ffe8eb89586aa6e399f9a34739f330482c64c13300bf1b7c5b130101d7e7c - languageName: node - linkType: hard - "vitest@npm:1.1.1": version: 1.1.1 resolution: "vitest@npm:1.1.1"