opentracing-istrace
Advanced tools
Comparing version 0.0.1 to 0.0.2
const HEADER_KEY = "X-B3-IsTrace"; | ||
const HEADER_VALUE = "true"; | ||
module.exports.HEADER_KEY = HEADER_KEY | ||
module.exports.HEADER_VALUE = HEADER_VALUE | ||
module.exports.Check = function(req){ | ||
return req && typeof req.header == 'function' && req.header(HEADER_KEY) == HEADER_VALUE | ||
} |
{ | ||
"name": "opentracing-istrace", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "For check istrace in header", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
690
6