New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@opentelemetry/shim-opentracing

Package Overview
Dependencies
Maintainers
4
Versions
212
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/shim-opentracing - npm Package Compare versions

Comparing version 0.11.1-alpha.36 to 0.11.1-alpha.44

8

build/src/shim.js

@@ -47,6 +47,6 @@ "use strict";

if (options.childOf instanceof SpanShim) {
return core_1.setActiveSpan(api.context.active(), options.childOf.getSpan());
return api.setActiveSpan(api.context.active(), options.childOf.getSpan());
}
else if (options.childOf instanceof SpanContextShim) {
return core_1.setExtractedSpanContext(api.context.active(), options.childOf.getSpanContext());
return api.setExtractedSpanContext(api.context.active(), options.childOf.getSpanContext());
}

@@ -135,3 +135,3 @@ }

case opentracing.FORMAT_TEXT_MAP: {
api.propagation.inject(carrier, api.defaultSetter, core_1.setCorrelationContext(core_1.setExtractedSpanContext(api.ROOT_CONTEXT, oTelSpanContext), oTelSpanCorrelationContext));
api.propagation.inject(carrier, api.defaultSetter, core_1.setCorrelationContext(api.setExtractedSpanContext(api.ROOT_CONTEXT, oTelSpanContext), oTelSpanCorrelationContext));
return;

@@ -152,3 +152,3 @@ }

const context = api.propagation.extract(carrier);
const spanContext = core_1.getExtractedSpanContext(context);
const spanContext = api.getExtractedSpanContext(context);
const correlationContext = core_1.getCorrelationContext(context);

@@ -155,0 +155,0 @@ if (!spanContext) {

@@ -1,2 +0,2 @@

export declare const VERSION = "0.11.1-alpha.36+6eb157c6";
export declare const VERSION = "0.11.1-alpha.44+240f852c";
//# sourceMappingURL=version.d.ts.map

@@ -20,3 +20,3 @@ "use strict";

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.11.1-alpha.36+6eb157c6';
exports.VERSION = '0.11.1-alpha.44+240f852c';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/shim-opentracing",
"version": "0.11.1-alpha.36+6eb157c6",
"version": "0.11.1-alpha.44+240f852c",
"description": "OpenTracing to OpenTelemetry shim",

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

"devDependencies": {
"@opentelemetry/tracing": "^0.11.1-alpha.36+6eb157c6",
"@opentelemetry/tracing": "^0.11.1-alpha.44+240f852c",
"@types/mocha": "8.0.2",

@@ -59,7 +59,7 @@ "@types/node": "14.0.27",

"dependencies": {
"@opentelemetry/api": "^0.11.1-alpha.36+6eb157c6",
"@opentelemetry/core": "^0.11.1-alpha.36+6eb157c6",
"@opentelemetry/api": "^0.11.1-alpha.44+240f852c",
"@opentelemetry/core": "^0.11.1-alpha.44+240f852c",
"opentracing": "^0.14.4"
},
"gitHead": "6eb157c66925fe84b4960f247a86678441f3cb60"
"gitHead": "240f852cc41707c751f28811b7ce3d243382e3dd"
}

Sorry, the diff of this file is not supported yet

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