File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
dev-packages/e2e-tests/test-applications/node-exports-test-app/scripts Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const NODE_EXPORTS_IGNORE = [
11
11
'default' ,
12
12
// Probably generated by transpilation, no need to require it
13
13
'__esModule' ,
14
- // this function was deprecates almost immediately after it was introduced
14
+ // this function was deprecated almost immediately after it was introduced
15
15
// due to a name change (startSpan). No need to re-export it IMHO.
16
16
'startActiveSpan' ,
17
17
// this was never meant for external use (and documented as such)
@@ -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 = {
@@ -55,9 +53,6 @@ const DEPENDENTS: Dependent[] = [
55
53
package : '@sentry/serverless' ,
56
54
exports : Object . keys ( SentryServerless ) ,
57
55
ignoreExports : [
58
- // Deprecated, no need to add this now to serverless
59
- 'extractTraceparentData' ,
60
- 'getModuleFromFilename' ,
61
56
// TODO: Should these be exported from serverless?
62
57
'cron' ,
63
58
'enableAnrDetection' ,
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ export {
37
37
getGlobalScope ,
38
38
getIsolationScope ,
39
39
getHubFromCarrier ,
40
+ // eslint-disable-next-line deprecation/deprecation
41
+ spanStatusfromHttpCode ,
40
42
getSpanStatusFromHttpCode ,
41
43
// eslint-disable-next-line deprecation/deprecation
42
44
makeMain ,
@@ -83,6 +85,10 @@ export {
83
85
linkedErrorsIntegration ,
84
86
inboundFiltersIntegration ,
85
87
functionToStringIntegration ,
88
+ // eslint-disable-next-line deprecation/deprecation
89
+ getModuleFromFilename ,
86
90
createGetModuleFromFilename ,
87
91
metrics ,
92
+ // eslint-disable-next-line deprecation/deprecation
93
+ extractTraceparentData ,
88
94
} from '@sentry/node' ;
You can’t perform that action at this time.
0 commit comments