Skip to content

Commit 9d3e895

Browse files
authored
Upgrade styled-jsx to v4 (#27890)
Upgrade styled-jsx to v4 for supporting concurrent mode in react 18 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes
1 parent 1969124 commit 9d3e895

File tree

2 files changed

+21
-17
lines changed

2 files changed

+21
-17
lines changed

packages/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"stream-browserify": "3.0.0",
107107
"stream-http": "3.1.1",
108108
"string_decoder": "1.3.0",
109-
"styled-jsx": "3.4.7",
109+
"styled-jsx": "4.0.0",
110110
"timers-browserify": "2.0.12",
111111
"tty-browserify": "0.0.1",
112112
"use-subscription": "1.5.1",

yarn.lock

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,11 @@
551551
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.5.tgz#d0f0e277c512e0c938277faa85a3968c9a44c0e8"
552552
integrity sha512-5lsetuxCLilmVGyiLEfoHBRX8UCFD+1m2x3Rj97WrW3V7H3u4RWRXA4evMjImCsin2J2YT0QaVDGf+z8ondbAg==
553553

554+
"@babel/helper-validator-identifier@^7.14.9":
555+
version "7.14.9"
556+
resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.9.tgz#6654d171b2024f6d8ee151bf2509699919131d48"
557+
integrity sha512-pQYxPY0UP6IHISRitNe8bsijHex4TWZXi2HwKVsjPiltzlhse2znVcm9Ace510VT1kxIHjGJCZZQBX2gJDbo0g==
558+
554559
"@babel/helper-validator-option@^7.12.1", "@babel/helper-validator-option@^7.12.11":
555560
version "7.12.11"
556561
resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.12.11.tgz#d66cb8b7a3e7fe4c6962b32020a131ecf0847f4f"
@@ -958,7 +963,7 @@
958963
dependencies:
959964
"@babel/helper-plugin-utils" "^7.10.4"
960965

961-
"@babel/plugin-syntax-jsx@^7.14.5":
966+
"@babel/plugin-syntax-jsx@7.14.5", "@babel/plugin-syntax-jsx@^7.14.5":
962967
version "7.14.5"
963968
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.14.5.tgz#000e2e25d8673cce49300517a3eda44c263e4201"
964969
integrity sha512-ohuFIsOMXJnbOMRfX7/w7LocdR6R7whhuRD4ax8IipLcLPlZGJKkBxgHp++U4N/vKyU16/YDQr2f5seajD3jIw==
@@ -1974,13 +1979,12 @@
19741979
lodash "^4.17.19"
19751980
to-fast-properties "^2.0.0"
19761981

1977-
"@babel/types@7.8.3":
1978-
version "7.8.3"
1979-
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.8.3.tgz#5a383dffa5416db1b73dedffd311ffd0788fb31c"
1980-
integrity sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==
1982+
"@babel/types@7.15.0":
1983+
version "7.15.0"
1984+
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.15.0.tgz#61af11f2286c4e9c69ca8deb5f4375a73c72dcbd"
1985+
integrity sha512-OBvfqnllOIdX4ojTHpwZbpvz4j3EWyjkZEdmjH0/cgsd6QOdSgU8rLSk6ard/pcW7rlmjdVSX/AWOaORR1uNOQ==
19811986
dependencies:
1982-
esutils "^2.0.2"
1983-
lodash "^4.17.13"
1987+
"@babel/helper-validator-identifier" "^7.14.9"
19841988
to-fast-properties "^2.0.0"
19851989

19861990
"@babel/types@^7.12.13", "@babel/types@^7.13.0":
@@ -5724,7 +5728,7 @@ babel-plugin-polyfill-regenerator@^0.2.2:
57245728
babel-plugin-syntax-jsx "^6.18.0"
57255729
lodash "^4.17.11"
57265730

5727-
babel-plugin-syntax-jsx@6.18.0, babel-plugin-syntax-jsx@^6.18.0:
5731+
babel-plugin-syntax-jsx@^6.18.0:
57285732
version "6.18.0"
57295733
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946"
57305734

@@ -6321,7 +6325,7 @@ caniuse-api@^3.0.0:
63216325
lodash.memoize "^4.1.2"
63226326
lodash.uniq "^4.5.0"
63236327

6324-
caniuse-lite@1.0.30001228, caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001020, caniuse-lite@^1.0.30001093, caniuse-lite@^1.0.30001165, caniuse-lite@^1.0.30001202, caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001228:
6328+
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001020, caniuse-lite@^1.0.30001093, caniuse-lite@^1.0.30001165, caniuse-lite@^1.0.30001202, caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001228:
63256329
version "1.0.30001228"
63266330
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001228.tgz#bfdc5942cd3326fa51ee0b42fbef4da9d492a7fa"
63276331
integrity sha512-QQmLOGJ3DEgokHbMSA8cj2a+geXqmnpyOFT0lhQV6P3/YOJvGDEwoedcwxEQ30gJIwIIunHIicunJ2rzK5gB2A==
@@ -12573,7 +12577,7 @@ lodash.uniq@^4.5.0:
1257312577
version "4.5.0"
1257412578
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
1257512579

12576-
lodash@^4.0.0, lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.3.0, lodash@~4.17.10:
12580+
lodash@^4.0.0, lodash@^4.17.11, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.3.0, lodash@~4.17.10:
1257712581
version "4.17.20"
1257812582
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
1257912583
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==
@@ -18155,13 +18159,13 @@ styled-jsx-plugin-postcss@3.0.2:
1815518159
postcss "^7.0.2"
1815618160
postcss-load-plugins "^2.3.0"
1815718161

18158-
styled-jsx@3.4.7:
18159-
version "3.4.7"
18160-
resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-3.4.7.tgz#803bc8a36f1c359cc99691b6db6e0791ea3e1e31"
18161-
integrity sha512-PkImcCsovR39byv4Tz83tAPsYs2CiTPOmDSplhe0lsIFVYJyd7rzJ7fbm41vSNsF/lnO+Ob5n/jgMookwY0pww==
18162+
styled-jsx@4.0.0:
18163+
version "4.0.0"
18164+
resolved "https://registry.yarnpkg.com/styled-jsx/-/styled-jsx-4.0.0.tgz#f7b90e7889d0a4f4635f8d1ae9ac32f3acaedc57"
18165+
integrity sha512-2USeoWMoJ/Lx5s2y1PxuvLy/cz2Yrr8cTySV3ILHU1Vmaw1bnV7suKdblLPjnyhMD+qzN7B1SWyh4UZTARn/WA==
1816218166
dependencies:
18163-
"@babel/types" "7.8.3"
18164-
babel-plugin-syntax-jsx "6.18.0"
18167+
"@babel/plugin-syntax-jsx" "7.14.5"
18168+
"@babel/types" "7.15.0"
1816518169
convert-source-map "1.7.0"
1816618170
loader-utils "1.2.3"
1816718171
source-map "0.7.3"

0 commit comments

Comments
 (0)