Skip to content

Commit

Permalink
fix: safari support requires we don't use (#1553)
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra authored Nov 26, 2024
1 parent d49244f commit 230e475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/replay/sessionrecording-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function circularReferenceReplacer() {
if (isObject(value)) {
// `this` is the object that value is contained in,
// i.e., its direct parent.
while (ancestors.length > 0 && ancestors.at(-1) !== this) {
while (ancestors.length > 0 && ancestors[ancestors.length - 1] !== this) {
ancestors.pop()
}
if (ancestors.includes(value)) {
Expand Down

0 comments on commit 230e475

Please sign in to comment.