Skip to content

Commit 89cc8e0

Browse files
committed
fix: upgrade till flow 0.110.0
1 parent 6a2027a commit 89cc8e0

File tree

4 files changed

+1161
-815
lines changed

4 files changed

+1161
-815
lines changed

.vscode/settings.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
2-
"prettier.eslintIntegration": true,
3-
"eslint.validate": [
4-
"javascript",
5-
],
6-
"javascript.validate.enable": false
2+
"eslint.validate": ["javascript"],
3+
"javascript.validate.enable": false,
4+
"javascript.autoClosingTags": false,
5+
"eslint.autoFixOnSave": true
76
}

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,29 @@
2727
"graphql-compose": "^7.0.4"
2828
},
2929
"devDependencies": {
30-
"@babel/cli": "^7.4.4",
31-
"@babel/core": "^7.4.5",
32-
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
33-
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
34-
"@babel/plugin-transform-runtime": "^7.4.4",
35-
"@babel/preset-env": "^7.4.5",
30+
"@babel/cli": "^7.6.4",
31+
"@babel/core": "^7.6.4",
32+
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
33+
"@babel/plugin-transform-flow-strip-types": "^7.6.3",
34+
"@babel/plugin-transform-runtime": "^7.6.2",
35+
"@babel/preset-env": "^7.6.3",
3636
"@babel/preset-flow": "^7.0.0",
3737
"babel-core": "^7.0.0-bridge.0",
38-
"babel-eslint": "^10.0.1",
39-
"babel-jest": "^24.8.0",
40-
"eslint": "^5.16.0",
41-
"eslint-config-airbnb-base": "^13.1.0",
42-
"eslint-config-prettier": "^4.3.0",
43-
"eslint-plugin-flowtype": "^3.9.1",
44-
"eslint-plugin-import": "^2.17.3",
45-
"eslint-plugin-prettier": "^3.1.0",
46-
"flow-bin": "^0.100.0",
47-
"graphql": "14.3.1",
48-
"graphql-compose": "^7.0.4",
49-
"jest": "^24.8.0",
50-
"prettier": "^1.17.1",
51-
"rimraf": "^2.6.3",
52-
"semantic-release": "^15.13.12"
38+
"babel-eslint": "^10.0.3",
39+
"babel-jest": "^24.9.0",
40+
"eslint": "^6.6.0",
41+
"eslint-config-airbnb-base": "^14.0.0",
42+
"eslint-config-prettier": "^6.5.0",
43+
"eslint-plugin-flowtype": "^4.3.0",
44+
"eslint-plugin-import": "^2.18.2",
45+
"eslint-plugin-prettier": "^3.1.1",
46+
"flow-bin": "^0.110.0",
47+
"graphql": "14.5.8",
48+
"graphql-compose": "^7.4.2",
49+
"jest": "^24.9.0",
50+
"prettier": "^1.18.2",
51+
"rimraf": "^3.0.0",
52+
"semantic-release": "^15.13.28"
5353
},
5454
"scripts": {
5555
"build": "npm run build-cjs && npm run build-mjs",

src/wrapMutationResolver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export default function wrapMutationResolver<TSource, TContext, TArgs>(
6262
if (resolveParams && resolveParams.args) {
6363
if (resolveParams.args.input && resolveParams.args.input.clientMutationId) {
6464
clientMutationId = resolveParams.args.input.clientMutationId;
65-
delete resolveParams.args.input.clientMutationId;
65+
delete (resolveParams.args.input: any).clientMutationId;
6666
}
6767
}
6868

0 commit comments

Comments
 (0)