Skip to content

Commit 8c870e2

Browse files
Update dependency @mdx-js/react to v2
1 parent 893c6d6 commit 8c870e2

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@docusaurus/plugin-google-analytics": "^2.3.1",
2121
"@docusaurus/preset-classic": "^2.3.1",
2222
"@easyops-cn/docusaurus-search-local": "0.33.6",
23-
"@mdx-js/react": "1.6.22",
23+
"@mdx-js/react": "2.3.0",
2424
"@tailwindcss/typography": "0.5.9",
2525
"autoprefixer": "10.4.13",
2626
"clsx": "1.2.1",

yarn.lock

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2028,7 +2028,15 @@
20282028
unist-builder "2.0.3"
20292029
unist-util-visit "2.0.3"
20302030

2031-
"@mdx-js/[email protected]", "@mdx-js/react@^1.6.22":
2031+
2032+
version "2.3.0"
2033+
resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-2.3.0.tgz#4208bd6d70f0d0831def28ef28c26149b03180b3"
2034+
integrity sha512-zQH//gdOmuu7nt2oJR29vFhDv88oGPmVw6BggmrHeMI+xgEkp1B2dX9/bMBSYtK0dyLX/aOmesKS09g222K1/g==
2035+
dependencies:
2036+
"@types/mdx" "^2.0.0"
2037+
"@types/react" ">=16"
2038+
2039+
"@mdx-js/react@^1.6.22":
20322040
version "1.6.22"
20332041
resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-1.6.22.tgz#ae09b4744fddc74714ee9f9d6f17a66e77c43573"
20342042
integrity sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg==
@@ -2442,6 +2450,11 @@
24422450
dependencies:
24432451
"@types/unist" "*"
24442452

2453+
"@types/mdx@^2.0.0":
2454+
version "2.0.3"
2455+
resolved "https://registry.yarnpkg.com/@types/mdx/-/mdx-2.0.3.tgz#43fd32414f17fcbeced3578109a6edd877a2d96e"
2456+
integrity sha512-IgHxcT3RC8LzFLhKwP3gbMPeaK7BM9eBH46OdapPA7yvuIUJ8H6zHZV53J8hGZcTSnt95jANt+rTBNUUc22ACQ==
2457+
24452458
"@types/mime@*":
24462459
version "3.0.1"
24472460
resolved "https://registry.yarnpkg.com/@types/mime/-/mime-3.0.1.tgz#5f8f2bca0a5863cb69bc0b0acd88c96cb1d4ae10"
@@ -2508,7 +2521,7 @@
25082521
"@types/history" "^4.7.11"
25092522
"@types/react" "*"
25102523

2511-
"@types/react@*":
2524+
"@types/react@*", "@types/react@>=16":
25122525
version "18.0.27"
25132526
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.27.tgz#d9425abe187a00f8a5ec182b010d4fd9da703b71"
25142527
integrity sha512-3vtRKHgVxu3Jp9t718R9BuzoD4NcQ8YJ5XRzsSKxNDiDonD2MXIT1TmSkenxuCycZJoQT5d2vE8LwWJxBC1gmA==

0 commit comments

Comments
 (0)