Socket
Socket
Sign inDemoInstall

@sentry/node

Package Overview
Dependencies
4
Maintainers
11
Versions
496
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.105.0 to 7.106.0

9

cjs/integrations/undici/index.js

@@ -266,4 +266,9 @@ var {

) {
const headerLines = request.headers.split('\r\n');
const hasSentryHeaders = headerLines.some(headerLine => headerLine.startsWith('sentry-trace:'));
let hasSentryHeaders;
if (Array.isArray(request.headers)) {
hasSentryHeaders = request.headers.some(headerLine => headerLine === 'sentry-trace');
} else {
const headerLines = request.headers.split('\r\n');
hasSentryHeaders = headerLines.some(headerLine => headerLine.startsWith('sentry-trace:'));
}

@@ -270,0 +275,0 @@ if (hasSentryHeaders) {

@@ -261,4 +261,9 @@ import { _optionalChain } from '@sentry/utils';

) {
const headerLines = request.headers.split('\r\n');
const hasSentryHeaders = headerLines.some(headerLine => headerLine.startsWith('sentry-trace:'));
let hasSentryHeaders;
if (Array.isArray(request.headers)) {
hasSentryHeaders = request.headers.some(headerLine => headerLine === 'sentry-trace');
} else {
const headerLines = request.headers.split('\r\n');
hasSentryHeaders = headerLines.some(headerLine => headerLine.startsWith('sentry-trace:'));
}

@@ -265,0 +270,0 @@ if (hasSentryHeaders) {

{
"name": "@sentry/node",
"version": "7.105.0",
"version": "7.106.0",
"description": "Official Sentry SDK for Node.js",

@@ -32,6 +32,6 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"dependencies": {
"@sentry-internal/tracing": "7.105.0",
"@sentry/core": "7.105.0",
"@sentry/types": "7.105.0",
"@sentry/utils": "7.105.0"
"@sentry-internal/tracing": "7.106.0",
"@sentry/core": "7.106.0",
"@sentry/types": "7.106.0",
"@sentry/utils": "7.106.0"
},

@@ -38,0 +38,0 @@ "devDependencies": {

@@ -200,3 +200,3 @@ /// <reference types="node" />

path: string;
headers: string;
headers: string | string[];
addHeader(key: string, value: string): RequestWithSentry;

@@ -203,0 +203,0 @@ }

@@ -201,3 +201,3 @@ /// <reference types="node" />

path: string;
headers: string;
headers: string | string[];
addHeader(key: string, value: string): RequestWithSentry;

@@ -204,0 +204,0 @@ }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc