mirror of https://github.com/calzoneman/sync.git
Sunset node v8, add node v13 to travis
This commit is contained in:
parent
9aa73bee7c
commit
4d3c90f5ee
|
@ -9,6 +9,6 @@ addons:
|
|||
env:
|
||||
- CXX="g++-4.8"
|
||||
node_js:
|
||||
- "13"
|
||||
- "12"
|
||||
- "10"
|
||||
- "8"
|
||||
|
|
9
NEWS.md
9
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
|
||||
==========
|
||||
|
||||
|
|
4
index.js
4
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);
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue