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.12.1-alpha.54 to 0.13.0

2

build/src/shim.d.ts

@@ -86,3 +86,3 @@ import * as api from '@opentelemetry/api';

*/
log(keyValuePairs: Attributes, timestamp?: number): this;
log(keyValuePairs: Attributes, _timestamp?: number): this;
/**

@@ -89,0 +89,0 @@ * Adds a set of tags to the span.

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

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

@@ -147,3 +147,2 @@ }

_extract(format, carrier) {
var _a;
switch (format) {

@@ -153,3 +152,3 @@ case opentracing.FORMAT_HTTP_HEADERS:

const context = api.propagation.extract(carrier);
const spanContext = (_a = api.getActiveSpan(context)) === null || _a === void 0 ? void 0 : _a.context();
const spanContext = api.getParentSpanContext(context);
const correlationContext = core_1.getCorrelationContext(context);

@@ -228,3 +227,3 @@ if (!spanContext) {

*/
log(keyValuePairs, timestamp) {
log(keyValuePairs, _timestamp) {
// @todo: Handle timestamp

@@ -251,3 +250,3 @@ this._span.addEvent('log', keyValuePairs);

(value === true || value === 'true')) {
this._span.setStatus({ code: api.CanonicalCode.UNKNOWN });
this._span.setStatus({ code: api.StatusCode.ERROR });
return this;

@@ -254,0 +253,0 @@ }

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

export declare const VERSION = "0.12.1-alpha.54+3f72613a";
export declare const VERSION = "0.13.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '0.12.1-alpha.54+3f72613a';
exports.VERSION = '0.13.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/shim-opentracing",
"version": "0.12.1-alpha.54+3f72613a",
"version": "0.13.0",
"description": "OpenTracing to OpenTelemetry shim",

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

"devDependencies": {
"@opentelemetry/tracing": "^0.12.1-alpha.54+3f72613a",
"@types/mocha": "8.0.2",
"@types/node": "14.0.27",
"codecov": "3.7.2",
"@opentelemetry/tracing": "^0.13.0",
"@types/mocha": "8.0.4",
"@types/node": "14.14.10",
"codecov": "3.8.1",
"gts": "2.0.2",

@@ -52,3 +52,3 @@ "mocha": "7.2.0",

"rimraf": "3.0.2",
"ts-mocha": "7.0.0",
"ts-mocha": "8.0.0",
"ts-node": "9.0.0",

@@ -60,7 +60,7 @@ "tslint-consistent-codestyle": "1.16.0",

"dependencies": {
"@opentelemetry/api": "^0.12.1-alpha.54+3f72613a",
"@opentelemetry/core": "^0.12.1-alpha.54+3f72613a",
"@opentelemetry/api": "^0.13.0",
"@opentelemetry/core": "^0.13.0",
"opentracing": "^0.14.4"
},
"gitHead": "3f72613a36b6f97555a0fa7481755cf8b6cce1a7"
"gitHead": "86cbd6798f9318c5920f9d9055f289a1c3f26500"
}

Sorry, the diff of this file is not supported yet

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