express-http-context
Advanced tools
Comparing version
module.exports = { | ||
middleware: (req, res, next) => { | ||
middleware: function (req, res, next) { | ||
throw new Error('`middleware` cannot be called from the browser code.'); | ||
}, | ||
get: (key) => { | ||
get: function () { | ||
return null; | ||
}, | ||
set: (key, value) => { | ||
set: function (key, value) { | ||
// noop | ||
@@ -10,0 +10,0 @@ }, |
{ | ||
"name": "express-http-context", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "Get and set request-scoped context anywhere", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
8071
0.19%