diff --git a/.travis.yml b/.travis.yml index 93ad2e7d..751448a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,6 @@ node_js: - 9 # Current stable - 8 # Active LTS until April 2019 - 6 # Active LTS until April 2018 -- 4 # Maintenance LTS until 2018-04-01, will be dropped in The Lounge v3 matrix: fast_finish: true diff --git a/appveyor.yml b/appveyor.yml index 25eba312..13565e85 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -11,7 +11,7 @@ skip_tags: true skip_branch_with_pr: true environment: - nodejs_version: '4' + nodejs_version: '6' install: - ps: Install-Product node $env:nodejs_version diff --git a/package.json b/package.json index 0fd9cbe4..c5d572b7 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ ], "license": "MIT", "engines": { - "node": ">=4.2.0" + "node": ">=6" }, "dependencies": { "bcryptjs": "2.4.3", diff --git a/src/command-line/index.js b/src/command-line/index.js index eb8cebb1..b4095b00 100644 --- a/src/command-line/index.js +++ b/src/command-line/index.js @@ -10,11 +10,6 @@ const colors = require("colors/safe"); const Helper = require("../helper"); const Utils = require("./utils"); -if (require("semver").lt(process.version, "6.0.0")) { - log.warn(`Support of Node.js v4 is ${colors.bold.red("deprecated")} and will be removed in The Lounge v3.`); - log.warn("Please upgrade to Node.js v6 or more recent."); -} - program.version(Helper.getVersion(), "-v, --version") .option("--home ", `${colors.bold.red("[DEPRECATED]")} Use the ${colors.green("THELOUNGE_HOME")} environment variable instead.`) .option(