From 4d3c90f5ee34a94b29c792ea8b670f583f2ce61e Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Sun, 1 Dec 2019 16:04:55 -0800 Subject: [PATCH] Sunset node v8, add node v13 to travis --- .travis.yml | 2 +- NEWS.md | 9 +++++++++ index.js | 4 ++-- package.json | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 281d6b91..9ea21756 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,6 @@ addons: env: - CXX="g++-4.8" node_js: + - "13" - "12" - "10" - - "8" diff --git a/NEWS.md b/NEWS.md index 7cb66bd9..1ee728a4 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,12 @@ +2019-12-01 +========== + +In accordance with node v8 LTS becoming end-of-life on 2019-12-31, CyTube no +longer supports v8. + +Please upgrade to v10 or v12 (active LTS); refer to +https://nodejs.org/en/about/releases/ for the node.js support timelines. + 2018-12-07 ========== diff --git a/index.js b/index.js index 328c82fc..4f057612 100755 --- a/index.js +++ b/index.js @@ -2,10 +2,10 @@ const ver = process.version.match(/v(\d+)\.\d+\.\d+/); -if (parseInt(ver[1], 10) < 8) { +if (parseInt(ver[1], 10) < 10) { console.error( `node.js ${process.version} is not supported. ` + - 'CyTube requires node v6 or later.' + 'CyTube requires node v10 or later.' ) process.exit(1); } diff --git a/package.json b/package.json index 40a464d0..47010c8a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Calvin Montgomery", "name": "CyTube", "description": "Online media synchronizer and chat", - "version": "3.66.1", + "version": "3.67.0", "repository": { "url": "http://github.com/calzoneman/sync" },