chore: set Node.js compatibility to v6+

- drop support for versions less than Node v6 via engines
- update integration tests to also test newer versions
This commit is contained in:
Hannah Wolfe
2020-04-02 19:15:33 +01:00
parent 645ac73844
commit 309d2b49a1
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ Supported Environments
Handlebars has been designed to work in any ECMAScript 3 environment. This includes
- Node.js
- Node.js v6+
- Chrome
- Firefox
- Safari 5+
@@ -17,7 +17,7 @@ cd "$( dirname "$( readlink -f "$0" )" )" || exit 1
unset npm_config_prefix
echo "Handlebars should be able to run in various versions of NodeJS"
for i in 0.10 0.12 4 5 6 7 8 9 10 11 ; do
for i in 6 7 8 9 10 11 12 13; do
rm target node_modules package-lock.json -rf
mkdir target
nvm install "$i"
+1 -1
View File
@@ -18,7 +18,7 @@
"license": "MIT",
"readmeFilename": "README.md",
"engines": {
"node": ">=0.4.7"
"node": ">=6"
},
"dependencies": {
"neo-async": "^2.6.0",