diff --git a/superset-frontend/package-lock.json b/superset-frontend/package-lock.json index fe14bc5771b9e..f43fcd77b74c6 100644 --- a/superset-frontend/package-lock.json +++ b/superset-frontend/package-lock.json @@ -170,7 +170,7 @@ "@testing-library/dom": "^7.29.4", "@testing-library/jest-dom": "^5.11.6", "@testing-library/react": "^11.2.0", - "@testing-library/react-hooks": "^5.0.3", + "@testing-library/react-hooks": "^5.1.3", "@testing-library/user-event": "^12.7.0", "@types/classnames": "^2.2.10", "@types/dom-to-image": "^2.6.7", @@ -19438,9 +19438,9 @@ } }, "node_modules/@testing-library/react-hooks": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.0.3.tgz", - "integrity": "sha512-UrnnRc5II7LMH14xsYNm/WRch/67cBafmrSQcyFh0v+UUmSf1uzfB7zn5jQXSettGwOSxJwdQUN7PgkT0w22Lg==", + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.1.3.tgz", + "integrity": "sha512-UdEUtlQapQ579NEcXDAUE275u+KUsPtxW7NmFrNt0bE6lW8lqNCyxDK0RSuECmNZ/S0/fgP00W9RWRhVKO/hRg==", "dependencies": { "@babel/runtime": "^7.12.5", "@types/react": ">=16.9.0", @@ -66046,7 +66046,7 @@ "license": "Apache-2.0", "dependencies": { "@babel/runtime": "^7.1.2", - "@testing-library/react-hooks": "^8.0.1", + "@testing-library/react-hooks": "^5.1.3", "@types/d3-format": "^1.3.0", "@types/d3-interpolate": "^1.3.1", "@types/d3-scale": "^2.1.1", @@ -83265,7 +83265,7 @@ "requires": { "@babel/runtime": "^7.1.2", "@emotion/styled": "^11.3.0", - "@testing-library/react-hooks": "^8.0.1", + "@testing-library/react-hooks": "^5.1.3", "@types/d3-format": "^1.3.0", "@types/d3-interpolate": "^1.3.1", "@types/d3-scale": "^2.1.1", @@ -83308,8 +83308,7 @@ }, "dependencies": { "@testing-library/react-hooks": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-8.0.1.tgz", + "version": "https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-8.0.1.tgz", "integrity": "sha512-Aqhl2IVmLt8IovEVarNDFuJDVWVvhnr9/GCU6UUnrYXwgDFF9h2L2o2P9KBni1AST5sT6riAyoukFLyjQUgD/g==", "requires": { "@babel/runtime": "^7.12.5", @@ -86072,9 +86071,9 @@ } }, "@testing-library/react-hooks": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.0.3.tgz", - "integrity": "sha512-UrnnRc5II7LMH14xsYNm/WRch/67cBafmrSQcyFh0v+UUmSf1uzfB7zn5jQXSettGwOSxJwdQUN7PgkT0w22Lg==", + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/@testing-library/react-hooks/-/react-hooks-5.1.3.tgz", + "integrity": "sha512-UdEUtlQapQ579NEcXDAUE275u+KUsPtxW7NmFrNt0bE6lW8lqNCyxDK0RSuECmNZ/S0/fgP00W9RWRhVKO/hRg==", "requires": { "@babel/runtime": "^7.12.5", "@types/react": ">=16.9.0", diff --git a/superset-frontend/package.json b/superset-frontend/package.json index aa0e0649a3812..b479eda04b134 100644 --- a/superset-frontend/package.json +++ b/superset-frontend/package.json @@ -237,7 +237,7 @@ "@testing-library/dom": "^7.29.4", "@testing-library/jest-dom": "^5.11.6", "@testing-library/react": "^11.2.0", - "@testing-library/react-hooks": "^5.0.3", + "@testing-library/react-hooks": "^5.1.3", "@testing-library/user-event": "^12.7.0", "@types/classnames": "^2.2.10", "@types/dom-to-image": "^2.6.7", diff --git a/superset-frontend/packages/superset-ui-core/package.json b/superset-frontend/packages/superset-ui-core/package.json index eccf57b52bddc..65c0ef25ebe6f 100644 --- a/superset-frontend/packages/superset-ui-core/package.json +++ b/superset-frontend/packages/superset-ui-core/package.json @@ -25,7 +25,7 @@ ], "dependencies": { "@babel/runtime": "^7.1.2", - "@testing-library/react-hooks": "^8.0.1", + "@testing-library/react-hooks": "^5.1.3", "@types/d3-format": "^1.3.0", "@types/d3-interpolate": "^1.3.1", "@types/d3-scale": "^2.1.1",