Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sentry/remix

Package Overview
Dependencies
Maintainers
11
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/remix - npm Package Compare versions

Comparing version 8.0.0-alpha.5 to 8.0.0-alpha.7

21

cjs/utils/serverAdapters/express.js

@@ -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 @@

23

esm/utils/serverAdapters/express.js
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

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