Skip to content

Commit fa00e0d

Browse files
authored
upgrade clsx to v2.0.0 (#5487)
1 parent 5e4dfb0 commit fa00e0d

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
"babelify": "^10.0.0",
113113
"chalk": "^4.1.2",
114114
"chromatic": "^7.3.0",
115-
"clsx": "^1.1.1",
115+
"clsx": "^2.0.0",
116116
"color-space": "^1.16.0",
117117
"concurrently": "^6.0.2",
118118
"core-js": "^3.0.0",

packages/@react-aria/focus/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@react-aria/utils": "^3.22.0",
2727
"@react-types/shared": "^3.22.0",
2828
"@swc/helpers": "^0.5.0",
29-
"clsx": "^1.1.1"
29+
"clsx": "^2.0.0"
3030
},
3131
"peerDependencies": {
3232
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"

packages/@react-aria/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@react-stately/utils": "^3.9.0",
2727
"@react-types/shared": "^3.22.0",
2828
"@swc/helpers": "^0.5.0",
29-
"clsx": "^1.1.1"
29+
"clsx": "^2.0.0"
3030
},
3131
"peerDependencies": {
3232
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"

packages/@react-spectrum/provider/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"@react-types/provider": "^3.7.1",
4444
"@react-types/shared": "^3.22.0",
4545
"@swc/helpers": "^0.5.0",
46-
"clsx": "^1.1.1"
46+
"clsx": "^2.0.0"
4747
},
4848
"devDependencies": {
4949
"@adobe/spectrum-css-temp": "3.0.0-alpha.1"

packages/@react-spectrum/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@react-aria/utils": "^3.22.0",
3030
"@react-types/shared": "^3.22.0",
3131
"@swc/helpers": "^0.5.0",
32-
"clsx": "^1.1.1"
32+
"clsx": "^2.0.0"
3333
},
3434
"peerDependencies": {
3535
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"

packages/dev/docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"@spectrum-icons/ui": "^3.1.0",
2626
"@spectrum-icons/workflow": "^4.0.0",
2727
"algoliasearch": "^4.14.1",
28-
"clsx": "^1.1.1",
28+
"clsx": "^2.0.0",
2929
"dompurify": "^2.3.10",
3030
"globals-docs": "^2.4.1",
3131
"highlight.js": "9.18.1",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9269,10 +9269,10 @@ cloneable-readable@^1.0.0:
92699269
process-nextick-args "^2.0.0"
92709270
readable-stream "^2.3.5"
92719271

9272-
clsx@^1.1.1:
9273-
version "1.1.1"
9274-
resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.1.1.tgz#98b3134f9abbdf23b2663491ace13c5c03a73188"
9275-
integrity sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA==
9272+
clsx@^2.0.0:
9273+
version "2.0.0"
9274+
resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.0.0.tgz#12658f3fd98fafe62075595a5c30e43d18f3d00b"
9275+
integrity sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q==
92769276

92779277
co@^4.6.0:
92789278
version "4.6.0"

0 commit comments

Comments
 (0)