Skip to content

fix(browser): Remove usage of Array.at() method#16647

Merged
AbhiPrasad merged 1 commit intodevelopfrom
abhi-web-vitals-layoutshift-manager
Jun 20, 2025
Merged

fix(browser): Remove usage of Array.at() method#16647
AbhiPrasad merged 1 commit intodevelopfrom
abhi-web-vitals-layoutshift-manager

Conversation

@AbhiPrasad
Copy link
Contributor

@AbhiPrasad AbhiPrasad commented Jun 18, 2025

Sentry SDK supported browsers: https://docs.sentry.io/platforms/javascript/troubleshooting/supported-browsers/

Image

.at is ES2022: https://blog.saeloun.com/2022/02/24/ecmascript2022-adds-add-method/

The browser SDK supports ES2021 at the current moment, so we need to change this.

Resolves #16646

@AbhiPrasad AbhiPrasad requested a review from a team June 18, 2025 17:56
@AbhiPrasad AbhiPrasad self-assigned this Jun 18, 2025
@AbhiPrasad AbhiPrasad requested review from RulaKhaled and mydea and removed request for a team June 18, 2025 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

this._sessionEntries.at is not a function

3 participants