Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@venncity/nested-config

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@venncity/nested-config - npm Package Compare versions

Comparing version 3.0.4 to 3.0.5-add-request-namespace-to-lambda.55

6

package.json
{
"name": "@venncity/nested-config",
"version": "3.0.4",
"version": "3.0.5-add-request-namespace-to-lambda.55+ffedac510",
"author": "Venn Engineering",

@@ -32,3 +32,3 @@ "main": "src/nestedConfig.js",

"dependencies": {
"@venncity/package-info": "^1.1.43",
"@venncity/package-info": "^1.1.44-add-request-namespace-to-lambda.55+ffedac510",
"config": "^3.1.0",

@@ -53,3 +53,3 @@ "lodash": "^4.17.11",

},
"gitHead": "0a70a505f7159182bbcdbe6687abc96b600c3ba6"
"gitHead": "ffedac510bb429c638b5f31290d316d2031f3ac5"
}

@@ -22,4 +22,11 @@ const cls = require('cls-hooked');

function isInRequestContext() {
const requestNamespace = cls.getNamespace(config.get('clsNamespace.request'));
return requestNamespace && requestNamespace.active;
}
module.exports = {
getReqV, setReqV
getReqV,
setReqV,
isInRequestContext
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc