From b9fa114ad6189196cb2ebe0e87f511b6245df6fb Mon Sep 17 00:00:00 2001 From: Oleg Kubrakov Date: Fri, 21 Jul 2017 16:19:38 +0800 Subject: [PATCH] add nodejs v8.2.1 support --- .travis.yml | 3 ++- README.md | 2 +- package.json | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index fa50165..798b008 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,4 +3,5 @@ language: node_js node_js: - "4" - "6" - - "7" \ No newline at end of file + - "7" + - "8" diff --git a/README.md b/README.md index 16ae6ec..5abdda8 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ $ npm install --save loopback-context cls-hooked ``` Make sure you are running on a Node.js version supported by this module -(`^4.5`, `^5.10` or `^6.0`). When installing, check the output of `npm install` +(`^4.5`, `^5.10`, `^6.0`, `^7.0` or `^8.2.1`). When installing, check the output of `npm install` and make sure there are no `engine` related warnings. ## Usage diff --git a/package.json b/package.json index 71d6c3e..163dc31 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "loopback-context", - "version": "3.2.0", + "version": "3.3.0", "description": "Current context for LoopBack applications, based on cls-hooked", "engines": { - "node": "^4.5 || ^5.10 || ^6.0 || ^7.0" + "node": "^4.5 || ^5.10 || ^6.0 || ^7.0 || ^8.2.1" }, "keywords": [ "StrongLoop", @@ -23,7 +23,7 @@ }, "license": "MIT", "dependencies": { - "cls-hooked": "^4.0.1" + "cls-hooked": "^4.2.0" }, "devDependencies": { "async-1.5.2": "file:./test/stub-modules/async-1.5.2",