Skip to content

Commit 8a72026

Browse files
committed
fix: update dependencies
1 parent e5dc33b commit 8a72026

File tree

4 files changed

+1293
-959
lines changed

4 files changed

+1293
-959
lines changed

.vscode/settings.json

+4-5
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
}

examples/elastic50/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ const expressPort = process.env.port || process.env.PORT || 9201;
1010
const server = express();
1111
server.use(
1212
'/',
13-
graphqlHTTP({
13+
(graphqlHTTP({
1414
schema: (schema: any),
1515
graphiql: true,
16-
formatError: error => ({
16+
customFormatErrorFn: error => ({
1717
message: error.message,
1818
stack: error.stack.split('\n'),
1919
}),
20-
})
20+
}): any)
2121
);
2222

2323
server.listen(expressPort, () => {

package.json

+27-27
Original file line numberDiff line numberDiff line change
@@ -31,37 +31,37 @@
3131
"graphql-compose": "^7.0.4"
3232
},
3333
"devDependencies": {
34-
"@babel/cli": "^7.4.4",
35-
"@babel/core": "^7.4.5",
36-
"@babel/node": "^7.4.5",
37-
"@babel/plugin-proposal-class-properties": "^7.4.4",
38-
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
39-
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
40-
"@babel/plugin-transform-runtime": "^7.4.4",
41-
"@babel/preset-env": "^7.4.5",
34+
"@babel/cli": "^7.6.4",
35+
"@babel/core": "^7.6.4",
36+
"@babel/node": "^7.6.3",
37+
"@babel/plugin-proposal-class-properties": "^7.5.5",
38+
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
39+
"@babel/plugin-transform-flow-strip-types": "^7.6.3",
40+
"@babel/plugin-transform-runtime": "^7.6.2",
41+
"@babel/preset-env": "^7.6.3",
4242
"@babel/preset-flow": "^7.0.0",
43-
"aws-sdk": "^2.467.0",
43+
"aws-sdk": "^2.561.0",
4444
"babel-core": "^7.0.0-bridge.0",
45-
"babel-eslint": "^10.0.1",
46-
"babel-jest": "^24.8.0",
47-
"elasticsearch": "^16.1.0",
48-
"eslint": "^5.16.0",
49-
"eslint-config-airbnb-base": "^13.1.0",
50-
"eslint-config-prettier": "^4.3.0",
51-
"eslint-plugin-flowtype": "^3.9.1",
52-
"eslint-plugin-import": "^2.17.3",
53-
"eslint-plugin-prettier": "^3.1.0",
45+
"babel-eslint": "^10.0.3",
46+
"babel-jest": "^24.9.0",
47+
"elasticsearch": "^16.5.0",
48+
"eslint": "^6.6.0",
49+
"eslint-config-airbnb-base": "^14.0.0",
50+
"eslint-config-prettier": "^6.5.0",
51+
"eslint-plugin-flowtype": "^4.3.0",
52+
"eslint-plugin-import": "^2.18.2",
53+
"eslint-plugin-prettier": "^3.1.1",
5454
"express": "^4.17.1",
55-
"express-graphql": "^0.8.0",
56-
"flow-bin": "^0.100.0",
57-
"graphql": "^14.3.1",
58-
"graphql-compose": "^7.0.4",
59-
"jest": "^24.8.0",
60-
"nodemon": "^1.19.1",
55+
"express-graphql": "^0.9.0",
56+
"flow-bin": "0.110.0",
57+
"graphql": "^14.5.8",
58+
"graphql-compose": "^7.4.2",
59+
"jest": "^24.9.0",
60+
"nodemon": "^1.19.4",
6161
"npm-run-all": "^4.1.5",
62-
"prettier": "^1.17.1",
63-
"rimraf": "^2.6.3",
64-
"semantic-release": "^15.13.12"
62+
"prettier": "^1.18.2",
63+
"rimraf": "^3.0.0",
64+
"semantic-release": "^15.13.28"
6565
},
6666
"scripts": {
6767
"build": "npm run build-cjs && npm run build-mjs",

0 commit comments

Comments
 (0)