Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@sentry/node

Package Overview
Dependencies
Maintainers
1
Versions
687
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/node - npm Package Compare versions

Comparing version
10.38.0
to
10.39.0-alpha.0
+1
-0
build/cjs/index.js

@@ -216,2 +216,3 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

exports.validateOpenTelemetrySetup = nodeCore.validateOpenTelemetrySetup;
exports.withStreamSpan = nodeCore.withStreamSpan;
//# sourceMappingURL=index.js.map
+1
-1

@@ -55,3 +55,3 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

if (!url.endsWith('/') && !path.startsWith('/')) {
return `${url}/${path.slice(1)}`;
return `${url}/${path}`;
}

@@ -58,0 +58,0 @@

@@ -222,3 +222,3 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

const opPrefix = isHook ? 'hook' : isHandler ? 'middleware' : isRequestHandler ? 'request-handler' : '<unknown>';
const opPrefix = isHook ? 'hook' : isHandler ? 'middleware' : isRequestHandler ? 'request_handler' : '<unknown>';

@@ -225,0 +225,0 @@ span.setAttributes({

@@ -18,2 +18,3 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

'embedMany',
'rerank',
] ;

@@ -230,3 +231,6 @@

for (const method of INSTRUMENTED_METHODS) {
moduleExports[method] = generatePatch(moduleExports[method]);
// Skip methods that don't exist in this version of the AI SDK (e.g., rerank was added in v6)
if (moduleExports[method] != null) {
moduleExports[method] = generatePatch(moduleExports[method]);
}
}

@@ -239,3 +243,6 @@

const patchedModuleExports = INSTRUMENTED_METHODS.reduce((acc, curr) => {
acc[curr] = generatePatch(moduleExports[curr]);
// Skip methods that don't exist in this version of the AI SDK (e.g., rerank was added in v6)
if (moduleExports[curr] != null) {
acc[curr] = generatePatch(moduleExports[curr]);
}
return acc;

@@ -242,0 +249,0 @@ }, {} );

@@ -87,2 +87,3 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });

timeout: _clampSpanProcessorTimeout(client.getOptions().maxSpanWaitDuration),
client,
}),

@@ -89,0 +90,0 @@ ...(options.spanProcessors || []),

@@ -43,3 +43,3 @@ export { httpIntegration } from './integrations/http.js';

export { SDK_VERSION, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, Scope, addBreadcrumb, addEventProcessor, addIntegration, captureCheckIn, captureConsoleIntegration, captureEvent, captureException, captureFeedback, captureMessage, captureSession, close, consoleIntegration, consoleLoggingIntegration, continueTrace, createConsolaReporter, createLangChainCallbackHandler, createTransport, dedupeIntegration, endSession, eventFiltersIntegration, extraErrorDataIntegration, featureFlagsIntegration, flush, functionToStringIntegration, getActiveSpan, getClient, getCurrentScope, getGlobalScope, getIsolationScope, getRootSpan, getSpanDescendants, getSpanStatusFromHttpCode, getTraceData, getTraceMetaTags, httpHeadersToSpanAttributes, inboundFiltersIntegration, instrumentAnthropicAiClient, instrumentGoogleGenAIClient, instrumentLangGraph, instrumentOpenAiClient, instrumentStateGraphCompile, instrumentSupabaseClient, isEnabled, isInitialized, lastEventId, linkedErrorsIntegration, parameterize, profiler, requestDataIntegration, rewriteFramesIntegration, setContext, setConversationId, setCurrentClient, setExtra, setExtras, setHttpStatus, setMeasurement, setTag, setTags, setUser, spanToBaggageHeader, spanToJSON, spanToTraceHeader, startInactiveSpan, startNewTrace, startSession, startSpan, startSpanManual, supabaseIntegration, suppressTracing, trpcMiddleware, updateSpanName, winterCGHeadersToDict, withActiveSpan, withIsolationScope, withMonitor, withScope, wrapMcpServerWithSentry, zodErrorsIntegration } from '@sentry/core';
export { NODE_VERSION, NodeClient, SentryContextManager, anrIntegration, childProcessIntegration, contextLinesIntegration, createGetModuleFromFilename, createSentryWinstonTransport, cron, defaultStackParser, disableAnrDetectionForCallback, generateInstrumentOnce, getSentryRelease, httpServerIntegration, httpServerSpansIntegration, localVariablesIntegration, logger, makeNodeTransport, metrics, modulesIntegration, nodeContextIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, pinoIntegration, processSessionIntegration, spotlightIntegration, systemErrorIntegration, validateOpenTelemetrySetup } from '@sentry/node-core';
export { NODE_VERSION, NodeClient, SentryContextManager, anrIntegration, childProcessIntegration, contextLinesIntegration, createGetModuleFromFilename, createSentryWinstonTransport, cron, defaultStackParser, disableAnrDetectionForCallback, generateInstrumentOnce, getSentryRelease, httpServerIntegration, httpServerSpansIntegration, localVariablesIntegration, logger, makeNodeTransport, metrics, modulesIntegration, nodeContextIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, pinoIntegration, processSessionIntegration, spotlightIntegration, systemErrorIntegration, validateOpenTelemetrySetup, withStreamSpan } from '@sentry/node-core';
//# sourceMappingURL=index.js.map

