From f1bae224e999c00610dfafa594fc4ef9f6726afe Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 7 Jul 2025 15:33:39 +0000 Subject: [PATCH 1/6] Deprecate ANR integration in favor of eventLoopBlockIntegration Co-authored-by: aprasad --- packages/node/src/integrations/anr/common.ts | 6 ++++++ packages/node/src/integrations/anr/index.ts | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/packages/node/src/integrations/anr/common.ts b/packages/node/src/integrations/anr/common.ts index fc1b23e35b1d..4e5a2aede8e7 100644 --- a/packages/node/src/integrations/anr/common.ts +++ b/packages/node/src/integrations/anr/common.ts @@ -1,5 +1,8 @@ import type { Contexts, DsnComponents, Primitive, SdkMetadata } from '@sentry/core'; +/** + * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead. + */ export interface AnrIntegrationOptions { /** * Interval to send heartbeat messages to the ANR worker. @@ -39,6 +42,9 @@ export interface AnrIntegrationOptions { appRootPath: string | undefined; } +/** + * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead. + */ export interface WorkerStartData extends AnrIntegrationOptions { debug: boolean; sdkMetadata: SdkMetadata; diff --git a/packages/node/src/integrations/anr/index.ts b/packages/node/src/integrations/anr/index.ts index 5d5cc2daa5f6..53b7418ce3ba 100644 --- a/packages/node/src/integrations/anr/index.ts +++ b/packages/node/src/integrations/anr/index.ts @@ -19,6 +19,9 @@ import type { AnrIntegrationOptions, WorkerStartData } from './common'; const { isPromise } = types; +/** + * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead. + */ // This string is a placeholder that gets overwritten with the worker code. export const base64WorkerScript = '###AnrWorkerScript###'; @@ -116,6 +119,9 @@ const _anrIntegration = ((options: Partial = {}) => { type AnrReturn = (options?: Partial) => Integration & AnrInternal; +/** + * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead. + */ export const anrIntegration = defineIntegration(_anrIntegration) as AnrReturn; /** @@ -230,6 +236,7 @@ export function disableAnrDetectionForCallback(callback: () => T): T; export function disableAnrDetectionForCallback(callback: () => Promise): Promise; /** * Disables ANR detection for the duration of the callback + * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead. */ export function disableAnrDetectionForCallback(callback: () => T | Promise): T | Promise { const integration = getClient()?.getIntegrationByName(INTEGRATION_NAME) as AnrInternal | undefined; From 81e0e9bd6216b4197697802c3eccb46aa9086b61 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 7 Jul 2025 15:48:16 +0000 Subject: [PATCH 2/6] Remove deprecated ANR integration deprecation warnings Co-authored-by: aprasad --- packages/node/src/integrations/anr/common.ts | 3 --- packages/node/src/integrations/anr/index.ts | 3 --- 2 files changed, 6 deletions(-) diff --git a/packages/node/src/integrations/anr/common.ts b/packages/node/src/integrations/anr/common.ts index 4e5a2aede8e7..2439f6969c0e 100644 --- a/packages/node/src/integrations/anr/common.ts +++ b/packages/node/src/integrations/anr/common.ts @@ -42,9 +42,6 @@ export interface AnrIntegrationOptions { appRootPath: string | undefined; } -/** - * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead. - */ export interface WorkerStartData extends AnrIntegrationOptions { debug: boolean; sdkMetadata: SdkMetadata; diff --git a/packages/node/src/integrations/anr/index.ts b/packages/node/src/integrations/anr/index.ts index 53b7418ce3ba..ccf7c85ff709 100644 --- a/packages/node/src/integrations/anr/index.ts +++ b/packages/node/src/integrations/anr/index.ts @@ -19,9 +19,6 @@ import type { AnrIntegrationOptions, WorkerStartData } from './common'; const { isPromise } = types; -/** - * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead. - */ // This string is a placeholder that gets overwritten with the worker code. export const base64WorkerScript = '###AnrWorkerScript###'; From 2e1ddb084c4a6f3916835079899d67e6e1d440e2 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 7 Jul 2025 16:26:15 +0000 Subject: [PATCH 3/6] Enhance ANR integration documentation and add detailed comments Co-authored-by: aprasad --- packages/node/src/integrations/anr/common.ts | 46 ++++++++-- packages/node/src/integrations/anr/index.ts | 90 +++++++++++++++++++- 2 files changed, 127 insertions(+), 9 deletions(-) diff --git a/packages/node/src/integrations/anr/common.ts b/packages/node/src/integrations/anr/common.ts index 2439f6969c0e..b2c7e2fe2834 100644 --- a/packages/node/src/integrations/anr/common.ts +++ b/packages/node/src/integrations/anr/common.ts @@ -1,43 +1,73 @@ import type { Contexts, DsnComponents, Primitive, SdkMetadata } from '@sentry/core'; /** + * Configuration options for the ANR (Application Not Responding) integration. + * + * These options control how the ANR detection system monitors the Node.js event loop + * and reports blocking events. + * * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead. + * @see {@link https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/application-not-responding/} */ export interface AnrIntegrationOptions { /** - * Interval to send heartbeat messages to the ANR worker. + * Interval to send heartbeat messages to the ANR worker thread. * - * Defaults to 50ms. + * The main thread sends heartbeat messages to the worker thread at this interval + * to indicate that the event loop is still responsive. Lower values provide more + * precise detection but may increase overhead. + * + * @default 50 (milliseconds) */ pollInterval: number; + /** * Threshold in milliseconds to trigger an ANR event. * - * Defaults to 5000ms. + * When the worker thread doesn't receive a heartbeat message for this duration, + * it considers the main thread to be blocked and triggers an ANR event. + * + * @default 5000 (milliseconds) */ anrThreshold: number; + /** * Whether to capture a stack trace when the ANR event is triggered. * - * Defaults to `false`. + * When enabled, uses the Node.js inspector API to capture the stack trace + * of the blocking code. This provides more detailed information about what + * caused the ANR but requires the debugger to be enabled. + * + * **Note:** This opens the inspector API and required ports. * - * This uses the node debugger which enables the inspector API and opens the required ports. + * @default false */ captureStackTrace: boolean; + /** - * Maximum number of ANR events to send. + * Maximum number of ANR events to send per application session. + * + * Once this limit is reached, the ANR worker thread will exit to prevent + * sending duplicate events. This helps avoid spamming Sentry with repeated + * ANR events from the same blocking issue. * - * Defaults to 1. + * @default 1 */ maxAnrEvents: number; + /** - * Tags to include with ANR events. + * Static tags to include with all ANR events. + * + * These tags will be attached to every ANR event sent by this integration, + * useful for categorizing or filtering ANR events in Sentry. */ staticTags: { [key: string]: Primitive }; + /** * @ignore Internal use only. * * If this is supplied, stack frame filenames will be rewritten to be relative to this path. + * This is used internally for better stack trace readability. */ appRootPath: string | undefined; } diff --git a/packages/node/src/integrations/anr/index.ts b/packages/node/src/integrations/anr/index.ts index ccf7c85ff709..dc1c5ad39993 100644 --- a/packages/node/src/integrations/anr/index.ts +++ b/packages/node/src/integrations/anr/index.ts @@ -117,7 +117,55 @@ const _anrIntegration = ((options: Partial = {}) => { type AnrReturn = (options?: Partial) => Integration & AnrInternal; /** + * Application Not Responding (ANR) integration for Node.js applications. + * + * Detects when the Node.js main thread event loop is blocked for more than the configured + * threshold (5 seconds by default) and reports these as Sentry events. + * + * ## How it works + * + * ANR detection uses a worker thread to monitor the event loop in the main app thread. + * The main app thread sends a heartbeat message to the ANR worker thread every 50ms by default. + * If the ANR worker does not receive a heartbeat message for the configured threshold duration, + * it triggers an ANR event. + * + * ## Requirements + * + * - Node.js 16.17.0 or higher + * - Only supported in the Node.js runtime (not browsers) + * - Not supported for Node.js clusters + * + * ## Performance Impact + * + * Overhead should be minimal: + * - Main thread: Only polling the ANR worker over IPC every 50ms + * - Worker thread: Consumes around 10-20 MB of RAM + * - When ANR detected: Brief pause in debugger to capture stack trace (negligible compared to the blocking) + * + * ## Configuration Options + * + * - `pollInterval`: Interval to send heartbeat messages (default: 50ms) + * - `anrThreshold`: Threshold in milliseconds to trigger an ANR event (default: 5000ms) + * - `captureStackTrace`: Whether to capture stack traces using the Node.js inspector API (default: false) + * - `maxAnrEvents`: Maximum number of ANR events to send (default: 1) + * - `staticTags`: Tags to include with ANR events + * + * @example + * ```javascript + * Sentry.init({ + * dsn: "https://examplePublicKey@o0.ingest.sentry.io/0", + * integrations: [ + * Sentry.anrIntegration({ + * anrThreshold: 5000, + * captureStackTrace: true, + * pollInterval: 50, + * }), + * ], + * }); + * ``` + * * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead. + * @see {@link https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/application-not-responding/} */ export const anrIntegration = defineIntegration(_anrIntegration) as AnrReturn; @@ -232,8 +280,48 @@ async function _startWorker( export function disableAnrDetectionForCallback(callback: () => T): T; export function disableAnrDetectionForCallback(callback: () => Promise): Promise; /** - * Disables ANR detection for the duration of the callback + * Temporarily disables ANR detection for the duration of a callback function. + * + * This utility function allows you to disable ANR detection during operations that + * are expected to block the event loop, such as intensive computational tasks or + * synchronous I/O operations. + * + * ## Use Cases + * + * - CPU-intensive operations that legitimately block the event loop + * - Synchronous file operations or database queries + * - Intentional blocking operations during application startup + * - Long-running computations that should not trigger ANR events + * + * ## Behavior + * + * - **Synchronous callbacks**: ANR detection is disabled before the callback runs + * and re-enabled immediately after it completes + * - **Asynchronous callbacks**: ANR detection is disabled before the callback runs + * and re-enabled after the Promise resolves or rejects + * - **No ANR integration**: If the ANR integration is not active, the callback + * runs normally without any modifications + * + * @example + * ```javascript + * // For synchronous operations + * const result = disableAnrDetectionForCallback(() => { + * // Perform CPU-intensive work that might block for several seconds + * return performHeavyComputation(); + * }); + * + * // For asynchronous operations + * const result = await disableAnrDetectionForCallback(async () => { + * // Perform async work without ANR detection + * return await heavyAsyncOperation(); + * }); + * ``` + * + * @param callback - The function to execute with ANR detection disabled + * @returns The result of the callback function + * * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead. + * @see {@link https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/application-not-responding/} */ export function disableAnrDetectionForCallback(callback: () => T | Promise): T | Promise { const integration = getClient()?.getIntegrationByName(INTEGRATION_NAME) as AnrInternal | undefined; From e9d0bc6d5ab0dc9882c7607d358575cf0329fb06 Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Mon, 7 Jul 2025 16:30:07 +0000 Subject: [PATCH 4/6] refactor jsdoc --- packages/node/src/integrations/anr/common.ts | 1 - packages/node/src/integrations/anr/index.ts | 40 +------------------- 2 files changed, 2 insertions(+), 39 deletions(-) diff --git a/packages/node/src/integrations/anr/common.ts b/packages/node/src/integrations/anr/common.ts index b2c7e2fe2834..77dfd4e5408d 100644 --- a/packages/node/src/integrations/anr/common.ts +++ b/packages/node/src/integrations/anr/common.ts @@ -7,7 +7,6 @@ import type { Contexts, DsnComponents, Primitive, SdkMetadata } from '@sentry/co * and reports blocking events. * * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead. - * @see {@link https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/application-not-responding/} */ export interface AnrIntegrationOptions { /** diff --git a/packages/node/src/integrations/anr/index.ts b/packages/node/src/integrations/anr/index.ts index dc1c5ad39993..e8a2cc54b7ed 100644 --- a/packages/node/src/integrations/anr/index.ts +++ b/packages/node/src/integrations/anr/index.ts @@ -119,6 +119,8 @@ type AnrReturn = (options?: Partial) => Integration & Anr /** * Application Not Responding (ANR) integration for Node.js applications. * + * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead. + * * Detects when the Node.js main thread event loop is blocked for more than the configured * threshold (5 seconds by default) and reports these as Sentry events. * @@ -163,9 +165,6 @@ type AnrReturn = (options?: Partial) => Integration & Anr * ], * }); * ``` - * - * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead. - * @see {@link https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/application-not-responding/} */ export const anrIntegration = defineIntegration(_anrIntegration) as AnrReturn; @@ -286,42 +285,7 @@ export function disableAnrDetectionForCallback(callback: () => Promise): P * are expected to block the event loop, such as intensive computational tasks or * synchronous I/O operations. * - * ## Use Cases - * - * - CPU-intensive operations that legitimately block the event loop - * - Synchronous file operations or database queries - * - Intentional blocking operations during application startup - * - Long-running computations that should not trigger ANR events - * - * ## Behavior - * - * - **Synchronous callbacks**: ANR detection is disabled before the callback runs - * and re-enabled immediately after it completes - * - **Asynchronous callbacks**: ANR detection is disabled before the callback runs - * and re-enabled after the Promise resolves or rejects - * - **No ANR integration**: If the ANR integration is not active, the callback - * runs normally without any modifications - * - * @example - * ```javascript - * // For synchronous operations - * const result = disableAnrDetectionForCallback(() => { - * // Perform CPU-intensive work that might block for several seconds - * return performHeavyComputation(); - * }); - * - * // For asynchronous operations - * const result = await disableAnrDetectionForCallback(async () => { - * // Perform async work without ANR detection - * return await heavyAsyncOperation(); - * }); - * ``` - * - * @param callback - The function to execute with ANR detection disabled - * @returns The result of the callback function - * * @deprecated The ANR integration has been deprecated. Use `eventLoopBlockIntegration` from `@sentry/node-native` instead. - * @see {@link https://docs.sentry.io/platforms/javascript/guides/nextjs/configuration/application-not-responding/} */ export function disableAnrDetectionForCallback(callback: () => T | Promise): T | Promise { const integration = getClient()?.getIntegrationByName(INTEGRATION_NAME) as AnrInternal | undefined; From a4a99c454c1935958275ab8f0b54e2113437f772 Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Mon, 7 Jul 2025 13:47:58 -0400 Subject: [PATCH 5/6] anr deprecation ignore --- packages/node/src/index.ts | 1 + packages/node/src/integrations/anr/common.ts | 1 + packages/node/src/integrations/anr/index.ts | 3 +++ 3 files changed, 5 insertions(+) diff --git a/packages/node/src/index.ts b/packages/node/src/index.ts index 71970174721c..2ce74b707ae4 100644 --- a/packages/node/src/index.ts +++ b/packages/node/src/index.ts @@ -10,6 +10,7 @@ export { localVariablesIntegration } from './integrations/local-variables'; export { modulesIntegration } from './integrations/modules'; export { onUncaughtExceptionIntegration } from './integrations/onuncaughtexception'; export { onUnhandledRejectionIntegration } from './integrations/onunhandledrejection'; +// eslint-disable-next-line deprecation/deprecation export { anrIntegration, disableAnrDetectionForCallback } from './integrations/anr'; export { expressIntegration, expressErrorHandler, setupExpressErrorHandler } from './integrations/tracing/express'; diff --git a/packages/node/src/integrations/anr/common.ts b/packages/node/src/integrations/anr/common.ts index 77dfd4e5408d..44fb519828fb 100644 --- a/packages/node/src/integrations/anr/common.ts +++ b/packages/node/src/integrations/anr/common.ts @@ -71,6 +71,7 @@ export interface AnrIntegrationOptions { appRootPath: string | undefined; } +// eslint-disable-next-line deprecation/deprecation export interface WorkerStartData extends AnrIntegrationOptions { debug: boolean; sdkMetadata: SdkMetadata; diff --git a/packages/node/src/integrations/anr/index.ts b/packages/node/src/integrations/anr/index.ts index e8a2cc54b7ed..fa0687dd0843 100644 --- a/packages/node/src/integrations/anr/index.ts +++ b/packages/node/src/integrations/anr/index.ts @@ -66,6 +66,7 @@ const INTEGRATION_NAME = 'Anr'; type AnrInternal = { startWorker: () => void; stopWorker: () => void }; +// eslint-disable-next-line deprecation/deprecation const _anrIntegration = ((options: Partial = {}) => { if (NODE_VERSION.major < 16 || (NODE_VERSION.major === 16 && NODE_VERSION.minor < 17)) { throw new Error('ANR detection requires Node 16.17.0 or later'); @@ -114,6 +115,7 @@ const _anrIntegration = ((options: Partial = {}) => { } as Integration & AnrInternal; }) satisfies IntegrationFn; +// eslint-disable-next-line deprecation/deprecation type AnrReturn = (options?: Partial) => Integration & AnrInternal; /** @@ -175,6 +177,7 @@ export const anrIntegration = defineIntegration(_anrIntegration) as AnrReturn; */ async function _startWorker( client: NodeClient, + // eslint-disable-next-line deprecation/deprecation integrationOptions: Partial, ): Promise<() => void> { const dsn = client.getDsn(); From 95223df88ab04c91b8fba604b662918f3341d9dd Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Mon, 7 Jul 2025 15:45:22 -0400 Subject: [PATCH 6/6] deprecations --- packages/astro/src/index.server.ts | 2 ++ packages/aws-serverless/src/index.ts | 2 ++ packages/bun/src/index.ts | 2 ++ packages/google-cloud-serverless/src/index.ts | 2 ++ packages/node/src/integrations/anr/index.ts | 14 -------------- packages/remix/src/server/index.ts | 1 + packages/solidstart/src/server/index.ts | 2 ++ packages/sveltekit/src/server/index.ts | 2 ++ 8 files changed, 13 insertions(+), 14 deletions(-) diff --git a/packages/astro/src/index.server.ts b/packages/astro/src/index.server.ts index 90ea06e0ef07..1139f58d092c 100644 --- a/packages/astro/src/index.server.ts +++ b/packages/astro/src/index.server.ts @@ -12,7 +12,9 @@ export { addEventProcessor, addIntegration, amqplibIntegration, + // eslint-disable-next-line deprecation/deprecation anrIntegration, + // eslint-disable-next-line deprecation/deprecation disableAnrDetectionForCallback, captureCheckIn, captureConsoleIntegration, diff --git a/packages/aws-serverless/src/index.ts b/packages/aws-serverless/src/index.ts index f7a5f77ac0fb..7d2abeaf6a12 100644 --- a/packages/aws-serverless/src/index.ts +++ b/packages/aws-serverless/src/index.ts @@ -42,7 +42,9 @@ export { close, getSentryRelease, createGetModuleFromFilename, + // eslint-disable-next-line deprecation/deprecation anrIntegration, + // eslint-disable-next-line deprecation/deprecation disableAnrDetectionForCallback, consoleIntegration, httpIntegration, diff --git a/packages/bun/src/index.ts b/packages/bun/src/index.ts index 38bd74fda8c2..d027539931cc 100644 --- a/packages/bun/src/index.ts +++ b/packages/bun/src/index.ts @@ -62,7 +62,9 @@ export { close, getSentryRelease, createGetModuleFromFilename, + // eslint-disable-next-line deprecation/deprecation anrIntegration, + // eslint-disable-next-line deprecation/deprecation disableAnrDetectionForCallback, consoleIntegration, httpIntegration, diff --git a/packages/google-cloud-serverless/src/index.ts b/packages/google-cloud-serverless/src/index.ts index 14797a9af008..11547ba933a1 100644 --- a/packages/google-cloud-serverless/src/index.ts +++ b/packages/google-cloud-serverless/src/index.ts @@ -42,7 +42,9 @@ export { close, getSentryRelease, createGetModuleFromFilename, + // eslint-disable-next-line deprecation/deprecation anrIntegration, + // eslint-disable-next-line deprecation/deprecation disableAnrDetectionForCallback, consoleIntegration, httpIntegration, diff --git a/packages/node/src/integrations/anr/index.ts b/packages/node/src/integrations/anr/index.ts index fa0687dd0843..9615ca241198 100644 --- a/packages/node/src/integrations/anr/index.ts +++ b/packages/node/src/integrations/anr/index.ts @@ -126,34 +126,20 @@ type AnrReturn = (options?: Partial) => Integration & Anr * Detects when the Node.js main thread event loop is blocked for more than the configured * threshold (5 seconds by default) and reports these as Sentry events. * - * ## How it works - * * ANR detection uses a worker thread to monitor the event loop in the main app thread. * The main app thread sends a heartbeat message to the ANR worker thread every 50ms by default. * If the ANR worker does not receive a heartbeat message for the configured threshold duration, * it triggers an ANR event. * - * ## Requirements - * * - Node.js 16.17.0 or higher * - Only supported in the Node.js runtime (not browsers) * - Not supported for Node.js clusters * - * ## Performance Impact - * * Overhead should be minimal: * - Main thread: Only polling the ANR worker over IPC every 50ms * - Worker thread: Consumes around 10-20 MB of RAM * - When ANR detected: Brief pause in debugger to capture stack trace (negligible compared to the blocking) * - * ## Configuration Options - * - * - `pollInterval`: Interval to send heartbeat messages (default: 50ms) - * - `anrThreshold`: Threshold in milliseconds to trigger an ANR event (default: 5000ms) - * - `captureStackTrace`: Whether to capture stack traces using the Node.js inspector API (default: false) - * - `maxAnrEvents`: Maximum number of ANR events to send (default: 1) - * - `staticTags`: Tags to include with ANR events - * * @example * ```javascript * Sentry.init({ diff --git a/packages/remix/src/server/index.ts b/packages/remix/src/server/index.ts index 0aa30b3c93cc..9a785f1d144c 100644 --- a/packages/remix/src/server/index.ts +++ b/packages/remix/src/server/index.ts @@ -5,6 +5,7 @@ export { addEventProcessor, addIntegration, amqplibIntegration, + // eslint-disable-next-line deprecation/deprecation anrIntegration, disableAnrDetectionForCallback, captureCheckIn, diff --git a/packages/solidstart/src/server/index.ts b/packages/solidstart/src/server/index.ts index 9574b38f1e47..17e7eaa9ef50 100644 --- a/packages/solidstart/src/server/index.ts +++ b/packages/solidstart/src/server/index.ts @@ -8,7 +8,9 @@ export { addEventProcessor, addIntegration, amqplibIntegration, + // eslint-disable-next-line deprecation/deprecation anrIntegration, + // eslint-disable-next-line deprecation/deprecation disableAnrDetectionForCallback, captureCheckIn, captureConsoleIntegration, diff --git a/packages/sveltekit/src/server/index.ts b/packages/sveltekit/src/server/index.ts index 07d92d03c8ce..043bad823bb3 100644 --- a/packages/sveltekit/src/server/index.ts +++ b/packages/sveltekit/src/server/index.ts @@ -8,7 +8,9 @@ export { addEventProcessor, addIntegration, amqplibIntegration, + // eslint-disable-next-line deprecation/deprecation anrIntegration, + // eslint-disable-next-line deprecation/deprecation disableAnrDetectionForCallback, captureCheckIn, captureConsoleIntegration,