From 84fd8f73db215354fe8bb4cc8b7e28cf9c0f2c65 Mon Sep 17 00:00:00 2001 From: QuiiBz Date: Thu, 18 Aug 2022 15:53:09 +0200 Subject: [PATCH] feat: react 18 only --- package.json | 2 +- packages/use-dataloader/package.json | 2 +- packages/use-gtm/package.json | 2 +- packages/use-i18n/package.json | 4 ++-- packages/use-media/package.json | 2 +- packages/use-query-params/package.json | 4 ++-- packages/use-segment/package.json | 2 +- pnpm-lock.yaml | 12 ++++++------ 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 7ed1d591d..0e520acc9 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@types/jest": "28.1.7", "@types/node": "17.0.31", "@types/prop-types": "15.7.5", - "@types/react": "18.0.14", + "@types/react": "18.0.17", "@types/react-dom": "18.0.6", "builtin-modules": "3.3.0", "cross-env": "7.0.3", diff --git a/packages/use-dataloader/package.json b/packages/use-dataloader/package.json index 4ace48e6f..660331710 100644 --- a/packages/use-dataloader/package.json +++ b/packages/use-dataloader/package.json @@ -28,6 +28,6 @@ "prop-types": "15.8.1" }, "peerDependencies": { - "react": "17.x || 18.x" + "react": "18.x" } } diff --git a/packages/use-gtm/package.json b/packages/use-gtm/package.json index 33a3029a6..3ef243732 100644 --- a/packages/use-gtm/package.json +++ b/packages/use-gtm/package.json @@ -27,6 +27,6 @@ }, "license": "MIT", "peerDependencies": { - "react": "17.x || 18.x" + "react": "18.x" } } diff --git a/packages/use-i18n/package.json b/packages/use-i18n/package.json index 23a9750b4..3c6437623 100644 --- a/packages/use-i18n/package.json +++ b/packages/use-i18n/package.json @@ -36,7 +36,7 @@ }, "peerDependencies": { "date-fns": "2.x", - "react": "17.x || 18.x", - "react-dom": "17.x || 18.x" + "react": "18.x", + "react-dom": "18.x" } } diff --git a/packages/use-media/package.json b/packages/use-media/package.json index ccaeb131b..e11c50912 100644 --- a/packages/use-media/package.json +++ b/packages/use-media/package.json @@ -26,6 +26,6 @@ }, "license": "MIT", "peerDependencies": { - "react": "17.x || 18.x" + "react": "18.x" } } diff --git a/packages/use-query-params/package.json b/packages/use-query-params/package.json index 782aeebdd..a0c58aa37 100644 --- a/packages/use-query-params/package.json +++ b/packages/use-query-params/package.json @@ -32,8 +32,8 @@ "query-string": "7.1.1" }, "peerDependencies": { - "react": "17.x || 18.x", - "react-dom": "17.x || 18.x", + "react": "18.x", + "react-dom": "18.x", "react-router-dom": "^6.0.0" }, "devDependencies": { diff --git a/packages/use-segment/package.json b/packages/use-segment/package.json index f21eb2ee1..0ce7dd920 100644 --- a/packages/use-segment/package.json +++ b/packages/use-segment/package.json @@ -28,6 +28,6 @@ "@segment/analytics-next": "1.42.3" }, "peerDependencies": { - "react": "17.x || 18.x" + "react": "18.x" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b4aaeb6bf..ee78792cf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,7 +19,7 @@ importers: '@types/jest': 28.1.7 '@types/node': 17.0.31 '@types/prop-types': 15.7.5 - '@types/react': 18.0.14 + '@types/react': 18.0.17 '@types/react-dom': 18.0.6 builtin-modules: 3.3.0 cross-env: 7.0.3 @@ -57,7 +57,7 @@ importers: '@types/jest': 28.1.7 '@types/node': 17.0.31 '@types/prop-types': 15.7.5 - '@types/react': 18.0.14 + '@types/react': 18.0.17 '@types/react-dom': 18.0.6 builtin-modules: 3.3.0 cross-env: 7.0.3 @@ -4428,16 +4428,16 @@ packages: /@types/react-dom/18.0.5: resolution: {integrity: sha512-OWPWTUrY/NIrjsAPkAk1wW9LZeIjSvkXRhclsFO8CZcZGCOg2G0YZy4ft+rOyYxy8B7ui5iZzi9OkDebZ7/QSA==} dependencies: - '@types/react': 18.0.14 + '@types/react': 18.0.17 /@types/react-dom/18.0.6: resolution: {integrity: sha512-/5OFZgfIPSwy+YuIBP/FgJnQnsxhZhjjrnxudMddeblOouIodEQ75X14Rr4wGSG/bknL+Omy9iWlLo1u/9GzAA==} dependencies: - '@types/react': 18.0.14 + '@types/react': 18.0.17 dev: true - /@types/react/18.0.14: - resolution: {integrity: sha512-x4gGuASSiWmo0xjDLpm5mPb52syZHJx02VKbqUKdLmKtAwIh63XClGsiTI1K6DO5q7ox4xAsQrU+Gl3+gGXF9Q==} + /@types/react/18.0.17: + resolution: {integrity: sha512-38ETy4tL+rn4uQQi7mB81G7V1g0u2ryquNmsVIOKUAEIDK+3CUjZ6rSRpdvS99dNBnkLFL83qfmtLacGOTIhwQ==} dependencies: '@types/prop-types': 15.7.5 '@types/scheduler': 0.16.2