diff --git a/packages/grafana-data/package.json b/packages/grafana-data/package.json index 4a82495689f..06156688aba 100644 --- a/packages/grafana-data/package.json +++ b/packages/grafana-data/package.json @@ -46,7 +46,7 @@ "@testing-library/dom": "8.10.1", "@testing-library/jest-dom": "5.11.9", "@testing-library/react": "12.1.2", - "@testing-library/react-hooks": "^3.2.1", + "@testing-library/react-hooks": "7.0.2", "@testing-library/user-event": "13.3.0", "@types/braintree__sanitize-url": "4.1.0", "@types/jest": "27.0.2", diff --git a/packages/grafana-ui/package.json b/packages/grafana-ui/package.json index 14772192086..338e0603641 100644 --- a/packages/grafana-ui/package.json +++ b/packages/grafana-ui/package.json @@ -115,7 +115,7 @@ "@testing-library/dom": "8.10.1", "@testing-library/jest-dom": "5.11.9", "@testing-library/react": "12.1.2", - "@testing-library/react-hooks": "^3.2.1", + "@testing-library/react-hooks": "7.0.2", "@testing-library/user-event": "13.3.0", "@types/classnames": "2.2.7", "@types/clipboard": "2.0.1", diff --git a/yarn.lock b/yarn.lock index 3d8cd535830..6988386a4d5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2383,7 +2383,7 @@ __metadata: "@testing-library/dom": 8.10.1 "@testing-library/jest-dom": 5.11.9 "@testing-library/react": 12.1.2 - "@testing-library/react-hooks": ^3.2.1 + "@testing-library/react-hooks": 7.0.2 "@testing-library/user-event": 13.3.0 "@types/braintree__sanitize-url": 4.1.0 "@types/d3-interpolate": ^1.4.0 @@ -2737,7 +2737,7 @@ __metadata: "@testing-library/dom": 8.10.1 "@testing-library/jest-dom": 5.11.9 "@testing-library/react": 12.1.2 - "@testing-library/react-hooks": ^3.2.1 + "@testing-library/react-hooks": 7.0.2 "@testing-library/user-event": 13.3.0 "@types/classnames": 2.2.7 "@types/clipboard": 2.0.1 @@ -6953,19 +6953,6 @@ __metadata: languageName: node linkType: hard -"@testing-library/react-hooks@npm:^3.2.1": - version: 3.7.0 - resolution: "@testing-library/react-hooks@npm:3.7.0" - dependencies: - "@babel/runtime": ^7.12.5 - "@types/testing-library__react-hooks": ^3.4.0 - peerDependencies: - react: ">=16.9.0" - react-test-renderer: ">=16.9.0" - checksum: 7ada35cb4114056908990250033527ffd554d055eced797083aca752fb9789b3bc70291077f1d57b8cf64ab5eb7b3827f9de3bcaa38655f2b975c65a33a418d6 - languageName: node - linkType: hard - "@testing-library/react@npm:12.1.2, @testing-library/react@npm:^12.1.2": version: 12.1.2 resolution: "@testing-library/react@npm:12.1.2" @@ -8719,7 +8706,7 @@ __metadata: languageName: node linkType: hard -"@types/testing-library__react-hooks@npm:^3.2.0, @types/testing-library__react-hooks@npm:^3.4.0": +"@types/testing-library__react-hooks@npm:^3.2.0": version: 3.4.1 resolution: "@types/testing-library__react-hooks@npm:3.4.1" dependencies: