Skip to content

Commit 1c5d0ee

Browse files
committed
fix: update flow till v0.118 & update dependencies
1 parent 330e2c6 commit 1c5d0ee

File tree

5 files changed

+1860
-1596
lines changed

5 files changed

+1860
-1596
lines changed

.flowconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,5 @@
4040

4141
[options]
4242
esproposal.class_instance_fields=enable
43+
esproposal.optional_chaining=enable
4344
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
"eslint.validate": ["javascript"],
33
"javascript.validate.enable": false,
44
"javascript.autoClosingTags": false,
5-
"eslint.autoFixOnSave": true
5+
"eslint.autoFixOnSave": true,
6+
"editor.codeActionsOnSave": {
7+
"source.fixAll.eslint": true
8+
}
69
}

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -28,28 +28,28 @@
2828
"graphql-compose": "^7.0.4"
2929
},
3030
"devDependencies": {
31-
"@babel/cli": "^7.6.4",
32-
"@babel/core": "^7.6.4",
33-
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
34-
"@babel/plugin-transform-flow-strip-types": "^7.6.3",
35-
"@babel/plugin-transform-runtime": "^7.6.2",
36-
"@babel/preset-env": "^7.6.3",
37-
"@babel/preset-flow": "^7.0.0",
31+
"@babel/cli": "7.8.4",
32+
"@babel/core": "7.8.4",
33+
"@babel/plugin-proposal-object-rest-spread": "7.8.3",
34+
"@babel/plugin-transform-flow-strip-types": "7.8.3",
35+
"@babel/plugin-transform-runtime": "7.8.3",
36+
"@babel/preset-env": "7.8.4",
37+
"@babel/preset-flow": "7.8.3",
3838
"babel-core": "^7.0.0-bridge.0",
3939
"babel-eslint": "^10.0.3",
40-
"babel-jest": "^24.9.0",
41-
"eslint": "^6.6.0",
40+
"babel-jest": "25.1.0",
41+
"eslint": "6.8.0",
4242
"eslint-config-airbnb-base": "^14.0.0",
43-
"eslint-config-prettier": "^6.5.0",
43+
"eslint-config-prettier": "6.10.0",
4444
"eslint-plugin-flowtype": "^4.3.0",
45-
"eslint-plugin-import": "^2.18.2",
46-
"eslint-plugin-prettier": "^3.1.1",
47-
"flow-bin": "^0.110.0",
48-
"graphql": "14.5.8",
49-
"graphql-compose": "^7.4.2",
50-
"jest": "^24.9.0",
51-
"prettier": "^1.18.2",
52-
"rimraf": "^3.0.0",
45+
"eslint-plugin-import": "2.20.1",
46+
"eslint-plugin-prettier": "3.1.2",
47+
"flow-bin": "0.118.0",
48+
"graphql": "14.6.0",
49+
"graphql-compose": "7.12.0",
50+
"jest": "25.1.0",
51+
"prettier": "1.19.1",
52+
"rimraf": "3.0.2",
5353
"semantic-release": "^15.13.28"
5454
},
5555
"scripts": {

src/connectionResolver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export function prepareConnectionResolver<TSource, TContext>(
153153
type: 'String',
154154
description: 'Backward pagination argument for returning at most last edges',
155155
},
156-
...additionalArgs,
156+
...(additionalArgs: any),
157157
sort: {
158158
type: sortEnumType,
159159
defaultValue,

0 commit comments

Comments
 (0)