Skip to content

Commit

Permalink
release candiate for 0.11.2 with Minimed EU Server and Guardian Conne…
Browse files Browse the repository at this point in the history
…cti integration (nightscout#4487)

* first release candiate for 0.11.2 with Minimed EU Server and Guardian Connect integration

- integrates mddub/minimed-connect-to-nightscout#11 into Nightscout

* bump node 10 LTS version
  • Loading branch information
PieterGit authored and tanja3981 committed May 21, 2019
1 parent 122ea0c commit 5d9fe9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Minimum browser requirements for viewing the site:

Windows installation software requirements:

- [Node.js](http://nodejs.org/) Latest Node 8 LTS (Node 8.15.1 or later) or Node 10 LTS (Node 10.15.2 or later; Node 10.14.1 works for Azure). Use [Install instructions for Node](https://nodejs.org/en/download/package-manager/) or use `setup.sh`)
- [Node.js](http://nodejs.org/) Latest Node 8 LTS (Node 8.15.1 or later) or Node 10 LTS (Node 10.15.3 or later; Node 10.14.1 works for Azure). Use [Install instructions for Node](https://nodejs.org/en/download/package-manager/) or use `setup.sh`)
- [MongoDB](https://www.mongodb.com/download-center?jmp=nav#community) 3.x or later. MongoDB 2.4 is only supported for Raspberry Pi.

As a non-root user clone this repo then install dependencies into the root of the project:
Expand Down
8 changes: 4 additions & 4 deletions lib/server/bootevent.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ function boot (env, language) {
// == 9.x does not work, not supported
// == 10.14.1 works, not fully supported and not recommended (Azure version)
// == 10.14.2 does not work, not supported and not recommended,
// >= 10.15.2 works, supported and recommended
// >= 11.10.1 does work, not recommended, will not be supported. We only support Node LTS releases
// >= 10.15.3 works, supported and recommended
// >= 11.12.0 does work, not recommended, will not be supported. We only support Node LTS releases
///////////////////////////////////////////////////
function checkNodeVersion (ctx, next) {
var semver = require('semver');
var nodeVersion = process.version;

if ( semver.satisfies(nodeVersion, '^8.15.1') || semver.satisfies(nodeVersion, '^10.15.2')) {
if ( semver.satisfies(nodeVersion, '^8.15.1') || semver.satisfies(nodeVersion, '^10.15.3')) {
//Latest Node 8 LTS and Latest Node 10 LTS are recommended and supported.
console.debug('Node LTS version ' + nodeVersion + ' is supported');
next();
Expand All @@ -36,7 +36,7 @@ function boot (env, language) {
console.log('WARNING: Please migrate to another hosting provider. Your Node version is outdated and insecure');
next();
}
else if ( semver.satisfies(nodeVersion, '^11.10.1')) {
else if ( semver.satisfies(nodeVersion, '^11.12.0')) {
//Latest Node version
console.debug('Node version ' + nodeVersion + ' is not a LTS version. Not recommended. Not supported');
next();
Expand Down

0 comments on commit 5d9fe9e

Please sign in to comment.