@opencensus/instrumentation-http
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -179,2 +179,6 @@ "use strict"; | ||
plugin.logger.debug('makeRequestTrace'); | ||
if (!span) { | ||
plugin.logger.debug('makeRequestTrace span is null'); | ||
return request; | ||
} | ||
const setter = { | ||
@@ -189,6 +193,2 @@ setHeader(name, value) { | ||
} | ||
if (!span) { | ||
plugin.logger.debug('makeRequestTrace span is null'); | ||
return request; | ||
} | ||
request.on('response', (response) => { | ||
@@ -195,0 +195,0 @@ plugin.tracer.wrapEmitter(response); |
{ | ||
"name": "@opencensus/instrumentation-http", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Opencensus http automatic instrumentation package.", | ||
@@ -58,3 +58,3 @@ "main": "build/src/index.js", | ||
"dependencies": { | ||
"@opencensus/core": "^0.0.4", | ||
"@opencensus/core": "^0.0.5", | ||
"end-of-stream": "^1.4.1", | ||
@@ -61,0 +61,0 @@ "semver": "^5.5.0", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
1
+ Added@opencensus/core@0.0.5(transitive)
- Removed@opencensus/core@0.0.4(transitive)
Updated@opencensus/core@^0.0.5