Skip to content

Upstream patches - #151

Merged
giggsey merged 2 commits into
mainfrom
upstream-patches
Oct 2, 2026
Merged

giggsey merged 2 commits into
mainfrom
upstream-patches

Conversation

getPreferredDomesticCarrierCode() returns null when no carrier code is
set, so the !== '' check was always true and Brazilian numbers dialed
within Brazil were formatted without the carrier code they need.
The nullable region code went straight into getMetadataForRegion(),
which throws a TypeError before the existing null check could run.
@giggsey
giggsey enabled auto-merge October 2, 2026 10:59
@giggsey
giggsey merged commit eafc988 into main Oct 2, 2026
20 checks passed
@giggsey
giggsey deleted the upstream-patches branch October 2, 2026 11:00
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.

2 participants