File tree Expand file tree Collapse file tree 5 files changed +22
-12
lines changed Expand file tree Collapse file tree 5 files changed +22
-12
lines changed Original file line number Diff line number Diff line change 1010[options]
1111
1212[version]
13- ^0.80 .0
13+ ^0.91 .0
Original file line number Diff line number Diff line change 7272 "eslint" : " ^5.5.0" ,
7373 "eslint-plugin-babel" : " ^5.2.0" ,
7474 "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 " ,
7777 "isparta" : " 4.1.0" ,
7878 "mocha" : " ^5.2.0" ,
79- "prettier" : " ^1.16.0" ,
8079 "sane" : " ^2.5.2"
80+ },
81+ "dependencies" : {
82+ "prettier" : " ^1.16.0"
8183 }
8284}
Original file line number Diff line number Diff line change @@ -73,7 +73,10 @@ type GraphQLConnectionDefinitions = {
7373} ;
7474
7575function 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 ;
7780}
7881
7982/**
Original file line number Diff line number Diff line change @@ -29,7 +29,10 @@ type mutationFn = (
2929) => Promise < any > | any ;
3030
3131function 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 ;
3336}
3437
3538/**
Original file line number Diff line number Diff line change @@ -1435,9 +1435,10 @@ flat-cache@^1.2.1:
14351435 graceful-fs "^4.1.2"
14361436 write "^0.2.1"
14371437
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==
14411442
14421443for-in@^1.0.1, for-in@^1.0.2 :
14431444 version "1.0.2"
@@ -1612,9 +1613,10 @@ graceful-fs@^4.1.2, graceful-fs@^4.1.4:
16121613 version "4.1.11"
16131614 resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658"
16141615
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==
16181620 dependencies :
16191621 iterall "^1.2.2"
16201622
You can’t perform that action at this time.
0 commit comments