File tree 5 files changed +22
-12
lines changed
5 files changed +22
-12
lines changed Original file line number Diff line number Diff line change 10
10
[options]
11
11
12
12
[version]
13
- ^0.80 .0
13
+ ^0.91 .0
Original file line number Diff line number Diff line change 72
72
"eslint" : " ^5.5.0" ,
73
73
"eslint-plugin-babel" : " ^5.2.0" ,
74
74
"eslint-plugin-flowtype" : " ^2.50.0" ,
75
- "flow-bin" : " ^0.80 .0" ,
76
- "graphql" : " ^14.0.2 " ,
75
+ "flow-bin" : " ^0.91 .0" ,
76
+ "graphql" : " ^14.1.1 " ,
77
77
"isparta" : " 4.1.0" ,
78
78
"mocha" : " ^5.2.0" ,
79
- "prettier" : " ^1.16.0" ,
80
79
"sane" : " ^2.5.2"
80
+ },
81
+ "dependencies" : {
82
+ "prettier" : " ^1.16.0"
81
83
}
82
84
}
Original file line number Diff line number Diff line change @@ -73,7 +73,10 @@ type GraphQLConnectionDefinitions = {
73
73
} ;
74
74
75
75
function resolveMaybeThunk < T > (thingOrThunk: Thunk< T > ): T {
76
- return typeof thingOrThunk === 'function' ? thingOrThunk ( ) : thingOrThunk ;
76
+ return typeof thingOrThunk === 'function'
77
+ ? // $FlowFixMe - if it's a function, we assume a thunk without arguments
78
+ thingOrThunk ( )
79
+ : thingOrThunk ;
77
80
}
78
81
79
82
/**
Original file line number Diff line number Diff line change @@ -29,7 +29,10 @@ type mutationFn = (
29
29
) => Promise < any > | any ;
30
30
31
31
function resolveMaybeThunk < T > (thingOrThunk: Thunk< T > ): T {
32
- return typeof thingOrThunk === 'function' ? thingOrThunk ( ) : thingOrThunk ;
32
+ return typeof thingOrThunk === 'function'
33
+ ? // $FlowFixMe - if it's a function, we assume a thunk without arguments
34
+ thingOrThunk ( )
35
+ : thingOrThunk ;
33
36
}
34
37
35
38
/**
Original file line number Diff line number Diff line change @@ -1435,9 +1435,10 @@ flat-cache@^1.2.1:
1435
1435
graceful-fs "^4.1.2"
1436
1436
write "^0.2.1"
1437
1437
1438
- flow-bin@^0.80.0 :
1439
- version "0.80.0"
1440
- resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.80.0.tgz#04cc1ee626a6f50786f78170c92ebe1745235403"
1438
+ flow-bin@^0.91.0 :
1439
+ version "0.91.0"
1440
+ resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.91.0.tgz#f5c89729f74b2ccbd47df6fbfadbdcc89cc1e478"
1441
+ integrity sha512-j+L+xNiUYnZZ27MjVI0y2c9474ZHOvdSQq0Tjwh56mEA7tfxYqp5Dcb6aZSwvs3tGMTjCrZow9aUlZf3OoRyDQ==
1441
1442
1442
1443
for-in@^1.0.1, for-in@^1.0.2 :
1443
1444
version "1.0.2"
@@ -1612,9 +1613,10 @@ graceful-fs@^4.1.2, graceful-fs@^4.1.4:
1612
1613
version "4.1.11"
1613
1614
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
1614
1615
1615
- graphql@^14.0.2 :
1616
- version "14.0.2"
1617
- resolved "https://registry.yarnpkg.com/graphql/-/graphql-14.0.2.tgz#7dded337a4c3fd2d075692323384034b357f5650"
1616
+ graphql@^14.1.1 :
1617
+ version "14.1.1"
1618
+ resolved "https://registry.yarnpkg.com/graphql/-/graphql-14.1.1.tgz#d5d77df4b19ef41538d7215d1e7a28834619fac0"
1619
+ integrity sha512-C5zDzLqvfPAgTtP8AUPIt9keDabrdRAqSWjj2OPRKrKxI9Fb65I36s1uCs1UUBFnSWTdO7hyHi7z1ZbwKMKF6Q==
1618
1620
dependencies :
1619
1621
iterall "^1.2.2"
1620
1622
You can’t perform that action at this time.
0 commit comments