@@ -53,3 +53,3 @@ import { UndiciInstrumentation } from '@opentelemetry/instrumentation-undici';

if (!url.endsWith('/') && !path.startsWith('/')) {
return `${url}/${path.slice(1)}`;
return `${url}/${path}`;
}

@@ -56,0 +56,0 @@

@@ -220,3 +220,3 @@ import * as dc from 'node:diagnostics_channel';

const opPrefix = isHook ? 'hook' : isHandler ? 'middleware' : isRequestHandler ? 'request-handler' : '<unknown>';
const opPrefix = isHook ? 'hook' : isHandler ? 'middleware' : isRequestHandler ? 'request_handler' : '<unknown>';

@@ -223,0 +223,0 @@ span.setAttributes({

@@ -16,2 +16,3 @@ import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation';

'embedMany',
'rerank',
] ;

@@ -228,3 +229,6 @@

for (const method of INSTRUMENTED_METHODS) {
moduleExports[method] = generatePatch(moduleExports[method]);
// Skip methods that don't exist in this version of the AI SDK (e.g., rerank was added in v6)
if (moduleExports[method] != null) {
moduleExports[method] = generatePatch(moduleExports[method]);
}
}

@@ -237,3 +241,6 @@

const patchedModuleExports = INSTRUMENTED_METHODS.reduce((acc, curr) => {
acc[curr] = generatePatch(moduleExports[curr]);
// Skip methods that don't exist in this version of the AI SDK (e.g., rerank was added in v6)
if (moduleExports[curr] != null) {
acc[curr] = generatePatch(moduleExports[curr]);
}
return acc;

@@ -240,0 +247,0 @@ }, {} );

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

{"type":"module","version":"10.38.0","sideEffects":false}
{"type":"module","version":"10.39.0-alpha.0","sideEffects":false}

@@ -85,2 +85,3 @@ import { trace, propagation, context } from '@opentelemetry/api';

timeout: _clampSpanProcessorTimeout(client.getOptions().maxSpanWaitDuration),
client,
}),

@@ -87,0 +88,0 @@ ...(options.spanProcessors || []),

@@ -41,3 +41,3 @@ export { httpIntegration } from './integrations/http';

