Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 12, 2026

This PR contains the following updates:

Package Change Age Confidence
libphonenumber-js ^1.12.31^1.12.35 age confidence

Release Notes

catamphetamine/libphonenumber-js (libphonenumber-js)

v1.12.35

Compare Source

===================

  • Updated metadata to version 9.0.22:
    • Updated phone metadata for region code(s):
      AE, AG, AI, AS, BB, BM, BS, CA, DM, DO, GD, GU, HK, JM, KN, KR, KY, LC, MA,
      MP, MS, PR, SG, SX, TC, TT, UG, US, VC, VG, VI
    • Updated geocoding data for country calling code(s): 1305 (en)
    • Updated carrier data for country calling code(s):
      33 (en), 34 (en), 39 (en), 41 (en), 65 (en), 81 (en), 255 (en), 256 (en),
      852 (en, zh, zh_Hant), 971 (en)

v1.12.34

Compare Source

v1.12.33

Compare Source

===================

  • Updated metadata to version 9.0.21:
    • Updated alternate formatting data for country calling code(s): 91
    • Updated phone metadata for region code(s):
      CL, EE, ET, GE, GY, HK, IN, KR, MG, SG, SV, US
    • New geocoding data for country calling code(s): 1353 (en)
    • Updated geocoding data for country calling code(s): 251 (en)
    • Updated carrier data for country calling code(s):
      34 (en), 36 (en), 43 (en), 48 (en), 56 (en), 65 (en), 261 (en), 501 (en),
      503 (en), 852 (en, zh)
    • Updated / refreshed time zone meta data.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel
Copy link

vercel bot commented Jan 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Review Updated (UTC)
o2s-docs Skipped Skipped Jan 26, 2026 5:09pm

Request Review

@vercel vercel bot temporarily deployed to Preview – o2s-docs January 12, 2026 14:11 Inactive
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 12, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate renovate bot force-pushed the renovate/libphonenumber-js-1.x branch from 9c3832e to a640758 Compare January 15, 2026 08:12
@vercel vercel bot temporarily deployed to Preview – o2s-docs January 15, 2026 08:13 Inactive
@renovate renovate bot force-pushed the renovate/libphonenumber-js-1.x branch from a640758 to e9c4c81 Compare January 20, 2026 20:22
@vercel vercel bot temporarily deployed to Preview – o2s-docs January 20, 2026 20:22 Inactive
@renovate renovate bot force-pushed the renovate/libphonenumber-js-1.x branch from e9c4c81 to 7510b25 Compare January 22, 2026 06:19
@renovate renovate bot changed the title fix(deps): update dependency libphonenumber-js to ^1.12.34 fix(deps): update dependency libphonenumber-js to ^1.12.35 Jan 22, 2026
@vercel vercel bot temporarily deployed to Preview – o2s-docs January 22, 2026 06:19 Inactive
@renovate renovate bot force-pushed the renovate/libphonenumber-js-1.x branch from 7510b25 to 6a294d6 Compare January 22, 2026 14:58
@vercel vercel bot temporarily deployed to Preview – o2s-docs January 22, 2026 14:58 Inactive
@renovate renovate bot force-pushed the renovate/libphonenumber-js-1.x branch from 6a294d6 to dc919f7 Compare January 23, 2026 20:25
@vercel vercel bot temporarily deployed to Preview – o2s-docs January 23, 2026 20:25 Inactive
@vercel vercel bot temporarily deployed to Preview – o2s-docs January 26, 2026 13:56 Inactive
@vercel vercel bot temporarily deployed to Preview – o2s-docs January 26, 2026 17:09 Inactive
@michnowak
Copy link
Collaborator

Solution

Removed the v2: true option from the formatInternational() call. In libphonenumber-js v1.12.35, this option is no longer part of the API and the v2 behavior (using PhoneNumber class instances instead of plain objects) is now the default.

Technical Details

The v2 option was previously used to switch between:

  • v2: true - Using PhoneNumber class instances with nationalNumber property (newer approach)
  • Without v2 - Using plain objects with phone property (legacy approach)

In the current version, formatInternational() always uses the v2 approach by default, making the option redundant and causing TypeScript errors when included.

Changes

  • Removed { v2: true } from phoneNumber?.formatInternational() call
  • Functionality remains unchanged as the v2 behavior is now the default

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