diff --git a/src/abacus-backoffice/package.json b/src/abacus-backoffice/package.json index 8096ef7db0..cff1f49e2b 100644 --- a/src/abacus-backoffice/package.json +++ b/src/abacus-backoffice/package.json @@ -45,7 +45,7 @@ "@fbtjs/default-collection-transform": "^1.0.0", "@playwright/test": "^1.43.0", "@testing-library/jest-dom": "^5.17.0", - "@testing-library/react": "^13.4.0", + "@testing-library/react": "^14.2.2", "@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 649d3f9443..bc40742ad1 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.43.0", - "@testing-library/react": "^13.4.0" + "@testing-library/react": "^14.2.2" } } diff --git a/src/sx-design/package.json b/src/sx-design/package.json index ef85242a31..9654ad1aa1 100644 --- a/src/sx-design/package.json +++ b/src/sx-design/package.json @@ -50,7 +50,7 @@ "@storybook/react": "^6.5.16", "@storybook/theming": "^6.5.16", "@testing-library/jest-dom": "^5.17.0", - "@testing-library/react": "^13.4.0", + "@testing-library/react": "^14.2.2", "@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 78274e3ef6..8521b07cee 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": "^13.4.0", + "@testing-library/react": "^14.2.2", "react-test-renderer": "^18.2.0" } } diff --git a/src/sx/package.json b/src/sx/package.json index 2eb7d3948a..d7fcd58119 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": "^5.17.0", - "@testing-library/react": "^13.4.0", + "@testing-library/react": "^14.2.2", "react": "^18.2.0", "react-test-renderer": "^18.2.0", "snapshot-diff": "^0.10.0" diff --git a/yarn.lock b/yarn.lock index bad86092ff..0ac0d22987 100644 --- a/yarn.lock +++ b/yarn.lock @@ -32,7 +32,7 @@ __metadata: "@recoiljs/refine": "npm:^0.1.1" "@sentry/nextjs": "npm:^7.109.0" "@testing-library/jest-dom": "npm:^5.17.0" - "@testing-library/react": "npm:^13.4.0" + "@testing-library/react": "npm:^14.2.2" "@testing-library/react-hooks": "npm:^8.0.1" babel-plugin-fbt: "npm:^1.0.0" babel-plugin-fbt-runtime: "npm:^1.0.0" @@ -67,7 +67,7 @@ __metadata: "@fbtjs/default-collection-transform": "npm:^1.0.0" "@playwright/test": "npm:^1.43.0" "@sentry/nextjs": "npm:^7.109.0" - "@testing-library/react": "npm:^13.4.0" + "@testing-library/react": "npm:^14.2.2" babel-plugin-fbt: "npm:^1.0.0" babel-plugin-fbt-runtime: "npm:^1.0.0" fbt: "npm:^1.0.0" @@ -458,7 +458,7 @@ __metadata: "@storybook/react": "npm:^6.5.16" "@storybook/theming": "npm:^6.5.16" "@testing-library/jest-dom": "npm:^5.17.0" - "@testing-library/react": "npm:^13.4.0" + "@testing-library/react": "npm:^14.2.2" "@testing-library/user-event": "npm:^14.5.2" babel-loader: "npm:^9.1.3" babel-plugin-fbt: "npm:^1.0.0" @@ -486,7 +486,7 @@ __metadata: dependencies: "@adeira/sx": "npm:^0.30.0" "@babel/runtime": "npm:^7.24.4" - "@testing-library/react": "npm:^13.4.0" + "@testing-library/react": "npm:^14.2.2" prettier: "npm:^2.8.8" pretty-format: "npm:^29.7.0" react-test-renderer: "npm:^18.2.0" @@ -503,7 +503,7 @@ __metadata: "@adeira/murmur-hash": "npm:^2.0.1" "@babel/runtime": "npm:^7.24.4" "@testing-library/jest-dom": "npm:^5.17.0" - "@testing-library/react": "npm:^13.4.0" + "@testing-library/react": "npm:^14.2.2" change-case: "npm:^4.1.2" css-tree: "npm:^2.3.1" fast-levenshtein: "npm:^3.0.0" @@ -5935,19 +5935,19 @@ __metadata: languageName: node linkType: hard -"@testing-library/dom@npm:^8.5.0": - version: 8.12.0 - resolution: "@testing-library/dom@npm:8.12.0" +"@testing-library/dom@npm:^9.0.0": + 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:^4.2.0" - aria-query: "npm:^5.0.0" + "@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.4.4" + lz-string: "npm:^1.5.0" pretty-format: "npm:^27.0.2" - checksum: 10c0/54b0495cecf569ecbce9314e70e5593de3b360ed155718c064d72f1429101104312435e3e16558ca6943b7fe9b415e48588a50905637c8fb709a3fa5ec06cbe4 + checksum: 10c0/147da340e8199d7f98f3a4ad8aa22ed55b914b83957efa5eb22bfea021a979ebe5a5182afa9c1e5b7a5f99a7f6744a5a4d9325ae46ec3b33b5a15aed8750d794 languageName: node linkType: hard @@ -5990,17 +5990,17 @@ __metadata: languageName: node linkType: hard -"@testing-library/react@npm:^13.4.0": - version: 13.4.0 - resolution: "@testing-library/react@npm:13.4.0" +"@testing-library/react@npm:^14.2.2": + version: 14.2.2 + resolution: "@testing-library/react@npm:14.2.2" dependencies: "@babel/runtime": "npm:^7.12.5" - "@testing-library/dom": "npm:^8.5.0" + "@testing-library/dom": "npm:^9.0.0" "@types/react-dom": "npm:^18.0.0" peerDependencies: react: ^18.0.0 react-dom: ^18.0.0 - checksum: 10c0/371bf982dd0deb27da004f368b06904353eac0f23f9c08ff0f24443c3f51a6d647009e366034417565d2484c40f1c7eff74413738abf4ec55209da9bd3253b0e + checksum: 10c0/ab36707f6701a4a56dd217e16e00d6326e0f760bb2e716245422c7500a0b94efcd351d0aa89c4fab2916e6ebc68c983cec6b3ae0804de813cafc913a612668f6 languageName: node linkType: hard @@ -6067,10 +6067,10 @@ __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: 10c0/5986d36ceda5dc2c58c1e8d09e0be3c97a08343455901ca3f47f5df5df9c1a787bbf260ff175b2d45833293aca18eb67c2479270d91f7e371f709f72dd152ead +"@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 @@ -7748,6 +7748,15 @@ __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: 10c0/edcbc8044c4663d6f88f785e983e6784f98cb62b4ba1e9dd8d61b725d0203e4cfca38d676aee984c31f354103461102a3d583aa4fbe4fd0a89b679744f4e5faf + languageName: node + linkType: hard + "aria-query@npm:^5.0.0, aria-query@npm:^5.3.0": version: 5.3.0 resolution: "aria-query@npm:5.3.0" @@ -7778,7 +7787,7 @@ __metadata: languageName: node linkType: hard -"array-buffer-byte-length@npm:^1.0.1": +"array-buffer-byte-length@npm:^1.0.0, array-buffer-byte-length@npm:^1.0.1": version: 1.0.1 resolution: "array-buffer-byte-length@npm:1.0.1" dependencies: @@ -11039,6 +11048,32 @@ __metadata: languageName: node linkType: hard +"deep-equal@npm:^2.0.5": + version: 2.2.3 + resolution: "deep-equal@npm:2.2.3" + dependencies: + array-buffer-byte-length: "npm:^1.0.0" + call-bind: "npm:^1.0.5" + es-get-iterator: "npm:^1.1.3" + get-intrinsic: "npm:^1.2.2" + is-arguments: "npm:^1.1.1" + is-array-buffer: "npm:^3.0.2" + is-date-object: "npm:^1.0.5" + is-regex: "npm:^1.1.4" + is-shared-array-buffer: "npm:^1.0.2" + isarray: "npm:^2.0.5" + object-is: "npm:^1.1.5" + object-keys: "npm:^1.1.1" + object.assign: "npm:^4.1.4" + regexp.prototype.flags: "npm:^1.5.1" + side-channel: "npm:^1.0.4" + which-boxed-primitive: "npm:^1.0.2" + which-collection: "npm:^1.0.1" + which-typed-array: "npm:^1.1.13" + checksum: 10c0/a48244f90fa989f63ff5ef0cc6de1e4916b48ea0220a9c89a378561960814794a5800c600254482a2c8fd2e49d6c2e196131dc983976adb024c94a42dfe4949f + languageName: node + linkType: hard + "deep-extend@npm:^0.6.0": version: 0.6.0 resolution: "deep-extend@npm:0.6.0" @@ -11885,7 +11920,7 @@ __metadata: languageName: node linkType: hard -"es-get-iterator@npm:^1.0.2": +"es-get-iterator@npm:^1.0.2, es-get-iterator@npm:^1.1.3": version: 1.1.3 resolution: "es-get-iterator@npm:1.1.3" dependencies: @@ -13771,7 +13806,7 @@ __metadata: languageName: node linkType: hard -"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.3, get-intrinsic@npm:^1.2.4": +"get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1, get-intrinsic@npm:^1.1.3, get-intrinsic@npm:^1.2.1, get-intrinsic@npm:^1.2.2, get-intrinsic@npm:^1.2.3, get-intrinsic@npm:^1.2.4": version: 1.2.4 resolution: "get-intrinsic@npm:1.2.4" dependencies: @@ -15445,7 +15480,7 @@ __metadata: languageName: node linkType: hard -"is-array-buffer@npm:^3.0.4": +"is-array-buffer@npm:^3.0.2, is-array-buffer@npm:^3.0.4": version: 3.0.4 resolution: "is-array-buffer@npm:3.0.4" dependencies: @@ -17573,12 +17608,12 @@ __metadata: languageName: node linkType: hard -"lz-string@npm:^1.4.4": - version: 1.4.4 - resolution: "lz-string@npm:1.4.4" +"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/683d2d01607444605bee9902b05851415ae54e4de75ff14971c7e070d0fab53a7f1f82e659f24e6ccdc63080832b937418e278a611ed4a354bf2e7ad6f0b874b + checksum: 10c0/36128e4de34791838abe979b19927c26e67201ca5acf00880377af7d765b38d1c60847e01c5ec61b1a260c48029084ab3893a3925fd6e48a04011364b089991b languageName: node linkType: hard @@ -19724,6 +19759,16 @@ __metadata: languageName: node linkType: hard +"object-is@npm:^1.1.5": + version: 1.1.6 + resolution: "object-is@npm:1.1.6" + dependencies: + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + checksum: 10c0/506af444c4dce7f8e31f34fc549e2fb8152d6b9c4a30c6e62852badd7f520b579c679af433e7a072f9d78eb7808d230dc12e1cf58da9154dfbf8813099ea0fe0 + languageName: node + linkType: hard + "object-keys@npm:^1.1.1": version: 1.1.1 resolution: "object-keys@npm:1.1.1" @@ -22320,7 +22365,7 @@ __metadata: languageName: node linkType: hard -"regexp.prototype.flags@npm:^1.5.0, regexp.prototype.flags@npm:^1.5.2": +"regexp.prototype.flags@npm:^1.5.0, regexp.prototype.flags@npm:^1.5.1, regexp.prototype.flags@npm:^1.5.2": version: 1.5.2 resolution: "regexp.prototype.flags@npm:1.5.2" dependencies: @@ -26398,7 +26443,7 @@ __metadata: languageName: node linkType: hard -"which-typed-array@npm:^1.1.14, which-typed-array@npm:^1.1.9": +"which-typed-array@npm:^1.1.13, which-typed-array@npm:^1.1.14, which-typed-array@npm:^1.1.9": version: 1.1.15 resolution: "which-typed-array@npm:1.1.15" dependencies: