From ff24ba100c2c75325608d96e81fa16f6a84d4a19 Mon Sep 17 00:00:00 2001 From: Ewan Harris Date: Tue, 10 Oct 2023 10:07:06 +0100 Subject: [PATCH] Update react types --- examples/cra-react-router/package.json | 4 ++-- package-lock.json | 16 ++++++++-------- package.json | 4 ++-- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/examples/cra-react-router/package.json b/examples/cra-react-router/package.json index 73095cb7..97b75136 100644 --- a/examples/cra-react-router/package.json +++ b/examples/cra-react-router/package.json @@ -5,8 +5,8 @@ "dependencies": { "@auth0/auth0-react": "file:../..", "@types/node": "^17.0.29", - "@types/react": "^18.0.8", - "@types/react-router-dom": "^5.3.3", + "@types/react": "file:../../node_modules/@types/react", + "@types/react-dom": "file:../../node_modules/@types/react-dom", "react": "file:../../node_modules/react", "react-dom": "file:../../node_modules/react-dom", "react-router-dom": "^6.3.0", diff --git a/package-lock.json b/package-lock.json index 630c3968..b690e067 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,8 +19,8 @@ "@testing-library/react": "^14.0.0", "@testing-library/react-hooks": "^7.0.2", "@types/jest": "^29.2.3", - "@types/react": "^18.2.22", - "@types/react-dom": "^18.2.7", + "@types/react": "^18.2.27", + "@types/react-dom": "^18.2.12", "@typescript-eslint/eslint-plugin": "^5.45.0", "@typescript-eslint/parser": "^5.45.0", "browserstack-cypress-cli": "^1.19.1", @@ -2036,9 +2036,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.2.23", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.23.tgz", - "integrity": "sha512-qHLW6n1q2+7KyBEYnrZpcsAmU/iiCh9WGCKgXvMxx89+TYdJWRjZohVIo9XTcoLhfX3+/hP0Pbulu3bCZQ9PSA==", + "version": "18.2.27", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.27.tgz", + "integrity": "sha512-Wfv7B7FZiR2r3MIqbAlXoY1+tXm4bOqfz4oRr+nyXdBqapDBZ0l/IGcSlAfvxIHEEJjkPU0MYAc/BlFPOcrgLw==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -2047,9 +2047,9 @@ } }, "node_modules/@types/react-dom": { - "version": "18.2.8", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.8.tgz", - "integrity": "sha512-bAIvO5lN/U8sPGvs1Xm61rlRHHaq5rp5N3kp9C+NJ/Q41P8iqjkXSu0+/qu8POsjH9pNWb0OYabFez7taP7omw==", + "version": "18.2.12", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.2.12.tgz", + "integrity": "sha512-QWZuiA/7J/hPIGocXreCRbx7wyoeet9ooxfbSA+zbIWqyQEE7GMtRn4A37BdYyksnN+/NDnWgfxZH9UVGDw1hg==", "dev": true, "dependencies": { "@types/react": "*" diff --git a/package.json b/package.json index 01d45e5b..3702c2d4 100644 --- a/package.json +++ b/package.json @@ -58,8 +58,8 @@ "@testing-library/react": "^14.0.0", "@testing-library/react-hooks": "^7.0.2", "@types/jest": "^29.2.3", - "@types/react": "^18.2.22", - "@types/react-dom": "^18.2.7", + "@types/react": "^18.2.27", + "@types/react-dom": "^18.2.12", "@typescript-eslint/eslint-plugin": "^5.45.0", "@typescript-eslint/parser": "^5.45.0", "browserstack-cypress-cli": "^1.19.1",