Skip to content

Bump intl-tel-input from 26.9.2 to 28.0.4#1181

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/intl-tel-input-28.0.4
Open

Bump intl-tel-input from 26.9.2 to 28.0.4#1181
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/intl-tel-input-28.0.4

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 30, 2026

Bumps intl-tel-input from 26.9.2 to 28.0.4.

Release notes

Sourced from intl-tel-input's releases.

v28.0.4

  • Replace innerHTML icon assignments with createElementNS to avoid Trusted Types violations (33c31667)

v28.0.3

  • Disable nationalMode by default, now that separateDialCode overrules it (41237059)

v28.0.2

  • Make Angular validation demo use ReactiveFormsModule (f57386cb)
  • More culling plugin (0964a243)
  • Rename JS Plugin to Vanilla JS lib (ffb9f94e)
  • Update readmes (9892749a)

v28.0.1

v28.0.0

Breaking changes

(1) Framework wrappers moved to scoped packages

If you use the React, Vue, Angular or Svelte wrappers, update your imports:

  • intl-tel-input/react@intl-tel-input/react
  • intl-tel-input/reactWithUtils@intl-tel-input/react/with-utils
  • intl-tel-input/vue@intl-tel-input/vue
  • intl-tel-input/vueWithUtils@intl-tel-input/vue/with-utils
  • intl-tel-input/angular@intl-tel-input/angular
  • intl-tel-input/angularWithUtils@intl-tel-input/angular/with-utils
  • intl-tel-input/svelte@intl-tel-input/svelte
  • intl-tel-input/svelteWithUtils@intl-tel-input/svelte/with-utils

You'll also need to install the new package (e.g. npm install @intl-tel-input/react). The vanilla intl-tel-input import is unchanged.

(2) New defaults for several options

  • separateDialCode, strictMode, strictRejectAnimation now all default to true.
  • nationalMode now defaults to false.

(3) String names replace integer enums in the public API

getNumber(format), getNumberType() and getValidationError() now use libphonenumber-style string names instead of integers, and the -99 "unknown" sentinel is now null. The old intlTelInput.utils.numberType / validationError / numberFormat enum maps are gone — use the new typo-safe constants on intlTelInput itself instead (or the bare string).

This change also flows through to the framework wrappers: the onChangeErrorCode callback (React/Vue/Svelte) and the errorCodeChange event (Angular) now emit a ValidationError string (e.g. "TOO_SHORT") or null, instead of an integer or -99.

getNumberType() — used to return an integer like 1, now returns a string like "MOBILE":

// before
if (iti.getNumberType() === intlTelInput.utils.numberType.MOBILE) { ... }
</tr></table>

... (truncated)

Changelog

Sourced from intl-tel-input's changelog.

See the Github Releases page for changelog: https://github.com/jackocnr/intl-tel-input/releases

Or to view a specific version, e.g. v28.0.4, update the URL accordingly, e.g. https://github.com/jackocnr/intl-tel-input/releases/tag/v28.0.4

Breaking changes

Commits
  • 16e72f3 v28.0.4
  • 33c3166 Replace innerHTML icon assignments with createElementNS to avoid Trusted Type...
  • c6a3d9a v28.0.3
  • 4123705 Disable nationalMode by default, now that separateDialCode overrules it
  • bee4bc1 Re-phrase more refs to plugin
  • 3b9df04 Remove more references to plugin
  • a709e31 Readme tweaks
  • 00366b9 v28.0.2
  • 0964a24 More culling plugin
  • ffb9f94 Rename JS Plugin to Vanilla JS lib
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for intl-tel-input since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [intl-tel-input](https://github.com/jackocnr/intl-tel-input/tree/HEAD/packages/core) from 26.9.2 to 28.0.4.
- [Release notes](https://github.com/jackocnr/intl-tel-input/releases)
- [Changelog](https://github.com/jackocnr/intl-tel-input/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackocnr/intl-tel-input/commits/v28.0.4/packages/core)

---
updated-dependencies:
- dependency-name: intl-tel-input
  dependency-version: 28.0.4
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants