diff --git a/package.json b/package.json index b6d6476726..c4bb706bec 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@docusaurus/plugin-client-redirects": "^2.4.3", "@docusaurus/plugin-google-gtag": "^2.4.3", "@docusaurus/preset-classic": "^2.4.3", - "@mdx-js/react": "^1.6.22", + "@mdx-js/react": "^2.3.0", "@svgr/webpack": "^8.1.0", "clsx": "^2.0.0", "docusaurus-plugin-sass": "^0.2.5", diff --git a/yarn.lock b/yarn.lock index de4501b840..9711750b2b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3566,6 +3566,18 @@ __metadata: languageName: node linkType: hard +"@mdx-js/react@npm:^2.3.0": + version: 2.3.0 + resolution: "@mdx-js/react@npm:2.3.0" + dependencies: + "@types/mdx": ^2.0.0 + "@types/react": ">=16" + peerDependencies: + react: ">=16" + checksum: f45fe779556e6cd9a787f711274480e0638b63c460f192ebdcd77cc07ffa61e23c98cb46dd46e577093e1cb4997a232a848d1fb0ba850ae204422cf603add524 + languageName: node + linkType: hard + "@mdx-js/util@npm:1.6.22": version: 1.6.22 resolution: "@mdx-js/util@npm:1.6.22" @@ -4142,6 +4154,13 @@ __metadata: languageName: node linkType: hard +"@types/mdx@npm:^2.0.0": + version: 2.0.8 + resolution: "@types/mdx@npm:2.0.8" + checksum: 4a7c2241c37e87aaab044c561f24874fabcd5cd2d6feb28dc665e2c80562afa7ddf94391a3b8ab3f76041199c8bafcff9131acf6d060f1aca45d763b171bbc29 + languageName: node + linkType: hard + "@types/mime@npm:^1": version: 1.3.2 resolution: "@types/mime@npm:1.3.2" @@ -4241,6 +4260,17 @@ __metadata: languageName: node linkType: hard +"@types/react@npm:>=16": + version: 18.2.24 + resolution: "@types/react@npm:18.2.24" + dependencies: + "@types/prop-types": "*" + "@types/scheduler": "*" + csstype: ^3.0.2 + checksum: ea5d8204e71b1c9c6631f429a93f8e7be0614cdbdb464e92b3181bdccd8a7c45e30ded8b13da726684b6393f651317c36d54832e3d3cdea0da480a3f26268909 + languageName: node + linkType: hard + "@types/responselike@npm:^1.0.0": version: 1.0.0 resolution: "@types/responselike@npm:1.0.0" @@ -8473,7 +8503,7 @@ __metadata: "@docusaurus/plugin-client-redirects": ^2.4.3 "@docusaurus/plugin-google-gtag": ^2.4.3 "@docusaurus/preset-classic": ^2.4.3 - "@mdx-js/react": ^1.6.22 + "@mdx-js/react": ^2.3.0 "@svgr/webpack": ^8.1.0 clsx: ^2.0.0 docusaurus-plugin-sass: ^0.2.5