From 72665051cc2d18543f2b4d6d6eb0604656e569fa Mon Sep 17 00:00:00 2001 From: Nathaniel Tucker Date: Sun, 24 Jan 2021 15:25:45 -0600 Subject: [PATCH] fix: Disallow breaking 3.6 version of @testing-library/react-hooks --- packages/test/package.json | 2 +- yarn.lock | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/packages/test/package.json b/packages/test/package.json index 7db5ef3ed5ff..8981aad91b7c 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -46,7 +46,7 @@ "url": "https://github.com/coinbase/rest-hooks/issues" }, "dependencies": { - "@testing-library/react-hooks": "^3.2.1" + "@testing-library/react-hooks": "~3.5.0" }, "peerDependencies": { "@rest-hooks/core": "^1.0.0-beta.1", diff --git a/yarn.lock b/yarn.lock index 19f450e5603a..62bb20107724 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2668,7 +2668,7 @@ lz-string "^1.4.4" pretty-format "^26.6.2" -"@testing-library/react-hooks@^3.2.1", "@testing-library/react-hooks@^3.4.1": +"@testing-library/react-hooks@^3.4.1": version "3.4.1" resolved "https://registry.yarnpkg.com/@testing-library/react-hooks/-/react-hooks-3.4.1.tgz#1f8ccd21208086ec228d9743fe40b69d0efcd7e5" integrity sha512-LbzvE7oKsVzuW1cxA/aOeNgeVvmHWG2p/WSzalIGyWuqZT3jVcNDT5KPEwy36sUYWde0Qsh32xqIUFXukeywXg== @@ -2676,6 +2676,14 @@ "@babel/runtime" "^7.5.4" "@types/testing-library__react-hooks" "^3.3.0" +"@testing-library/react-hooks@~3.5.0": + version "3.5.0" + resolved "https://registry.yarnpkg.com/@testing-library/react-hooks/-/react-hooks-3.5.0.tgz#8d728f2d56d615935116385f3ff9335e3402e46b" + integrity sha512-PpztMzQ+h8hXwd9TtSx6H+D5sKv7sW0sRr0dOW3x9O5yNOHlg5Yi4uCMhYBuGYAHM7XJyceb+u4D3CgT8LotKg== + dependencies: + "@babel/runtime" "^7.12.5" + "@types/testing-library__react-hooks" "^3.4.0" + "@testing-library/react-native@^7.1.0": version "7.1.0" resolved "https://registry.yarnpkg.com/@testing-library/react-native/-/react-native-7.1.0.tgz#6b168aac21522c8a5175461b350336fd79612ac9" @@ -2920,6 +2928,13 @@ dependencies: "@types/react-test-renderer" "*" +"@types/testing-library__react-hooks@^3.4.0": + version "3.4.1" + resolved "https://registry.yarnpkg.com/@types/testing-library__react-hooks/-/testing-library__react-hooks-3.4.1.tgz#b8d7311c6c1f7db3103e94095fe901f8fef6e433" + integrity sha512-G4JdzEcq61fUyV6wVW9ebHWEiLK2iQvaBuCHHn9eMSbZzVh4Z4wHnUGIvQOYCCYeu5DnUtFyNYuAAgbSaO/43Q== + dependencies: + "@types/react-test-renderer" "*" + "@types/yargs-parser@*": version "15.0.0" resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-15.0.0.tgz#cb3f9f741869e20cce330ffbeb9271590483882d"