Skip to content

Commit

Permalink
Fix engine dependency version for Node versions > 11.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
duncand committed Nov 27, 2018
1 parent 11262e5 commit fb3f443
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions 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)
------------------

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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 .",
Expand Down

0 comments on commit fb3f443

Please sign in to comment.