@opentelemetry/node
Advanced tools
Comparing version 0.11.1-alpha.36 to 0.11.1-alpha.44
@@ -23,2 +23,3 @@ "use strict"; | ||
const PluginLoader_1 = require("./instrumentation/PluginLoader"); | ||
const semver = require("semver"); | ||
/** | ||
@@ -47,3 +48,6 @@ * Register this TracerProvider for use with the OpenTelemetry API. | ||
if (config.contextManager === undefined) { | ||
config.contextManager = new context_async_hooks_1.AsyncHooksContextManager(); | ||
const ContextManager = semver.gte(process.version, '14.8.0') | ||
? context_async_hooks_1.AsyncLocalStorageContextManager | ||
: context_async_hooks_1.AsyncHooksContextManager; | ||
config.contextManager = new ContextManager(); | ||
config.contextManager.enable(); | ||
@@ -50,0 +54,0 @@ } |
@@ -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/node", | ||
"version": "0.11.1-alpha.36+6eb157c6", | ||
"version": "0.11.1-alpha.44+240f852c", | ||
"description": "OpenTelemetry Node SDK provides automatic telemetry (tracing, metrics, etc) for Node.js applications", | ||
@@ -46,4 +46,4 @@ "main": "build/src/index.js", | ||
"devDependencies": { | ||
"@opentelemetry/context-base": "^0.11.1-alpha.36+6eb157c6", | ||
"@opentelemetry/resources": "^0.11.1-alpha.36+6eb157c6", | ||
"@opentelemetry/context-base": "^0.11.0", | ||
"@opentelemetry/resources": "^0.11.1-alpha.44+240f852c", | ||
"@types/mocha": "8.0.2", | ||
@@ -64,10 +64,10 @@ "@types/node": "14.0.27", | ||
"dependencies": { | ||
"@opentelemetry/api": "^0.11.1-alpha.36+6eb157c6", | ||
"@opentelemetry/context-async-hooks": "^0.11.1-alpha.36+6eb157c6", | ||
"@opentelemetry/core": "^0.11.1-alpha.36+6eb157c6", | ||
"@opentelemetry/tracing": "^0.11.1-alpha.36+6eb157c6", | ||
"@opentelemetry/api": "^0.11.1-alpha.44+240f852c", | ||
"@opentelemetry/context-async-hooks": "^0.11.0", | ||
"@opentelemetry/core": "^0.11.1-alpha.44+240f852c", | ||
"@opentelemetry/tracing": "^0.11.1-alpha.44+240f852c", | ||
"require-in-the-middle": "^5.0.0", | ||
"semver": "^7.1.3" | ||
}, | ||
"gitHead": "6eb157c66925fe84b4960f247a86678441f3cb60" | ||
"gitHead": "240f852cc41707c751f28811b7ce3d243382e3dd" | ||
} |
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
50799
513
+ Added@opentelemetry/context-async-hooks@0.11.0(transitive)
- Removed@opentelemetry/context-async-hooks@0.11.1-alpha.48(transitive)
- Removed@opentelemetry/context-base@0.11.1-alpha.48(transitive)