Socket
Socket
Sign inDemoInstall

@opentelemetry/sdk-trace-base

Package Overview
Dependencies
Maintainers
2
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/sdk-trace-base - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

7

build/esm/BasicTracerProvider.d.ts

@@ -45,2 +45,9 @@ import { TextMapPropagator, TracerProvider } from '@opentelemetry/api';

shutdown(): Promise<void>;
/**
* TS cannot yet infer the type of this.constructor:
* https://github.com/Microsoft/TypeScript/issues/3841#issuecomment-337560146
* There is no need to override either of the getters in your child class.
* The type of the registered component maps should be the same across all
* classes in the inheritance tree.
*/
protected _getPropagator(name: string): TextMapPropagator | undefined;

@@ -47,0 +54,0 @@ protected _getSpanExporter(name: string): SpanExporter | undefined;

11

build/esm/BasicTracerProvider.js

@@ -146,9 +146,16 @@ /*

};
/**
* TS cannot yet infer the type of this.constructor:
* https://github.com/Microsoft/TypeScript/issues/3841#issuecomment-337560146
* There is no need to override either of the getters in your child class.
* The type of the registered component maps should be the same across all
* classes in the inheritance tree.
*/
BasicTracerProvider.prototype._getPropagator = function (name) {
var _a;
return (_a = BasicTracerProvider._registeredPropagators.get(name)) === null || _a === void 0 ? void 0 : _a();
return (_a = (this.constructor._registeredPropagators).get(name)) === null || _a === void 0 ? void 0 : _a();
};
BasicTracerProvider.prototype._getSpanExporter = function (name) {
var _a;
return (_a = BasicTracerProvider._registeredExporters.get(name)) === null || _a === void 0 ? void 0 : _a();
return (_a = (this.constructor._registeredExporters).get(name)) === null || _a === void 0 ? void 0 : _a();
};

@@ -155,0 +162,0 @@ BasicTracerProvider.prototype._buildPropagatorFromEnv = function () {

2

build/esm/version.d.ts

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

export declare const VERSION = "1.4.0";
export declare const VERSION = "1.5.0";
//# sourceMappingURL=version.d.ts.map

@@ -17,3 +17,3 @@ /*

// this is autogenerated file, see scripts/version-update.js
export var VERSION = '1.4.0';
export var VERSION = '1.5.0';
//# sourceMappingURL=version.js.map

@@ -45,2 +45,9 @@ import { TextMapPropagator, TracerProvider } from '@opentelemetry/api';

shutdown(): Promise<void>;
/**
* TS cannot yet infer the type of this.constructor:
* https://github.com/Microsoft/TypeScript/issues/3841#issuecomment-337560146
* There is no need to override either of the getters in your child class.
* The type of the registered component maps should be the same across all
* classes in the inheritance tree.
*/
protected _getPropagator(name: string): TextMapPropagator | undefined;

@@ -47,0 +54,0 @@ protected _getSpanExporter(name: string): SpanExporter | undefined;

@@ -142,9 +142,16 @@ /*

}
/**
* TS cannot yet infer the type of this.constructor:
* https://github.com/Microsoft/TypeScript/issues/3841#issuecomment-337560146
* There is no need to override either of the getters in your child class.
* The type of the registered component maps should be the same across all
* classes in the inheritance tree.
*/
_getPropagator(name) {
var _a;
return (_a = BasicTracerProvider._registeredPropagators.get(name)) === null || _a === void 0 ? void 0 : _a();
return (_a = (this.constructor._registeredPropagators).get(name)) === null || _a === void 0 ? void 0 : _a();
}
_getSpanExporter(name) {
var _a;
return (_a = BasicTracerProvider._registeredExporters.get(name)) === null || _a === void 0 ? void 0 : _a();
return (_a = (this.constructor._registeredExporters).get(name)) === null || _a === void 0 ? void 0 : _a();
}

@@ -151,0 +158,0 @@ _buildPropagatorFromEnv() {

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

export declare const VERSION = "1.4.0";
export declare const VERSION = "1.5.0";
//# sourceMappingURL=version.d.ts.map

@@ -17,3 +17,3 @@ /*

// this is autogenerated file, see scripts/version-update.js
export const VERSION = '1.4.0';
export const VERSION = '1.5.0';
//# sourceMappingURL=version.js.map

@@ -45,2 +45,9 @@ import { TextMapPropagator, TracerProvider } from '@opentelemetry/api';

shutdown(): Promise<void>;
/**
* TS cannot yet infer the type of this.constructor:
* https://github.com/Microsoft/TypeScript/issues/3841#issuecomment-337560146
* There is no need to override either of the getters in your child class.
* The type of the registered component maps should be the same across all
* classes in the inheritance tree.
*/
protected _getPropagator(name: string): TextMapPropagator | undefined;

@@ -47,0 +54,0 @@ protected _getSpanExporter(name: string): SpanExporter | undefined;

@@ -145,9 +145,16 @@ "use strict";

}
/**
* TS cannot yet infer the type of this.constructor:
* https://github.com/Microsoft/TypeScript/issues/3841#issuecomment-337560146
* There is no need to override either of the getters in your child class.
* The type of the registered component maps should be the same across all
* classes in the inheritance tree.
*/
_getPropagator(name) {
var _a;
return (_a = BasicTracerProvider._registeredPropagators.get(name)) === null || _a === void 0 ? void 0 : _a();
return (_a = (this.constructor._registeredPropagators).get(name)) === null || _a === void 0 ? void 0 : _a();
}
_getSpanExporter(name) {
var _a;
return (_a = BasicTracerProvider._registeredExporters.get(name)) === null || _a === void 0 ? void 0 : _a();
return (_a = (this.constructor._registeredExporters).get(name)) === null || _a === void 0 ? void 0 : _a();
}

@@ -154,0 +161,0 @@ _buildPropagatorFromEnv() {

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

export declare const VERSION = "1.4.0";
export declare const VERSION = "1.5.0";
//# sourceMappingURL=version.d.ts.map

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

// this is autogenerated file, see scripts/version-update.js
exports.VERSION = '1.4.0';
exports.VERSION = '1.5.0';
//# sourceMappingURL=version.js.map
{
"name": "@opentelemetry/sdk-trace-base",
"version": "1.4.0",
"version": "1.5.0",
"description": "OpenTelemetry Tracing",

@@ -94,7 +94,8 @@ "main": "build/src/index.js",

"dependencies": {
"@opentelemetry/core": "1.4.0",
"@opentelemetry/resources": "1.4.0",
"@opentelemetry/semantic-conventions": "1.4.0"
"@opentelemetry/core": "1.5.0",
"@opentelemetry/resources": "1.5.0",
"@opentelemetry/semantic-conventions": "1.5.0"
},
"gitHead": "e39ab883b18636238ef0fd741df4ce5ed53e8d04"
"homepage": "https://github.com/open-telemetry/opentelemetry-js/tree/main/packages/opentelemetry-sdk-trace-base",
"gitHead": "776656b6e0cd0fc49a52b734702bc77110e483f1"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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