From 806ebe6e1abea47583ec57b6811b67958a2b3369 Mon Sep 17 00:00:00 2001 From: Claudius Date: Sun, 12 May 2019 10:01:38 +0200 Subject: [PATCH] drop node 6 support We will no longer test on node6 and instead focus on 8+. This won't break node6 immediately, but we will no longer go out of our way supporting a version that does not receive security updates. Signed-off-by: Claudius --- .babelrc | 2 +- .travis.yml | 14 +++++++------- docs/setup/manual-setup.md | 2 +- package.json | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.babelrc b/.babelrc index 26e5c92..ad37aa7 100644 --- a/.babelrc +++ b/.babelrc @@ -2,7 +2,7 @@ "presets": [ ["env", { "targets": { - "node": "6", + "node": "8", "uglify": true } }] diff --git a/.travis.yml b/.travis.yml index a2fce83..a5c50de 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,16 +4,10 @@ cache: yarn env: global: - CXX=g++-4.8 - - YARN_VERSION=1.15.2 + - YARN_VERSION=1.16.0 jobs: include: - - env: task=npm-test - node_js: - - 6 - before_install: - - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$YARN_VERSION" - - export PATH="$HOME/.yarn/bin:$PATH" - env: task=npm-test node_js: - 8 @@ -26,6 +20,12 @@ jobs: before_install: - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$YARN_VERSION" - export PATH="$HOME/.yarn/bin:$PATH" + - env: task=npm-test + node_js: + - 12 + before_install: + - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$YARN_VERSION" + - export PATH="$HOME/.yarn/bin:$PATH" - env: task=ShellCheck script: - shellcheck bin/heroku bin/setup diff --git a/docs/setup/manual-setup.md b/docs/setup/manual-setup.md index b612853..e15e624 100644 --- a/docs/setup/manual-setup.md +++ b/docs/setup/manual-setup.md @@ -3,7 +3,7 @@ Manual Installation ## Requirements on your server -- Node.js 6.x or up (test up to 7.5.0) and <10.x +- Node.js 8.5 or up - Database (PostgreSQL, MySQL, MariaDB, SQLite, MSSQL) use charset `utf8` - npm (and its dependencies, [node-gyp](https://github.com/nodejs/node-gyp#installation)) - yarn diff --git a/package.json b/package.json index 374a047..490fe5a 100644 --- a/package.json +++ b/package.json @@ -119,7 +119,7 @@ "socket.io": "~2.1.1", "socket.io-client": "~2.1.1", "spin.js": "^2.3.2", - "sqlite3": "^4.0.1", + "sqlite3": "^4.0.7", "store": "^2.0.12", "string": "^3.3.3", "tedious": "^1.14.0", @@ -141,7 +141,7 @@ "**/request": "^2.88.0" }, "engines": { - "node": ">=6.x" + "node": ">=8.x" }, "bugs": "https://github.com/codimd/server/issues", "keywords": [