deps: updates to support node.js 10

This commit is contained in:
Calvin Montgomery 2018-06-03 21:18:54 -07:00
parent a632a4cafa
commit 125a781cc7
3 changed files with 26 additions and 7 deletions

View file

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

23
NEWS.md
View file

@ -1,3 +1,26 @@
2018-06-03
==========
## Dependency upgrades
In order to support node.js 10, the `bcrypt` dependency has been upgraded to
version 2. `bcrypt` version 2 defaults to the `$2b$` algorithm, whereas version
1 defaults to the `$2a$` algorithm. Existing password hashes will continue to
be readable, however hashes created with version 2 will not be readable by
version 1. See https://github.com/kelektiv/node.bcrypt.js for details.
In addition, the optional dependency on `v8-profiler` has been removed, since
this is not compatible with newer versions of v8.
## Supported node.js versions
In accordance with the node.js release schedule, node.js 4.x, 5.x, 7.x, and 9.x
are end-of-life and are no longer maintained upstream. Accordingly, these
versions are no longer supported by CyTube.
Please upgrade to 8.x (LTS) or 10.x (current). 6.x is still supported, but is
in the "maintenance" phase upstream, and should be phased out.
2018-01-07 2018-01-07
========== ==========

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.55.8", "version": "3.56.0",
"repository": { "repository": {
"url": "http://github.com/calzoneman/sync" "url": "http://github.com/calzoneman/sync"
}, },
@ -10,7 +10,7 @@
"dependencies": { "dependencies": {
"@calzoneman/express-babel-decorators": "^1.0.0", "@calzoneman/express-babel-decorators": "^1.0.0",
"@calzoneman/jsli": "^2.0.1", "@calzoneman/jsli": "^2.0.1",
"bcrypt": "^1.0.3", "bcrypt": "^2.0.1",
"bluebird": "^3.5.1", "bluebird": "^3.5.1",
"body-parser": "^1.18.2", "body-parser": "^1.18.2",
"cheerio": "^1.0.0-rc.2", "cheerio": "^1.0.0-rc.2",
@ -87,8 +87,5 @@
"transform-flow-strip-types", "transform-flow-strip-types",
"transform-decorators-legacy" "transform-decorators-legacy"
] ]
},
"optionalDependencies": {
"v8-profiler": "^5.7.0"
} }
} }