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
261
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.106.1 to 1.106.2

4

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

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

},
"gitHead": "b1a1c2f0a7a9c1e0d9fcf52359128c1f561e9d24"
"gitHead": "be32e51b452496357a3ad7adf522bdbbc93518a9"
}

@@ -40,3 +40,3 @@ 'use strict';

return function() {
if (isActive && cls.isTracing()) {
if (isActive) {
const originalArgs = new Array(arguments.length);

@@ -55,4 +55,8 @@ for (let i = 0; i < arguments.length; i++) {

if (cls.tracingSuppressed()) {
propagateSuppression(originalArgs[0]);
propagateSuppression(originalArgs[1]);
}
if (
!cls.isTracing() || //
!parentSpan || //

@@ -114,3 +118,3 @@ // allow rabbitmq parent exit spans, this is actually the span started in instrumentedChannelModelPublish

function setHeaders(map, span) {
if (!map || !map.headers || tracingUtil.readAttribCaseInsensitive(map.headers, constants.traceLevelHeaderName)) {
if (!map || !map.headers) {
return;

@@ -123,2 +127,9 @@ }

function propagateSuppression(map) {
if (!map || !map.headers) {
return;
}
map.headers[constants.traceLevelHeaderName] = '0';
}
function shimDispatchMessage(originalFunction) {

@@ -389,3 +400,3 @@ return function() {

if (!cls.isTracing() || constants.isExitSpan(parentSpan)) {
if (!parentSpan || constants.isExitSpan(parentSpan)) {
return originalFunction.apply(ctx, originalArgs);

@@ -392,0 +403,0 @@ }

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