From fb3f443514cb90d0dfa4d8af50b11a794f6548ee Mon Sep 17 00:00:00 2001 From: Darren Duncan Date: Tue, 27 Nov 2018 15:31:47 -0800 Subject: [PATCH] Fix engine dependency version for Node versions > 11.1.0 --- CHANGELOG.md | 11 +++++++++++ package.json | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 169e41fe..459d0d95 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,17 @@ Changelog ========= +* Fix engine dependency version for Node versions > 11.1.0; + now there is only a minimum Node dependency and not a maximum dependency; + the engine dependency is now a blacklist rather than a whitelist; + it indicates Node versions that are known NOT to work, and unknown future + versions are accepted by default rather than rejected by default. + This fixes a systematic problem where Nunjucks and all of its downstream + dependencies break every time a new Node version is released, despite the + Node update being backwards compatible, thus forcing a new Nunjucks + release such as 3.1.4 until the goalpost is soon moved again. + Fixes [#1168](https://github.com/mozilla/nunjucks/issues/1168). + 3.1.4 (Nov 9 2018) ------------------ diff --git a/package.json b/package.json index 3b7e0f28..75104f81 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "babel-register": "@babel/register" }, "engines": { - "node": ">= 6.9.0 <= 11.1.0" + "node": ">= 6.9.0" }, "scripts": { "build:transpile": "babel nunjucks --out-dir .",