File tree Expand file tree Collapse file tree 3 files changed +188
-100
lines changed Expand file tree Collapse file tree 3 files changed +188
-100
lines changed Original file line number Diff line number Diff line change 4
4
"homepage" : " https://react-native-community.github.io/upgrade-helper" ,
5
5
"license" : " MIT" ,
6
6
"dependencies" : {
7
- "@testing-library/react" : " 8.0.9 " ,
7
+ "@testing-library/react" : " 9.4.0 " ,
8
8
"antd" : " 3.26.5" ,
9
9
"markdown-to-jsx" : " 6.10.3" ,
10
10
"query-string" : " 6.9.0" ,
16
16
"react-ga" : " 2.7.0" ,
17
17
"react-github-btn" : " 1.1.1" ,
18
18
"react-scripts" : " 3.0.1" ,
19
- "semver" : " 6.3 .0" ,
19
+ "semver" : " 7.1 .0" ,
20
20
"styled-components" : " 4.4.1"
21
21
},
22
22
"devDependencies" : {
25
25
"gh-pages" : " 2.1.1" ,
26
26
"husky" : " 3.1.0" ,
27
27
"prettier" : " 1.19.1" ,
28
- "pretty-quick" : " 1.11 .1"
28
+ "pretty-quick" : " 2.0 .1"
29
29
},
30
30
"scripts" : {
31
31
"start" : " react-scripts start" ,
Original file line number Diff line number Diff line change @@ -69,9 +69,8 @@ const DiffViewer = ({
69
69
const fetchDiff = async ( ) => {
70
70
setLoading ( true )
71
71
72
- const response = await ( await fetch (
73
- getDiffPatchURL ( { fromVersion, toVersion } )
74
- ) ) . text ( )
72
+ let response = await fetch ( getDiffPatchURL ( { fromVersion, toVersion } ) )
73
+ response = response . text ( )
75
74
76
75
setDiff (
77
76
parseDiff ( response ) . sort ( ( { newPath } ) =>
You can’t perform that action at this time.
0 commit comments