diff --git a/src/abacus-backoffice/package.json b/src/abacus-backoffice/package.json index 241a4dc387..4c786ea749 100644 --- a/src/abacus-backoffice/package.json +++ b/src/abacus-backoffice/package.json @@ -44,7 +44,7 @@ "@fbtjs/default-collection-transform": "^1.0.0", "@playwright/test": "^1.45.0", "@testing-library/jest-dom": "^6.4.6", - "@testing-library/react": "^15.0.7", + "@testing-library/react": "^16.0.0", "@testing-library/react-hooks": "^8.0.1", "babel-plugin-fbt": "^1.0.0", "babel-plugin-fbt-runtime": "^1.0.0" diff --git a/src/abacus-kochka/package.json b/src/abacus-kochka/package.json index dca13fd4d5..e2be30e5b8 100644 --- a/src/abacus-kochka/package.json +++ b/src/abacus-kochka/package.json @@ -40,6 +40,6 @@ "@adeira/babel-preset-adeira": "^4.0.0", "@fbtjs/default-collection-transform": "^1.0.0", "@playwright/test": "^1.45.0", - "@testing-library/react": "^15.0.7" + "@testing-library/react": "^16.0.0" } } diff --git a/src/sx-design/package.json b/src/sx-design/package.json index 322d1c9bab..f918c870b2 100644 --- a/src/sx-design/package.json +++ b/src/sx-design/package.json @@ -48,7 +48,7 @@ "@storybook/react": "^8.0.10", "@storybook/react-webpack5": "^8.0.10", "@testing-library/jest-dom": "^6.4.6", - "@testing-library/react": "^15.0.7", + "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.5.2", "babel-loader": "^9.1.3", "babel-plugin-fbt": "^1.0.0", diff --git a/src/sx-jest-snapshot-serializer/package.json b/src/sx-jest-snapshot-serializer/package.json index 4c817a9387..7c8e0c4e86 100644 --- a/src/sx-jest-snapshot-serializer/package.json +++ b/src/sx-jest-snapshot-serializer/package.json @@ -20,7 +20,7 @@ "pretty-format": "^29.7.0" }, "devDependencies": { - "@testing-library/react": "^15.0.7", + "@testing-library/react": "^16.0.0", "react-test-renderer": "^18.3.1" } } diff --git a/src/sx/package.json b/src/sx/package.json index 9866085df7..c42b702036 100644 --- a/src/sx/package.json +++ b/src/sx/package.json @@ -31,7 +31,7 @@ "devDependencies": { "@adeira/fixtures-tester": "^1.1.1", "@testing-library/jest-dom": "^6.4.6", - "@testing-library/react": "^15.0.7", + "@testing-library/react": "^16.0.0", "react": "^18.3.1", "react-test-renderer": "^18.3.1", "snapshot-diff": "^0.10.0" diff --git a/yarn.lock b/yarn.lock index 0b8e8034a6..9264f26992 100644 --- a/yarn.lock +++ b/yarn.lock @@ -31,7 +31,7 @@ __metadata: "@recoiljs/refine": "npm:^0.1.1" "@sentry/nextjs": "npm:^7.118.0" "@testing-library/jest-dom": "npm:^6.4.6" - "@testing-library/react": "npm:^15.0.7" + "@testing-library/react": "npm:^16.0.0" "@testing-library/react-hooks": "npm:^8.0.1" babel-plugin-fbt: "npm:^1.0.0" babel-plugin-fbt-runtime: "npm:^1.0.0" @@ -66,7 +66,7 @@ __metadata: "@fbtjs/default-collection-transform": "npm:^1.0.0" "@playwright/test": "npm:^1.45.0" "@sentry/nextjs": "npm:^7.118.0" - "@testing-library/react": "npm:^15.0.7" + "@testing-library/react": "npm:^16.0.0" babel-plugin-fbt: "npm:^1.0.0" babel-plugin-fbt-runtime: "npm:^1.0.0" fbt: "npm:^1.0.2" @@ -422,7 +422,7 @@ __metadata: "@storybook/react": "npm:^8.0.10" "@storybook/react-webpack5": "npm:^8.0.10" "@testing-library/jest-dom": "npm:^6.4.6" - "@testing-library/react": "npm:^15.0.7" + "@testing-library/react": "npm:^16.0.0" "@testing-library/user-event": "npm:^14.5.2" babel-loader: "npm:^9.1.3" babel-plugin-fbt: "npm:^1.0.0" @@ -451,7 +451,7 @@ __metadata: dependencies: "@adeira/sx": "npm:^0.30.0" "@babel/runtime": "npm:^7.24.8" - "@testing-library/react": "npm:^15.0.7" + "@testing-library/react": "npm:^16.0.0" prettier: "npm:^2.8.8" pretty-format: "npm:^29.7.0" react-test-renderer: "npm:^18.3.1" @@ -468,7 +468,7 @@ __metadata: "@adeira/murmur-hash": "npm:^2.0.1" "@babel/runtime": "npm:^7.24.8" "@testing-library/jest-dom": "npm:^6.4.6" - "@testing-library/react": "npm:^15.0.7" + "@testing-library/react": "npm:^16.0.0" change-case: "npm:^4.1.2" css-tree: "npm:^2.3.1" fast-levenshtein: "npm:^3.0.0" @@ -757,7 +757,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.12.13, @babel/code-frame@npm:^7.16.0, @babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.24.7, @babel/code-frame@npm:^7.8.3": +"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.0, @babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.24.7, @babel/code-frame@npm:^7.8.3": version: 7.24.7 resolution: "@babel/code-frame@npm:7.24.7" dependencies: @@ -5409,22 +5409,6 @@ __metadata: languageName: node linkType: hard -"@testing-library/dom@npm:^10.0.0": - version: 10.0.0 - resolution: "@testing-library/dom@npm:10.0.0" - 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.3.0" - 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: 10c0/2d12d2a6018a6f1d15e91834180bc068932c699ff1fcbfb80aa21aba519a4f5329c861dfa852e06ee5615bcb92ef2a0f0e755e32684ea3dada63bc34248382ab - languageName: node - linkType: hard - "@testing-library/jest-dom@npm:^6.4.6": version: 6.4.6 resolution: "@testing-library/jest-dom@npm:6.4.6" @@ -5480,21 +5464,23 @@ __metadata: languageName: node linkType: hard -"@testing-library/react@npm:^15.0.7": - version: 15.0.7 - resolution: "@testing-library/react@npm:15.0.7" +"@testing-library/react@npm:^16.0.0": + version: 16.0.0 + resolution: "@testing-library/react@npm:16.0.0" dependencies: "@babel/runtime": "npm:^7.12.5" - "@testing-library/dom": "npm:^10.0.0" - "@types/react-dom": "npm:^18.0.0" peerDependencies: + "@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 - checksum: 10c0/ac8ee8968e81949ecb35f7ee34741c2c043f73dd7fee2247d56f6de6a30de4742af94f25264356863974e54387485b46c9448ecf3f6ca41cf4339011c369f2d4 + "@types/react-dom": + optional: true + checksum: 10c0/297f97bf4722dad05f11d9cafd47d387dbdb096fea4b79b876c7466460f0f2e345b55b81b3e37fc81ed8185c528cb53dd8455ca1b6b019b229edf6c796f11c9f languageName: node linkType: hard @@ -5554,13 +5540,6 @@ __metadata: languageName: node linkType: hard -"@types/aria-query@npm:^5.0.1": - version: 5.0.4 - resolution: "@types/aria-query@npm:5.0.4" - checksum: 10c0/dc667bc6a3acc7bba2bccf8c23d56cb1f2f4defaa704cfef595437107efaa972d3b3db9ec1d66bc2711bfc35086821edd32c302bffab36f2e79b97f312069f08 - languageName: node - linkType: hard - "@types/babel__core@npm:^7.1.14, @types/babel__core@npm:^7.18.0": version: 7.20.5 resolution: "@types/babel__core@npm:7.20.5" @@ -5990,7 +5969,7 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:^18.0.0, @types/react-dom@npm:^18.3.0": +"@types/react-dom@npm:^18.3.0": version: 18.3.0 resolution: "@types/react-dom@npm:18.3.0" dependencies: @@ -6953,7 +6932,7 @@ __metadata: languageName: node linkType: hard -"aria-query@npm:5.3.0, aria-query@npm:^5.0.0": +"aria-query@npm:^5.0.0": version: 5.3.0 resolution: "aria-query@npm:5.3.0" dependencies: @@ -9852,13 +9831,6 @@ __metadata: languageName: node linkType: hard -"dom-accessibility-api@npm:^0.5.9": - version: 0.5.12 - resolution: "dom-accessibility-api@npm:0.5.12" - checksum: 10c0/c2464f8dc9bc3b27c748b7c68d9910f6bf3a9b23a0527820f157607bc8c3f91f6f4dc3c03b03d058bf1196541f217899f253b65a26b66c86580ea6046c0705a4 - languageName: node - linkType: hard - "dom-accessibility-api@npm:^0.6.3": version: 0.6.3 resolution: "dom-accessibility-api@npm:0.6.3" @@ -15237,15 +15209,6 @@ __metadata: languageName: node linkType: hard -"lz-string@npm:^1.5.0": - version: 1.5.0 - resolution: "lz-string@npm:1.5.0" - bin: - lz-string: bin/bin.js - checksum: 10c0/36128e4de34791838abe979b19927c26e67201ca5acf00880377af7d765b38d1c60847e01c5ec61b1a260c48029084ab3893a3925fd6e48a04011364b089991b - languageName: node - linkType: hard - "magic-string@npm:^0.27.0": version: 0.27.0 resolution: "magic-string@npm:0.27.0" @@ -18410,17 +18373,6 @@ __metadata: languageName: node linkType: hard -"pretty-format@npm:^27.0.2": - version: 27.5.1 - resolution: "pretty-format@npm:27.5.1" - dependencies: - ansi-regex: "npm:^5.0.1" - ansi-styles: "npm:^5.0.0" - react-is: "npm:^17.0.1" - checksum: 10c0/0cbda1031aa30c659e10921fa94e0dd3f903ecbbbe7184a729ad66f2b6e7f17891e8c7d7654c458fa4ccb1a411ffb695b4f17bbcd3fe075fabe181027c4040ed - languageName: node - linkType: hard - "pretty-format@npm:^29.0.0, pretty-format@npm:^29.7.0": version: 29.7.0 resolution: "pretty-format@npm:29.7.0" @@ -18950,13 +18902,6 @@ __metadata: languageName: node linkType: hard -"react-is@npm:^17.0.1": - version: 17.0.2 - resolution: "react-is@npm:17.0.2" - checksum: 10c0/2bdb6b93fbb1820b024b496042cce405c57e2f85e777c9aabd55f9b26d145408f9f74f5934676ffdc46f3dcff656d78413a6e43968e7b3f92eea35b3052e9053 - languageName: node - linkType: hard - "react-json-view-lite@npm:^1.2.0": version: 1.2.1 resolution: "react-json-view-lite@npm:1.2.1"