diff --git a/package-lock.json b/package-lock.json index 672bf82e..35551d58 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@docusaurus/plugin-pwa": "^2.0.0-beta.15", "@docusaurus/preset-classic": "2.0.0-beta.15", "@docusaurus/theme-search-algolia": "^2.0.0-beta.17", - "@mdx-js/react": "^1.6.21", + "@mdx-js/react": "^2.0.0", "@svgr/webpack": "^6.2.1", "clsx": "^1.1.1", "docusaurus-plugin-sass": "github:Queue-ri/docusaurus-plugin-sass#master", @@ -2532,6 +2532,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", "resolved": "https://registry.npmjs.org/@docusaurus/theme-common/-/theme-common-2.0.0-beta.15.tgz", @@ -3356,6 +3368,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", "resolved": "https://registry.npmjs.org/@mdx-js/runtime/-/runtime-1.6.22.tgz", @@ -3491,15 +3515,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.0.0", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-2.0.0.tgz", + "integrity": "sha512-icpMd43xqORnHSVRwALZv3ELN3IS7VS3BL+FyH2FFergQPSQ21FX0lN+OMIs0X+3dGY1L0DLhBCkMfPO+yDG7Q==", + "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": { @@ -4048,6 +4076,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", @@ -16631,6 +16664,14 @@ "prismjs": "^1.23.0", "react-router-dom": "^5.2.0", "rtlcss": "^3.3.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": { @@ -17204,6 +17245,12 @@ "url-loader": "^4.1.1" }, "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": {} + }, "@mdx-js/runtime": { "version": "1.6.22", "resolved": "https://registry.npmjs.org/@mdx-js/runtime/-/runtime-1.6.22.tgz", @@ -17332,10 +17379,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.0.0", + "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-2.0.0.tgz", + "integrity": "sha512-icpMd43xqORnHSVRwALZv3ELN3IS7VS3BL+FyH2FFergQPSQ21FX0lN+OMIs0X+3dGY1L0DLhBCkMfPO+yDG7Q==", + "requires": { + "@types/mdx": "^2.0.0", + "@types/react": ">=16" + } }, "@mdx-js/util": { "version": "1.6.22", @@ -17712,6 +17762,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/package.json b/package.json index 41f0864a..2c898ed3 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "@docusaurus/plugin-pwa": "^2.0.0-beta.15", "@docusaurus/preset-classic": "2.0.0-beta.15", "@docusaurus/theme-search-algolia": "^2.0.0-beta.17", - "@mdx-js/react": "^1.6.21", + "@mdx-js/react": "^2.0.0", "@svgr/webpack": "^6.2.1", "clsx": "^1.1.1", "docusaurus-plugin-sass": "github:Queue-ri/docusaurus-plugin-sass#master",