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.97.0 to 7.98.0

12

cjs/index.js

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

const handlers = require('./handlers.js');
const index$2 = require('./integrations/index.js');
const index$3 = require('./integrations/index.js');
const integrations = require('./tracing/integrations.js');
const index$1 = require('./integrations/hapi/index.js');
const index$1 = require('./integrations/undici/index.js');
const http$1 = require('./integrations/http.js');
const index$2 = require('./integrations/hapi/index.js');
const cron$1 = require('./cron/cron.js');

@@ -29,3 +31,3 @@ const nodeCron = require('./cron/node-cron.js');

...core.Integrations,
...index$2,
...index$3,
...integrations,

@@ -109,3 +111,5 @@ };

exports.Handlers = handlers;
exports.hapiErrorPlugin = index$1.hapiErrorPlugin;
exports.Undici = index$1.Undici;
exports.Http = http$1.Http;
exports.hapiErrorPlugin = index$2.hapiErrorPlugin;
exports.Integrations = INTEGRATIONS;

@@ -112,0 +116,0 @@ exports.cron = cron;

@@ -16,2 +16,4 @@ import { Integrations } from '@sentry/core';

import * as integrations from './tracing/integrations.js';
export { Undici } from './integrations/undici/index.js';
export { Http } from './integrations/http.js';
export { hapiErrorPlugin } from './integrations/hapi/index.js';

@@ -18,0 +20,0 @@ import { instrumentCron } from './cron/cron.js';

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

@@ -32,6 +32,6 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

"dependencies": {
"@sentry-internal/tracing": "7.97.0",
"@sentry/core": "7.97.0",
"@sentry/types": "7.97.0",
"@sentry/utils": "7.97.0"
"@sentry-internal/tracing": "7.98.0",
"@sentry/core": "7.98.0",
"@sentry/types": "7.98.0",
"@sentry/utils": "7.98.0"
},

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

@@ -86,3 +86,3 @@ export { Breadcrumb, BreadcrumbHint, PolymorphicRequest, Request, SdkInfo, Event, EventHint, Exception, Session, Severity, SeverityLevel, Span, StackFrame, Stacktrace, Thread, Transaction, User, } from '@sentry/types';

setup: (client: import("./client").NodeClient) => void;
}> & (new (options?: import("./integrations/local-variables/common").Options | undefined, session?: import("./integrations/local-variables/local-variables-sync").DebugSession | undefined) => import("@sentry/types").Integration);
}> & (new (options?: import("./integrations/local-variables/common").LocalVariablesIntegrationOptions | undefined, session?: import("./integrations/local-variables/local-variables-sync").DebugSession | undefined) => import("@sentry/types").Integration);
Undici: typeof NodeIntegrations.Undici;

@@ -96,3 +96,3 @@ Spotlight: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & {

setup: (client: import("./client").NodeClient) => void;
}> & (new (options?: Partial<import("./integrations/anr/common").Options> | undefined) => import("@sentry/types").Integration & {
}> & (new (options?: Partial<import("./integrations/anr/common").AnrIntegrationOptions> | undefined) => import("@sentry/types").Integration & {
setup(client: import("@sentry/types").Client<import("@sentry/types").ClientOptions<import("@sentry/types").BaseTransportOptions>>): void;

@@ -122,2 +122,7 @@ });

};
export { LocalVariablesIntegrationOptions } from './integrations/local-variables/common';
export { DebugSession } from './integrations/local-variables/local-variables-sync';
export { AnrIntegrationOptions } from './integrations/anr/common';
export { Undici } from './integrations/undici';
export { Http } from './integrations/http';
export { INTEGRATIONS as Integrations, Handlers };

@@ -124,0 +129,0 @@ export { hapiErrorPlugin } from './integrations/hapi';

