diff --git a/packages/explat-client-react-helpers/package.json b/packages/explat-client-react-helpers/package.json index 5d2c71e938a6c..b9b6d9dcc8113 100644 --- a/packages/explat-client-react-helpers/package.json +++ b/packages/explat-client-react-helpers/package.json @@ -26,15 +26,14 @@ }, "dependencies": { "@automattic/explat-client": "workspace:^", - "react": ">=16.8", + "react": ">=16.8 <18", "tslib": ">=2.3.0" }, "devDependencies": { "@automattic/calypso-polyfills": "workspace:^", "@automattic/calypso-typescript-config": "workspace:^", "@testing-library/react": "^12.1.3", - "@testing-library/react-hooks": "7.0.2", - "react-dom": ">=16.8", - "typescript": ">=4.5.5" + "@testing-library/react-hooks": "^7.0.2", + "typescript": "^4.5.5" } } diff --git a/yarn.lock b/yarn.lock index 62c75eeb4a61e..ed685a43fc960 100644 --- a/yarn.lock +++ b/yarn.lock @@ -572,11 +572,10 @@ __metadata: "@automattic/calypso-typescript-config": "workspace:^" "@automattic/explat-client": "workspace:^" "@testing-library/react": ^12.1.3 - "@testing-library/react-hooks": 7.0.2 - react: ">=16.8" - react-dom: ">=16.8" + "@testing-library/react-hooks": ^7.0.2 + react: ">=16.8 <18" tslib: ">=2.3.0" - typescript: ">=4.5.5" + typescript: ^4.5.5 languageName: unknown linkType: soft @@ -6641,7 +6640,7 @@ __metadata: languageName: node linkType: hard -"@testing-library/react-hooks@npm:7.0.2": +"@testing-library/react-hooks@npm:7.0.2, @testing-library/react-hooks@npm:^7.0.2": version: 7.0.2 resolution: "@testing-library/react-hooks@npm:7.0.2" dependencies: @@ -30443,18 +30442,6 @@ fsevents@~2.1.2: languageName: node linkType: hard -"react-dom@npm:>=16.8": - version: 18.0.0 - resolution: "react-dom@npm:18.0.0" - dependencies: - loose-envify: ^1.1.0 - scheduler: ^0.21.0 - peerDependencies: - react: ^18.0.0 - checksum: 78aa393ab4ae35f7266ba5cd761ebd35cab8375f63051bda2bb97a27be2622dbd661b24b32b8e55f9365aa027e732251e7d0d754c755f8efb6bd38a72ba03df8 - languageName: node - linkType: hard - "react-dom@npm:^16.13.1": version: 16.13.1 resolution: "react-dom@npm:16.13.1" @@ -31043,7 +31030,7 @@ fsevents@~2.1.2: languageName: node linkType: hard -"react@npm:17.0.2, react@npm:^17.0.1, react@npm:^17.0.2": +"react@npm:17.0.2, react@npm:>=16.8 <18, react@npm:^17.0.1, react@npm:^17.0.2": version: 17.0.2 resolution: "react@npm:17.0.2" dependencies: @@ -31053,15 +31040,6 @@ fsevents@~2.1.2: languageName: node linkType: hard -"react@npm:>=16.8": - version: 18.0.0 - resolution: "react@npm:18.0.0" - dependencies: - loose-envify: ^1.1.0 - checksum: cf55bc7b4315f54321d04cb0b69241c4973a5182d679551b3e6c3f57b312a4fdeac05038ca9502d48ea4d040d7550b0b7f07b3872a19589a5995ee899cc19d2b - languageName: node - linkType: hard - "react@npm:^16.13.1": version: 16.13.1 resolution: "react@npm:16.13.1" @@ -33269,15 +33247,6 @@ resolve@^2.0.0-next.3: languageName: node linkType: hard -"scheduler@npm:^0.21.0": - version: 0.21.0 - resolution: "scheduler@npm:0.21.0" - dependencies: - loose-envify: ^1.1.0 - checksum: 083a9a0c83f4923f7f5bb28d8bcf13cff42c90f4303bc187166520fcfc576c97e946d426c707d5a9c0aa0a655819605dd0c741467c626824bbf191251c126f1b - languageName: node - linkType: hard - "schema-utils@npm:2.7.0": version: 2.7.0 resolution: "schema-utils@npm:2.7.0" @@ -36508,7 +36477,7 @@ testarmada-magellan@11.0.10: languageName: node linkType: hard -"typescript@npm:>=4.5.5, typescript@npm:^4.5.5": +"typescript@npm:^4.5.5": version: 4.6.3 resolution: "typescript@npm:4.6.3" bin: @@ -36518,7 +36487,7 @@ testarmada-magellan@11.0.10: languageName: node linkType: hard -"typescript@patch:typescript@>=4.5.5#~builtin, typescript@patch:typescript@^4.5.5#~builtin": +"typescript@patch:typescript@^4.5.5#~builtin": version: 4.6.3 resolution: "typescript@patch:typescript@npm%3A4.6.3#~builtin::version=4.6.3&hash=493e53" bin: