From 08e9a11a34c3ad8387a0b85b1334f97cab85191a Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Fri, 3 Apr 2020 18:17:52 +0100 Subject: [PATCH] Revert "chore: set Node.js compatibility to v6+" This reverts commit 309d2b49a11628d2a8f052c5587e7459968cd705. --- README.markdown | 2 +- integration-testing/multi-nodejs-test/test.sh | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.markdown b/README.markdown index 2b49bca56..5450f9cd2 100644 --- a/README.markdown +++ b/README.markdown @@ -79,7 +79,7 @@ Supported Environments Handlebars has been designed to work in any ECMAScript 3 environment. This includes -- Node.js v6+ +- Node.js - Chrome - Firefox - Safari 5+ diff --git a/integration-testing/multi-nodejs-test/test.sh b/integration-testing/multi-nodejs-test/test.sh index d38b14ffa..99682b453 100755 --- a/integration-testing/multi-nodejs-test/test.sh +++ b/integration-testing/multi-nodejs-test/test.sh @@ -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 6 7 8 9 10 11 12 13; do +for i in 0.10 0.12 4 5 6 7 8 9 10 11 ; do rm target node_modules package-lock.json -rf mkdir target nvm install "$i" diff --git a/package.json b/package.json index c886527a6..af68b3aea 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "license": "MIT", "readmeFilename": "README.md", "engines": { - "node": ">=6" + "node": ">=0.4.7" }, "dependencies": { "neo-async": "^2.6.0",