File tree 2 files changed +2
-2
lines changed
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 {
628
628
resource . startTimestamp = timeOrigin + startTime ;
629
629
resource . endTimestamp = resource . startTimestamp + duration ;
630
630
// 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 ) {
632
632
entryScriptStartEndTime = resource . endTimestamp ;
633
633
}
634
634
}
Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ export class Vue implements Integration {
250
250
const childHandler = ( hook : Hook , operation : Operation ) => {
251
251
// Skip components that we don't want to track to minimize the noise and give a more granular control to the user
252
252
const shouldTrack = Array . isArray ( this . _options . tracingOptions . trackComponents )
253
- ? this . _options . tracingOptions . trackComponents . includes ( name )
253
+ ? this . _options . tracingOptions . trackComponents . indexOf ( name ) > - 1
254
254
: this . _options . tracingOptions . trackComponents ;
255
255
256
256
if ( ! this . _rootSpan || ! shouldTrack ) {
You can’t perform that action at this time.
0 commit comments