Skip to content

Commit

Permalink
breaking: drop support for Node.js < v10
Browse files Browse the repository at this point in the history
- handlebars is changing to a policy of only supporting current and active versions of Node.js
  • Loading branch information
ErisDS committed Apr 3, 2020
1 parent 3438891 commit 75794c5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions 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 10+
- Chrome
- Firefox
- Safari 5+
Expand Down Expand Up @@ -110,7 +110,7 @@ Upgrading

See [release-notes.md](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) for upgrade notes.

If you are using Handlebars in production, please regularly look for issues labeled
If you are using Handlebars in production, please regularly look for issues labeled
[possibly breaking](https://github.com/wycats/handlebars.js/issues?q=is%3Aopen+is%3Aissue+label%3A%22possibly+breaking%22).
If this label is applied to an issue, it means that the requested change is probably not a breaking change,
but since Handlebars is widely in use by a lot of people, chances are always there that it breaks somebodies build.
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 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.markdown",
"engines": {
"node": ">=0.4.7"
"node": ">=10"
},
"dependencies": {
"neo-async": "^2.6.0",
Expand Down

0 comments on commit 75794c5

Please sign in to comment.