From c432ee431daaf87caffdc345ec2a4ffb30586525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Wed, 22 Nov 2017 00:55:40 -0500 Subject: [PATCH] Switch to Node v6 as the oldest version we support Removed a deprecation notice I added in an earlier commit (ef1c59072cac9d41656721e66d4155ef3872cf2b). --- .travis.yml | 1 - appveyor.yml | 2 +- package.json | 2 +- src/command-line/index.js | 5 ----- 4 files changed, 2 insertions(+), 8 deletions(-) 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(