diff --git a/package.json b/package.json index 59f73843f82..f2b4de825ab 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "@docusaurus/preset-classic": "2.4.1", "@easyops-cn/docusaurus-search-local": "^0.36.0", "@mdx-js/react": "^1.6.22", - "clsx": "^1.2.1", + "clsx": "^2.1.0", "docusaurus-plugin-sass": "^0.2.5", "hast-util-is-element": "3.0.0", "mdx-mermaid": "^1.3.2", diff --git a/yarn.lock b/yarn.lock index 3963a2616f5..b719f32b519 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3419,6 +3419,11 @@ clsx@^1.1.1, clsx@^1.2.1: version "1.2.1" resolved "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz" +clsx@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.1.0.tgz#e851283bcb5c80ee7608db18487433f7b23f77cb" + integrity sha512-m3iNNWpd9rl3jvvcBnu70ylMdrXt8Vlq4HYadnU5fwcOtvkSQWPmj7amUcDT2qYI7risszBjI5AUIUox9D16pg== + collapse-white-space@^1.0.2: version "1.0.6" resolved "https://registry.npmjs.org/collapse-white-space/-/collapse-white-space-1.0.6.tgz"