From 6563e6ac3d9e7011d71bbd8297f0f636d39783ba Mon Sep 17 00:00:00 2001 From: dead_horse Date: Sun, 30 Aug 2015 23:42:44 +0800 Subject: [PATCH] get rid of 0.11 --- Makefile | 2 +- Readme.md | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b3209b1..8efd4e8 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ ifeq ($(findstring io.js, $(shell which node)),) endif ifeq (node, $(BIN)) - FLAGS = --harmony-generators + FLAGS = --harmony endif REQUIRED = --require should --require should-http diff --git a/Readme.md b/Readme.md index adc6795..7b243c9 100644 --- a/Readme.md +++ b/Readme.md @@ -21,7 +21,7 @@ $ npm install koa Koa is supported in all versions of [iojs](https://iojs.org) without any flags. - To use Koa with node, you must be running __node 0.11.16__ or higher for generator and promise support, and must run node(1) + To use Koa with node, you must be running __node 0.12.0__ or higher for generator and promise support, and must run node(1) with the `--harmony-generators` or `--harmony` flag. ## Community diff --git a/package.json b/package.json index be3cf0d..fc6119e 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "test-console": "^0.7.1" }, "engines": { - "node": ">= 0.11.16", + "node": ">= 0.12.0", "iojs": ">= 1.0.0" }, "files": [