Skip to content

Commit c0cd526

Browse files
committed
chore: update dependencies
1 parent 41ca8d2 commit c0cd526

File tree

5 files changed

+2106
-1459
lines changed

5 files changed

+2106
-1459
lines changed

.flowconfig

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@
3333
.*/node_modules/travis.*
3434
.*/node_modules/uglify.*
3535
.*/node_modules/yargs.*
36-
.*/node_modules/express-graphql/dist/index.js.flow
36+
.*/node_modules/express-graphql/index.js.flow
37+
38+
# Redundant argument. This argument doesn't change any lint settings.
39+
# flowlint uninitialized-instance-property:off
40+
.*/node_modules/graphql/error/GraphQLError.js.flow
3741

3842
[include]
3943

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -29,34 +29,34 @@
2929
},
3030
"devDependencies": {
3131
"@babel/cli": "7.8.4",
32-
"@babel/core": "7.8.4",
33-
"@babel/node": "7.8.4",
32+
"@babel/core": "7.9.0",
33+
"@babel/node": "7.8.7",
3434
"@babel/plugin-proposal-class-properties": "7.8.3",
35-
"@babel/plugin-proposal-object-rest-spread": "7.8.3",
36-
"@babel/plugin-transform-flow-strip-types": "7.8.3",
37-
"@babel/plugin-transform-runtime": "7.8.3",
38-
"@babel/preset-env": "7.8.4",
39-
"@babel/preset-flow": "7.8.3",
40-
"aws-sdk": "2.619.0",
35+
"@babel/plugin-proposal-object-rest-spread": "7.9.0",
36+
"@babel/plugin-transform-flow-strip-types": "7.9.0",
37+
"@babel/plugin-transform-runtime": "7.9.0",
38+
"@babel/preset-env": "7.9.0",
39+
"@babel/preset-flow": "7.9.0",
40+
"aws-sdk": "2.653.0",
4141
"babel-core": "^7.0.0-bridge.0",
42-
"babel-eslint": "^10.0.3",
43-
"babel-jest": "25.1.0",
42+
"babel-eslint": "10.1.0",
43+
"babel-jest": "25.2.6",
4444
"eslint": "6.8.0",
45-
"eslint-config-airbnb-base": "^14.0.0",
46-
"eslint-config-prettier": "6.10.0",
47-
"eslint-plugin-flowtype": "4.6.0",
48-
"eslint-plugin-import": "2.20.1",
45+
"eslint-config-airbnb-base": "14.1.0",
46+
"eslint-config-prettier": "6.10.1",
47+
"eslint-plugin-flowtype": "4.7.0",
48+
"eslint-plugin-import": "2.20.2",
4949
"eslint-plugin-prettier": "3.1.2",
5050
"express": "^4.17.1",
5151
"express-graphql": "^0.9.0",
52-
"flow-bin": "0.118.0",
53-
"graphql": "14.6.0",
54-
"graphql-compose": "7.12.0",
55-
"jest": "25.1.0",
56-
"nodemon": "^1.19.4",
57-
"prettier": "^1.18.2",
52+
"flow-bin": "0.122.0",
53+
"graphql": "15.0.0",
54+
"graphql-compose": "7.14.1",
55+
"jest": "25.2.7",
56+
"nodemon": "2.0.2",
57+
"prettier": "2.0.2",
5858
"rimraf": "3.0.2",
59-
"semantic-release": "^15.13.28"
59+
"semantic-release": "17.0.4"
6060
},
6161
"scripts": {
6262
"build": "npm run build-cjs && npm run build-mjs",

src/AwsParam.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class AwsParam<TContext = any> {
9999
const fields = {};
100100

101101
if (param.members) {
102-
Object.keys(param.members).forEach(fname => {
102+
Object.keys(param.members).forEach((fname) => {
103103
fields[fname] = this.convertParam(
104104
param.members[fname],
105105
`${name}${upperFirst(fname)}`,
@@ -129,7 +129,7 @@ export class AwsParam<TContext = any> {
129129
const fields = {};
130130

131131
if (param.members) {
132-
Object.keys(param.members).forEach(fname => {
132+
Object.keys(param.members).forEach((fname) => {
133133
fields[fname] = this.convertParam(
134134
param.members[fname],
135135
`${name}${upperFirst(fname)}`,

src/AwsServiceOperation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export class AwsServiceOperation<TContext> {
8888
if (Object.keys(itc.getFields()).length === 0) {
8989
type = GraphQLJSON;
9090
} else {
91-
const hasRequiredFields = itc.getFieldNames().some(f => itc.isRequired(f));
91+
const hasRequiredFields = itc.getFieldNames().some((f) => itc.isRequired(f));
9292
type = hasRequiredFields ? (itc.getTypeNonNull(): any) : itc.getType();
9393
}
9494

0 commit comments

Comments
 (0)