diff --git a/package.json b/package.json index ba22996fa2..9f1ba0b882 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@babel/preset-react": "7.24.7", "@babel/preset-typescript": "7.24.7", "@emotion/babel-preset-css-prop": "11.12.0", - "@testing-library/react": "12.1.4", + "@testing-library/react": "16.0.1", "@types/jest": "27.5.0", "@types/node": "22.5.4", "@types/platform": "1.3.6", diff --git a/yarn.lock b/yarn.lock index c0b95a0c71..6a9301c7d7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22,7 +22,7 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.18.6": +"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.18.6": version: 7.18.6 resolution: "@babel/code-frame@npm:7.18.6" dependencies: @@ -2284,17 +2284,16 @@ __metadata: languageName: node linkType: hard -"@babel/runtime-corejs3@npm:^7.10.2": - version: 7.12.5 - resolution: "@babel/runtime-corejs3@npm:7.12.5" +"@babel/runtime@npm:^7.12.0": + version: 7.22.10 + resolution: "@babel/runtime@npm:7.22.10" dependencies: - core-js-pure: ^3.0.0 - regenerator-runtime: ^0.13.4 - checksum: f896716cfab363f1b6bd4b653f596763a5cb5aa4e04b6671e1f28af2a0a6107b41f147383c61b3983855d806802a1f251a51a6f2ae7ce28fce7189bc71a5c20a + regenerator-runtime: ^0.14.0 + checksum: 524d41517e68953dbc73a4f3616b8475e5813f64e28ba89ff5fca2c044d535c2ea1a3f310df1e5bb06162e1f0b401b5c4af73fe6e2519ca2450d9d8c44cf268d languageName: node linkType: hard -"@babel/runtime@npm:^7.10.2, @babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.14.5, @babel/runtime@npm:^7.17.2, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7": +"@babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.14.5, @babel/runtime@npm:^7.17.2, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.5.5, @babel/runtime@npm:^7.8.4, @babel/runtime@npm:^7.8.7": version: 7.19.4 resolution: "@babel/runtime@npm:7.19.4" dependencies: @@ -2303,15 +2302,6 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.12.0": - version: 7.22.10 - resolution: "@babel/runtime@npm:7.22.10" - dependencies: - regenerator-runtime: ^0.14.0 - checksum: 524d41517e68953dbc73a4f3616b8475e5813f64e28ba89ff5fca2c044d535c2ea1a3f310df1e5bb06162e1f0b401b5c4af73fe6e2519ca2450d9d8c44cf268d - languageName: node - linkType: hard - "@babel/runtime@npm:^7.23.2": version: 7.24.0 resolution: "@babel/runtime@npm:7.24.0" @@ -3563,33 +3553,23 @@ __metadata: languageName: node linkType: hard -"@testing-library/dom@npm:^8.0.0": - version: 8.0.0 - resolution: "@testing-library/dom@npm:8.0.0" - dependencies: - "@babel/code-frame": ^7.10.4 - "@babel/runtime": ^7.12.5 - "@types/aria-query": ^4.2.0 - aria-query: ^4.2.2 - chalk: ^4.1.0 - dom-accessibility-api: ^0.5.6 - lz-string: ^1.4.4 - pretty-format: ^27.0.2 - checksum: 72ee7eed463d94eaa9cce274c5545f3a5dc8e778e125ff7abb08daea16a3e42a7edeab307c6c96bc0079e03c2ccaa210fb591cb2070b8ad40421f8d9070d7593 - languageName: node - linkType: hard - -"@testing-library/react@npm:12.1.4": - version: 12.1.4 - resolution: "@testing-library/react@npm:12.1.4" +"@testing-library/react@npm:16.0.1": + version: 16.0.1 + resolution: "@testing-library/react@npm:16.0.1" dependencies: "@babel/runtime": ^7.12.5 - "@testing-library/dom": ^8.0.0 - "@types/react-dom": "*" peerDependencies: - react: "*" - react-dom: "*" - checksum: 944c5f8d4abb22c0650c25c7ae499651828c37c0e741ff67a4635d4cd99b307d486dabec05b372aba638bd359d29cd2af97393b5055ea294a201d80b4bc384b8 + "@testing-library/dom": ^10.0.0 + "@types/react": ^18.0.0 + "@types/react-dom": ^18.0.0 + react: ^18.0.0 + react-dom: ^18.0.0 + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 1837db473ea018cf2b5d0cbfffb7a30d0d759e5a7f23aad431441c77bcc3d2533250cd003a61878fd908267df47404cedcb5914f12d79e413002c659652b37fd languageName: node linkType: hard @@ -3600,13 +3580,6 @@ __metadata: languageName: node linkType: hard -"@types/aria-query@npm:^4.2.0": - version: 4.2.0 - resolution: "@types/aria-query@npm:4.2.0" - checksum: e4a3748c5511deb88e93c6faf2acb0730233ff75018e9aaed95e3d2833880e9d0eda7e08e4315a827872471779471585671d08bae00ac8b9813fc140194b52e5 - languageName: node - linkType: hard - "@types/babel__core@npm:^7.1.14": version: 7.20.5 resolution: "@types/babel__core@npm:7.20.5" @@ -3833,15 +3806,6 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:*": - version: 17.0.14 - resolution: "@types/react-dom@npm:17.0.14" - dependencies: - "@types/react": "*" - checksum: b54cd0ef573236b3d87fe7493e6d1c36d8b4ca37a3b46364272a5c91ac178e3296b68ea1aeb299ce68f12ad663c5720ee890d0539b14881c6754bdcbdb0befa0 - languageName: node - linkType: hard - "@types/react-dom@npm:18.3.0": version: 18.3.0 resolution: "@types/react-dom@npm:18.3.0" @@ -4900,16 +4864,6 @@ __metadata: languageName: node linkType: hard -"aria-query@npm:^4.2.2": - version: 4.2.2 - resolution: "aria-query@npm:4.2.2" - dependencies: - "@babel/runtime": ^7.10.2 - "@babel/runtime-corejs3": ^7.10.2 - checksum: 38401a9a400f26f3dcc24b84997461a16b32869a9893d323602bed8da40a8bcc0243b8d2880e942249a1496cea7a7de769e93d21c0baa439f01e1ee936fed665 - languageName: node - linkType: hard - "arr-union@npm:^3.1.0": version: 3.1.0 resolution: "arr-union@npm:3.1.0" @@ -6035,13 +5989,6 @@ __metadata: languageName: node linkType: hard -"core-js-pure@npm:^3.0.0": - version: 3.8.0 - resolution: "core-js-pure@npm:3.8.0" - checksum: 97d9d30c40349c7a378497c829e766ac089a4acf90da6039e4b51936af05810bc037ff26200df567ceea7b078aced88d84f543a52c196c1e18517e03b6c4a210 - languageName: node - linkType: hard - "core-js@npm:3.38.1": version: 3.38.1 resolution: "core-js@npm:3.38.1" @@ -6429,13 +6376,6 @@ __metadata: languageName: node linkType: hard -"dom-accessibility-api@npm:^0.5.6": - version: 0.5.6 - resolution: "dom-accessibility-api@npm:0.5.6" - checksum: 900eee86c0065ea13a52524093ebf79513d89cc04f1f423d5f5e1641d9d3d41714d271d78ea9827f47013642f222fe515ec3658f51fd82c981512f0a83ba9708 - languageName: node - linkType: hard - "dom-helpers@npm:^5.0.1": version: 5.2.0 resolution: "dom-helpers@npm:5.2.0" @@ -10620,15 +10560,6 @@ __metadata: languageName: node linkType: hard -"lz-string@npm:^1.4.4": - version: 1.4.4 - resolution: "lz-string@npm:1.4.4" - bin: - lz-string: bin/bin.js - checksum: 54e31238a61a84d8f664d9860a9fba7310c5b97a52c444f80543069bc084815eff40b8d4474ae1d93992fdf6c252dca37cf27f6adbeb4dbc3df2f3ac773d0e61 - languageName: node - linkType: hard - "make-dir@npm:^3.0.0, make-dir@npm:^3.0.2, make-dir@npm:^3.1.0": version: 3.1.0 resolution: "make-dir@npm:3.1.0" @@ -11668,7 +11599,7 @@ __metadata: languageName: node linkType: hard -"pretty-format@npm:^27.0.0, pretty-format@npm:^27.0.2, pretty-format@npm:^27.5.1": +"pretty-format@npm:^27.0.0, pretty-format@npm:^27.5.1": version: 27.5.1 resolution: "pretty-format@npm:27.5.1" dependencies: @@ -14469,7 +14400,7 @@ __metadata: "@babel/preset-react": 7.24.7 "@babel/preset-typescript": 7.24.7 "@emotion/babel-preset-css-prop": 11.12.0 - "@testing-library/react": 12.1.4 + "@testing-library/react": 16.0.1 "@types/jest": 27.5.0 "@types/node": 22.5.4 "@types/platform": 1.3.6