Skip to content

Commit d15bca8

Browse files
committed
chore: update dependencies
BREAKING CHANGE: drop Node 4 support, requires `node >= v6.0.0`
1 parent b45b769 commit d15bca8

File tree

5 files changed

+2860
-1279
lines changed

5 files changed

+2860
-1279
lines changed

.babelrc

Lines changed: 26 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,35 @@
11
{
22
"plugins": [
3-
"transform-object-rest-spread",
4-
"transform-flow-strip-types"
3+
"@babel/plugin-proposal-object-rest-spread",
4+
"@babel/plugin-transform-flow-strip-types"
55
],
66
"env": {
77
"cjs": {
88
"plugins": [
9-
"transform-object-rest-spread",
10-
"transform-flow-strip-types",
11-
"transform-class-properties",
12-
["transform-runtime", { "polyfill": false }]
9+
"@babel/plugin-proposal-object-rest-spread",
10+
"@babel/plugin-transform-flow-strip-types",
11+
"@babel/plugin-proposal-class-properties"
1312
],
1413
"presets": [
15-
["env", {
16-
"targets": {
17-
"node": 4
14+
[
15+
"@babel/preset-env",
16+
{
17+
"targets": {
18+
"node": 6
19+
}
1820
}
19-
}]
21+
]
2022
]
2123
},
2224
"mjs": {
2325
"plugins": [
24-
"transform-object-rest-spread",
25-
"transform-flow-strip-types",
26-
"transform-class-properties"
26+
"@babel/plugin-proposal-object-rest-spread",
27+
"@babel/plugin-transform-flow-strip-types",
28+
"@babel/plugin-proposal-class-properties"
2729
],
2830
"presets": [
2931
[
30-
"env",
32+
"@babel/preset-env",
3133
{
3234
"targets": {
3335
"node": "8.0.0"
@@ -40,16 +42,19 @@
4042
},
4143
"test": {
4244
"plugins": [
43-
"transform-class-properties",
44-
"transform-object-rest-spread",
45-
"transform-flow-strip-types"
45+
"@babel/plugin-proposal-class-properties",
46+
"@babel/plugin-proposal-object-rest-spread",
47+
"@babel/plugin-transform-flow-strip-types"
4648
],
4749
"presets": [
48-
["env", {
49-
"targets": {
50-
"node": "current"
50+
[
51+
"@babel/preset-env",
52+
{
53+
"targets": {
54+
"node": "current"
55+
}
5156
}
52-
}]
57+
]
5358
]
5459
}
5560
}

.flowconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
.*/node_modules/travis.*
3434
.*/node_modules/uglify.*
3535
.*/node_modules/yargs.*
36+
.*/node_modules/express-graphql/dist/index.js.flow
3637

3738
[include]
3839

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cache:
99
notifications:
1010
email: true
1111
node_js:
12-
- "9"
12+
- "10"
1313
- "8"
1414
before_install:
1515
- curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.2.2.deb && sudo dpkg -i --force-confnew elasticsearch-5.2.2.deb && sudo service elasticsearch restart

package.json

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,42 +24,45 @@
2424
},
2525
"homepage": "https://github.com/nodkz/graphql-compose-elasticsearch#readme",
2626
"dependencies": {
27-
"babel-runtime": "^6.26.0",
2827
"dox": "^0.9.0"
2928
},
3029
"peerDependencies": {
31-
"elasticsearch": ">=12.0.0 || >=13.0.0 || >=14.0.0 || >=15.0.0",
32-
"graphql-compose": ">=4.4.1"
30+
"elasticsearch": ">=15.0.0 || >=14.0.0 || >=13.0.0 || >=12.0.0",
31+
"graphql-compose": ">=5.0.2 || >=4.4.1"
3332
},
3433
"devDependencies": {
35-
"aws-sdk": "^2.263.1",
36-
"babel-cli": "^6.26.0",
37-
"babel-eslint": "^8.2.5",
38-
"babel-jest": "^23.2.0",
39-
"babel-plugin-transform-class-properties": "^6.24.1",
40-
"babel-plugin-transform-flow-strip-types": "^6.22.0",
41-
"babel-plugin-transform-object-rest-spread": "^6.26.0",
42-
"babel-plugin-transform-runtime": "^6.23.0",
43-
"babel-preset-env": "^1.7.0",
34+
"@babel/cli": "^7.0.0",
35+
"@babel/core": "^7.0.0",
36+
"@babel/node": "^7.0.0",
37+
"@babel/plugin-proposal-class-properties": "^7.0.0",
38+
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
39+
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
40+
"@babel/plugin-transform-runtime": "^7.0.0",
41+
"@babel/preset-env": "^7.0.0",
42+
"@babel/preset-flow": "^7.0.0",
43+
"aws-sdk": "^2.308.0",
44+
"babel-core": "^7.0.0-bridge.0",
45+
"babel-eslint": "^9.0.0",
46+
"babel-jest": "^23.4.2",
4447
"cz-conventional-changelog": "^2.1.0",
45-
"elasticsearch": "^15.0.0",
46-
"eslint": "^5.0.1",
47-
"eslint-config-airbnb-base": "^13.0.0",
48-
"eslint-config-prettier": "^2.9.0",
49-
"eslint-plugin-flowtype": "^2.49.3",
50-
"eslint-plugin-import": "^2.13.0",
51-
"eslint-plugin-prettier": "^2.6.1",
48+
"elasticsearch": "^15.1.1",
49+
"eslint": "^5.5.0",
50+
"eslint-config-airbnb-base": "^13.1.0",
51+
"eslint-config-prettier": "^3.0.1",
52+
"eslint-plugin-flowtype": "^2.50.0",
53+
"eslint-plugin-import": "^2.14.0",
54+
"eslint-plugin-prettier": "^2.6.2",
5255
"express": "^4.16.3",
5356
"express-graphql": "^0.6.12",
54-
"flow-bin": "^0.75.0",
55-
"graphql": "0.13.2",
56-
"graphql-compose": "^4.4.1",
57-
"jest": "^23.2.0",
58-
"nodemon": "^1.17.5",
57+
"flow-bin": "^0.80.0",
58+
"graphql": "14.0.0",
59+
"graphql-compose": "^5.0.2",
60+
"jest": "^23.5.0",
61+
"nodemon": "^1.18.4",
5962
"npm-run-all": "^4.1.3",
60-
"prettier": "^1.13.6",
63+
"prettier": "^1.14.2",
6164
"rimraf": "^2.6.2",
62-
"semantic-release": "^15.6.0"
65+
"semantic-release": "^15.9.12"
6366
},
6467
"config": {
6568
"commitizen": {

0 commit comments

Comments
 (0)