From 4f753809fe13f24b5cdcdc2c783d76189b2f7375 Mon Sep 17 00:00:00 2001 From: muxator Date: Sat, 19 Oct 2019 22:38:32 +0200 Subject: [PATCH] runtime: decrease minimum command-line npm version from 6.4 to 5.5 When nodejs 8.9.0 was released, its bundled npm version was 5.5.1 (see https://nodejs.org/en/download/releases). It makes sense that we lover our requirement to that version. Please note that the npm version mentioned here does not refer to the npm library installed as Etherpad dependency in node_modules via package.json (which indeed is higher) but is merely the npm version used to bootstrap the installation when running installDeps.sh. This change amends 9d35d15ae357 and its planning issue - #3424 - which were too strict. --- bin/installDeps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/installDeps.sh b/bin/installDeps.sh index f083974c0..b3b2d013a 100755 --- a/bin/installDeps.sh +++ b/bin/installDeps.sh @@ -5,8 +5,8 @@ REQUIRED_NODE_MAJOR=8 REQUIRED_NODE_MINOR=9 # minimum required npm version -REQUIRED_NPM_MAJOR=6 -REQUIRED_NPM_MINOR=4 +REQUIRED_NPM_MAJOR=5 +REQUIRED_NPM_MINOR=5 require_minimal_version() { PROGRAM_LABEL="$1"