From e15a298b80181c84e6568581249c6bbfe4b035c1 Mon Sep 17 00:00:00 2001 From: renovate <29139614+renovate@users.noreply.github.com> Date: Thu, 12 Dec 2024 10:42:20 +0000 Subject: [PATCH] chore: bump up @testing-library/dom version to v10 (#9128) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@testing-library/dom](https://redirect.github.com/testing-library/dom-testing-library) | [`^9.3.4` -> `^10.0.0`](https://renovatebot.com/diffs/npm/@testing-library%2fdom/9.3.4/10.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@testing-library%2fdom/10.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@testing-library%2fdom/10.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@testing-library%2fdom/9.3.4/10.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@testing-library%2fdom/9.3.4/10.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
testing-library/dom-testing-library (@​testing-library/dom) ### [`v10.4.0`](https://redirect.github.com/testing-library/dom-testing-library/compare/v10.3.2...a86c54ccda5242ad8dfc1c70d31980bdbf96af7f) [Compare Source](https://redirect.github.com/testing-library/dom-testing-library/compare/v10.3.2...v10.4.0) ### [`v10.3.2`](https://redirect.github.com/testing-library/dom-testing-library/releases/tag/v10.3.2) [Compare Source](https://redirect.github.com/testing-library/dom-testing-library/compare/v10.3.1...v10.3.2) ##### Bug Fixes - safer read of DEBUG_PRINT_LIMIT ([#​1329](https://redirect.github.com/testing-library/dom-testing-library/issues/1329)) ([306526b](https://redirect.github.com/testing-library/dom-testing-library/commit/306526b5519abcaed84ef35f82501a1691edcd0e)) ### [`v10.3.1`](https://redirect.github.com/testing-library/dom-testing-library/releases/tag/v10.3.1) [Compare Source](https://redirect.github.com/testing-library/dom-testing-library/compare/v10.3.0...v10.3.1) ##### Bug Fixes - Revert "feat: Reduce caught exceptions in `prettyDom` ([#​1321](https://redirect.github.com/testing-library/dom-testing-library/issues/1321))" ([#​1325](https://redirect.github.com/testing-library/dom-testing-library/issues/1325)) ([fdc12ec](https://redirect.github.com/testing-library/dom-testing-library/commit/fdc12ecf4343ab6b08a898d9b3ff0013981849c8)) ### [`v10.3.0`](https://redirect.github.com/testing-library/dom-testing-library/compare/v10.2.0...76cb73dec444fca7ae3d160b4dad3b61f7bc8995) [Compare Source](https://redirect.github.com/testing-library/dom-testing-library/compare/v10.2.0...v10.3.0) ### [`v10.2.0`](https://redirect.github.com/testing-library/dom-testing-library/releases/tag/v10.2.0) [Compare Source](https://redirect.github.com/testing-library/dom-testing-library/compare/v10.1.0...v10.2.0) ##### Features - Support anonymous custom elements when pretty printing DOM ([#​1319](https://redirect.github.com/testing-library/dom-testing-library/issues/1319)) ([0a8ad65](https://redirect.github.com/testing-library/dom-testing-library/commit/0a8ad65723efe47493d387c38f31082c7846d824)) ### [`v10.1.0`](https://redirect.github.com/testing-library/dom-testing-library/releases/tag/v10.1.0) [Compare Source](https://redirect.github.com/testing-library/dom-testing-library/compare/v10.0.0...v10.1.0) ##### Features - Add window events "pagehide" / "pageshow" ([#​1308](https://redirect.github.com/testing-library/dom-testing-library/issues/1308)) ([56543d5](https://redirect.github.com/testing-library/dom-testing-library/commit/56543d51a8776d3bc7fa9b947771ce5308bf5df4)) ### [`v10.0.0`](https://redirect.github.com/testing-library/dom-testing-library/releases/tag/v10.0.0) [Compare Source](https://redirect.github.com/testing-library/dom-testing-library/compare/v9.3.4...v10.0.0) ##### Bug Fixes - use defineProperty on the error object instead of setting the message directly ([#​1268](https://redirect.github.com/testing-library/dom-testing-library/issues/1268)) ([3580f25](https://redirect.github.com/testing-library/dom-testing-library/commit/3580f25bd765cedb70889b2cf716085023d8c314)), closes [#​1259](https://redirect.github.com/testing-library/dom-testing-library/issues/1259) ##### Features - Drop support for Node.js 14.x and Node.js 16.x and add support for Node 20.x ([#​1255](https://redirect.github.com/testing-library/dom-testing-library/issues/1255)) ([452097b](https://redirect.github.com/testing-library/dom-testing-library/commit/452097b35a207341f5328b997dfc901461a4e9d9)) - upgrade aria-query to 5.3.0 ([#​1241](https://redirect.github.com/testing-library/dom-testing-library/issues/1241)) ([2c57055](https://redirect.github.com/testing-library/dom-testing-library/commit/2c570553d8f31b008451398152a9bd30bce362b3)), closes [#​1240](https://redirect.github.com/testing-library/dom-testing-library/issues/1240) ##### BREAKING CHANGES - Minimum supported Node.js version is 18.0 - New version of `aria-query` changes various roles. Check out the changed tests in [`2c57055`](https://redirect.github.com/testing-library/dom-testing-library/commit/2c57055) to get an overview about what changed.
--- ### 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 was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/toeverything/AFFiNE). --- packages/common/infra/package.json | 2 +- packages/frontend/core/package.json | 2 +- yarn.lock | 42 +++-------------------------- 3 files changed, 6 insertions(+), 40 deletions(-) diff --git a/packages/common/infra/package.json b/packages/common/infra/package.json index 60153867ab..83eff3ae51 100644 --- a/packages/common/infra/package.json +++ b/packages/common/infra/package.json @@ -35,7 +35,7 @@ "@affine-test/fixtures": "workspace:*", "@affine/templates": "workspace:*", "@swc/core": "^1.0.0", - "@testing-library/dom": "^9.3.4", + "@testing-library/dom": "^10.0.0", "@testing-library/react": "^16.1.0", "fake-indexeddb": "^6.0.0", "react": "^19.0.0", diff --git a/packages/frontend/core/package.json b/packages/frontend/core/package.json index f2230faf29..5a1fe0b318 100644 --- a/packages/frontend/core/package.json +++ b/packages/frontend/core/package.json @@ -82,7 +82,7 @@ }, "devDependencies": { "@swc/core": "^1.9.3", - "@testing-library/dom": "^9.3.4", + "@testing-library/dom": "^10.0.0", "@testing-library/react": "^16.1.0", "@types/animejs": "^3.1.12", "@types/bytes": "^3.1.4", diff --git a/yarn.lock b/yarn.lock index 0b073bce9f..0eec0e7d5c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -426,7 +426,7 @@ __metadata: "@radix-ui/react-toolbar": "npm:^1.0.4" "@sentry/react": "npm:^8.0.0" "@swc/core": "npm:^1.9.3" - "@testing-library/dom": "npm:^9.3.4" + "@testing-library/dom": "npm:^10.0.0" "@testing-library/react": "npm:^16.1.0" "@toeverything/pdf-viewer": "npm:^0.1.1" "@toeverything/theme": "npm:^1.1.1" @@ -12865,7 +12865,7 @@ __metadata: languageName: node linkType: hard -"@testing-library/dom@npm:10.4.0, @testing-library/dom@npm:^10.4.0": +"@testing-library/dom@npm:10.4.0, @testing-library/dom@npm:^10.0.0, @testing-library/dom@npm:^10.4.0": version: 10.4.0 resolution: "@testing-library/dom@npm:10.4.0" dependencies: @@ -12881,22 +12881,6 @@ __metadata: languageName: node linkType: hard -"@testing-library/dom@npm:^9.3.4": - version: 9.3.4 - resolution: "@testing-library/dom@npm:9.3.4" - dependencies: - "@babel/code-frame": "npm:^7.10.4" - "@babel/runtime": "npm:^7.12.5" - "@types/aria-query": "npm:^5.0.1" - aria-query: "npm:5.1.3" - chalk: "npm:^4.1.0" - dom-accessibility-api: "npm:^0.5.9" - lz-string: "npm:^1.5.0" - pretty-format: "npm:^27.0.2" - checksum: 10/510da752ea76f4a10a0a4e3a77917b0302cf03effe576cd3534cab7e796533ee2b0e9fb6fb11b911a1ebd7c70a0bb6f235bf4f816c9b82b95b8fe0cddfd10975 - languageName: node - linkType: hard - "@testing-library/jest-dom@npm:6.5.0": version: 6.5.0 resolution: "@testing-library/jest-dom@npm:6.5.0" @@ -12952,7 +12936,7 @@ __metadata: "@blocksuite/affine": "npm:0.18.5" "@datastructures-js/binary-search-tree": "npm:^5.3.2" "@swc/core": "npm:^1.0.0" - "@testing-library/dom": "npm:^9.3.4" + "@testing-library/dom": "npm:^10.0.0" "@testing-library/react": "npm:^16.1.0" eventemitter2: "npm:^6.4.9" fake-indexeddb: "npm:^6.0.0" @@ -15384,15 +15368,6 @@ __metadata: languageName: node linkType: hard -"aria-query@npm:5.1.3": - version: 5.1.3 - resolution: "aria-query@npm:5.1.3" - dependencies: - deep-equal: "npm:^2.0.5" - checksum: 10/e5da608a7c4954bfece2d879342b6c218b6b207e2d9e5af270b5e38ef8418f02d122afdc948b68e32649b849a38377785252059090d66fa8081da95d1609c0d2 - languageName: node - linkType: hard - "aria-query@npm:5.3.0": version: 5.3.0 resolution: "aria-query@npm:5.3.0" @@ -18217,15 +18192,6 @@ __metadata: languageName: node linkType: hard -"deep-equal@npm:@nolyfill/deep-equal@latest": - version: 1.0.29 - resolution: "@nolyfill/deep-equal@npm:1.0.29" - dependencies: - dequal: "npm:2.0.3" - checksum: 10/3e7961e84932349866e7e95ae1c71e5f1609591d8cc08974e6336efdb69def77cb6ca119420ba4c5c8fda536af7c72bdeab64727876485d68e0897f9f6ade7d3 - languageName: node - linkType: hard - "deep-extend@npm:^0.6.0": version: 0.6.0 resolution: "deep-extend@npm:0.6.0" @@ -18392,7 +18358,7 @@ __metadata: languageName: node linkType: hard -"dequal@npm:2.0.3, dequal@npm:^2.0.0, dequal@npm:^2.0.2, dequal@npm:^2.0.3": +"dequal@npm:^2.0.0, dequal@npm:^2.0.2, dequal@npm:^2.0.3": version: 2.0.3 resolution: "dequal@npm:2.0.3" checksum: 10/6ff05a7561f33603df87c45e389c9ac0a95e3c056be3da1a0c4702149e3a7f6fe5ffbb294478687ba51a9e95f3a60e8b6b9005993acd79c292c7d15f71964b6b