@sentry/remix
Advanced tools
Comparing version 7.109.0 to 7.110.0
@@ -115,2 +115,3 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
exports.trace = node.trace; | ||
exports.trpcMiddleware = node.trpcMiddleware; | ||
exports.withActiveSpan = node.withActiveSpan; | ||
@@ -117,0 +118,0 @@ exports.withIsolationScope = node.withIsolationScope; |
@@ -346,2 +346,3 @@ var { | ||
function startRequestHandlerTransaction( | ||
// eslint-disable-next-line deprecation/deprecation | ||
hub, | ||
@@ -404,2 +405,9 @@ name, | ||
const upperCaseMethod = request.method.toUpperCase(); | ||
// We don't want to wrap OPTIONS and HEAD requests | ||
if (upperCaseMethod === 'OPTIONS' || upperCaseMethod === 'HEAD') { | ||
return origRequestHandler.call(this, request, loadContext); | ||
} | ||
return core.runWithAsyncContext(async () => { | ||
@@ -406,0 +414,0 @@ // eslint-disable-next-line deprecation/deprecation |
@@ -83,2 +83,3 @@ var { | ||
next, | ||
// eslint-disable-next-line deprecation/deprecation | ||
hub, | ||
@@ -85,0 +86,0 @@ url, |
import { applySdkMetadata } from '@sentry/core'; | ||
import { init as init$1, getCurrentScope, getClient } from '@sentry/node'; | ||
export * from '@sentry/node'; | ||
export { DEFAULT_USER_INCLUDES, Handlers, Hub, Integrations, NodeClient, SDK_VERSION, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, Scope, addBreadcrumb, addEventProcessor, addGlobalEventProcessor, addIntegration, addRequestDataToEvent, autoDiscoverNodePerformanceMonitoringIntegrations, captureCheckIn, captureEvent, captureException, captureMessage, close, configureScope, consoleIntegration, contextLinesIntegration, continueTrace, createGetModuleFromFilename, createTransport, cron, deepReadDirSync, defaultIntegrations, defaultStackParser, enableAnrDetection, extractRequestData, extractTraceparentData, flush, functionToStringIntegration, getActiveSpan, getActiveTransaction, getClient, getCurrentHub, getCurrentScope, getDefaultIntegrations, getGlobalScope, getHubFromCarrier, getIsolationScope, getModuleFromFilename, getSentryRelease, getSpanStatusFromHttpCode, hapiErrorPlugin, inboundFiltersIntegration, isInitialized, lastEventId, linkedErrorsIntegration, localVariablesIntegration, makeMain, makeNodeTransport, metrics, modulesIntegration, nodeContextIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, parameterize, requestDataIntegration, runWithAsyncContext, setContext, setCurrentClient, setExtra, setExtras, setHttpStatus, setMeasurement, setTag, setTags, setUser, spanStatusfromHttpCode, startInactiveSpan, startSpan, startSpanManual, startTransaction, trace, withActiveSpan, withIsolationScope, withMonitor, withScope } from '@sentry/node'; | ||
export { DEFAULT_USER_INCLUDES, Handlers, Hub, Integrations, NodeClient, SDK_VERSION, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, Scope, addBreadcrumb, addEventProcessor, addGlobalEventProcessor, addIntegration, addRequestDataToEvent, autoDiscoverNodePerformanceMonitoringIntegrations, captureCheckIn, captureEvent, captureException, captureMessage, close, configureScope, consoleIntegration, contextLinesIntegration, continueTrace, createGetModuleFromFilename, createTransport, cron, deepReadDirSync, defaultIntegrations, defaultStackParser, enableAnrDetection, extractRequestData, extractTraceparentData, flush, functionToStringIntegration, getActiveSpan, getActiveTransaction, getClient, getCurrentHub, getCurrentScope, getDefaultIntegrations, getGlobalScope, getHubFromCarrier, getIsolationScope, getModuleFromFilename, getSentryRelease, getSpanStatusFromHttpCode, hapiErrorPlugin, inboundFiltersIntegration, isInitialized, lastEventId, linkedErrorsIntegration, localVariablesIntegration, makeMain, makeNodeTransport, metrics, modulesIntegration, nodeContextIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, parameterize, requestDataIntegration, runWithAsyncContext, setContext, setCurrentClient, setExtra, setExtras, setHttpStatus, setMeasurement, setTag, setTags, setUser, spanStatusfromHttpCode, startInactiveSpan, startSpan, startSpanManual, startTransaction, trace, trpcMiddleware, withActiveSpan, withIsolationScope, withMonitor, withScope } from '@sentry/node'; | ||
import { logger } from '@sentry/utils'; | ||
@@ -6,0 +6,0 @@ import { DEBUG_BUILD } from './utils/debug-build.js'; |
@@ -341,2 +341,3 @@ import { _optionalChain } from '@sentry/utils'; | ||
function startRequestHandlerTransaction( | ||
// eslint-disable-next-line deprecation/deprecation | ||
hub, | ||
@@ -399,2 +400,9 @@ name, | ||
const upperCaseMethod = request.method.toUpperCase(); | ||
// We don't want to wrap OPTIONS and HEAD requests | ||
if (upperCaseMethod === 'OPTIONS' || upperCaseMethod === 'HEAD') { | ||
return origRequestHandler.call(this, request, loadContext); | ||
} | ||
return runWithAsyncContext(async () => { | ||
@@ -401,0 +409,0 @@ // eslint-disable-next-line deprecation/deprecation |
@@ -78,2 +78,3 @@ import { _optionalChain } from '@sentry/utils'; | ||
next, | ||
// eslint-disable-next-line deprecation/deprecation | ||
hub, | ||
@@ -80,0 +81,0 @@ url, |
{ | ||
"name": "@sentry/remix", | ||
"version": "7.109.0", | ||
"version": "7.110.0", | ||
"description": "Official Sentry SDK for Remix", | ||
@@ -39,7 +39,7 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"@sentry/cli": "^2.28.0", | ||
"@sentry/core": "7.109.0", | ||
"@sentry/node": "7.109.0", | ||
"@sentry/react": "7.109.0", | ||
"@sentry/types": "7.109.0", | ||
"@sentry/utils": "7.109.0", | ||
"@sentry/core": "7.110.0", | ||
"@sentry/node": "7.110.0", | ||
"@sentry/react": "7.110.0", | ||
"@sentry/types": "7.110.0", | ||
"@sentry/utils": "7.110.0", | ||
"glob": "^10.3.4", | ||
@@ -46,0 +46,0 @@ "yargs": "^17.6.0" |
import { RemixOptions } from './utils/remixOptions'; | ||
export { addGlobalEventProcessor, addEventProcessor, addBreadcrumb, addIntegration, captureCheckIn, withMonitor, captureException, captureEvent, captureMessage, configureScope, createTransport, extractTraceparentData, getActiveTransaction, getHubFromCarrier, getCurrentHub, getClient, getCurrentScope, getGlobalScope, getIsolationScope, Hub, makeMain, setCurrentClient, NodeClient, Scope, startTransaction, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, spanStatusfromHttpCode, getSpanStatusFromHttpCode, setHttpStatus, trace, withScope, withIsolationScope, autoDiscoverNodePerformanceMonitoringIntegrations, makeNodeTransport, defaultIntegrations, getDefaultIntegrations, defaultStackParser, lastEventId, flush, close, getSentryRelease, addRequestDataToEvent, DEFAULT_USER_INCLUDES, extractRequestData, deepReadDirSync, Integrations, consoleIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, modulesIntegration, contextLinesIntegration, nodeContextIntegration, localVariablesIntegration, requestDataIntegration, functionToStringIntegration, inboundFiltersIntegration, linkedErrorsIntegration, Handlers, setMeasurement, getActiveSpan, startSpan, startSpanManual, startInactiveSpan, withActiveSpan, continueTrace, isInitialized, cron, parameterize, metrics, getModuleFromFilename, createGetModuleFromFilename, hapiErrorPlugin, runWithAsyncContext, enableAnrDetection, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, } from '@sentry/node'; | ||
export { addGlobalEventProcessor, addEventProcessor, addBreadcrumb, addIntegration, captureCheckIn, withMonitor, captureException, captureEvent, captureMessage, configureScope, createTransport, extractTraceparentData, getActiveTransaction, getHubFromCarrier, getCurrentHub, getClient, getCurrentScope, getGlobalScope, getIsolationScope, Hub, makeMain, setCurrentClient, NodeClient, Scope, startTransaction, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, spanStatusfromHttpCode, getSpanStatusFromHttpCode, setHttpStatus, trace, withScope, withIsolationScope, autoDiscoverNodePerformanceMonitoringIntegrations, makeNodeTransport, defaultIntegrations, getDefaultIntegrations, defaultStackParser, lastEventId, flush, close, getSentryRelease, addRequestDataToEvent, DEFAULT_USER_INCLUDES, extractRequestData, deepReadDirSync, Integrations, consoleIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, modulesIntegration, contextLinesIntegration, nodeContextIntegration, localVariablesIntegration, requestDataIntegration, functionToStringIntegration, inboundFiltersIntegration, linkedErrorsIntegration, Handlers, trpcMiddleware, setMeasurement, getActiveSpan, startSpan, startSpanManual, startInactiveSpan, withActiveSpan, continueTrace, isInitialized, cron, parameterize, metrics, getModuleFromFilename, createGetModuleFromFilename, hapiErrorPlugin, runWithAsyncContext, enableAnrDetection, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, } from '@sentry/node'; | ||
export * from '@sentry/node'; | ||
@@ -4,0 +4,0 @@ export { captureRemixServerException, wrapRemixHandleError } from './utils/instrumentServer'; |
import type { RemixOptions } from './utils/remixOptions'; | ||
export { addGlobalEventProcessor, addEventProcessor, addBreadcrumb, addIntegration, captureCheckIn, withMonitor, captureException, captureEvent, captureMessage, configureScope, createTransport, extractTraceparentData, getActiveTransaction, getHubFromCarrier, getCurrentHub, getClient, getCurrentScope, getGlobalScope, getIsolationScope, Hub, makeMain, setCurrentClient, NodeClient, Scope, startTransaction, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, spanStatusfromHttpCode, getSpanStatusFromHttpCode, setHttpStatus, trace, withScope, withIsolationScope, autoDiscoverNodePerformanceMonitoringIntegrations, makeNodeTransport, defaultIntegrations, getDefaultIntegrations, defaultStackParser, lastEventId, flush, close, getSentryRelease, addRequestDataToEvent, DEFAULT_USER_INCLUDES, extractRequestData, deepReadDirSync, Integrations, consoleIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, modulesIntegration, contextLinesIntegration, nodeContextIntegration, localVariablesIntegration, requestDataIntegration, functionToStringIntegration, inboundFiltersIntegration, linkedErrorsIntegration, Handlers, setMeasurement, getActiveSpan, startSpan, startSpanManual, startInactiveSpan, withActiveSpan, continueTrace, isInitialized, cron, parameterize, metrics, getModuleFromFilename, createGetModuleFromFilename, hapiErrorPlugin, runWithAsyncContext, enableAnrDetection, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, } from '@sentry/node'; | ||
export { addGlobalEventProcessor, addEventProcessor, addBreadcrumb, addIntegration, captureCheckIn, withMonitor, captureException, captureEvent, captureMessage, configureScope, createTransport, extractTraceparentData, getActiveTransaction, getHubFromCarrier, getCurrentHub, getClient, getCurrentScope, getGlobalScope, getIsolationScope, Hub, makeMain, setCurrentClient, NodeClient, Scope, startTransaction, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, spanStatusfromHttpCode, getSpanStatusFromHttpCode, setHttpStatus, trace, withScope, withIsolationScope, autoDiscoverNodePerformanceMonitoringIntegrations, makeNodeTransport, defaultIntegrations, getDefaultIntegrations, defaultStackParser, lastEventId, flush, close, getSentryRelease, addRequestDataToEvent, DEFAULT_USER_INCLUDES, extractRequestData, deepReadDirSync, Integrations, consoleIntegration, onUncaughtExceptionIntegration, onUnhandledRejectionIntegration, modulesIntegration, contextLinesIntegration, nodeContextIntegration, localVariablesIntegration, requestDataIntegration, functionToStringIntegration, inboundFiltersIntegration, linkedErrorsIntegration, Handlers, trpcMiddleware, setMeasurement, getActiveSpan, startSpan, startSpanManual, startInactiveSpan, withActiveSpan, continueTrace, isInitialized, cron, parameterize, metrics, getModuleFromFilename, createGetModuleFromFilename, hapiErrorPlugin, runWithAsyncContext, enableAnrDetection, SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, } from '@sentry/node'; | ||
export * from '@sentry/node'; | ||
@@ -4,0 +4,0 @@ export { captureRemixServerException, wrapRemixHandleError } from './utils/instrumentServer'; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
587500
3954
+ Added@sentry-internal/feedback@7.110.0(transitive)
+ Added@sentry-internal/replay-canvas@7.110.0(transitive)
+ Added@sentry-internal/tracing@7.110.0(transitive)
+ Added@sentry/browser@7.110.0(transitive)
+ Added@sentry/core@7.110.0(transitive)
+ Added@sentry/node@7.110.0(transitive)
+ Added@sentry/react@7.110.0(transitive)
+ Added@sentry/replay@7.110.0(transitive)
+ Added@sentry/types@7.110.0(transitive)
+ Added@sentry/utils@7.110.0(transitive)
- Removed@sentry-internal/feedback@7.109.0(transitive)
- Removed@sentry-internal/replay-canvas@7.109.0(transitive)
- Removed@sentry-internal/tracing@7.109.0(transitive)
- Removed@sentry/browser@7.109.0(transitive)
- Removed@sentry/core@7.109.0(transitive)
- Removed@sentry/node@7.109.0(transitive)
- Removed@sentry/react@7.109.0(transitive)
- Removed@sentry/replay@7.109.0(transitive)
- Removed@sentry/types@7.109.0(transitive)
- Removed@sentry/utils@7.109.0(transitive)
Updated@sentry/core@7.110.0
Updated@sentry/node@7.110.0
Updated@sentry/react@7.110.0
Updated@sentry/types@7.110.0
Updated@sentry/utils@7.110.0