Skip to content

Commit 2dfbeb5

Browse files
committed
fix(deps): update dependency @mdx-js/react to v2
1 parent 44f40ed commit 2dfbeb5

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@docusaurus/preset-classic": "2.0.0-beta.6",
2828
"@docusaurus/theme-live-codeblock": "2.0.0-beta.6",
2929
"@easyops-cn/docusaurus-search-local": "0.21.4",
30-
"@mdx-js/react": "1.6.22",
30+
"@mdx-js/react": "2.0.0",
3131
"antd": "4.18.6",
3232
"clsx": "1.1.1",
3333
"lint-staged": "12.3.3",

yarn.lock

+15-2
Original file line numberDiff line numberDiff line change
@@ -2579,7 +2579,15 @@
25792579
unist-builder "2.0.3"
25802580
unist-util-visit "2.0.3"
25812581

2582-
"@mdx-js/[email protected]", "@mdx-js/react@^1.6.21":
2582+
2583+
version "2.0.0"
2584+
resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-2.0.0.tgz#00a9f5467d2761fe3818222740f50403f83aee2c"
2585+
integrity sha512-icpMd43xqORnHSVRwALZv3ELN3IS7VS3BL+FyH2FFergQPSQ21FX0lN+OMIs0X+3dGY1L0DLhBCkMfPO+yDG7Q==
2586+
dependencies:
2587+
"@types/mdx" "^2.0.0"
2588+
"@types/react" ">=16"
2589+
2590+
"@mdx-js/react@^1.6.21":
25832591
version "1.6.22"
25842592
resolved "https://registry.npm.taobao.org/@mdx-js/react/download/@mdx-js/react-1.6.22.tgz#ae09b4744fddc74714ee9f9d6f17a66e77c43573"
25852593
integrity sha1-rgm0dE/dx0cU7p+dbxembnfENXM=
@@ -2871,6 +2879,11 @@
28712879
dependencies:
28722880
"@types/unist" "*"
28732881

2882+
"@types/mdx@^2.0.0":
2883+
version "2.0.1"
2884+
resolved "https://registry.yarnpkg.com/@types/mdx/-/mdx-2.0.1.tgz#e4c05d355d092d7b58db1abfe460e53f41102ac8"
2885+
integrity sha512-JPEv4iAl0I+o7g8yVWDwk30es8mfVrjkvh5UeVR2sYPpZCK44vrAPsbJpIS+rJAUxLgaSAMKTEH5Vn5qd9XsrQ==
2886+
28742887
"@types/minimatch@*":
28752888
version "3.0.3"
28762889
resolved "https://registry.npm.taobao.org/@types/minimatch/download/@types/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
@@ -2938,7 +2951,7 @@
29382951
"@types/prop-types" "*"
29392952
csstype "^3.0.2"
29402953

2941-
2954+
"@types/[email protected]", "@types/react@>=16":
29422955
version "17.0.39"
29432956
resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.39.tgz#d0f4cde092502a6db00a1cded6e6bf2abb7633ce"
29442957
integrity sha512-UVavlfAxDd/AgAacMa60Azl7ygyQNRwC/DsHZmKgNvPmRR5p70AJ5Q9EAmL2NWOJmeV+vVUI4IAP7GZrN8h8Ug==

0 commit comments

Comments
 (0)