diff --git a/README.md b/README.md index 1b8bf4c..cd81ed8 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # loopback-context Current context for LoopBack applications, based on -node-continuation-local-storage. +cls-hooked. ## WARNING diff --git a/package.json b/package.json index 7e9a7d2..40ba86a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "loopback-context", - "version": "3.0.0-alpha.1", - "description": "Current context for LoopBack applications, based on node-continuation-local-storage", + "version": "3.0.0", + "description": "Current context for LoopBack applications, based on cls-hooked", "engines": { "node": ">=4" }, @@ -23,7 +23,7 @@ }, "license": "MIT", "dependencies": { - "continuation-local-storage": "^3.1.7" + "cls-hooked": "^4.0.1" }, "devDependencies": { "chai": "^3.5.0", diff --git a/server/current-context.js b/server/current-context.js index 1bcf99b..a63ee67 100644 --- a/server/current-context.js +++ b/server/current-context.js @@ -5,7 +5,7 @@ 'use strict'; -var cls = require('continuation-local-storage'); +var cls = require('cls-hooked'); var domain = require('domain'); var LoopBackContext = module.exports;