From c68a6966c21ff4a4654b0de4b0c68750fb6c8c5e Mon Sep 17 00:00:00 2001 From: jongleberry Date: Mon, 6 Nov 2017 14:03:36 +0000 Subject: [PATCH] 2.3.0 --- History.md | 12 ++++++------ package.json | 33 +++++++++++---------------------- 2 files changed, 17 insertions(+), 28 deletions(-) diff --git a/History.md b/History.md index 44d942506..0792bb1cf 100644 --- a/History.md +++ b/History.md @@ -1,12 +1,12 @@ -2.3.0 / 2017-06-20 +2.3.0 / 2017-11-06 ================== - * test on node 7 & 8 - * add `package-lock.json` to `.gitignore` - * run `lint --fix` - * add `request.header` in addition to `request.headers` - * add IPv6 hostname support + * update `package.engines.node` to be more strict + * update `fresh@^0.5.2` + * fix: `inspect()` no longer crashes `context` + * fix: gated `res.statusMessage` for HTTP/2 + * added: `app.handleRequest()` is exposed 2.2.0 / 2017-03-14 ================== diff --git a/package.json b/package.json index c85fe333e..69fb8dcb1 100644 --- a/package.json +++ b/package.json @@ -4,11 +4,7 @@ "description": "Koa web app framework", "main": "lib/application.js", "scripts": { - "test": "jest", - "test-cov": "npm run test -- --coverage", - "lint": "eslint benchmarks lib test", - "bench": "make -C benchmarks", - "authors": "git log --format='%aN <%aE>' | sort -u > AUTHORS" + "test": "make test" }, "repository": "koajs/koa", "keywords": [ @@ -32,11 +28,11 @@ "destroy": "^1.0.3", "error-inject": "~1.0.0", "escape-html": "~1.0.1", - "fresh": "^0.5.2", + "fresh": "^0.5.0", "http-assert": "^1.1.0", "http-errors": "^1.2.8", "is-generator-function": "^1.0.3", - "koa-compose": "^4.0.0", + "koa-compose": "^3.0.0", "koa-convert": "^1.2.0", "koa-is-json": "^1.0.0", "mime-types": "^2.0.7", @@ -51,27 +47,20 @@ "babel-eslint": "^7.1.1", "eslint": "^3.17.1", "eslint-config-standard": "^7.0.1", + "eslint-plugin-babel": "^4.1.1", "eslint-plugin-promise": "^3.5.0", "eslint-plugin-standard": "^2.1.1", "istanbul": "^0.4.0", - "jest": "^20.0.0", - "supertest": "^3.0.0" + "mocha": "^3.2.0", + "should": "^6.0.3", + "should-http": "0.0.3", + "supertest": "^3.0.0", + "test-console": "^0.7.1" }, "engines": { - "node": "^4.8.4 || ^6.10.1 || ^7.10.1 || >= 8.1.4" + "node": ">= 6.0.0" }, "files": [ "lib" - ], - "jest": { - "testMatch": [ - "**/test/!(helpers)/*.js" - ], - "coverageReporters": [ - "text-summary", - "lcov" - ], - "bail": true, - "testEnvironment": "node" - } + ] }