Skip to content

Commit 2e7ee7a

Browse files
Update dependency @mdx-js/react to v2
1 parent 1bc920d commit 2e7ee7a

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.0",
2121
"@docusaurus/preset-classic": "^2.3.0",
2222
"@easyops-cn/docusaurus-search-local": "0.33.6",
23-
"@mdx-js/react": "1.6.22",
23+
"@mdx-js/react": "2.2.1",
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
@@ -1812,7 +1812,15 @@
18121812
unist-builder "2.0.3"
18131813
unist-util-visit "2.0.3"
18141814

1815-
"@mdx-js/[email protected]", "@mdx-js/react@^1.6.22":
1815+
1816+
version "2.2.1"
1817+
resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-2.2.1.tgz#5a70592418d52b1b01538c37e795034601c96ec5"
1818+
integrity sha512-YdXcMcEnqZhzql98RNrqYo9cEhTTesBiCclEtoiQUbJwx87q9453GTapYU6kJ8ZZ2ek1Vp25SiAXEFy5O/eAPw==
1819+
dependencies:
1820+
"@types/mdx" "^2.0.0"
1821+
"@types/react" ">=16"
1822+
1823+
"@mdx-js/react@^1.6.22":
18161824
version "1.6.22"
18171825
resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-1.6.22.tgz#ae09b4744fddc74714ee9f9d6f17a66e77c43573"
18181826
integrity sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg==
@@ -2226,6 +2234,11 @@
22262234
dependencies:
22272235
"@types/unist" "*"
22282236

2237+
"@types/mdx@^2.0.0":
2238+
version "2.0.3"
2239+
resolved "https://registry.yarnpkg.com/@types/mdx/-/mdx-2.0.3.tgz#43fd32414f17fcbeced3578109a6edd877a2d96e"
2240+
integrity sha512-IgHxcT3RC8LzFLhKwP3gbMPeaK7BM9eBH46OdapPA7yvuIUJ8H6zHZV53J8hGZcTSnt95jANt+rTBNUUc22ACQ==
2241+
22292242
"@types/mime@*":
22302243
version "3.0.1"
22312244
resolved "https://registry.yarnpkg.com/@types/mime/-/mime-3.0.1.tgz#5f8f2bca0a5863cb69bc0b0acd88c96cb1d4ae10"
@@ -2292,7 +2305,7 @@
22922305
"@types/history" "^4.7.11"
22932306
"@types/react" "*"
22942307

2295-
"@types/react@*":
2308+
"@types/react@*", "@types/react@>=16":
22962309
version "18.0.27"
22972310
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.27.tgz#d9425abe187a00f8a5ec182b010d4fd9da703b71"
22982311
integrity sha512-3vtRKHgVxu3Jp9t718R9BuzoD4NcQ8YJ5XRzsSKxNDiDonD2MXIT1TmSkenxuCycZJoQT5d2vE8LwWJxBC1gmA==

0 commit comments

Comments
 (0)