Drop node.js 6.x

This commit is contained in:
Calvin Montgomery 2018-08-27 21:59:48 -07:00
parent c90d9c0ddc
commit 553052f901
3 changed files with 12 additions and 5 deletions

View File

@ -11,4 +11,3 @@ env:
node_js: node_js:
- "10" - "10"
- "8" - "8"
- "6"

10
NEWS.md
View File

@ -1,3 +1,13 @@
2018-08-27
==========
Support for node.js 6.x has been dropped, in order to bump the babel preset to
generate more efficient code (8.x supports async-await and other ES6+ features
natively and is the current node.js LTS).
If you are unable to upgrade to node.js 8.x, you can revert the changes to
package.json in this commit, however, be warned that I no longer test on 6.x.
2018-06-03 2018-06-03
========== ==========

View File

@ -2,7 +2,7 @@
"author": "Calvin Montgomery", "author": "Calvin Montgomery",
"name": "CyTube", "name": "CyTube",
"description": "Online media synchronizer and chat", "description": "Online media synchronizer and chat",
"version": "3.57.2", "version": "3.58.0",
"repository": { "repository": {
"url": "http://github.com/calzoneman/sync" "url": "http://github.com/calzoneman/sync"
}, },
@ -60,7 +60,6 @@
"babel-core": "^6.26.3", "babel-core": "^6.26.3",
"babel-eslint": "^8.2.2", "babel-eslint": "^8.2.2",
"babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4", "babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-env": "^1.5.2", "babel-preset-env": "^1.5.2",
"coffeescript": "^1.9.2", "coffeescript": "^1.9.2",
@ -74,13 +73,12 @@
"env", "env",
{ {
"targets": { "targets": {
"node": "6" "node": "8"
} }
} }
] ]
], ],
"plugins": [ "plugins": [
"transform-async-to-generator",
"add-module-exports", "add-module-exports",
"transform-decorators-legacy" "transform-decorators-legacy"
] ]