diff --git a/yarn.lock b/yarn.lock index 5a7947c9352..8a40cf5925d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2478,10 +2478,9 @@ __metadata: "@svgr/core": 6.5.1 "@svgr/plugin-jsx": 6.5.1 "@svgr/plugin-svgo": 6.5.1 - "@testing-library/dom": 8.11.0 - "@testing-library/react": 12.1.2 - "@testing-library/react-hooks": 7.0.2 - "@testing-library/user-event": 13.5.0 + "@testing-library/dom": 9.3.1 + "@testing-library/react": 14.0.0 + "@testing-library/user-event": 14.4.3 "@types/fs-extra": 11.0.1 "@types/jest": 29.2.6 "@types/jest-axe": 3.5.5 @@ -2555,8 +2554,8 @@ __metadata: prettier-package-json: 2.6.0 process: 0.11.10 prop-types: 15.7.2 - react: 17.0.2 - react-dom: 17.0.2 + react: 18.2.0 + react-dom: 18.2.0 react-to-typescript-definitions: 3.1.1 regenerator-runtime: 0.13.9 repo-utils: "workspace:*" @@ -2582,8 +2581,8 @@ __metadata: wait-on: 6.0.0 what-input: 5.2.10 peerDependencies: - react: ^17 - react-dom: ^17 + react: ^17 || ^18 + react-dom: ^17 || ^18 languageName: unknown linkType: soft @@ -6058,25 +6057,9 @@ __metadata: languageName: node linkType: hard -"@testing-library/dom@npm:8.11.0": - version: 8.11.0 - resolution: "@testing-library/dom@npm:8.11.0" - dependencies: - "@babel/code-frame": ^7.10.4 - "@babel/runtime": ^7.12.5 - "@types/aria-query": ^4.2.0 - aria-query: ^5.0.0 - chalk: ^4.1.0 - dom-accessibility-api: ^0.5.9 - lz-string: ^1.4.4 - pretty-format: ^27.0.2 - checksum: e546ef5c2d934fedce1d296763694151dfcb0f25a34301fce83f813924c1bc7926740c7036a2395bd611cbaa2dd604b11508d7bf10231f278400fffb8186f402 - languageName: node - linkType: hard - -"@testing-library/dom@npm:^8.0.0": - version: 8.20.1 - resolution: "@testing-library/dom@npm:8.20.1" +"@testing-library/dom@npm:9.3.1, @testing-library/dom@npm:^9.0.0": + version: 9.3.1 + resolution: "@testing-library/dom@npm:9.3.1" dependencies: "@babel/code-frame": ^7.10.4 "@babel/runtime": ^7.12.5 @@ -6086,53 +6069,30 @@ __metadata: dom-accessibility-api: ^0.5.9 lz-string: ^1.5.0 pretty-format: ^27.0.2 - checksum: 06fc8dc67849aadb726cbbad0e7546afdf8923bd39acb64c576d706249bd7d0d05f08e08a31913fb621162e3b9c2bd0dce15964437f030f9fa4476326fdd3007 + checksum: 8ee3136451644e39990edea93709c38cf1e8ce5306f3c66273ca00935963faa51ca74e8d92b02eb442ccb842cfa28ca62833e393e075eb269cf9bef6f5600663 languageName: node linkType: hard -"@testing-library/react-hooks@npm:7.0.2": - version: 7.0.2 - resolution: "@testing-library/react-hooks@npm:7.0.2" +"@testing-library/react@npm:14.0.0": + version: 14.0.0 + resolution: "@testing-library/react@npm:14.0.0" dependencies: "@babel/runtime": ^7.12.5 - "@types/react": ">=16.9.0" - "@types/react-dom": ">=16.9.0" - "@types/react-test-renderer": ">=16.9.0" - react-error-boundary: ^3.1.0 - peerDependencies: - react: ">=16.9.0" - react-dom: ">=16.9.0" - react-test-renderer: ">=16.9.0" - peerDependenciesMeta: - react-dom: - optional: true - react-test-renderer: - optional: true - checksum: 27c6169b5c9832bd02dcea232e6a0a3cd8d4504e13ecb49d57eb5ab6bea5e2f1bff65f3102068b7e57eec3cbd671326dc0b277335014b0edfbdedf11a1fe6db5 - languageName: node - linkType: hard - -"@testing-library/react@npm:12.1.2": - version: 12.1.2 - resolution: "@testing-library/react@npm:12.1.2" - dependencies: - "@babel/runtime": ^7.12.5 - "@testing-library/dom": ^8.0.0 + "@testing-library/dom": ^9.0.0 + "@types/react-dom": ^18.0.0 peerDependencies: - react: "*" - react-dom: "*" - checksum: 70b0f7f27c83fe1a33e7df01b1e64850fbab4050c403848d611d852cadaa25ccde58518773002ae569a1350b2282c2ccbcbe5eb6af8b29ab377ab2a8ab573b3b + react: ^18.0.0 + react-dom: ^18.0.0 + checksum: 4a54c8f56cc4a39b50803205f84f06280bb76521d6d5d4b3b36651d760c7c7752ef142d857d52aaf4fad4848ed7a8be49afc793a5dda105955d2f8bef24901ac languageName: node linkType: hard -"@testing-library/user-event@npm:13.5.0": - version: 13.5.0 - resolution: "@testing-library/user-event@npm:13.5.0" - dependencies: - "@babel/runtime": ^7.12.5 +"@testing-library/user-event@npm:14.4.3": + version: 14.4.3 + resolution: "@testing-library/user-event@npm:14.4.3" peerDependencies: "@testing-library/dom": ">=7.21.4" - checksum: 16319de685fbb7008f1ba667928f458b2d08196918002daca56996de80ef35e6d9de26e9e1ece7d00a004692b95a597cf9142fff0dc53f2f51606a776584f549 + checksum: 852c48ea6db1c9471b18276617c84fec4320771e466cd58339a732ca3fd73ad35e5a43ae14f51af51a8d0a150dcf60fcaab049ef367871207bea8f92c4b8195e languageName: node linkType: hard @@ -6200,13 +6160,6 @@ __metadata: languageName: node linkType: hard -"@types/aria-query@npm:^4.2.0": - version: 4.2.2 - resolution: "@types/aria-query@npm:4.2.2" - checksum: 6f2ce11d91e2d665f3873258db19da752d91d85d3679eb5efcdf9c711d14492287e1e4eb52613b28e60375841a9e428594e745b68436c963d8bad4bf72188df3 - languageName: node - linkType: hard - "@types/aria-query@npm:^5.0.1": version: 5.0.1 resolution: "@types/aria-query@npm:5.0.1" @@ -6867,7 +6820,7 @@ __metadata: languageName: node linkType: hard -"@types/react-dom@npm:>=16.9.0": +"@types/react-dom@npm:18.2.6, @types/react-dom@npm:^18.0.0": version: 18.2.6 resolution: "@types/react-dom@npm:18.2.6" dependencies: @@ -6876,23 +6829,25 @@ __metadata: languageName: node linkType: hard -"@types/react-test-renderer@npm:>=16.9.0": - version: 18.0.0 - resolution: "@types/react-test-renderer@npm:18.0.0" +"@types/react@npm:*, @types/react@npm:>=16": + version: 18.2.14 + resolution: "@types/react@npm:18.2.14" dependencies: - "@types/react": "*" - checksum: 6afc938a1d7618d88ab8793e251f0bd5981bf3f08c1b600f74df3f8800b92589ea534dc6dcb7c8d683893fcc740bf8d7843a42bf2dae59785cfe88f004bd7b0b + "@types/prop-types": "*" + "@types/scheduler": "*" + csstype: ^3.0.2 + checksum: a6a5e8cc78f486b9020d1ad009aa6c56943c68c7c6376e0f8399e9cbcd950b7b8f5d73f00200f5379f5e58d31d57d8aed24357f301d8e86108cd438ce6c8b3dd languageName: node linkType: hard -"@types/react@npm:*, @types/react@npm:>=16, @types/react@npm:>=16.9.0": - version: 18.2.14 - resolution: "@types/react@npm:18.2.14" +"@types/react@npm:18.2.13": + version: 18.2.13 + resolution: "@types/react@npm:18.2.13" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: a6a5e8cc78f486b9020d1ad009aa6c56943c68c7c6376e0f8399e9cbcd950b7b8f5d73f00200f5379f5e58d31d57d8aed24357f301d8e86108cd438ce6c8b3dd + checksum: f7c15f19c164a29262993ea2aae2085fa38cddd9b8359fd8fefabfced91010b515a3abe2042b2b7f2f86e6b38a25b191415aa9313a9027175e3a000883c858cc languageName: node linkType: hard @@ -8193,7 +8148,7 @@ __metadata: languageName: node linkType: hard -"aria-query@npm:^5.0.0, aria-query@npm:^5.1.3": +"aria-query@npm:^5.1.3": version: 5.3.0 resolution: "aria-query@npm:5.3.0" dependencies: @@ -12424,6 +12379,8 @@ __metadata: "@emotion/styled": 11.9.3 "@mdx-js/mdx": 2.3.0 "@mdx-js/react": 2.3.0 + "@types/react": 18.2.13 + "@types/react-dom": 18.2.6 "@typescript-eslint/parser": 5.60.0 algoliasearch: 4.12.0 babel-jest: 29.5.0 @@ -12475,8 +12432,8 @@ __metadata: process: 0.11.10 prop-types: 15.7.2 raw-loader: 4.0.2 - react: 17.0.2 - react-dom: 17.0.2 + react: 18.2.0 + react-dom: 18.2.0 react-live: 3.1.1 react-live-ssr: "workspace:*" remark-gfm: 1.0.0 @@ -15715,7 +15672,7 @@ __metadata: peerDependencies: "@dnb/eufemia": ">=9" gatsby: ">=3" - react: ">=17" + react: ">=18" languageName: unknown linkType: soft @@ -21213,7 +21170,7 @@ __metadata: languageName: node linkType: hard -"lz-string@npm:^1.4.4, lz-string@npm:^1.5.0": +"lz-string@npm:^1.5.0": version: 1.5.0 resolution: "lz-string@npm:1.5.0" bin: @@ -26514,16 +26471,15 @@ __metadata: languageName: node linkType: hard -"react-dom@npm:17.0.2": - version: 17.0.2 - resolution: "react-dom@npm:17.0.2" +"react-dom@npm:18.2.0": + version: 18.2.0 + resolution: "react-dom@npm:18.2.0" dependencies: loose-envify: ^1.1.0 - object-assign: ^4.1.1 - scheduler: ^0.20.2 + scheduler: ^0.23.0 peerDependencies: - react: 17.0.2 - checksum: 1c1eaa3bca7c7228d24b70932e3d7c99e70d1d04e13bb0843bbf321582bc25d7961d6b8a6978a58a598af2af496d1cedcfb1bf65f6b0960a0a8161cb8dab743c + react: ^18.2.0 + checksum: 7d323310bea3a91be2965f9468d552f201b1c27891e45ddc2d6b8f717680c95a75ae0bc1e3f5cf41472446a2589a75aed4483aee8169287909fcd59ad149e8cc languageName: node linkType: hard @@ -26541,17 +26497,6 @@ __metadata: languageName: node linkType: hard -"react-error-boundary@npm:^3.1.0": - version: 3.1.4 - resolution: "react-error-boundary@npm:3.1.4" - dependencies: - "@babel/runtime": ^7.12.5 - peerDependencies: - react: ">=16.13.1" - checksum: f36270a5d775a25c8920f854c0d91649ceea417b15b5bc51e270a959b0476647bb79abb4da3be7dd9a4597b029214e8fe43ea914a7f16fa7543c91f784977f1b - languageName: node - linkType: hard - "react-error-overlay@npm:^6.0.11": version: 6.0.11 resolution: "react-error-overlay@npm:6.0.11" @@ -26661,13 +26606,12 @@ __metadata: languageName: node linkType: hard -"react@npm:17.0.2": - version: 17.0.2 - resolution: "react@npm:17.0.2" +"react@npm:18.2.0": + version: 18.2.0 + resolution: "react@npm:18.2.0" dependencies: loose-envify: ^1.1.0 - object-assign: ^4.1.1 - checksum: b254cc17ce3011788330f7bbf383ab653c6848902d7936a87b09d835d091e3f295f7e9dd1597c6daac5dc80f90e778c8230218ba8ad599f74adcc11e33b9d61b + checksum: 88e38092da8839b830cda6feef2e8505dec8ace60579e46aa5490fc3dc9bba0bd50336507dc166f43e3afc1c42939c09fe33b25fae889d6f402721dcd78fca1b languageName: node linkType: hard @@ -27884,13 +27828,12 @@ __metadata: languageName: node linkType: hard -"scheduler@npm:^0.20.2": - version: 0.20.2 - resolution: "scheduler@npm:0.20.2" +"scheduler@npm:^0.23.0": + version: 0.23.0 + resolution: "scheduler@npm:0.23.0" dependencies: loose-envify: ^1.1.0 - object-assign: ^4.1.1 - checksum: c4b35cf967c8f0d3e65753252d0f260271f81a81e427241295c5a7b783abf4ea9e905f22f815ab66676f5313be0a25f47be582254db8f9241b259213e999b8fc + checksum: d79192eeaa12abef860c195ea45d37cbf2bbf5f66e3c4dcd16f54a7da53b17788a70d109ee3d3dde1a0fd50e6a8fc171f4300356c5aee4fc0171de526bf35f8a languageName: node linkType: hard @@ -29015,8 +28958,8 @@ __metadata: "@emotion/react": 11.9.3 "@emotion/styled": 11.9.3 classnames: 2.3.1 - react: 17.0.2 - react-dom: 17.0.2 + react: 18.2.0 + react-dom: 18.2.0 languageName: unknown linkType: soft