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

@sentry/node

Package Overview
Dependencies
Maintainers
11
Versions
550
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/node - npm Package Compare versions

Comparing version 7.95.0 to 7.96.0

13

cjs/integrations/local-variables/local-variables-sync.js

@@ -316,8 +316,7 @@ var {

name: INTEGRATION_NAME,
// TODO v8: Remove this
setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function
setup(client) {
const clientOptions = client.getOptions();
setupOnce() {
const client = core.getClient();
const clientOptions = _optionalChain([client, 'optionalAccess', _40 => _40.getOptions, 'call', _41 => _41()]);
if (session && clientOptions.includeLocalVariables) {
if (session && _optionalChain([clientOptions, 'optionalAccess', _42 => _42.includeLocalVariables])) {
// Only setup this integration if the Node version is >= v18

@@ -347,3 +346,3 @@ // https://github.com/getsentry/sentry-javascript/issues/7697

utils.logger.log('Local variables rate-limit lifted.');
_optionalChain([session, 'optionalAccess', _40 => _40.setPauseOnExceptions, 'call', _41 => _41(true)]);
_optionalChain([session, 'optionalAccess', _43 => _43.setPauseOnExceptions, 'call', _44 => _44(true)]);
},

@@ -354,3 +353,3 @@ seconds => {

);
_optionalChain([session, 'optionalAccess', _42 => _42.setPauseOnExceptions, 'call', _43 => _43(false)]);
_optionalChain([session, 'optionalAccess', _45 => _45.setPauseOnExceptions, 'call', _46 => _46(false)]);
},

@@ -357,0 +356,0 @@ );

import { _optionalChain } from '@sentry/utils';
import { convertIntegrationFnToClass } from '@sentry/core';
import { convertIntegrationFnToClass, getClient } from '@sentry/core';
import { LRUMap, logger } from '@sentry/utils';

@@ -311,8 +311,7 @@ import { NODE_VERSION } from '../../nodeVersion.js';

name: INTEGRATION_NAME,
// TODO v8: Remove this
setupOnce() {}, // eslint-disable-line @typescript-eslint/no-empty-function
setup(client) {
const clientOptions = client.getOptions();
setupOnce() {
const client = getClient();
const clientOptions = _optionalChain([client, 'optionalAccess', _40 => _40.getOptions, 'call', _41 => _41()]);
if (session && clientOptions.includeLocalVariables) {
if (session && _optionalChain([clientOptions, 'optionalAccess', _42 => _42.includeLocalVariables])) {
// Only setup this integration if the Node version is >= v18

@@ -342,3 +341,3 @@ // https://github.com/getsentry/sentry-javascript/issues/7697

logger.log('Local variables rate-limit lifted.');
_optionalChain([session, 'optionalAccess', _40 => _40.setPauseOnExceptions, 'call', _41 => _41(true)]);
_optionalChain([session, 'optionalAccess', _43 => _43.setPauseOnExceptions, 'call', _44 => _44(true)]);
},

@@ -349,3 +348,3 @@ seconds => {

);
_optionalChain([session, 'optionalAccess', _42 => _42.setPauseOnExceptions, 'call', _43 => _43(false)]);
_optionalChain([session, 'optionalAccess', _45 => _45.setPauseOnExceptions, 'call', _46 => _46(false)]);
},

@@ -352,0 +351,0 @@ );

{
"name": "@sentry/node",
"version": "7.95.0",
"version": "7.96.0",
"description": "Official Sentry SDK for Node.js",

@@ -23,4 +23,4 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"<4.9": {
"npm/types/index.d.ts": [
"npm/types-ts3.8/index.d.ts"
"types/index.d.ts": [
"types-ts3.8/index.d.ts"
]

@@ -33,6 +33,6 @@ }

"dependencies": {
"@sentry-internal/tracing": "7.95.0",
"@sentry/core": "7.95.0",
"@sentry/types": "7.95.0",
"@sentry/utils": "7.95.0"
"@sentry-internal/tracing": "7.96.0",
"@sentry/core": "7.96.0",
"@sentry/types": "7.96.0",
"@sentry/utils": "7.96.0"
},

@@ -39,0 +39,0 @@ "devDependencies": {

@@ -8,10 +8,15 @@ export type CronJobParams = {

runOnInit?: boolean | null;
utcOffset?: number;
timeZone?: string;
unrefTimeout?: boolean | null;
};
} & ({
timeZone?: string | null;
utcOffset?: never;
} | {
timeZone?: never;
utcOffset?: number | null;
});
export type CronJob = {};
export type CronJobConstructor = {
from: (param: CronJobParams) => CronJob;
new (cronTime: CronJobParams['cronTime'], onTick: CronJobParams['onTick'], onComplete?: CronJobParams['onComplete'], start?: CronJobParams['start'], timeZone?: CronJobParams['timeZone'], context?: CronJobParams['context'], runOnInit?: CronJobParams['runOnInit'], utcOffset?: CronJobParams['utcOffset'], unrefTimeout?: CronJobParams['unrefTimeout']): CronJob;
new (cronTime: CronJobParams['cronTime'], onTick: CronJobParams['onTick'], onComplete?: CronJobParams['onComplete'], start?: CronJobParams['start'], timeZone?: CronJobParams['timeZone'], context?: CronJobParams['context'], runOnInit?: CronJobParams['runOnInit'], utcOffset?: null, unrefTimeout?: CronJobParams['unrefTimeout']): CronJob;
new (cronTime: CronJobParams['cronTime'], onTick: CronJobParams['onTick'], onComplete?: CronJobParams['onComplete'], start?: CronJobParams['start'], timeZone?: null, context?: CronJobParams['context'], runOnInit?: CronJobParams['runOnInit'], utcOffset?: CronJobParams['utcOffset'], unrefTimeout?: CronJobParams['unrefTimeout']): CronJob;
};

@@ -18,0 +23,0 @@ /**

@@ -8,10 +8,15 @@ export type CronJobParams = {

runOnInit?: boolean | null;
utcOffset?: number;
timeZone?: string;
unrefTimeout?: boolean | null;
};
} & ({
timeZone?: string | null;
utcOffset?: never;
} | {
timeZone?: never;
utcOffset?: number | null;
});
export type CronJob = {};
export type CronJobConstructor = {
from: (param: CronJobParams) => CronJob;
new (cronTime: CronJobParams['cronTime'], onTick: CronJobParams['onTick'], onComplete?: CronJobParams['onComplete'], start?: CronJobParams['start'], timeZone?: CronJobParams['timeZone'], context?: CronJobParams['context'], runOnInit?: CronJobParams['runOnInit'], utcOffset?: CronJobParams['utcOffset'], unrefTimeout?: CronJobParams['unrefTimeout']): CronJob;
new (cronTime: CronJobParams['cronTime'], onTick: CronJobParams['onTick'], onComplete?: CronJobParams['onComplete'], start?: CronJobParams['start'], timeZone?: CronJobParams['timeZone'], context?: CronJobParams['context'], runOnInit?: CronJobParams['runOnInit'], utcOffset?: null, unrefTimeout?: CronJobParams['unrefTimeout']): CronJob;
new (cronTime: CronJobParams['cronTime'], onTick: CronJobParams['onTick'], onComplete?: CronJobParams['onComplete'], start?: CronJobParams['start'], timeZone?: null, context?: CronJobParams['context'], runOnInit?: CronJobParams['runOnInit'], utcOffset?: CronJobParams['utcOffset'], unrefTimeout?: CronJobParams['unrefTimeout']): CronJob;
};

@@ -18,0 +23,0 @@ /**

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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 too big to display

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