diff --git a/website/package-lock.json b/website/package-lock.json index befb47e0..02f20838 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -11,7 +11,7 @@ "@docusaurus/core": "2.0.0-beta.15", "@docusaurus/plugin-ideal-image": "2.0.0", "@docusaurus/preset-classic": "2.0.0-beta.15", - "@mdx-js/react": "^1.6.21", + "@mdx-js/react": "^2.0.0", "clsx": "^1.1.1", "react": "^17.0.1", "react-dom": "^17.0.1" @@ -3366,6 +3366,18 @@ "react-dom": "^16.8.4 || ^17.0.0" } }, + "node_modules/@docusaurus/theme-classic/node_modules/@mdx-js/react": { + "version": "1.6.22", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.22.tgz", + "integrity": "sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + }, + "peerDependencies": { + "react": "^16.13.1 || ^17.0.0" + } + }, "node_modules/@docusaurus/theme-common": { "version": "2.0.0-beta.15", "license": "MIT", @@ -3503,6 +3515,18 @@ "react-dom": "*" } }, + "node_modules/@docusaurus/utils/node_modules/@mdx-js/react": { + "version": "1.6.22", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.22.tgz", + "integrity": "sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + }, + "peerDependencies": { + "react": "^16.13.1 || ^17.0.0" + } + }, "node_modules/@docusaurus/utils/node_modules/@mdx-js/runtime": { "version": "1.6.22", "license": "MIT", @@ -3732,14 +3756,19 @@ } }, "node_modules/@mdx-js/react": { - "version": "1.6.22", - "license": "MIT", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-2.3.0.tgz", + "integrity": "sha512-zQH//gdOmuu7nt2oJR29vFhDv88oGPmVw6BggmrHeMI+xgEkp1B2dX9/bMBSYtK0dyLX/aOmesKS09g222K1/g==", + "dependencies": { + "@types/mdx": "^2.0.0", + "@types/react": ">=16" + }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" }, "peerDependencies": { - "react": "^16.13.1 || ^17.0.0" + "react": ">=16" } }, "node_modules/@mdx-js/util": { @@ -4220,6 +4249,11 @@ "@types/unist": "*" } }, + "node_modules/@types/mdx": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.3.tgz", + "integrity": "sha512-IgHxcT3RC8LzFLhKwP3gbMPeaK7BM9eBH46OdapPA7yvuIUJ8H6zHZV53J8hGZcTSnt95jANt+rTBNUUc22ACQ==" + }, "node_modules/@types/mime": { "version": "1.3.2", "license": "MIT" diff --git a/website/package.json b/website/package.json index 3538c72a..38ec3cc3 100644 --- a/website/package.json +++ b/website/package.json @@ -17,7 +17,7 @@ "@docusaurus/core": "2.0.0-beta.15", "@docusaurus/plugin-ideal-image": "2.0.0", "@docusaurus/preset-classic": "2.0.0-beta.15", - "@mdx-js/react": "^1.6.21", + "@mdx-js/react": "^2.0.0", "clsx": "^1.1.1", "react": "^17.0.1", "react-dom": "^17.0.1"