diff --git a/website/package-lock.json b/website/package-lock.json index 87824a377..bcc98b490 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": "^2.1.1", + "@mdx-js/react": "^1.6.22", "clsx": "^1.1.1", "postcss": "^8.4.12", "rapidoc": "^9.2.0", @@ -2660,18 +2660,6 @@ "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", @@ -2920,19 +2908,15 @@ } }, "node_modules/@mdx-js/react": { - "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" - }, + "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" + "react": "^16.13.1 || ^17.0.0" } }, "node_modules/@mdx-js/util": { @@ -3406,11 +3390,6 @@ "@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", @@ -14895,14 +14874,6 @@ "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": { @@ -15109,13 +15080,10 @@ } }, "@mdx-js/react": { - "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" - } + "version": "1.6.22", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.22.tgz", + "integrity": "sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg==", + "requires": {} }, "@mdx-js/util": { "version": "1.6.22", @@ -15439,11 +15407,6 @@ "@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 56d2e1ffc..7eb701872 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": "^2.1.1", + "@mdx-js/react": "^1.6.22", "clsx": "^1.1.1", "postcss": "^8.4.12", "rapidoc": "^9.2.0",