diff --git a/package.json b/package.json index 00d1d34..4de9560 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "@docusaurus/preset-classic": "^3.0.0", "@easyops-cn/docusaurus-search-local": "^0.40.0", "@mdx-js/react": "^3.0.0", - "clsx": "^1.2.1", + "clsx": "^2.0.0", "react": "^18.0.0", "react-dom": "^18.0.0" }, diff --git a/yarn.lock b/yarn.lock index 78e987d..ed4bd09 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3116,7 +3116,7 @@ clone-deep@^4.0.1: kind-of "^6.0.2" shallow-clone "^3.0.0" -clsx@^1.1.1, clsx@^1.2.1: +clsx@^1.1.1: version "1.2.1" resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.2.1.tgz#0ddc4a20a549b59c93a4116bb26f5294ca17dc12" integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==