Skip to content

Commit eae82cf

Browse files
committed
Remove deprecated exports and use eventFiltersIntegration
Drop anrIntegration, disableAnrDetectionForCallback, and inboundFiltersIntegration from the light entry point since this is a new entry point with no existing users. Switch getDefaultIntegrations to use eventFiltersIntegration directly.
1 parent 0ddd14f commit eae82cf

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

packages/node-core/src/light/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ export { localVariablesIntegration } from '../integrations/local-variables';
1414
export { modulesIntegration } from '../integrations/modules';
1515
export { onUncaughtExceptionIntegration } from '../integrations/onuncaughtexception';
1616
export { onUnhandledRejectionIntegration } from '../integrations/onunhandledrejection';
17-
// eslint-disable-next-line deprecation/deprecation
18-
export { anrIntegration, disableAnrDetectionForCallback } from '../integrations/anr';
1917
export { spotlightIntegration } from '../integrations/spotlight';
2018
export { systemErrorIntegration } from '../integrations/systemError';
2119
export { childProcessIntegration } from '../integrations/childProcess';
@@ -58,8 +56,6 @@ export {
5856
withMonitor,
5957
requestDataIntegration,
6058
functionToStringIntegration,
61-
// eslint-disable-next-line deprecation/deprecation
62-
inboundFiltersIntegration,
6359
eventFiltersIntegration,
6460
linkedErrorsIntegration,
6561
addEventProcessor,

packages/node-core/src/light/sdk.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import {
44
consoleIntegration,
55
consoleSandbox,
66
debug,
7+
eventFiltersIntegration,
78
functionToStringIntegration,
89
getCurrentScope,
910
getIntegrationsToSetup,
1011
GLOBAL_OBJ,
11-
inboundFiltersIntegration,
1212
linkedErrorsIntegration,
1313
propagationContextFromHeaders,
1414
requestDataIntegration,
@@ -43,9 +43,7 @@ import { httpServerIntegration } from './integrations/httpServerIntegration';
4343
export function getDefaultIntegrations(): Integration[] {
4444
return [
4545
// Common
46-
// TODO(v11): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration`
47-
// eslint-disable-next-line deprecation/deprecation
48-
inboundFiltersIntegration(),
46+
eventFiltersIntegration(),
4947
functionToStringIntegration(),
5048
linkedErrorsIntegration(),
5149
requestDataIntegration(),

0 commit comments

Comments
 (0)