Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core & multiple modules: replace deepAccess with optional chaining #12544

Merged
merged 6 commits into from
Dec 6, 2024

Conversation

gwhigs
Copy link
Collaborator

@gwhigs gwhigs commented Dec 4, 2024

Closes #12543

Type of change

  • Refactoring (no functional changes, no api changes)

Description of change

Replaces usage of deepAccess with optional chaining.

By no means comprehensive; just some incremental updates. Focuses on low-hanging fruit in /src/,/libraries/, and a handful of modules we use regularly.

@gwhigs gwhigs requested a review from dgirardi December 4, 2024 22:42
src/native.js Outdated Show resolved Hide resolved
gwhigs and others added 3 commits December 5, 2024 11:55
Adding these changes back after review discovered the missing optional chain which was causing test failure in a previous commit.
src/bidderSettings.js Outdated Show resolved Hide resolved
@dgirardi dgirardi changed the title Replace deepAccess with optional chaining Core & multiple modules: replace deepAccess with optional chaining Dec 5, 2024
@dgirardi dgirardi added the needs 2nd review Core module updates require two approvals from the core team label Dec 5, 2024
@ChrisHuie ChrisHuie removed the needs 2nd review Core module updates require two approvals from the core team label Dec 6, 2024
@ChrisHuie ChrisHuie self-assigned this Dec 6, 2024
@ChrisHuie ChrisHuie merged commit f9327ff into master Dec 6, 2024
6 checks passed
@ChrisHuie ChrisHuie deleted the optional-chaining branch December 6, 2024 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace deepAccess with optional chaining
3 participants