@@ -37,36 +37,30 @@ import { createGetModuleFromFilename } from './module';
37
37
import { makeNodeTransport } from './transports' ;
38
38
import type { NodeClientOptions , NodeOptions } from './types' ;
39
39
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
-
61
40
/** Get the default integrations for the Node SDK. */
62
41
export function getDefaultIntegrations ( _options : Options ) : Integration [ ] {
63
42
const carrier = getMainCarrier ( ) ;
64
43
65
44
const autoloadedIntegrations = carrier . __SENTRY__ ?. integrations || [ ] ;
66
45
67
46
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 ( ) ,
70
64
...autoloadedIntegrations ,
71
65
] ;
72
66
}
0 commit comments