From 553052f9016d0462c371b261d72f568c450e9173 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Mon, 27 Aug 2018 21:59:48 -0700 Subject: [PATCH] Drop node.js 6.x --- .travis.yml | 1 - NEWS.md | 10 ++++++++++ package.json | 6 ++---- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 063b4f9e..f70902c3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,4 +11,3 @@ env: node_js: - "10" - "8" - - "6" diff --git a/NEWS.md b/NEWS.md index 620b23c6..ee38fb92 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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 ========== diff --git a/package.json b/package.json index 363cdf6f..5d7952e4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Calvin Montgomery", "name": "CyTube", "description": "Online media synchronizer and chat", - "version": "3.57.2", + "version": "3.58.0", "repository": { "url": "http://github.com/calzoneman/sync" }, @@ -60,7 +60,6 @@ "babel-core": "^6.26.3", "babel-eslint": "^8.2.2", "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-preset-env": "^1.5.2", "coffeescript": "^1.9.2", @@ -74,13 +73,12 @@ "env", { "targets": { - "node": "6" + "node": "8" } } ] ], "plugins": [ - "transform-async-to-generator", "add-module-exports", "transform-decorators-legacy" ]