File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -628,7 +628,7 @@ export class Tracing implements Integration {
628628 resource . startTimestamp = timeOrigin + startTime ;
629629 resource . endTimestamp = resource . startTimestamp + duration ;
630630 // We remember the entry script end time to calculate the difference to the first init mark
631- if ( entryScriptStartEndTime === undefined && ( entryScriptSrc || '' ) . includes ( resourceName ) ) {
631+ if ( entryScriptStartEndTime === undefined && ( entryScriptSrc || '' ) . indexOf ( resourceName ) > - 1 ) {
632632 entryScriptStartEndTime = resource . endTimestamp ;
633633 }
634634 }
Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ export class Vue implements Integration {
250250 const childHandler = ( hook : Hook , operation : Operation ) => {
251251 // Skip components that we don't want to track to minimize the noise and give a more granular control to the user
252252 const shouldTrack = Array . isArray ( this . _options . tracingOptions . trackComponents )
253- ? this . _options . tracingOptions . trackComponents . includes ( name )
253+ ? this . _options . tracingOptions . trackComponents . indexOf ( name ) > - 1
254254 : this . _options . tracingOptions . trackComponents ;
255255
256256 if ( ! this . _rootSpan || ! shouldTrack ) {
You can’t perform that action at this time.
0 commit comments