Skip to content

Commit ec2da71

Browse files
committed
chore: update dependencies
1 parent 09c4c7e commit ec2da71

File tree

6 files changed

+639
-560
lines changed

6 files changed

+639
-560
lines changed

.eslintrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@
2121
"no-plusplus": 0,
2222
"import/no-extraneous-dependencies": 0,
2323
"import/prefer-default-export": 0,
24+
"import/no-cycle": 0,
2425
"prettier/prettier": ["error", {
2526
"printWidth": 100,
2627
"singleQuote": true,
2728
"trailingComma": "es5",
28-
}]
29+
}],
30+
"lines-between-class-members": ["error", "always", { exceptAfterSingleLine: true }]
2931
},
3032
"env": {
3133
"jasmine": true,

flow-typed/npm/express_v4.x.x.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ declare class express$Router extends express$Route {
143143
use(path: string, router: express$Router): this;
144144
handle(req: http$IncomingMessage, res: http$ServerResponse, next: express$NextFunction): void;
145145

146-
// Can't use regular callable signature syntax due to https://github.com/facebook/flow/issues/3084
147-
$call: (req: http$IncomingMessage, res: http$ServerResponse, next?: ?express$NextFunction) => void;
146+
(req: http$IncomingMessage, res: http$ServerResponse, next?: ?express$NextFunction): void;
148147
}
149148

150149
declare class express$Application extends express$Router mixins events$EventEmitter {

package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -26,37 +26,37 @@
2626
"dox": "^0.9.0"
2727
},
2828
"peerDependencies": {
29-
"elasticsearch": ">=12.0.0 || >=13.0.0 || >=14.0.0",
29+
"elasticsearch": ">=12.0.0 || >=13.0.0 || >=14.0.0 || >=15.0.0",
3030
"graphql-compose": ">=2.13.1 || >=3.0.0 || >=4.0.0"
3131
},
3232
"devDependencies": {
33-
"aws-sdk": "^2.229.1",
33+
"aws-sdk": "^2.263.1",
3434
"babel-cli": "^6.26.0",
35-
"babel-eslint": "^8.2.3",
36-
"babel-jest": "^22.4.3",
35+
"babel-eslint": "^8.2.5",
36+
"babel-jest": "^23.2.0",
3737
"babel-plugin-transform-flow-strip-types": "^6.22.0",
3838
"babel-plugin-transform-object-rest-spread": "^6.26.0",
3939
"babel-plugin-transform-runtime": "^6.23.0",
40-
"babel-preset-env": "^1.6.1",
40+
"babel-preset-env": "^1.7.0",
4141
"cz-conventional-changelog": "^2.1.0",
42-
"elasticsearch": "^14.2.2",
43-
"eslint": "^4.19.1",
44-
"eslint-config-airbnb-base": "^12.0.1",
42+
"elasticsearch": "^15.0.0",
43+
"eslint": "^5.0.1",
44+
"eslint-config-airbnb-base": "^13.0.0",
4545
"eslint-config-prettier": "^2.9.0",
46-
"eslint-plugin-flowtype": "^2.46.3",
47-
"eslint-plugin-import": "^2.11.0",
48-
"eslint-plugin-prettier": "^2.6.0",
46+
"eslint-plugin-flowtype": "^2.49.3",
47+
"eslint-plugin-import": "^2.13.0",
48+
"eslint-plugin-prettier": "^2.6.1",
4949
"express": "^4.16.3",
5050
"express-graphql": "^0.6.12",
51-
"flow-bin": "^0.71.0",
51+
"flow-bin": "^0.75.0",
5252
"graphql": "0.13.2",
53-
"graphql-compose": "^4.3.0",
54-
"jest": "^22.4.3",
55-
"nodemon": "^1.17.3",
56-
"npm-run-all": "^4.1.2",
57-
"prettier": "^1.12.1",
53+
"graphql-compose": "^4.4.1",
54+
"jest": "^23.2.0",
55+
"nodemon": "^1.17.5",
56+
"npm-run-all": "^4.1.3",
57+
"prettier": "^1.13.6",
5858
"rimraf": "^2.6.2",
59-
"semantic-release": "^15.1.7"
59+
"semantic-release": "^15.6.0"
6060
},
6161
"config": {
6262
"commitizen": {

src/ElasticApiParser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export default class ElasticApiParser {
6969
cachedEnums: {
7070
[fieldName: string]: { [valsStringified: string]: GraphQLEnumType },
7171
};
72+
7273
apiVersion: string;
7374
prefix: string;
7475
elasticClient: any;

src/__tests__/github_issues/32-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import elasticsearch from 'elasticsearch';
44
import { TypeComposer, Resolver } from 'graphql-compose';
55
import { GraphQLSchema, GraphQLObjectType } from 'graphql';
6-
import { composeWithElastic } from '../../';
6+
import { composeWithElastic } from '../..';
77

88
const ELASTICSEARCH_HOST = '';
99
const ELASTICSEARCH_API_VERSION = '5.0';

0 commit comments

Comments
 (0)