chore: Upgrade clsx to 2.0.0 (#9464)

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
Chongyi Zheng 2023-11-21 13:29:18 -05:00 committed by GitHub
parent afacb110b5
commit 2c0bf8a3d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 14 additions and 9 deletions

View file

@ -18,7 +18,7 @@
"@docusaurus/core": "3.0.0",
"@docusaurus/preset-classic": "3.0.0",
"@mdx-js/react": "^3.0.0",
"clsx": "^1.2.1",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.2.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"

View file

@ -17,7 +17,7 @@
"@docusaurus/core": "3.0.0",
"@docusaurus/preset-classic": "3.0.0",
"@mdx-js/react": "^3.0.0",
"clsx": "^1.2.1",
"clsx": "^2.0.0",
"prism-react-renderer": "^2.2.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"

View file

@ -29,7 +29,7 @@
"@docusaurus/utils": "3.0.0",
"@docusaurus/utils-validation": "3.0.0",
"babel-loader": "^9.1.3",
"clsx": "^1.2.1",
"clsx": "^2.0.0",
"core-js": "^3.31.1",
"terser-webpack-plugin": "^5.3.9",
"tslib": "^2.6.0",

View file

@ -33,7 +33,7 @@
"@docusaurus/utils-common": "3.0.0",
"@docusaurus/utils-validation": "3.0.0",
"@mdx-js/react": "^3.0.0",
"clsx": "^1.2.1",
"clsx": "^2.0.0",
"copy-text-to-clipboard": "^3.2.0",
"infima": "0.2.0-alpha.43",
"lodash": "^4.17.21",

View file

@ -40,7 +40,7 @@
"@types/history": "^4.7.11",
"@types/react": "*",
"@types/react-router-config": "*",
"clsx": "^1.2.1",
"clsx": "^2.0.0",
"parse-numeric-range": "^1.3.0",
"prism-react-renderer": "^2.2.0",
"tslib": "^2.6.0",

View file

@ -28,7 +28,7 @@
"@docusaurus/theme-translations": "3.0.0",
"@docusaurus/utils-validation": "3.0.0",
"@philpl/buble": "^0.19.7",
"clsx": "^1.2.1",
"clsx": "^2.0.0",
"fs-extra": "^11.1.1",
"react-live": "^4.1.5",
"tslib": "^2.6.0"

View file

@ -43,7 +43,7 @@
"@docusaurus/utils-validation": "3.0.0",
"algoliasearch": "^4.18.0",
"algoliasearch-helper": "^3.13.3",
"clsx": "^1.2.1",
"clsx": "^2.0.0",
"eta": "^2.2.0",
"fs-extra": "^11.1.1",
"lodash": "^4.17.21",

View file

@ -544,7 +544,7 @@ For most sites, the upgrade should be easy. If you prepared your site ahead of t
+ "@docusaurus/core": "3.0.0-beta.0",
+ "@docusaurus/preset-classic": "3.0.0-beta.0",
+ "@mdx-js/react": "^3.0.0",
"clsx": "^1.2.1",
"clsx": "^2.0.0",
"prism-react-renderer": "^1.3.5",
- "react": "^17.0.2",
- "react-dom": "^17.0.2"

View file

@ -51,7 +51,7 @@
"@docusaurus/utils-common": "3.0.0",
"@popperjs/core": "^2.11.8",
"@swc/core": "1.2.197",
"clsx": "^1.2.1",
"clsx": "^2.0.0",
"color": "^4.2.3",
"fs-extra": "^11.1.1",
"netlify-plugin-cache": "^1.0.3",

View file

@ -5236,6 +5236,11 @@ clsx@^1.2.1:
resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.2.1.tgz#0ddc4a20a549b59c93a4116bb26f5294ca17dc12"
integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==
clsx@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.0.0.tgz#12658f3fd98fafe62075595a5c30e43d18f3d00b"
integrity sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==
cmd-shim@5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-5.0.0.tgz#8d0aaa1a6b0708630694c4dbde070ed94c707724"