From 7f77be177becd907eab1ab0450db27a7b6d2c89d Mon Sep 17 00:00:00 2001 From: Daniel Tschinder <231804+danez@users.noreply.github.com> Date: Fri, 6 Dec 2024 20:07:14 +0100 Subject: [PATCH] Update @types/react --- packages/website/package.json | 10 ++------ pnpm-lock.yaml | 43 +++++++++++++---------------------- 2 files changed, 18 insertions(+), 35 deletions(-) diff --git a/packages/website/package.json b/packages/website/package.json index 4cafef4f00d..a74ad55d281 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -15,8 +15,8 @@ "@codemirror/lang-json": "6.0.1", "@codemirror/view": "6.35.0", "@headlessui/react": "2.2.0", - "@types/react": "npm:types-react@19.0.0-rc.1", - "@types/react-dom": "npm:types-react-dom@19.0.0", + "@types/react": "19.0.1", + "@types/react-dom": "19.0.1", "@uiw/react-codemirror": "4.23.6", "clsx": "2.1.1", "next": "15.0.4", @@ -58,11 +58,5 @@ ] } } - }, - "pnpm": { - "overrides": { - "@types/react": "npm:types-react@19.0.0-rc.1", - "@types/react-dom": "npm:types-react-dom@19.0.0" - } } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7e2a6bc4e1a..01cd1d6c834 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -160,11 +160,11 @@ importers: specifier: 2.2.0 version: 2.2.0(react-dom@19.0.0)(react@19.0.0) '@types/react': - specifier: npm:types-react@19.0.0-rc.1 - version: /types-react@19.0.0-rc.1 + specifier: 19.0.1 + version: 19.0.1 '@types/react-dom': - specifier: npm:types-react-dom@19.0.0 - version: /types-react-dom@19.0.0 + specifier: 19.0.1 + version: 19.0.1 '@uiw/react-codemirror': specifier: 4.23.6 version: 4.23.6(@babel/runtime@7.26.0)(@codemirror/autocomplete@6.18.3)(@codemirror/language@6.10.6)(@codemirror/lint@6.8.4)(@codemirror/search@6.5.8)(@codemirror/state@6.4.1)(@codemirror/theme-one-dark@6.1.2)(@codemirror/view@6.35.0)(codemirror@6.0.1)(react-dom@19.0.0)(react@19.0.0) @@ -179,7 +179,7 @@ importers: version: 0.4.4(react-dom@19.0.0)(react@19.0.0) nextra: specifier: 3.2.4 - version: 3.2.4(acorn@8.14.0)(next@15.0.4)(react-dom@19.0.0)(react@19.0.0)(types-react@19.0.0-rc.1)(typescript@5.7.2) + version: 3.2.4(@types/react@19.0.1)(acorn@8.14.0)(next@15.0.4)(react-dom@19.0.0)(react@19.0.0)(typescript@5.7.2) nextra-theme-docs: specifier: 3.2.4 version: 3.2.4(next@15.0.4)(nextra@3.2.4)(react-dom@19.0.0)(react@19.0.0) @@ -1366,14 +1366,14 @@ packages: - supports-color dev: false - /@mdx-js/react@3.1.0(react@19.0.0)(types-react@19.0.0-rc.1): + /@mdx-js/react@3.1.0(@types/react@19.0.1)(react@19.0.0): resolution: {integrity: sha512-QjHtSaoameoalGnKDT3FoIl4+9RwyTmo9ZJGBdLOks/YOiWHoRDI3PUwEzOE7kEmGcV3AFcp9K6dYu9rEuKLAQ==} peerDependencies: '@types/react': '>=16' react: '>=16' dependencies: '@types/mdx': 2.0.13 - '@types/react': /types-react@19.0.0-rc.1 + '@types/react': 19.0.1 react: 19.0.0 dev: false @@ -2360,14 +2360,15 @@ packages: resolution: {integrity: sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==} dev: true - /@types/prop-types@15.7.13: - resolution: {integrity: sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==} + /@types/react-dom@19.0.1: + resolution: {integrity: sha512-hljHij7MpWPKF6u5vojuyfV0YA4YURsQG7KT6SzV0Zs2BXAtgdTxG6A229Ub/xiWV4w/7JL8fi6aAyjshH4meA==} + dependencies: + '@types/react': 19.0.1 dev: false - /@types/react@18.3.12: - resolution: {integrity: sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==} + /@types/react@19.0.1: + resolution: {integrity: sha512-YW6614BDhqbpR5KtUYzTA+zlA7nayzJRA9ljz9CQoxthR0sDisYZLuvSMsil36t4EH/uAt8T52Xb4sVw17G+SQ==} dependencies: - '@types/prop-types': 15.7.13 csstype: 3.1.3 dev: false @@ -6793,14 +6794,14 @@ packages: flexsearch: 0.7.43 next: 15.0.4(react-dom@19.0.0)(react@19.0.0) next-themes: 0.4.4(react-dom@19.0.0)(react@19.0.0) - nextra: 3.2.4(acorn@8.14.0)(next@15.0.4)(react-dom@19.0.0)(react@19.0.0)(types-react@19.0.0-rc.1)(typescript@5.7.2) + nextra: 3.2.4(@types/react@19.0.1)(acorn@8.14.0)(next@15.0.4)(react-dom@19.0.0)(react@19.0.0)(typescript@5.7.2) react: 19.0.0 react-dom: 19.0.0(react@19.0.0) scroll-into-view-if-needed: 3.1.0 zod: 3.23.8 dev: false - /nextra@3.2.4(acorn@8.14.0)(next@15.0.4)(react-dom@19.0.0)(react@19.0.0)(types-react@19.0.0-rc.1)(typescript@5.7.2): + /nextra@3.2.4(@types/react@19.0.1)(acorn@8.14.0)(next@15.0.4)(react-dom@19.0.0)(react@19.0.0)(typescript@5.7.2): resolution: {integrity: sha512-xvQuPVtRoJTz4ynIbEkxYkEtviIX699lt4coij2IMmafYrBNaD0Ofj93jIz7VngYxyT9f4gWSiwqNgoIlnbsjQ==} engines: {node: '>=18'} peerDependencies: @@ -6811,7 +6812,7 @@ packages: '@formatjs/intl-localematcher': 0.5.8 '@headlessui/react': 2.2.0(react-dom@19.0.0)(react@19.0.0) '@mdx-js/mdx': 3.1.0(acorn@8.14.0) - '@mdx-js/react': 3.1.0(react@19.0.0)(types-react@19.0.0-rc.1) + '@mdx-js/react': 3.1.0(@types/react@19.0.1)(react@19.0.0) '@napi-rs/simple-git': 0.1.19 '@shikijs/twoslash': 1.24.0(typescript@5.7.2) '@theguild/remark-mermaid': 0.1.3(react@19.0.0) @@ -8743,18 +8744,6 @@ packages: reflect.getprototypeof: 1.0.7 dev: true - /types-react-dom@19.0.0: - resolution: {integrity: sha512-qtWBYduBCmrgf4wqnTrGttEJJSZ6cTGmzuvmWd/34TJNKz/Pp69Islc1+txHF3nRxSuRvmhxztFXvLyxhp8G2w==} - dependencies: - '@types/react': 18.3.12 - dev: false - - /types-react@19.0.0-rc.1: - resolution: {integrity: sha512-RshndUfqTW6K3STLPis8BtAYCGOkMbtvYsi90gmVNDZBXUyUc5juf2PE9LfS/JmOlUIRO8cWTS/1MTnmhjDqyQ==} - dependencies: - csstype: 3.1.3 - dev: false - /typescript@5.7.2: resolution: {integrity: sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==} engines: {node: '>=14.17'}