From b9e72174bf8ac69e92d22c5b00e3aec362dd6336 Mon Sep 17 00:00:00 2001 From: martimalek <46452321+martimalek@users.noreply.github.com> Date: Thu, 5 Oct 2023 16:04:09 +0200 Subject: [PATCH] fix(deps): crossOrigin prop is not required for inputs (#386) * chore(deps): move @testing-library/react-hooks to devDependencies * fix(deps): override @types/react of react-windowed-select to ^17.0.67 * chore(deps): pin @types/react overrides --------- Co-authored-by: Artur Miglio --- package-lock.json | 34 +++++++++++++++++++--------------- package.json | 7 +++++-- 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7ab5f2a40..7fb072830 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,6 @@ "@datepicker-react/hooks": "^2.3.1", "@popperjs/core": "^2.11.5", "@styled-system/theme-get": "^5.1.2", - "@testing-library/react-hooks": "^8.0.0", "@types/react-select": "^4.0.18", "@types/styled-system": "^5.1.9", "date-fns": "^2.11.1", @@ -46,6 +45,7 @@ "@svgr/plugin-svgo": "^5.3.0", "@testing-library/jest-dom": "^5.11.9", "@testing-library/react": "^11.2.5", + "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^12.8.3", "@types/babel__traverse": "7.17.1", "@types/jest": "^25.1.4", @@ -8262,6 +8262,7 @@ "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, "dependencies": { "@babel/runtime": "^7.12.5", "react-error-boundary": "^3.1.0" @@ -9027,9 +9028,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "16.14.41", - "resolved": "https://registry.npmjs.org/@types/react/-/react-16.14.41.tgz", - "integrity": "sha512-h+joCKF2r5rdECoM1U8WCEIHBp5/0TSR5Nyq8gtnnYY1n2WqGuj3indYqTjMb2/b5g2rfxJV6u4jUFq95lbT6Q==", + "version": "16.14.48", + "resolved": "https://registry.npmjs.org/@types/react/-/react-16.14.48.tgz", + "integrity": "sha512-7HP7K9IyuP6CpxEHmfRPEl21pwra+nSgZHXhyq7WOkxhIGYtSpIHJBijh4zuScgelrPxsUXVPDRkSKHhT+6nkg==", "dependencies": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -28333,6 +28334,7 @@ "version": "3.1.4", "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-3.1.4.tgz", "integrity": "sha512-uM9uPzZJTF6wRQORmSrvOIgt4lJ9MC1sNgEOj2XGsDTRE4kmpWxg7ENK9EWNKJRMAOY9z0MuF4yIfl6gp4sotA==", + "dev": true, "dependencies": { "@babel/runtime": "^7.12.5" }, @@ -28492,9 +28494,9 @@ } }, "node_modules/react-windowed-select/node_modules/@types/react": { - "version": "17.0.53", - "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.53.tgz", - "integrity": "sha512-1yIpQR2zdYu1Z/dc1OxC+MA6GR240u3gcnP4l6mvj/PJiVaqHsQPmWttsvHsfnhfPbU2FuGmo0wSITPygjBmsw==", + "version": "17.0.67", + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.67.tgz", + "integrity": "sha512-zE76EIJ0Y58Oy9yDX/9csb/NuKjt0Eq2YgWb/8Wxo91YmuLzzbyiRoaqJE9h8iDlsT7n35GdpoLomHlaB1kFbg==", "dependencies": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -40017,6 +40019,7 @@ "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", "react-error-boundary": "^3.1.0" @@ -40567,9 +40570,9 @@ "dev": true }, "@types/react": { - "version": "16.14.41", - "resolved": "https://registry.npmjs.org/@types/react/-/react-16.14.41.tgz", - "integrity": "sha512-h+joCKF2r5rdECoM1U8WCEIHBp5/0TSR5Nyq8gtnnYY1n2WqGuj3indYqTjMb2/b5g2rfxJV6u4jUFq95lbT6Q==", + "version": "16.14.48", + "resolved": "https://registry.npmjs.org/@types/react/-/react-16.14.48.tgz", + "integrity": "sha512-7HP7K9IyuP6CpxEHmfRPEl21pwra+nSgZHXhyq7WOkxhIGYtSpIHJBijh4zuScgelrPxsUXVPDRkSKHhT+6nkg==", "requires": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -55151,6 +55154,7 @@ "version": "3.1.4", "resolved": "https://registry.npmjs.org/react-error-boundary/-/react-error-boundary-3.1.4.tgz", "integrity": "sha512-uM9uPzZJTF6wRQORmSrvOIgt4lJ9MC1sNgEOj2XGsDTRE4kmpWxg7ENK9EWNKJRMAOY9z0MuF4yIfl6gp4sotA==", + "dev": true, "requires": { "@babel/runtime": "^7.12.5" } @@ -55263,7 +55267,7 @@ "resolved": "https://registry.npmjs.org/react-windowed-select/-/react-windowed-select-4.0.0.tgz", "integrity": "sha512-VSzpj6UD8VV83BA8w+dq0FubyXhDpu1v8Kb843oq5Z1L6j4HrJt9o+etwn/OEGHky87j1k8sKRzGgNYYvGgI9A==", "requires": { - "@types/react": "^17.0.3", + "@types/react": "^17.0.67", "@types/react-dom": "^17.0.3", "@types/react-window": "^1.8.2", "react-select": "^5.2.2", @@ -55271,9 +55275,9 @@ }, "dependencies": { "@types/react": { - "version": "17.0.53", - "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.53.tgz", - "integrity": "sha512-1yIpQR2zdYu1Z/dc1OxC+MA6GR240u3gcnP4l6mvj/PJiVaqHsQPmWttsvHsfnhfPbU2FuGmo0wSITPygjBmsw==", + "version": "17.0.67", + "resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.67.tgz", + "integrity": "sha512-zE76EIJ0Y58Oy9yDX/9csb/NuKjt0Eq2YgWb/8Wxo91YmuLzzbyiRoaqJE9h8iDlsT7n35GdpoLomHlaB1kFbg==", "requires": { "@types/prop-types": "*", "@types/scheduler": "*", @@ -55285,7 +55289,7 @@ "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-17.0.18.tgz", "integrity": "sha512-rLVtIfbwyur2iFKykP2w0pl/1unw26b5td16d5xMgp7/yjTHomkyxPYChFoCr/FtEX1lN9wY6lFj1qvKdS5kDw==", "requires": { - "@types/react": "^17" + "@types/react": "^17.0.67" } } } diff --git a/package.json b/package.json index dcc98d96d..18424c791 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,10 @@ "license": "Apache-2.0", "overrides": { "react-refresh": "0.11.0", - "react-is": "17.0.2" + "react-is": "17.0.2", + "react-windowed-select": { + "@types/react": "17.0.67" + } }, "peerDependencies": { "react": ">16.8", @@ -78,6 +81,7 @@ "@svgr/plugin-svgo": "^5.3.0", "@testing-library/jest-dom": "^5.11.9", "@testing-library/react": "^11.2.5", + "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^12.8.3", "@types/babel__traverse": "7.17.1", "@types/jest": "^25.1.4", @@ -135,7 +139,6 @@ "@datepicker-react/hooks": "^2.3.1", "@popperjs/core": "^2.11.5", "@styled-system/theme-get": "^5.1.2", - "@testing-library/react-hooks": "^8.0.0", "@types/react-select": "^4.0.18", "@types/styled-system": "^5.1.9", "date-fns": "^2.11.1",