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