diff --git a/package-lock.json b/package-lock.json index 10d8c18e2c..97aa679fde 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2874,6 +2874,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.1.0", "resolved": "https://registry.npmjs.org/@docusaurus/theme-common/-/theme-common-2.1.0.tgz", @@ -5027,15 +5039,19 @@ } }, "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==", + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-2.1.5.tgz", + "integrity": "sha512-3Az1I6SAWA9R38rYjz5rXBrGKeZhq96CSSyQtqY+maPj8stBsoUH5pNcmIixuGkufYsh8F5+ka2CVPo2fycWZw==", + "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": { @@ -6741,6 +6757,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/memdown": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@types/memdown/-/memdown-3.0.0.tgz", @@ -26032,7 +26053,7 @@ "dependencies": { "@docusaurus/core": "2.1.0", "@docusaurus/preset-classic": "2.1.0", - "@mdx-js/react": "1.6.22", + "@mdx-js/react": "2.1.5", "clsx": "1.2.1", "react": "17.0.2", "react-dom": "17.0.2" @@ -27859,7 +27880,7 @@ "@docusaurus/module-type-aliases": "2.1.0", "@docusaurus/preset-classic": "2.1.0", "@docusaurus/types": "2.1.0", - "@mdx-js/react": "1.6.22", + "@mdx-js/react": "2.1.5", "@tsconfig/docusaurus": "1.0.6", "@types/react": "17.0.48", "@types/react-helmet": "6.1.5", @@ -28250,6 +28271,14 @@ "rtlcss": "^3.5.0", "tslib": "^2.4.0", "utility-types": "^3.10.0" + }, + "dependencies": { + "@mdx-js/react": { + "version": "1.6.22", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.22.tgz", + "integrity": "sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg==", + "requires": {} + } } }, "@docusaurus/theme-common": { @@ -29961,10 +29990,13 @@ } }, "@mdx-js/react": { - "version": "1.6.22", - "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.22.tgz", - "integrity": "sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg==", - "requires": {} + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-2.1.5.tgz", + "integrity": "sha512-3Az1I6SAWA9R38rYjz5rXBrGKeZhq96CSSyQtqY+maPj8stBsoUH5pNcmIixuGkufYsh8F5+ka2CVPo2fycWZw==", + "requires": { + "@types/mdx": "^2.0.0", + "@types/react": ">=16" + } }, "@mdx-js/util": { "version": "1.6.22", @@ -31218,6 +31250,11 @@ "@types/unist": "*" } }, + "@types/mdx": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.3.tgz", + "integrity": "sha512-IgHxcT3RC8LzFLhKwP3gbMPeaK7BM9eBH46OdapPA7yvuIUJ8H6zHZV53J8hGZcTSnt95jANt+rTBNUUc22ACQ==" + }, "@types/memdown": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@types/memdown/-/memdown-3.0.0.tgz", @@ -35955,7 +35992,7 @@ "@docusaurus/module-type-aliases": "2.1.0", "@docusaurus/preset-classic": "2.1.0", "@docusaurus/types": "2.1.0", - "@mdx-js/react": "1.6.22", + "@mdx-js/react": "2.1.5", "@tsconfig/docusaurus": "1.0.6", "@types/react": "17.0.48", "@types/react-helmet": "6.1.5", @@ -36346,6 +36383,14 @@ "rtlcss": "^3.5.0", "tslib": "^2.4.0", "utility-types": "^3.10.0" + }, + "dependencies": { + "@mdx-js/react": { + "version": "1.6.22", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.22.tgz", + "integrity": "sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg==", + "requires": {} + } } }, "@docusaurus/theme-common": { @@ -38057,10 +38102,13 @@ } }, "@mdx-js/react": { - "version": "1.6.22", - "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.22.tgz", - "integrity": "sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg==", - "requires": {} + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-2.1.5.tgz", + "integrity": "sha512-3Az1I6SAWA9R38rYjz5rXBrGKeZhq96CSSyQtqY+maPj8stBsoUH5pNcmIixuGkufYsh8F5+ka2CVPo2fycWZw==", + "requires": { + "@types/mdx": "^2.0.0", + "@types/react": ">=16" + } }, "@mdx-js/util": { "version": "1.6.22", @@ -39314,6 +39362,11 @@ "@types/unist": "*" } }, + "@types/mdx": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.3.tgz", + "integrity": "sha512-IgHxcT3RC8LzFLhKwP3gbMPeaK7BM9eBH46OdapPA7yvuIUJ8H6zHZV53J8hGZcTSnt95jANt+rTBNUUc22ACQ==" + }, "@types/memdown": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@types/memdown/-/memdown-3.0.0.tgz", diff --git a/website/package.json b/website/package.json index 6e361588cb..b03f1b770c 100644 --- a/website/package.json +++ b/website/package.json @@ -15,7 +15,7 @@ "dependencies": { "@docusaurus/core": "2.1.0", "@docusaurus/preset-classic": "2.1.0", - "@mdx-js/react": "1.6.22", + "@mdx-js/react": "2.1.5", "clsx": "1.2.1", "react": "17.0.2", "react-dom": "17.0.2"