import { Contexts, DsnComponents, Primitive, SdkMetadata } from '@sentry/types';
export interface Options {
export interface AnrIntegrationOptions {
/**

@@ -36,3 +36,3 @@ * Interval to send heartbeat messages to the ANR worker.

}
export interface WorkerStartData extends Options {
export interface WorkerStartData extends AnrIntegrationOptions {
debug: boolean;

@@ -39,0 +39,0 @@ sdkMetadata: SdkMetadata;

import { Client, Integration, IntegrationClass } from '@sentry/types';
import { NodeClient } from '../../client';
import { Options } from './common';
import { AnrIntegrationOptions } from './common';
/**

@@ -11,5 +11,5 @@ * Starts a thread to detect App Not Responding (ANR) events

setup: (client: NodeClient) => void;
}> & (new (options?: Partial<Options>) => Integration & {
}> & (new (options?: Partial<AnrIntegrationOptions>) => Integration & {
setup(client: Client): void;
});
//# sourceMappingURL=index.d.ts.map

@@ -34,3 +34,3 @@ import { StackFrame, StackParser } from '@sentry/types';

}
export interface Options {
export interface LocalVariablesIntegrationOptions {
/**

@@ -37,0 +37,0 @@ * Capture local variables for both caught and uncaught exceptions

@@ -7,3 +7,3 @@ /**

setup: (client: import("../..").NodeClient) => void;
}> & (new (options?: import("./common").Options | undefined, session?: import("./local-variables-sync").DebugSession | undefined) => import("@sentry/types").Integration);
}> & (new (options?: import("./common").LocalVariablesIntegrationOptions | undefined, session?: import("./local-variables-sync").DebugSession | undefined) => import("@sentry/types").Integration);
//# sourceMappingURL=index.d.ts.map
import { Event, Integration, IntegrationClass } from '@sentry/types';
import { Debugger, InspectorNotification } from 'inspector';
import { NodeClient } from '../../client';
import { Options, Variables } from './common';
import { LocalVariablesIntegrationOptions, Variables } from './common';
type OnPauseEvent = InspectorNotification<Debugger.PausedEventDataType>;

@@ -28,4 +28,4 @@ export interface DebugSession {

setup: (client: NodeClient) => void;
}> & (new (options?: Options, session?: DebugSession) => Integration);
}> & (new (options?: LocalVariablesIntegrationOptions, session?: DebugSession) => Integration);
export {};
//# sourceMappingURL=local-variables-sync.d.ts.map

@@ -86,3 +86,3 @@ export type { Breadcrumb, BreadcrumbHint, PolymorphicRequest, Request, SdkInfo, Event, EventHint, Exception, Session, Severity, SeverityLevel, Span, StackFrame, Stacktrace, Thread, Transaction, User, } from '@sentry/types';

setup: (client: import("./client").NodeClient) => void;
}> & (new (options?: import("./integrations/local-variables/common").Options | undefined, session?: import("./integrations/local-variables/local-variables-sync").DebugSession | undefined) => import("@sentry/types").Integration);
}> & (new (options?: import("./integrations/local-variables/common").LocalVariablesIntegrationOptions | undefined, session?: import("./integrations/local-variables/local-variables-sync").DebugSession | undefined) => import("@sentry/types").Integration);
Undici: typeof NodeIntegrations.Undici;

@@ -96,3 +96,3 @@ Spotlight: import("@sentry/types").IntegrationClass<import("@sentry/types").Integration & {

setup: (client: import("./client").NodeClient) => void;
}> & (new (options?: Partial<import("./integrations/anr/common").Options> | undefined) => import("@sentry/types").Integration & {
}> & (new (options?: Partial<import("./integrations/anr/common").AnrIntegrationOptions> | undefined) => import("@sentry/types").Integration & {
setup(client: import("@sentry/types").Client<import("@sentry/types").ClientOptions<import("@sentry/types").BaseTransportOptions>>): void;

@@ -122,2 +122,7 @@ });

};
export type { LocalVariablesIntegrationOptions } from './integrations/local-variables/common';
export type { DebugSession } from './integrations/local-variables/local-variables-sync';
export type { AnrIntegrationOptions } from './integrations/anr/common';
export { Undici } from './integrations/undici';
export { Http } from './integrations/http';
export { INTEGRATIONS as Integrations, Handlers };

@@ -124,0 +129,0 @@ export { hapiErrorPlugin } from './integrations/hapi';

import type { Contexts, DsnComponents, Primitive, SdkMetadata } from '@sentry/types';
export interface Options {
export interface AnrIntegrationOptions {
/**

@@ -36,3 +36,3 @@ * Interval to send heartbeat messages to the ANR worker.

}
export interface WorkerStartData extends Options {
export interface WorkerStartData extends AnrIntegrationOptions {
debug: boolean;

@@ -39,0 +39,0 @@ sdkMetadata: SdkMetadata;

import type { Client, Integration, IntegrationClass } from '@sentry/types';
import type { NodeClient } from '../../client';
import type { Options } from './common';
import type { AnrIntegrationOptions } from './common';
/**

@@ -11,5 +11,5 @@ * Starts a thread to detect App Not Responding (ANR) events

setup: (client: NodeClient) => void;
}> & (new (options?: Partial<Options>) => Integration & {
}> & (new (options?: Partial<AnrIntegrationOptions>) => Integration & {
setup(client: Client): void;
});
//# sourceMappingURL=index.d.ts.map

@@ -34,3 +34,3 @@ import type { StackFrame, StackParser } from '@sentry/types';

}
export interface Options {
export interface LocalVariablesIntegrationOptions {
/**

@@ -37,0 +37,0 @@ * Capture local variables for both caught and uncaught exceptions

@@ -7,3 +7,3 @@ /**

setup: (client: import("../..").NodeClient) => void;
}> & (new (options?: import("./common").Options | undefined, session?: import("./local-variables-sync").DebugSession | undefined) => import("@sentry/types").Integration);
}> & (new (options?: import("./common").LocalVariablesIntegrationOptions | undefined, session?: import("./local-variables-sync").DebugSession | undefined) => import("@sentry/types").Integration);
//# sourceMappingURL=index.d.ts.map
import type { Event, Integration, IntegrationClass } from '@sentry/types';
import type { Debugger, InspectorNotification } from 'inspector';
import type { NodeClient } from '../../client';
import type { Options, Variables } from './common';
import type { LocalVariablesIntegrationOptions, Variables } from './common';
type OnPauseEvent = InspectorNotification<Debugger.PausedEventDataType>;

@@ -28,4 +28,4 @@ export interface DebugSession {

setup: (client: NodeClient) => void;
}> & (new (options?: Options, session?: DebugSession) => Integration);
}> & (new (options?: LocalVariablesIntegrationOptions, session?: DebugSession) => Integration);
export {};
//# sourceMappingURL=local-variables-sync.d.ts.map

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

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

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