From 6adbda82a1240fc593a34ae7fd75ea9daaf1c73a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Nov 2023 17:17:11 +0000 Subject: [PATCH] Bump @testing-library/react-hooks from 7.0.2 to 8.0.1 Bumps [@testing-library/react-hooks](https://github.com/testing-library/react-hooks-testing-library) from 7.0.2 to 8.0.1. - [Release notes](https://github.com/testing-library/react-hooks-testing-library/releases) - [Changelog](https://github.com/testing-library/react-hooks-testing-library/blob/main/CHANGELOG.md) - [Commits](https://github.com/testing-library/react-hooks-testing-library/compare/v7.0.2...v8.0.1) --- updated-dependencies: - dependency-name: "@testing-library/react-hooks" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 42 ++++++++++++++---------------------------- package.json | 2 +- 2 files changed, 15 insertions(+), 29 deletions(-) diff --git a/package-lock.json b/package-lock.json index e76f5fd2700..cc3424c9f84 100644 --- a/package-lock.json +++ b/package-lock.json @@ -79,7 +79,7 @@ "@testing-library/dom": "9.3.3", "@testing-library/jest-dom": "5.16.5", "@testing-library/react": "12.1.5", - "@testing-library/react-hooks": "7.0.2", + "@testing-library/react-hooks": "8.0.1", "@testing-library/user-event": "13.5.0", "@types/classnames": "2.3.0", "@types/dinero.js": "1.9.0", @@ -10723,25 +10723,27 @@ } }, "node_modules/@testing-library/react-hooks": { - "version": "7.0.2", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-8.0.1.tgz", + "integrity": "sha512-Aqhl2IVmLt8IovEVarNDFuJDVWVvhnr9/GCU6UUnrYXwgDFF9h2L2o2P9KBni1AST5sT6riAyoukFLyjQUgD/g==", "dev": true, - "license": "MIT", "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" }, "engines": { "node": ">=12" }, "peerDependencies": { - "react": ">=16.9.0", - "react-dom": ">=16.9.0", - "react-test-renderer": ">=16.9.0" + "@types/react": "^16.9.0 || ^17.0.0", + "react": "^16.9.0 || ^17.0.0", + "react-dom": "^16.9.0 || ^17.0.0", + "react-test-renderer": "^16.9.0 || ^17.0.0" }, "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, "react-dom": { "optional": true }, @@ -11283,14 +11285,6 @@ "@types/react": "*" } }, - "node_modules/@types/react-test-renderer": { - "version": "18.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/react": "*" - } - }, "node_modules/@types/react-transition-group": { "version": "4.4.6", "dev": true, @@ -52911,13 +52905,12 @@ } }, "@testing-library/react-hooks": { - "version": "7.0.2", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-8.0.1.tgz", + "integrity": "sha512-Aqhl2IVmLt8IovEVarNDFuJDVWVvhnr9/GCU6UUnrYXwgDFF9h2L2o2P9KBni1AST5sT6riAyoukFLyjQUgD/g==", "dev": true, "requires": { "@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" } }, @@ -53348,13 +53341,6 @@ "@types/react": "*" } }, - "@types/react-test-renderer": { - "version": "18.0.0", - "dev": true, - "requires": { - "@types/react": "*" - } - }, "@types/react-transition-group": { "version": "4.4.6", "dev": true, diff --git a/package.json b/package.json index de460283d64..4aee90cdddb 100644 --- a/package.json +++ b/package.json @@ -133,7 +133,7 @@ "@testing-library/dom": "9.3.3", "@testing-library/jest-dom": "5.16.5", "@testing-library/react": "12.1.5", - "@testing-library/react-hooks": "7.0.2", + "@testing-library/react-hooks": "8.0.1", "@testing-library/user-event": "13.5.0", "@types/classnames": "2.3.0", "@types/dinero.js": "1.9.0",