Sunset node v8, add node v13 to travis

This commit is contained in:
Calvin Montgomery 2019-12-01 16:04:55 -08:00
parent 9aa73bee7c
commit 4d3c90f5ee
4 changed files with 13 additions and 4 deletions

View file

@ -9,6 +9,6 @@ addons:
env:
- CXX="g++-4.8"
node_js:
- "13"
- "12"
- "10"
- "8"

View file

@ -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
==========

View file

@ -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);
}

View file

@ -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"
},