diff --git a/package.json b/package.json index 1f404ec..6a7dafb 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "@docusaurus/theme-live-codeblock": "^2.3.1", "@docusaurus/theme-mermaid": "^2.3.1", "@giscus/react": "^2.2.8", - "@mdx-js/react": "^1.6.22", + "@mdx-js/react": "^3.0.0", "clsx": "^1.2.1", "hast-util-is-element": "2.1.3", "prism-react-renderer": "^1.3.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index eef4adf..b6affd9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ specifiers: '@docusaurus/theme-mermaid': ^2.3.1 '@docusaurus/types': ^2.3.1 '@giscus/react': ^2.2.8 - '@mdx-js/react': ^1.6.22 + '@mdx-js/react': ^3.0.0 '@tsconfig/docusaurus': ^1.0.7 '@types/node': ^18.15.3 '@typescript-eslint/eslint-plugin': ^5.55.0 @@ -41,7 +41,7 @@ dependencies: '@docusaurus/theme-live-codeblock': 2.3.1_3wwfkccewafcpmaink4pglvvei '@docusaurus/theme-mermaid': 2.3.1_gpdukexrhjgu66opmh7iixboiu '@giscus/react': 2.2.8_biqbaboplfbrettd7655fr4n2y - '@mdx-js/react': 1.6.22_react@18.2.0 + '@mdx-js/react': 3.0.0_react@18.2.0 clsx: 1.2.1 hast-util-is-element: 2.1.3 prism-react-renderer: 1.3.5_react@18.2.0 @@ -2507,6 +2507,16 @@ packages: react: 18.2.0 dev: false + /@mdx-js/react/3.0.0_react@18.2.0: + resolution: {integrity: sha512-nDctevR9KyYFyV+m+/+S4cpzCWHqj+iHDHq3QrsWezcC+B17uZdIWgCguESUkwFhM3n/56KxWVE3V6EokrmONQ==} + peerDependencies: + '@types/react': '>=16' + react: '>=16' + dependencies: + '@types/mdx': 2.0.9 + react: 18.2.0 + dev: false + /@mdx-js/util/1.6.22: resolution: {integrity: sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA==} @@ -2823,6 +2833,10 @@ packages: dependencies: '@types/unist': 2.0.6 + /@types/mdx/2.0.9: + resolution: {integrity: sha512-OKMdj17y8Cs+k1r0XFyp59ChSOwf8ODGtMQ4mnpfz5eFDk1aO41yN3pSKGuvVzmWAkFp37seubY1tzOVpwfWwg==} + dev: false + /@types/mime/3.0.1: resolution: {integrity: sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==}