Skip to content

Commit

Permalink
chore: Upgrade clsx to 2.0.0 (#9464)
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
  • Loading branch information
2 people authored and slorber committed Nov 30, 2023
1 parent d79eacc commit 1875ca4
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 9 deletions.
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-docusaurus/templates/classic/package.json
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-pwa/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-classic/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-common/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-live-codeblock/package.json
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-theme-search-algolia/package.json
Expand Up @@ -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",
Expand Down
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Expand Up @@ -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",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Expand Up @@ -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"
Expand Down

0 comments on commit 1875ca4

Please sign in to comment.