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 = [
1111  'default' , 
1212  // Probably generated by transpilation, no need to require it 
1313  '__esModule' , 
14-   // this function was deprecates  almost immediately after it was introduced 
14+   // this function was deprecated  almost immediately after it was introduced 
1515  // due to a name change (startSpan). No need to re-export it IMHO. 
1616  'startActiveSpan' , 
1717  // this was never meant for external use (and documented as such) 
@@ -22,8 +22,6 @@ const NODE_EXPORTS_IGNORE = [
2222  'DebugSession' , 
2323  'AnrIntegrationOptions' , 
2424  'LocalVariablesIntegrationOptions' , 
25-   // deprecated 
26-   'spanStatusfromHttpCode' , 
2725] ; 
2826
2927type  Dependent  =  { 
@@ -55,9 +53,6 @@ const DEPENDENTS: Dependent[] = [
5553    package : '@sentry/serverless' , 
5654    exports : Object . keys ( SentryServerless ) , 
5755    ignoreExports : [ 
58-       // Deprecated, no need to add this now to serverless 
59-       'extractTraceparentData' , 
60-       'getModuleFromFilename' , 
6156      // TODO: Should these be exported from serverless? 
6257      'cron' , 
6358      'enableAnrDetection' , 
Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ export {
3737  getGlobalScope , 
3838  getIsolationScope , 
3939  getHubFromCarrier , 
40+   // eslint-disable-next-line deprecation/deprecation 
41+   spanStatusfromHttpCode , 
4042  getSpanStatusFromHttpCode , 
4143  // eslint-disable-next-line deprecation/deprecation 
4244  makeMain , 
@@ -83,6 +85,10 @@ export {
8385  linkedErrorsIntegration , 
8486  inboundFiltersIntegration , 
8587  functionToStringIntegration , 
88+   // eslint-disable-next-line deprecation/deprecation 
89+   getModuleFromFilename , 
8690  createGetModuleFromFilename , 
8791  metrics , 
92+   // eslint-disable-next-line deprecation/deprecation 
93+   extractTraceparentData , 
8894}  from  '@sentry/node' ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments