diff --git a/packages/explat-client-react-helpers/CHANGELOG.md b/packages/explat-client-react-helpers/CHANGELOG.md index 6d5caf426c945..912c50bad9ff2 100644 --- a/packages/explat-client-react-helpers/CHANGELOG.md +++ b/packages/explat-client-react-helpers/CHANGELOG.md @@ -1,4 +1,9 @@ # Changelog + +## 0.0.5 + +- Loosen the requirements around dependencies + ## 0.0.4 - Added ExperimentOptions and ExPlatClientReactHelpers Typescript interfaces to export diff --git a/packages/explat-client-react-helpers/package.json b/packages/explat-client-react-helpers/package.json index a81794b88edf3..2c60855453b6a 100644 --- a/packages/explat-client-react-helpers/package.json +++ b/packages/explat-client-react-helpers/package.json @@ -1,6 +1,6 @@ { "name": "@automattic/explat-client-react-helpers", - "version": "0.0.4", + "version": "0.0.5", "description": "Standalone ExPlat Client: React Helpers.", "bugs": "https://github.com/Automattic/wp-calypso/issues", "homepage": "https://github.com/Automattic/wp-calypso", @@ -26,15 +26,15 @@ }, "dependencies": { "@automattic/explat-client": "workspace:^", - "react": "^17.0.2", - "tslib": "^2.3.0" + "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": "^17.0.2", + "@testing-library/react-hooks": "^7.0.2", + "react-dom": ">=16.8 <18", "typescript": "^4.5.5" } } diff --git a/yarn.lock b/yarn.lock index ea2657e3f8591..eba34f44c1340 100644 --- a/yarn.lock +++ b/yarn.lock @@ -572,10 +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: ^17.0.2 - react-dom: ^17.0.2 - tslib: ^2.3.0 + "@testing-library/react-hooks": ^7.0.2 + react: ">=16.8 <18" + react-dom: ">=16.8 <18" + tslib: ">=2.3.0" typescript: ^4.5.5 languageName: unknown linkType: soft @@ -6641,7 +6641,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: @@ -30430,7 +30430,7 @@ fsevents@~2.1.2: languageName: node linkType: hard -"react-dom@npm:17.0.2, react-dom@npm:^17.0.1, react-dom@npm:^17.0.2": +"react-dom@npm:17.0.2, react-dom@npm:>=16.8 <18, react-dom@npm:^17.0.1, react-dom@npm:^17.0.2": version: 17.0.2 resolution: "react-dom@npm:17.0.2" dependencies: @@ -31031,7 +31031,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: @@ -36236,6 +36236,13 @@ testarmada-magellan@11.0.10: languageName: node linkType: hard +"tslib@npm:>=2.3.0, tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.1.0, tslib@npm:^2.3.0": + version: 2.4.0 + resolution: "tslib@npm:2.4.0" + checksum: eb19bda3ae545b03caea6a244b34593468e23d53b26bf8649fbc20fce43e9b21a71127fd6d2b9662c0fe48ee6ff668ead48fd00d3b88b2b716b1c12edae25b5d + languageName: node + linkType: hard + "tslib@npm:^1.10.0, tslib@npm:^1.8.1, tslib@npm:^1.9.0, tslib@npm:^1.9.3": version: 1.14.1 resolution: "tslib@npm:1.14.1" @@ -36243,13 +36250,6 @@ testarmada-magellan@11.0.10: languageName: node linkType: hard -"tslib@npm:^2.0.0, tslib@npm:^2.0.1, tslib@npm:^2.1.0, tslib@npm:^2.3.0": - version: 2.3.0 - resolution: "tslib@npm:2.3.0" - checksum: a845aed84e7e7dbb4c774582da60d7030ea39d67307250442d35c4c5dd77e4b44007098c37dd079e100029c76055f2a362734b8442ba828f8cc934f15ed9be61 - languageName: node - linkType: hard - "tsutils@npm:^3.21.0": version: 3.21.0 resolution: "tsutils@npm:3.21.0" @@ -36479,22 +36479,22 @@ testarmada-magellan@11.0.10: linkType: hard "typescript@npm:^4.5.5": - version: 4.5.5 - resolution: "typescript@npm:4.5.5" + version: 4.6.3 + resolution: "typescript@npm:4.6.3" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: ac15b92f3dcd9a4233cab288a913ccbd96729fc488181396fa93c0297ccef3cd3c2f9a7a63340efb0d07bff3d5026028fc81b9c1ef08076029e057081eb5884b + checksum: 53e8bcf00abde8ecb2002d1f1e15160b21cb62b2dd0ff71bad2ef55fa96141f76316fce649a415758d3f17bd8e0c5676d8f017c34ec3e38b585812d4717a712c languageName: node linkType: hard "typescript@patch:typescript@^4.5.5#~builtin": - version: 4.5.5 - resolution: "typescript@patch:typescript@npm%3A4.5.5#~builtin::version=4.5.5&hash=493e53" + version: 4.6.3 + resolution: "typescript@patch:typescript@npm%3A4.6.3#~builtin::version=4.6.3&hash=493e53" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 6a8888c9fe41d0a19324125c636b1adb9ec5c984342fc7a26f2a389a432a94639c24b72e6e019ffbbb03cb614c1f008b4c31e48fb560b772e45e6581265c500b + checksum: d06fdd5852d0fe86f44b56507d37a3458812a1dff11c0fedaeedbe163e81646643669a5bc0dcc3500c72128267b384cda7567c53c568f94e7c753ac6b4cfbce3 languageName: node linkType: hard