diff --git a/website/package.json b/website/package.json index e2633b829..0cb140c0f 100644 --- a/website/package.json +++ b/website/package.json @@ -18,7 +18,7 @@ "@docusaurus/plugin-google-gtag": "^2.4.1", "@docusaurus/preset-classic": "^2.4.1", "@easyops-cn/docusaurus-search-local": "^0.35.0", - "@mdx-js/react": "^1.6.22", + "@mdx-js/react": "^3.0.0", "@svgr/webpack": "^8.1.0", "clsx": "^2.0.0", "file-loader": "^6.2.0", diff --git a/yarn.lock b/yarn.lock index 0f25215c2..db28ea2d7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3547,6 +3547,18 @@ __metadata: languageName: node linkType: hard +"@mdx-js/react@npm:^3.0.0": + version: 3.0.0 + resolution: "@mdx-js/react@npm:3.0.0" + dependencies: + "@types/mdx": ^2.0.0 + peerDependencies: + "@types/react": ">=16" + react: ">=16" + checksum: a780cff9d7f7639d6fc21c9d4e0a6ac1370c3209ea0db176923df7f9145785309591cf871f227f5135d1fe2accce0d5df9a22fc0530e5dda0c7b4b105705f20d + languageName: node + linkType: hard + "@mdx-js/util@npm:1.6.22": version: 1.6.22 resolution: "@mdx-js/util@npm:1.6.22" @@ -4547,6 +4559,13 @@ __metadata: languageName: node linkType: hard +"@types/mdx@npm:^2.0.0": + version: 2.0.10 + resolution: "@types/mdx@npm:2.0.10" + checksum: 3e2fb24b7bfae739a59573344171292b6c31256ad9afddc00232e9de4fbc97b270e1a11d13cb935cba0d9bbb9bc7348793eda82ee752233c5d2289f4b897f719 + languageName: node + linkType: hard + "@types/mime@npm:*": version: 3.0.1 resolution: "@types/mime@npm:3.0.1" @@ -16063,7 +16082,7 @@ __metadata: "@docusaurus/plugin-google-gtag": ^2.4.1 "@docusaurus/preset-classic": ^2.4.1 "@easyops-cn/docusaurus-search-local": ^0.35.0 - "@mdx-js/react": ^1.6.22 + "@mdx-js/react": ^3.0.0 "@svgr/webpack": ^8.1.0 clsx: ^2.0.0 file-loader: ^6.2.0