@@ -37,36 +37,30 @@ import { createGetModuleFromFilename } from './module';
3737import { makeNodeTransport } from './transports' ;
3838import type { NodeClientOptions , NodeOptions } from './types' ;
3939
40- /** @deprecated Use `getDefaultIntegrations(options)` instead. */
41- export const defaultIntegrations = [
42- // Common
43- inboundFiltersIntegration ( ) ,
44- functionToStringIntegration ( ) ,
45- linkedErrorsIntegration ( ) ,
46- requestDataIntegration ( ) ,
47- // Native Wrappers
48- consoleIntegration ( ) ,
49- httpIntegration ( ) ,
50- nativeNodeFetchintegration ( ) ,
51- // Global Handlers
52- onUncaughtExceptionIntegration ( ) ,
53- onUnhandledRejectionIntegration ( ) ,
54- // Event Info
55- contextLinesIntegration ( ) ,
56- localVariablesIntegration ( ) ,
57- nodeContextIntegration ( ) ,
58- modulesIntegration ( ) ,
59- ] ;
60-
6140/** Get the default integrations for the Node SDK. */
6241export function getDefaultIntegrations ( _options : Options ) : Integration [ ] {
6342 const carrier = getMainCarrier ( ) ;
6443
6544 const autoloadedIntegrations = carrier . __SENTRY__ ?. integrations || [ ] ;
6645
6746 return [
68- // eslint-disable-next-line deprecation/deprecation
69- ...defaultIntegrations ,
47+ // Common
48+ inboundFiltersIntegration ( ) ,
49+ functionToStringIntegration ( ) ,
50+ linkedErrorsIntegration ( ) ,
51+ requestDataIntegration ( ) ,
52+ // Native Wrappers
53+ consoleIntegration ( ) ,
54+ httpIntegration ( ) ,
55+ nativeNodeFetchintegration ( ) ,
56+ // Global Handlers
57+ onUncaughtExceptionIntegration ( ) ,
58+ onUnhandledRejectionIntegration ( ) ,
59+ // Event Info
60+ contextLinesIntegration ( ) ,
61+ localVariablesIntegration ( ) ,
62+ nodeContextIntegration ( ) ,
63+ modulesIntegration ( ) ,
7064 ...autoloadedIntegrations ,
7165 ] ;
7266}
0 commit comments