From ff6a0f795a3645656cf7e483a84489800a2bf4d6 Mon Sep 17 00:00:00 2001 From: "Fidelin, Eugene(efidelin)" Date: Mon, 9 Aug 2021 11:50:27 +0200 Subject: [PATCH] Release 1.11.0 --- HISTORY.md | 11 +++++++++++ package-lock.json | 2 +- package.json | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index c81a174..e90f79d 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,14 @@ +v 1.11.0 +------- + +- Fix request.ip and add request.ips [Issue #244][244]. +- Add response.attachment() from express [Issue #246][246]. +- Add request.getHeader() alias for request.header() [Issue #241][241]. + +[244]: https://github.com/howardabrams/node-mocks-http/issues/244 +[246]: https://github.com/howardabrams/node-mocks-http/issues/246 +[241]: https://github.com/howardabrams/node-mocks-http/issues/241 + v 1.10.1 ------- diff --git a/package-lock.json b/package-lock.json index d79aaeb..978108a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "node-mocks-http", - "version": "1.10.1", + "version": "1.11.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 19c3208..84d1544 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Howard Abrams (http://www.github.com/howardabrams)", "name": "node-mocks-http", "description": "Mock 'http' objects for testing Express routing functions", - "version": "1.10.1", + "version": "1.11.0", "homepage": "https://github.com/howardabrams/node-mocks-http", "bugs": { "url": "https://github.com/howardabrams/node-mocks-http/issues"