Socket
Socket
Sign inDemoInstall

@sentry-internal/tracing

Package Overview
Dependencies
4
Maintainers
10
Versions
120
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.61.0 to 7.61.1

6

cjs/browser/browsertracing.js

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

*/
__init() {this.name = BROWSER_TRACING_INTEGRATION_ID;}
__init2() {this._hasSetTracePropagationTargets = false;}
constructor(_options) {
this.name = BROWSER_TRACING_INTEGRATION_ID;
this._hasSetTracePropagationTargets = false;
constructor(_options) {BrowserTracing.prototype.__init.call(this);BrowserTracing.prototype.__init2.call(this);
core.addTracingExtensions();

@@ -51,0 +51,0 @@

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

// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access
options.headers = addTracingHeadersToFetchRequest(request, client, scope, options);
options.headers = addTracingHeadersToFetchRequest(request, client, scope, options, span);
}

@@ -258,4 +258,5 @@

,
requestSpan,
) {
const span = scope.getSpan();
const span = requestSpan || scope.getSpan();

@@ -262,0 +263,0 @@ const transaction = span && span.transaction;

@@ -20,3 +20,2 @@ var {

*/
__init() {this.name = Apollo.id;}

@@ -30,3 +29,4 @@ /**

},
) {Apollo.prototype.__init.call(this);
) {
this.name = Apollo.id;
this._useNest = !!options.useNestjs;

@@ -33,0 +33,0 @@ }

@@ -24,3 +24,2 @@ var {

*/
__init() {this.name = Express.id;}

@@ -34,3 +33,4 @@ /**

*/
constructor(options = {}) {Express.prototype.__init.call(this);
constructor(options = {}) {
this.name = Express.id;
this._router = options.router || options.app;

@@ -37,0 +37,0 @@ this._methods = (Array.isArray(options.methods) ? options.methods : []).concat('use');

@@ -11,3 +11,3 @@ var {

/** Tracing integration for graphql package */
class GraphQL {constructor() { GraphQL.prototype.__init.call(this); }
class GraphQL {
/**

@@ -21,4 +21,7 @@ * @inheritDoc

*/
__init() {this.name = GraphQL.id;}
constructor() {
this.name = GraphQL.id;
}
/** @inheritdoc */

@@ -25,0 +28,0 @@ loadDependency() {

@@ -95,3 +95,2 @@ var {

*/
__init() {this.name = Mongo.id;}

@@ -101,3 +100,4 @@ /**

*/
constructor(options = {}) {Mongo.prototype.__init.call(this);
constructor(options = {}) {
this.name = Mongo.id;
this._operations = Array.isArray(options.operations) ? options.operations : (OPERATIONS );

@@ -104,0 +104,0 @@ this._describeOperations = 'describeOperations' in options ? options.describeOperations : true;

@@ -11,3 +11,3 @@ var {

/** Tracing integration for node-mysql package */
class Mysql {constructor() { Mysql.prototype.__init.call(this); }
class Mysql {
/**

@@ -21,4 +21,7 @@ * @inheritDoc

*/
__init() {this.name = Mysql.id;}
constructor() {
this.name = Mysql.id;
}
/** @inheritdoc */

@@ -25,0 +28,0 @@ loadDependency() {

@@ -20,5 +20,5 @@ var {

*/
__init() {this.name = Postgres.id;}
constructor(options = {}) {Postgres.prototype.__init.call(this);
constructor(options = {}) {
this.name = Postgres.id;
this._usePgNative = !!options.usePgNative;

@@ -25,0 +25,0 @@ }

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

*/
__init() {this.name = Prisma.id;}

@@ -27,3 +26,5 @@ /**

*/
constructor(options = {}) {Prisma.prototype.__init.call(this);
constructor(options = {}) {
this.name = Prisma.id;
// We instrument the PrismaClient inside the constructor and not inside `setupOnce` because in some cases of server-side

@@ -30,0 +31,0 @@ // bundling (Next.js) multiple Prisma clients can be instantiated, even though users don't intend to. When instrumenting

@@ -42,7 +42,7 @@ import { TRACING_DEFAULTS, addTracingExtensions, startIdleTransaction, getActiveTransaction } from '@sentry/core';

*/
__init() {this.name = BROWSER_TRACING_INTEGRATION_ID;}
__init2() {this._hasSetTracePropagationTargets = false;}
constructor(_options) {
this.name = BROWSER_TRACING_INTEGRATION_ID;
this._hasSetTracePropagationTargets = false;
constructor(_options) {BrowserTracing.prototype.__init.call(this);BrowserTracing.prototype.__init2.call(this);
addTracingExtensions();

@@ -49,0 +49,0 @@

@@ -239,3 +239,3 @@ import { hasTracingEnabled, getCurrentHub, getDynamicSamplingContextFromClient } from '@sentry/core';

// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-member-access
options.headers = addTracingHeadersToFetchRequest(request, client, scope, options);
options.headers = addTracingHeadersToFetchRequest(request, client, scope, options, span);
}

@@ -256,4 +256,5 @@

,
requestSpan,
) {
const span = scope.getSpan();
const span = requestSpan || scope.getSpan();

@@ -260,0 +261,0 @@ const transaction = span && span.transaction;

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

*/
__init() {this.name = Apollo.id;}

@@ -25,3 +24,4 @@ /**

},
) {Apollo.prototype.__init.call(this);
) {
this.name = Apollo.id;
this._useNest = !!options.useNestjs;

@@ -28,0 +28,0 @@ }

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

*/
__init() {this.name = Express.id;}

@@ -29,3 +28,4 @@ /**

*/
constructor(options = {}) {Express.prototype.__init.call(this);
constructor(options = {}) {
this.name = Express.id;
this._router = options.router || options.app;

@@ -32,0 +32,0 @@ this._methods = (Array.isArray(options.methods) ? options.methods : []).concat('use');

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

/** Tracing integration for graphql package */
class GraphQL {constructor() { GraphQL.prototype.__init.call(this); }
class GraphQL {
/**

@@ -16,4 +16,7 @@ * @inheritDoc

*/
__init() {this.name = GraphQL.id;}
constructor() {
this.name = GraphQL.id;
}
/** @inheritdoc */

@@ -20,0 +23,0 @@ loadDependency() {

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

*/
__init() {this.name = Mongo.id;}

@@ -96,3 +95,4 @@ /**

*/
constructor(options = {}) {Mongo.prototype.__init.call(this);
constructor(options = {}) {
this.name = Mongo.id;
this._operations = Array.isArray(options.operations) ? options.operations : (OPERATIONS );

@@ -99,0 +99,0 @@ this._describeOperations = 'describeOperations' in options ? options.describeOperations : true;

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

/** Tracing integration for node-mysql package */
class Mysql {constructor() { Mysql.prototype.__init.call(this); }
class Mysql {
/**

@@ -16,4 +16,7 @@ * @inheritDoc

*/
__init() {this.name = Mysql.id;}
constructor() {
this.name = Mysql.id;
}
/** @inheritdoc */

@@ -20,0 +23,0 @@ loadDependency() {

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

*/
__init() {this.name = Postgres.id;}
constructor(options = {}) {Postgres.prototype.__init.call(this);
constructor(options = {}) {
this.name = Postgres.id;
this._usePgNative = !!options.usePgNative;

@@ -20,0 +20,0 @@ }

@@ -19,3 +19,2 @@ import { trace, getCurrentHub } from '@sentry/core';

*/
__init() {this.name = Prisma.id;}

@@ -25,3 +24,5 @@ /**

*/
constructor(options = {}) {Prisma.prototype.__init.call(this);
constructor(options = {}) {
this.name = Prisma.id;
// We instrument the PrismaClient inside the constructor and not inside `setupOnce` because in some cases of server-side

@@ -28,0 +29,0 @@ // bundling (Next.js) multiple Prisma clients can be instantiated, even though users don't intend to. When instrumenting

{
"name": "@sentry-internal/tracing",
"version": "7.61.0",
"version": "7.61.1",
"description": "Sentry Internal Tracing Package",

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

"dependencies": {
"@sentry/core": "7.61.0",
"@sentry/types": "7.61.0",
"@sentry/utils": "7.61.0",
"@sentry/core": "7.61.1",
"@sentry/types": "7.61.1",
"@sentry/utils": "7.61.1",
"tslib": "^2.4.1 || ^1.9.3"

@@ -31,0 +31,0 @@ },

@@ -113,3 +113,3 @@ import type { Client, Scope, Span } from '@sentry/types';

} | PolymorphicRequestHeaders;
}): PolymorphicRequestHeaders | undefined;
}, requestSpan?: Span): PolymorphicRequestHeaders | undefined;
/**

@@ -116,0 +116,0 @@ * Create and track xhr request spans

@@ -18,2 +18,3 @@ import type { Hub } from '@sentry/core';

private _module?;
constructor();
/** @inheritdoc */

@@ -20,0 +21,0 @@ loadDependency(): GraphQLModule | undefined;

@@ -18,2 +18,3 @@ import type { Hub } from '@sentry/core';

private _module?;
constructor();
/** @inheritdoc */

@@ -20,0 +21,0 @@ loadDependency(): MysqlConnection | undefined;

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

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc