Socket
Socket
Sign inDemoInstall

@opencensus/propagation-b3

Package Overview
Dependencies
18
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

8

build/src/b3-format.js

@@ -34,7 +34,7 @@ "use strict";

extract(getter) {
// TODO: Review this logic, maybe make it more robust.
// Question: are this logic valid if any of the getHeader operations returns
// a string[].
if (getter) {
const opt = getter.getHeader(X_B3_SAMPLED);
let opt = getter.getHeader(X_B3_SAMPLED);
if (opt instanceof Array) {
opt = opt[0];
}
const spanContext = {

@@ -41,0 +41,0 @@ traceId: getter.getHeader(X_B3_TRACE_ID),

{
"name": "@opencensus/propagation-b3",
"version": "0.0.1",
"version": "0.0.2",
"description": "Opencensus propagation package for B3 format.",

@@ -48,3 +48,3 @@ "main": "build/src/index.js",

"nyc": "^11.7.1",
"rimraf": "^2.6.2",
"rimraf": "^2.6.2",
"ts-node": "^4.0.0",

@@ -54,5 +54,5 @@ "typescript": "~2.7.2"

"dependencies": {
"@opencensus/opencensus-core": "^0.0.1",
"@opencensus/opencensus-core": "^0.0.2",
"uuid": "^3.2.1"
}
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc