@sentry/remix
Advanced tools
Comparing version 8.0.0-alpha.5 to 8.0.0-alpha.7
@@ -30,4 +30,2 @@ var { | ||
const request = utils.extractRequestData(req); | ||
// eslint-disable-next-line deprecation/deprecation | ||
const hub = core.getCurrentHub(); | ||
const options = _optionalChain([core.getClient, 'call', _ => _(), 'optionalAccess', _2 => _2.getOptions, 'call', _3 => _3()]); | ||
@@ -51,3 +49,3 @@ | ||
startRequestHandlerTransactionWithRoutes.call(this, origRequestHandler, routes, req, res, next, hub, url); | ||
startRequestHandlerTransactionWithRoutes.call(this, origRequestHandler, routes, req, res, next, url); | ||
}); | ||
@@ -57,12 +55,3 @@ } else { | ||
return startRequestHandlerTransactionWithRoutes.call( | ||
this, | ||
origRequestHandler, | ||
routes, | ||
req, | ||
res, | ||
next, | ||
hub, | ||
url, | ||
); | ||
return startRequestHandlerTransactionWithRoutes.call(this, origRequestHandler, routes, req, res, next, url); | ||
} | ||
@@ -73,3 +62,3 @@ } else { | ||
return startRequestHandlerTransactionWithRoutes.call(this, origRequestHandler, routes, req, res, next, hub, url); | ||
return startRequestHandlerTransactionWithRoutes.call(this, origRequestHandler, routes, req, res, next, url); | ||
}); | ||
@@ -86,3 +75,2 @@ }; | ||
next, | ||
hub, | ||
url, | ||
@@ -154,3 +142,2 @@ ) { | ||
) { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
return function ( options) { | ||
@@ -191,3 +178,3 @@ if (!('getLoadContext' in options)) { | ||
return origEnd.call(this, ...args); | ||
}; | ||
} ; | ||
} | ||
@@ -194,0 +181,0 @@ |
import { _optionalChain } from '@sentry/utils'; | ||
import { withIsolationScope, getCurrentHub, hasTracingEnabled, setHttpStatus, getClient } from '@sentry/core'; | ||
import { withIsolationScope, hasTracingEnabled, setHttpStatus, getClient } from '@sentry/core'; | ||
import { flush } from '@sentry/node'; | ||
@@ -25,4 +25,2 @@ import { fill, extractRequestData, isString, logger } from '@sentry/utils'; | ||
const request = extractRequestData(req); | ||
// eslint-disable-next-line deprecation/deprecation | ||
const hub = getCurrentHub(); | ||
const options = _optionalChain([getClient, 'call', _ => _(), 'optionalAccess', _2 => _2.getOptions, 'call', _3 => _3()]); | ||
@@ -46,3 +44,3 @@ | ||
startRequestHandlerTransactionWithRoutes.call(this, origRequestHandler, routes, req, res, next, hub, url); | ||
startRequestHandlerTransactionWithRoutes.call(this, origRequestHandler, routes, req, res, next, url); | ||
}); | ||
@@ -52,12 +50,3 @@ } else { | ||
return startRequestHandlerTransactionWithRoutes.call( | ||
this, | ||
origRequestHandler, | ||
routes, | ||
req, | ||
res, | ||
next, | ||
hub, | ||
url, | ||
); | ||
return startRequestHandlerTransactionWithRoutes.call(this, origRequestHandler, routes, req, res, next, url); | ||
} | ||
@@ -68,3 +57,3 @@ } else { | ||
return startRequestHandlerTransactionWithRoutes.call(this, origRequestHandler, routes, req, res, next, hub, url); | ||
return startRequestHandlerTransactionWithRoutes.call(this, origRequestHandler, routes, req, res, next, url); | ||
}); | ||
@@ -81,3 +70,2 @@ }; | ||
next, | ||
hub, | ||
url, | ||
@@ -149,3 +137,2 @@ ) { | ||
) { | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
return function ( options) { | ||
@@ -186,3 +173,3 @@ if (!('getLoadContext' in options)) { | ||
return origEnd.call(this, ...args); | ||
}; | ||
} ; | ||
} | ||
@@ -189,0 +176,0 @@ |
{ | ||
"name": "@sentry/remix", | ||
"version": "8.0.0-alpha.5", | ||
"version": "8.0.0-alpha.7", | ||
"description": "Official Sentry SDK for Remix", | ||
@@ -50,8 +50,8 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"@sentry/cli": "^2.30.2", | ||
"@sentry/core": "8.0.0-alpha.5", | ||
"@sentry/node": "8.0.0-alpha.5", | ||
"@sentry/opentelemetry": "8.0.0-alpha.5", | ||
"@sentry/react": "8.0.0-alpha.5", | ||
"@sentry/types": "8.0.0-alpha.5", | ||
"@sentry/utils": "8.0.0-alpha.5", | ||
"@sentry/core": "8.0.0-alpha.7", | ||
"@sentry/node": "8.0.0-alpha.7", | ||
"@sentry/opentelemetry": "8.0.0-alpha.7", | ||
"@sentry/react": "8.0.0-alpha.7", | ||
"@sentry/types": "8.0.0-alpha.7", | ||
"@sentry/utils": "8.0.0-alpha.7", | ||
"glob": "^10.3.4", | ||
@@ -58,0 +58,0 @@ "yargs": "^17.6.0" |
@@ -14,3 +14,2 @@ export * from './index.client'; | ||
export declare const defaultStackParser: StackParser; | ||
export declare const makeMain: typeof clientSdk.makeMain; | ||
export declare const getCurrentHub: typeof clientSdk.getCurrentHub; | ||
@@ -17,0 +16,0 @@ export declare const getClient: typeof clientSdk.getClient; |
@@ -14,3 +14,2 @@ export * from './index.client'; | ||
export declare const defaultStackParser: StackParser; | ||
export declare const makeMain: typeof clientSdk.makeMain; | ||
export declare const getCurrentHub: typeof clientSdk.getCurrentHub; | ||
@@ -17,0 +16,0 @@ export declare const getClient: typeof clientSdk.getClient; |
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
554426
3832
+ Added@sentry-internal/feedback@8.0.0-alpha.7(transitive)
+ Added@sentry-internal/replay@8.0.0-alpha.7(transitive)
+ Added@sentry-internal/replay-canvas@8.0.0-alpha.7(transitive)
+ Added@sentry-internal/tracing@8.0.0-alpha.7(transitive)
+ Added@sentry/browser@8.0.0-alpha.7(transitive)
+ Added@sentry/core@8.0.0-alpha.7(transitive)
+ Added@sentry/node@8.0.0-alpha.7(transitive)
+ Added@sentry/opentelemetry@8.0.0-alpha.7(transitive)
+ Added@sentry/react@8.0.0-alpha.7(transitive)
+ Added@sentry/types@8.0.0-alpha.7(transitive)
+ Added@sentry/utils@8.0.0-alpha.7(transitive)
+ Addedopentelemetry-instrumentation-fetch-node@1.1.2(transitive)
- Removed@sentry-internal/feedback@8.0.0-alpha.5(transitive)
- Removed@sentry-internal/replay-canvas@8.0.0-alpha.5(transitive)
- Removed@sentry-internal/tracing@8.0.0-alpha.5(transitive)
- Removed@sentry/browser@8.0.0-alpha.5(transitive)
- Removed@sentry/core@8.0.0-alpha.5(transitive)
- Removed@sentry/node@8.0.0-alpha.5(transitive)
- Removed@sentry/opentelemetry@8.0.0-alpha.5(transitive)
- Removed@sentry/react@8.0.0-alpha.5(transitive)
- Removed@sentry/replay@8.0.0-alpha.5(transitive)
- Removed@sentry/types@8.0.0-alpha.5(transitive)
- Removed@sentry/utils@8.0.0-alpha.5(transitive)
- Removedopentelemetry-instrumentation-fetch-node@1.1.0(transitive)
Updated@sentry/core@8.0.0-alpha.7
Updated@sentry/node@8.0.0-alpha.7
Updated@sentry/react@8.0.0-alpha.7
Updated@sentry/types@8.0.0-alpha.7
Updated@sentry/utils@8.0.0-alpha.7