File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed
dev-packages/e2e-tests/test-applications/node-exports-test-app/scripts Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ const NODE_EXPORTS_IGNORE = [
22
22
'DebugSession' ,
23
23
'AnrIntegrationOptions' ,
24
24
'LocalVariablesIntegrationOptions' ,
25
- // deprecated
26
- 'spanStatusfromHttpCode' ,
27
25
] ;
28
26
29
27
type Dependent = {
@@ -43,13 +41,10 @@ const DEPENDENTS: Dependent[] = [
43
41
// Next.js doesn't require explicit exports, so we can just merge top level and `default` exports:
44
42
// @ts -expect-error: `default` is not in the type definition but it's defined
45
43
exports : Object . keys ( { ...SentryNextJs , ...SentryNextJs . default } ) ,
46
- ignoreExports : [ 'withSentryConfig' ] ,
47
44
} ,
48
45
{
49
46
package : '@sentry/remix' ,
50
47
exports : Object . keys ( SentryRemix ) ,
51
- // TODO: Fix exports in remix
52
- skip : true ,
53
48
} ,
54
49
{
55
50
package : '@sentry/serverless' ,
@@ -58,9 +53,9 @@ const DEPENDENTS: Dependent[] = [
58
53
// Deprecated, no need to add this now to serverless
59
54
'extractTraceparentData' ,
60
55
'getModuleFromFilename' ,
56
+ 'enableAnrDetection' ,
61
57
// TODO: Should these be exported from serverless?
62
58
'cron' ,
63
- 'enableAnrDetection' ,
64
59
'runWithAsyncContext' ,
65
60
'hapiErrorPlugin' ,
66
61
] ,
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ export {
39
39
// eslint-disable-next-line deprecation/deprecation
40
40
makeMain ,
41
41
setCurrentClient ,
42
+ NodeClient ,
42
43
Scope ,
43
44
// eslint-disable-next-line deprecation/deprecation
44
45
startTransaction ,
@@ -83,6 +84,18 @@ export {
83
84
isInitialized ,
84
85
cron ,
85
86
parameterize ,
87
+ metrics ,
88
+ // eslint-disable-next-line deprecation/deprecation
89
+ getModuleFromFilename ,
90
+ createGetModuleFromFilename ,
91
+ functionToStringIntegration ,
92
+ hapiErrorPlugin ,
93
+ inboundFiltersIntegration ,
94
+ linkedErrorsIntegration ,
95
+ requestDataIntegration ,
96
+ runWithAsyncContext ,
97
+ // eslint-disable-next-line deprecation/deprecation
98
+ enableAnrDetection ,
86
99
} from '@sentry/node' ;
87
100
88
101
// Keeping the `*` exports for backwards compatibility and types
You can’t perform that action at this time.
0 commit comments