Skip to content

Commit f784504

Browse files
authored
Drop support for Node 6 (#353)
1 parent 8612e5b commit f784504

File tree

4 files changed

+19
-14
lines changed

4 files changed

+19
-14
lines changed

.babelrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"@babel/preset-env",
55
{
66
"targets": {
7-
"node": 6
8-
}
7+
"node": "8.10.0"
8+
},
9+
"shippedProposals": true
910
}
1011
],
1112
"@babel/preset-flow"
1213
],
1314
"plugins": [
14-
"@babel/plugin-proposal-object-rest-spread",
1515
"@babel/plugin-transform-runtime"
1616
]
1717
}

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
language: node_js
22
node_js:
3-
- "11"
3+
- "12"
44
- "10"
55
- "8"
6-
- "6"
76
cache:
87
yarn: true
98
directories:
@@ -22,4 +21,4 @@ deploy:
2221
local_dir: website/dist
2322
on:
2423
branch: master
25-
node: "10"
24+
node: "12"

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"dist"
1616
],
1717
"engines": {
18-
"node": ">=6"
18+
"node": ">=8.10.0"
1919
},
2020
"main": "dist/main.js",
2121
"scripts": {
@@ -44,11 +44,10 @@
4444
"commander": "^2.19.0",
4545
"doctrine": "^3.0.0",
4646
"node-dir": "^0.1.10",
47-
"strip-indent": "^2.0.0"
47+
"strip-indent": "^3.0.0"
4848
},
4949
"devDependencies": {
5050
"@babel/cli": "^7.0.0",
51-
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
5251
"@babel/plugin-transform-runtime": "^7.0.0",
5352
"@babel/preset-env": "^7.0.0",
5453
"@babel/preset-flow": "^7.0.0",

yarn.lock

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
"@babel/helper-plugin-utils" "^7.0.0"
253253
"@babel/plugin-syntax-json-strings" "^7.2.0"
254254

255-
"@babel/plugin-proposal-object-rest-spread@^7.0.0", "@babel/plugin-proposal-object-rest-spread@^7.4.4":
255+
"@babel/plugin-proposal-object-rest-spread@^7.4.4":
256256
version "7.4.4"
257257
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.4.4.tgz#1ef173fcf24b3e2df92a678f027673b55e7e3005"
258258
integrity sha512-dMBG6cSPBbHeEBdFXeQ2QLc5gUpg4Vkaz8octD4aoW/ISO+jBOcsuxYL7bsb5WSu8RLP6boxrBIALEHgoHtO9g==
@@ -3223,6 +3223,11 @@ mimic-fn@^2.0.0:
32233223
resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b"
32243224
integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==
32253225

3226+
min-indent@^1.0.0:
3227+
version "1.0.0"
3228+
resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.0.tgz#cfc45c37e9ec0d8f0a0ec3dd4ef7f7c3abe39256"
3229+
integrity sha1-z8RcN+nsDY8KDsPdTvf3w6vjklY=
3230+
32263231
minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4:
32273232
version "3.0.4"
32283233
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
@@ -4395,10 +4400,12 @@ strip-eof@^1.0.0:
43954400
resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf"
43964401
integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=
43974402

4398-
strip-indent@^2.0.0:
4399-
version "2.0.0"
4400-
resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68"
4401-
integrity sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=
4403+
strip-indent@^3.0.0:
4404+
version "3.0.0"
4405+
resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001"
4406+
integrity sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==
4407+
dependencies:
4408+
min-indent "^1.0.0"
44024409

44034410
strip-json-comments@^2.0.1, strip-json-comments@~2.0.1:
44044411
version "2.0.1"

0 commit comments

Comments
 (0)