File tree 7 files changed +21
-10
lines changed
7 files changed +21
-10
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @emotion/babel-plugin ' : patch
3
+ ' @emotion/cache ' : patch
4
+ ' @emotion/css ' : patch
5
+ ' @emotion/css-prettifier ' : patch
6
+ ' @emotion/jest ' : patch
7
+ ' @emotion/react ' : patch
8
+ ---
9
+
10
+ Upgraded and pinned the version of Stylis - the CSS parser that Emotion uses under the hood.
Original file line number Diff line number Diff line change 24
24
"escape-string-regexp" : " ^4.0.0" ,
25
25
"find-root" : " ^1.1.0" ,
26
26
"source-map" : " ^0.5.7" ,
27
- "stylis" : " ^ 4.0.10 "
27
+ "stylis" : " 4.0.13 "
28
28
},
29
29
"peerDependencies" : {
30
30
"@babel/core" : " ^7.0.0"
Original file line number Diff line number Diff line change 19
19
"@emotion/sheet" : " ^1.1.0" ,
20
20
"@emotion/utils" : " ^1.0.0" ,
21
21
"@emotion/weak-memoize" : " ^0.2.5" ,
22
- "stylis" : " ^ 4.0.10 "
22
+ "stylis" : " 4.0.13 "
23
23
},
24
24
"devDependencies" : {
25
25
"@emotion/hash" : " *" ,
Original file line number Diff line number Diff line change @@ -89,8 +89,9 @@ export let compat = element => {
89
89
if (
90
90
element . type !== 'rule' ||
91
91
! element . parent ||
92
- // .length indicates if this rule contains pseudo or not
93
- ! element . length
92
+ // positive .length indicates that this rule contains pseudo
93
+ // negative .length indicates that this rule has been already prefixed
94
+ element . length < 1
94
95
) {
95
96
return
96
97
}
Original file line number Diff line number Diff line change 16
16
"repository" : " https://github.com/emotion-js/emotion/tree/main/packages/css-prettifier" ,
17
17
"dependencies" : {
18
18
"@emotion/memoize" : " ^0.7.4" ,
19
- "stylis" : " ^ 4.0.10 "
19
+ "stylis" : " 4.0.13 "
20
20
},
21
21
"devDependencies" : {},
22
22
"publishConfig" : {
Original file line number Diff line number Diff line change 21
21
"@emotion/css-prettifier" : " ^1.0.0" ,
22
22
"chalk" : " ^4.1.0" ,
23
23
"specificity" : " ^0.4.1" ,
24
- "stylis" : " ^ 4.0.10 "
24
+ "stylis" : " 4.0.13 "
25
25
},
26
26
"peerDependencies" : {
27
27
"@types/jest" : " ^26.0.14 || ^27.0.0" ,
Original file line number Diff line number Diff line change 28143
28143
resolved "https://registry.yarnpkg.com/stylis/-/stylis-3.5.4.tgz#f665f25f5e299cf3d64654ab949a57c768b73fbe"
28144
28144
integrity sha512-8/3pSmthWM7lsPBKv7NXkzn2Uc9W7NotcwGNpJaa3k7WMM1XDCA4MgT5k/8BIexd5ydZdboXtU90XH9Ec4Bv/Q==
28145
28145
28146
- stylis@^ 4.0.10 :
28147
- version "4.0.10 "
28148
- resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.0.10 .tgz#446512d1097197ab3f02fb3c258358c3f7a14240 "
28149
- integrity sha512-m3k+dk7QeJw660eIKRRn3xPF6uuvHs/FFzjX3HQ5ove0qYsiygoAhwn5a3IYKaZPo5LrYD0rfVmtv1gNY1uYwg ==
28146
+
28147
+ version "4.0.13 "
28148
+ resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.0.13 .tgz#f5db332e376d13cc84ecfe5dace9a2a51d954c91 "
28149
+ integrity sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag ==
28150
28150
28151
28151
sudo-prompt@^8.2.0:
28152
28152
version "8.2.5"
You can’t perform that action at this time.
0 commit comments