diff --git a/ui/package-lock.json b/ui/package-lock.json index 912224b26..f34485f4a 100644 --- a/ui/package-lock.json +++ b/ui/package-lock.json @@ -3096,13 +3096,14 @@ } }, "@testing-library/react-hooks": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-3.7.0.tgz", - "integrity": "sha512-TwfbY6BWtWIHitjT05sbllyLIProcysC0dF0q1bbDa7OHLC6A6rJOYJwZ13hzfz3O4RtOuInmprBozJRyyo7/g==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-4.0.0.tgz", + "integrity": "sha512-AWIR4M1Fz4dYzuKytkWtabcrwpevq7zj9dImuBOcmrpl3VkjOBDa7Q/62fwK/M30ae5XI25mDSpQ29vzC7A5Lw==", "dev": true, "requires": { "@babel/runtime": "^7.12.5", - "@types/testing-library__react-hooks": "^3.4.0" + "@types/react": ">=16.9.0", + "@types/react-test-renderer": ">=16.9.0" } }, "@types/anymatch": { @@ -3533,15 +3534,6 @@ "resolved": "https://registry.npmjs.org/@types/tapable/-/tapable-1.0.6.tgz", "integrity": "sha512-W+bw9ds02rAQaMvaLYxAbJ6cvguW/iJXNT6lTssS1ps6QdrMKttqEAMEG/b5CR8TZl3/L7/lH0ZV5nNR1LXikA==" }, - "@types/testing-library__react-hooks": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@types/testing-library__react-hooks/-/testing-library__react-hooks-3.4.1.tgz", - "integrity": "sha512-G4JdzEcq61fUyV6wVW9ebHWEiLK2iQvaBuCHHn9eMSbZzVh4Z4wHnUGIvQOYCCYeu5DnUtFyNYuAAgbSaO/43Q==", - "dev": true, - "requires": { - "@types/react-test-renderer": "*" - } - }, "@types/uglify-js": { "version": "3.11.1", "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.11.1.tgz", diff --git a/ui/package.json b/ui/package.json index 9b6d56862..3b0088519 100644 --- a/ui/package.json +++ b/ui/package.json @@ -82,7 +82,7 @@ "devDependencies": { "@percy-io/percy-storybook": "2.1.0", "@storybook/preset-create-react-app": "3.1.5", - "@testing-library/react-hooks": "3.7.0", + "@testing-library/react-hooks": "4.0.0", "@wojtekmaj/enzyme-adapter-react-17": "0.4.1", "depcheck": "1.3.1", "diffable-html": "4.0.0",