diff --git a/website/package-lock.json b/website/package-lock.json index bcc98b490..87824a377 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@docusaurus/plugin-client-redirects": "2.0.0-beta.18", "@docusaurus/preset-classic": "2.0.0-beta.18", - "@mdx-js/react": "^1.6.22", + "@mdx-js/react": "^2.1.1", "clsx": "^1.1.1", "postcss": "^8.4.12", "rapidoc": "^9.2.0", @@ -2660,6 +2660,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.18", "resolved": "https://registry.npmjs.org/@docusaurus/theme-common/-/theme-common-2.0.0-beta.18.tgz", @@ -2908,15 +2920,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.1", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-2.1.1.tgz", + "integrity": "sha512-7zlZDf5xmWH8I0kFE4DG91COOkxjaW9DX5f1HWztZpFcVua2gJgMYfIkFaDpO/DH/tWi6Mz+OheW4194r15igg==", + "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": { @@ -3390,6 +3406,11 @@ "@types/unist": "*" } }, + "node_modules/@types/mdx": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.1.tgz", + "integrity": "sha512-JPEv4iAl0I+o7g8yVWDwk30es8mfVrjkvh5UeVR2sYPpZCK44vrAPsbJpIS+rJAUxLgaSAMKTEH5Vn5qd9XsrQ==" + }, "node_modules/@types/mime": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", @@ -14874,6 +14895,14 @@ "prismjs": "^1.27.0", "react-router-dom": "^5.2.0", "rtlcss": "^3.5.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": { @@ -15080,10 +15109,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.1", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-2.1.1.tgz", + "integrity": "sha512-7zlZDf5xmWH8I0kFE4DG91COOkxjaW9DX5f1HWztZpFcVua2gJgMYfIkFaDpO/DH/tWi6Mz+OheW4194r15igg==", + "requires": { + "@types/mdx": "^2.0.0", + "@types/react": ">=16" + } }, "@mdx-js/util": { "version": "1.6.22", @@ -15407,6 +15439,11 @@ "@types/unist": "*" } }, + "@types/mdx": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.1.tgz", + "integrity": "sha512-JPEv4iAl0I+o7g8yVWDwk30es8mfVrjkvh5UeVR2sYPpZCK44vrAPsbJpIS+rJAUxLgaSAMKTEH5Vn5qd9XsrQ==" + }, "@types/mime": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", diff --git a/website/package.json b/website/package.json index 7eb701872..56d2e1ffc 100644 --- a/website/package.json +++ b/website/package.json @@ -14,7 +14,7 @@ "dependencies": { "@docusaurus/plugin-client-redirects": "2.0.0-beta.18", "@docusaurus/preset-classic": "2.0.0-beta.18", - "@mdx-js/react": "^1.6.22", + "@mdx-js/react": "^2.1.1", "clsx": "^1.1.1", "postcss": "^8.4.12", "rapidoc": "^9.2.0",