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

@sentry/remix

Package Overview
Dependencies
Maintainers
12
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 7.68.0 to 7.69.0

8

cjs/client/performance.js

@@ -94,3 +94,3 @@ var {

// @ts-ignore Setting more specific React Component typing for `R` generic above
// @ts-expect-error Setting more specific React Component typing for `R` generic above
// will break advanced type inference done by react router params

@@ -141,3 +141,3 @@ return React.createElement(OrigApp, { ...props, __self: this, __source: {fileName: _jsxFileName, lineNumber: 113}} );

// @ts-ignore Setting more specific React Component typing for `R` generic above
// @ts-expect-error Setting more specific React Component typing for `R` generic above
// will break advanced type inference done by react router params

@@ -148,3 +148,3 @@ return React.createElement(OrigApp, { ...props, __self: this, __source: {fileName: _jsxFileName, lineNumber: 159}} );

if (options.wrapWithErrorBoundary) {
// @ts-ignore Setting more specific React Component typing for `R` generic above
// @ts-expect-error Setting more specific React Component typing for `R` generic above
// will break advanced type inference done by react router params

@@ -154,3 +154,3 @@ return react.withErrorBoundary(SentryRoot, options.errorBoundaryOptions);

// @ts-ignore Setting more specific React Component typing for `R` generic above
// @ts-expect-error Setting more specific React Component typing for `R` generic above
// will break advanced type inference done by react router params

@@ -157,0 +157,0 @@ return SentryRoot;

@@ -115,8 +115,3 @@ var {

const activeTransaction = core.getActiveTransaction();
const currentScope = node.getCurrentHub().getScope();
if (!currentScope) {
return origDocumentRequestFunction.call(this, request, responseStatusCode, responseHeaders, context, loadContext);
}
try {

@@ -161,6 +156,2 @@ const span = _optionalChain([activeTransaction, 'optionalAccess', _3 => _3.startChild, 'call', _4 => _4({

if (!currentScope) {
return origFn.call(this, args);
}
try {

@@ -214,13 +205,11 @@ const span = _optionalChain([activeTransaction, 'optionalAccess', _8 => _8.startChild, 'call', _9 => _9({

if (utils.isNodeEnv() && core.hasTracingEnabled()) {
if (currentScope) {
const span = currentScope.getSpan();
const span = currentScope.getSpan();
if (span && transaction) {
const dynamicSamplingContext = transaction.getDynamicSamplingContext();
if (span && transaction) {
const dynamicSamplingContext = transaction.getDynamicSamplingContext();
return {
sentryTrace: span.toTraceparent(),
sentryBaggage: utils.dynamicSamplingContextToSentryBaggageHeader(dynamicSamplingContext),
};
}
return {
sentryTrace: span.toTraceparent(),
sentryBaggage: utils.dynamicSamplingContextToSentryBaggageHeader(dynamicSamplingContext),
};
}

@@ -359,12 +348,10 @@ }

if (scope) {
scope.setSDKProcessingMetadata({
request: {
...normalizedRequest,
route: {
path: name,
},
scope.setSDKProcessingMetadata({
request: {
...normalizedRequest,
route: {
path: name,
},
});
}
},
});

@@ -371,0 +358,0 @@ if (!options || !core.hasTracingEnabled(options)) {

@@ -52,5 +52,3 @@ var {

if (scope) {
scope.setSDKProcessingMetadata({ request });
}
scope.setSDKProcessingMetadata({ request });

@@ -57,0 +55,0 @@ if (!options || !core.hasTracingEnabled(options) || !request.url || !request.method) {

@@ -122,2 +122,3 @@ Object.defineProperty(exports, '__esModule', { value: true });

*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function isDeferredData(value) {

@@ -124,0 +125,0 @@ const deferred = value;

@@ -120,7 +120,7 @@ Object.defineProperty(exports, '__esModule', { value: true });

search: parsedURL.search,
// @ts-ignore - it does not has a query
// @ts-expect-error - it does not has a query
query: parsedURL.query,
href: parsedURL.href,
method: request.method,
// @ts-ignore - not sure what this supposed to do
// @ts-expect-error - not sure what this supposed to do
headers: headers[Symbol.for('nodejs.util.inspect.custom')](),

@@ -127,0 +127,0 @@ insecureHTTPParser: request.insecureHTTPParser,

@@ -89,3 +89,3 @@ import { _optionalChain } from '@sentry/utils/esm/buildPolyfills';

// @ts-ignore Setting more specific React Component typing for `R` generic above
// @ts-expect-error Setting more specific React Component typing for `R` generic above
// will break advanced type inference done by react router params

@@ -136,3 +136,3 @@ return React.createElement(OrigApp, { ...props, __self: this, __source: {fileName: _jsxFileName, lineNumber: 113}} );

// @ts-ignore Setting more specific React Component typing for `R` generic above
// @ts-expect-error Setting more specific React Component typing for `R` generic above
// will break advanced type inference done by react router params

@@ -143,3 +143,3 @@ return React.createElement(OrigApp, { ...props, __self: this, __source: {fileName: _jsxFileName, lineNumber: 159}} );

if (options.wrapWithErrorBoundary) {
// @ts-ignore Setting more specific React Component typing for `R` generic above
// @ts-expect-error Setting more specific React Component typing for `R` generic above
// will break advanced type inference done by react router params

@@ -149,3 +149,3 @@ return withErrorBoundary(SentryRoot, options.errorBoundaryOptions);

// @ts-ignore Setting more specific React Component typing for `R` generic above
// @ts-expect-error Setting more specific React Component typing for `R` generic above
// will break advanced type inference done by react router params

@@ -152,0 +152,0 @@ return SentryRoot;

@@ -110,8 +110,3 @@ import { _optionalChain } from '@sentry/utils/esm/buildPolyfills';

const activeTransaction = getActiveTransaction();
const currentScope = getCurrentHub().getScope();
if (!currentScope) {
return origDocumentRequestFunction.call(this, request, responseStatusCode, responseHeaders, context, loadContext);
}
try {

@@ -156,6 +151,2 @@ const span = _optionalChain([activeTransaction, 'optionalAccess', _3 => _3.startChild, 'call', _4 => _4({

if (!currentScope) {
return origFn.call(this, args);
}
try {

@@ -209,13 +200,11 @@ const span = _optionalChain([activeTransaction, 'optionalAccess', _8 => _8.startChild, 'call', _9 => _9({

if (isNodeEnv() && hasTracingEnabled()) {
if (currentScope) {
const span = currentScope.getSpan();
const span = currentScope.getSpan();
if (span && transaction) {
const dynamicSamplingContext = transaction.getDynamicSamplingContext();
if (span && transaction) {
const dynamicSamplingContext = transaction.getDynamicSamplingContext();
return {
sentryTrace: span.toTraceparent(),
sentryBaggage: dynamicSamplingContextToSentryBaggageHeader(dynamicSamplingContext),
};
}
return {
sentryTrace: span.toTraceparent(),
sentryBaggage: dynamicSamplingContextToSentryBaggageHeader(dynamicSamplingContext),
};
}

@@ -354,12 +343,10 @@ }

if (scope) {
scope.setSDKProcessingMetadata({
request: {
...normalizedRequest,
route: {
path: name,
},
scope.setSDKProcessingMetadata({
request: {
...normalizedRequest,
route: {
path: name,
},
});
}
},
});

@@ -366,0 +353,0 @@ if (!options || !hasTracingEnabled(options)) {

@@ -47,5 +47,3 @@ import { _optionalChain } from '@sentry/utils/esm/buildPolyfills';

if (scope) {
scope.setSDKProcessingMetadata({ request });
}
scope.setSDKProcessingMetadata({ request });

@@ -52,0 +50,0 @@ if (!options || !hasTracingEnabled(options) || !request.url || !request.method) {

@@ -120,2 +120,3 @@ /**

*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function isDeferredData(value) {

@@ -122,0 +123,0 @@ const deferred = value;

@@ -118,7 +118,7 @@ import { logger } from '@sentry/utils';

search: parsedURL.search,
// @ts-ignore - it does not has a query
// @ts-expect-error - it does not has a query
query: parsedURL.query,
href: parsedURL.href,
method: request.method,
// @ts-ignore - not sure what this supposed to do
// @ts-expect-error - not sure what this supposed to do
headers: headers[Symbol.for('nodejs.util.inspect.custom')](),

@@ -125,0 +125,0 @@ insecureHTTPParser: request.insecureHTTPParser,

{
"name": "@sentry/remix",
"version": "7.68.0",
"version": "7.69.0",
"description": "Official Sentry SDK for Remix",

@@ -31,7 +31,8 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"@sentry/cli": "2.20.5",
"@sentry/core": "7.68.0",
"@sentry/node": "7.68.0",
"@sentry/react": "7.68.0",
"@sentry/types": "7.68.0",
"@sentry/utils": "7.68.0",
"@sentry/core": "7.69.0",
"@sentry/node": "7.69.0",
"@sentry/react": "7.69.0",
"@sentry/types": "7.69.0",
"@sentry/utils": "7.69.0",
"glob": "^10.3.4",
"tslib": "^2.4.1 || ^1.9.3",

@@ -38,0 +39,0 @@ "yargs": "^17.6.0"

@@ -6,5 +6,9 @@ /* eslint-disable no-console */

const sentry = new SentryCli();
async function createRelease(argv, URL_PREFIX, BUILD_PATH) {
const sentry = new SentryCli(null, {
url: argv.url,
org: argv.org,
project: argv.project,
});
async function createRelease(argv, URL_PREFIX, BUILD_PATH) {
let release;

@@ -11,0 +15,0 @@

@@ -18,2 +18,14 @@ #!/usr/bin/env node

})
.option('org', {
type: 'string',
describe: 'The Sentry organization slug',
})
.option('project', {
type: 'string',
describe: 'The Sentry project slug',
})
.option('url', {
type: 'string',
describe: 'The Sentry server URL',
})
.option('urlPrefix', {

@@ -42,2 +54,5 @@ type: 'string',

' [--release RELEASE]\n' +
' [--org ORG]\n' +
' [--project PROJECT]\n' +
' [--url URL]\n' +
' [--urlPrefix URL_PREFIX]\n' +

@@ -44,0 +59,0 @@ ' [--buildPath BUILD_PATH]\n\n' +

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

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