export { Breadcrumb, BreadcrumbHint, PolymorphicRequest, RequestEventData, SdkInfo, Event, EventHint, ErrorEvent, Exception, Session, SeverityLevel, StackFrame, Stacktrace, Thread, User, Span, Metric, Log, LogSeverityLevel, FeatureFlagsIntegration, ExclusiveEventHintOrCaptureContext, CaptureContext, } from '@sentry/core';
export { logger, metrics, httpServerIntegration, httpServerSpansIntegration, nodeContextIntegration, contextLinesIntegration, localVariablesIntegration, modulesIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, anrIntegration, disableAnrDetectionForCallback, spotlightIntegration, childProcessIntegration, processSessionIntegration, pinoIntegration, createSentryWinstonTransport, SentryContextManager, systemErrorIntegration, generateInstrumentOnce, getSentryRelease, defaultStackParser, createGetModuleFromFilename, makeNodeTransport, NodeClient, cron, NODE_VERSION, validateOpenTelemetrySetup, } from '@sentry/node-core';
export { logger, metrics, httpServerIntegration, httpServerSpansIntegration, nodeContextIntegration, contextLinesIntegration, localVariablesIntegration, modulesIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, anrIntegration, disableAnrDetectionForCallback, spotlightIntegration, childProcessIntegration, processSessionIntegration, pinoIntegration, createSentryWinstonTransport, SentryContextManager, systemErrorIntegration, generateInstrumentOnce, getSentryRelease, defaultStackParser, createGetModuleFromFilename, makeNodeTransport, NodeClient, cron, NODE_VERSION, validateOpenTelemetrySetup, withStreamSpan, } from '@sentry/node-core';
//# sourceMappingURL=index.d.ts.map

@@ -41,3 +41,3 @@ export { httpIntegration } from './integrations/http';

export type { Breadcrumb, BreadcrumbHint, PolymorphicRequest, RequestEventData, SdkInfo, Event, EventHint, ErrorEvent, Exception, Session, SeverityLevel, StackFrame, Stacktrace, Thread, User, Span, Metric, Log, LogSeverityLevel, FeatureFlagsIntegration, ExclusiveEventHintOrCaptureContext, CaptureContext, } from '@sentry/core';
export { logger, metrics, httpServerIntegration, httpServerSpansIntegration, nodeContextIntegration, contextLinesIntegration, localVariablesIntegration, modulesIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, anrIntegration, disableAnrDetectionForCallback, spotlightIntegration, childProcessIntegration, processSessionIntegration, pinoIntegration, createSentryWinstonTransport, SentryContextManager, systemErrorIntegration, generateInstrumentOnce, getSentryRelease, defaultStackParser, createGetModuleFromFilename, makeNodeTransport, NodeClient, cron, NODE_VERSION, validateOpenTelemetrySetup, } from '@sentry/node-core';
export { logger, metrics, httpServerIntegration, httpServerSpansIntegration, nodeContextIntegration, contextLinesIntegration, localVariablesIntegration, modulesIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, anrIntegration, disableAnrDetectionForCallback, spotlightIntegration, childProcessIntegration, processSessionIntegration, pinoIntegration, createSentryWinstonTransport, SentryContextManager, systemErrorIntegration, generateInstrumentOnce, getSentryRelease, defaultStackParser, createGetModuleFromFilename, makeNodeTransport, NodeClient, cron, NODE_VERSION, validateOpenTelemetrySetup, withStreamSpan, } from '@sentry/node-core';
//# sourceMappingURL=index.d.ts.map
{
"name": "@sentry/node",
"version": "10.38.0",
"version": "10.39.0-alpha.0",
"description": "Sentry Node SDK using OpenTelemetry for performance instrumentation",

@@ -98,5 +98,5 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"@prisma/instrumentation": "7.2.0",
"@sentry/core": "10.38.0",
"@sentry/node-core": "10.38.0",
"@sentry/opentelemetry": "10.38.0",
"@sentry/core": "10.39.0-alpha.0",
"@sentry/node-core": "10.39.0-alpha.0",
"@sentry/opentelemetry": "10.39.0-alpha.0",
"import-in-the-middle": "^2.0.6",

@@ -103,0 +103,0 @@ "minimatch": "^9.0.0"

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

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