Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@instana/core

Package Overview
Dependencies
Maintainers
3
Versions
258
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@instana/core - npm Package Compare versions

Comparing version 1.92.5 to 1.93.0

4

package.json
{
"name": "@instana/core",
"version": "1.92.5",
"version": "1.93.0",
"description": "Core library for Instana's Node.js packages",

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

},
"gitHead": "50bec8353a5973e8a59ae92e65a74c02d40d730a"
"gitHead": "0d01c45b54c3498718d3f46b448a0e87c2e27587"
}

@@ -85,19 +85,6 @@ 'use strict';

var w3cTraceContext = cls.getW3cTraceContext();
var parentSpan = cls.getCurrentSpan() || cls.getReducedSpan();
if (!isActive || !cls.isTracing()) {
if (!isActive || !parentSpan || constants.isExitSpan(parentSpan)) {
var traceLevelHeaderHasBeenAdded = false;
if (cls.tracingLevel()) {
traceLevelHeaderHasBeenAdded = tryToAddTraceLevelAddHeaderToOpts(options, cls.tracingLevel(), w3cTraceContext);
}
clientRequest = originalRequest.apply(coreModule, arguments);
if (cls.tracingLevel() && !traceLevelHeaderHasBeenAdded) {
clientRequest.setHeader(constants.traceLevelHeaderName, cls.tracingLevel());
setW3cHeadersOnRequest(clientRequest, w3cTraceContext);
}
return clientRequest;
}
var parentSpan = cls.getCurrentSpan();
if (constants.isExitSpan(parentSpan)) {
if (cls.tracingSuppressed()) {

@@ -104,0 +91,0 @@ traceLevelHeaderHasBeenAdded = tryToAddTraceLevelAddHeaderToOpts(options, '0', w3cTraceContext);

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