chore: bump up @testing-library/dom version to v10 (#9128)

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

<details>
<summary>testing-library/dom-testing-library (@&#8203;testing-library/dom)</summary>

### [`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 ([#&#8203;1329](https://redirect.github.com/testing-library/dom-testing-library/issues/1329)) ([306526b](306526b551))

### [`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` ([#&#8203;1321](https://redirect.github.com/testing-library/dom-testing-library/issues/1321))" ([#&#8203;1325](https://redirect.github.com/testing-library/dom-testing-library/issues/1325)) ([fdc12ec](fdc12ecf43))

### [`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 ([#&#8203;1319](https://redirect.github.com/testing-library/dom-testing-library/issues/1319)) ([0a8ad65](0a8ad65723))

### [`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" ([#&#8203;1308](https://redirect.github.com/testing-library/dom-testing-library/issues/1308)) ([56543d5](56543d51a8))

### [`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 ([#&#8203;1268](https://redirect.github.com/testing-library/dom-testing-library/issues/1268)) ([3580f25](3580f25bd7)), closes [#&#8203;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 ([#&#8203;1255](https://redirect.github.com/testing-library/dom-testing-library/issues/1255)) ([452097b](452097b35a))
-   upgrade aria-query to 5.3.0 ([#&#8203;1241](https://redirect.github.com/testing-library/dom-testing-library/issues/1241)) ([2c57055](2c570553d8)), closes [#&#8203;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.

</details>

---

### 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.

---

 - [ ] <!-- rebase-check -->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).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS41OC4xIiwidXBkYXRlZEluVmVyIjoiMzkuNTguMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
This commit is contained in:
renovate 2024-12-12 10:42:20 +00:00
parent 59f4f1e51d
commit e15a298b80
No known key found for this signature in database
GPG Key ID: 30B1140CE1C07C99
3 changed files with 6 additions and 40 deletions

View File

@ -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",

View File

@ -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",

View File

@ -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