Skip to content

Commit

Permalink
chore: set Node.js compatibility to v6+
Browse files Browse the repository at this point in the history
- drop support for versions less than Node v6 via engines
- update integration tests to also test newer versions
  • Loading branch information
ErisDS committed Apr 2, 2020
1 parent 645ac73 commit 309d2b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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+
Expand Down
2 changes: 1 addition & 1 deletion integration-testing/multi-nodejs-test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"license": "MIT",
"readmeFilename": "README.md",
"engines": {
"node": ">=0.4.7"
"node": ">=6"
},
"dependencies": {
"neo-async": "^2.6.0",
Expand Down

0 comments on commit 309d2b4

Please sign in to comment.