File tree 3 files changed +12
-2
lines changed
3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 650
650
"contributions" : [
651
651
" platform"
652
652
]
653
+ },
654
+ {
655
+ "login" : " yannbf" ,
656
+ "name" : " Yann Braga" ,
657
+ "avatar_url" : " https://avatars.githubusercontent.com/u/1671563?v=4" ,
658
+ "profile" : " https://github.com/yannbf" ,
659
+ "contributions" : [
660
+ " code"
661
+ ]
653
662
}
654
663
],
655
664
"repoHost" : " https://github.com" ,
Original file line number Diff line number Diff line change @@ -1355,6 +1355,7 @@ Thanks goes to these people ([emoji key][emojis]):
1355
1355
<tr >
1356
1356
<td align="center"><a href="http://tu4mo.com"><img src="https://avatars.githubusercontent.com/u/16735302?v=4?s=100" width="100px;" alt=""/><br /><sub><b>tu4mo</b></sub></a><br /><a href="https://github.com/testing-library/jest-dom/commits?author=tu4mo" title="Documentation">📖</a></td>
1357
1357
<td align="center"><a href="https://matan.io"><img src="https://avatars.githubusercontent.com/u/12711091?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Matan Borenkraout</b></sub></a><br /><a href="#platform-MatanBobi" title="Packaging/porting to new platform">📦</a></td>
1358
+ <td align="center"><a href="https://github.com/yannbf"><img src="https://avatars.githubusercontent.com/u/1671563?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Yann Braga</b></sub></a><br /><a href="https://github.com/testing-library/jest-dom/commits?author=yannbf" title="Code">💻</a></td>
1358
1359
</tr >
1359
1360
</table >
1360
1361
Original file line number Diff line number Diff line change 1
1
import redent from 'redent'
2
- import { parse } from 'css'
2
+ import cssParse from 'css/lib/parse '
3
3
import isEqual from 'lodash/isEqual'
4
4
5
5
class GenericTypeError extends Error {
@@ -100,7 +100,7 @@ class InvalidCSSError extends Error {
100
100
}
101
101
102
102
function parseCSS ( css , ...args ) {
103
- const ast = parse ( `selector { ${ css } }` , { silent : true } ) . stylesheet
103
+ const ast = cssParse ( `selector { ${ css } }` , { silent : true } ) . stylesheet
104
104
105
105
if ( ast . parsingErrors && ast . parsingErrors . length > 0 ) {
106
106
const { reason, line} = ast . parsingErrors [ 0 ]
You can’t perform that action at this time.
0 commit comments