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

fix(deps): update dependency intl-tel-input to v25 #3589

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 7, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
intl-tel-input (source) 17.0.13 -> 25.2.0 age adoption passing confidence

Release Notes

jackocnr/intl-tel-input (intl-tel-input)

v25.2.0

Compare Source

v25.1.1

Compare Source

Fixes

v25.1.0

Compare Source

New features

Bug fixes

v25.0.2

Compare Source

v25.0.1

Compare Source

hiddenInput now supports pre-existing hidden inputs

v25.0.0

Compare Source

v24.8.2

Compare Source

Update utils to libphonenumber v8.13.51

v24.8.1

Compare Source

Allow promise-like objects as loadUtilsOnInit option

v24.8.0

Compare Source

Update utils to libphonenumber v8.13.50

v24.7.0

Compare Source

Add Danish language - thanks @​matthiasdilger

v24.6.1

Compare Source

Update utils to libphonenumber v8.13.49

v24.6.0

Compare Source

Support async functions for loading the utils script - thanks to @​Mr0grog

Details
Deprecated utilsScript option, in favour of new loadUtilsOnInit option, which can be used in 2 ways:

// a string URL, as before
loadUtilsOnInit: "/path/to/utils.js"

or

// a function which returns a promise, resolving to the utils module
loadUtilsOnInit: () => import("/path/to/utils.js")

See readme for more info.

v24.5.2

Compare Source

strictMode fix: cannot type russian placeholder number

v24.5.1

Compare Source

v24.5.0

Compare Source

v24.4.0

Compare Source

  • Fix incomplete Vue validation demo
  • Add new Vue demos for set-number and toggle-disabled
  • Add inputProps prop to Vue component to allow setting input attributes
  • Format Vue component code using Prettier
  • Update Vue component README

All thanks to @​carlssonemil

v24.3.7

Compare Source

v24.3.6

Compare Source

v24.3.5

Compare Source

Fix process.env.version in vue files

v24.3.4

Compare Source

Support separateDialCode=true and countrySearch=false

v24.3.3

Compare Source

Include vue build files in package.json files

v24.3.2

Compare Source

validation requires a valid selected country

NOTE: fixes issue where the plugin is initialised with onlyCountries=["us"] and the user types a valid UK number in international format and then calls isValidNumber. Previously it would validate as true, now it will validate as false, which is more desirable given the onlyCountries setting.

v24.3.1

Compare Source

Add guard

v24.3.0

Compare Source

v24.2.1

Compare Source

add guard

v24.2.0

Compare Source

feat: Add Polish translations for country and interface

v24.1.3

Compare Source

Remove opinionated padding on search-input - should use the websites default

v24.1.2

Compare Source

1px border-radius on flags

v24.1.1

Compare Source

v24.1.0

Compare Source

Vue component - initial commit - thanks @​mdpoulter!

v24.0.2

Compare Source

v24.0.1

Compare Source

Country search: support initials

v24.0.0

Compare Source

v23.9.3

Compare Source

Fix: declaration modules names

v23.9.2

Compare Source

Add types to i18n section of package.json

v23.9.1

Compare Source

Remove unused translations

v23.9.0

Compare Source

v23.8.2

Compare Source

Fix: dropdown arrow jumps when geoIpLookup completes

v23.8.1

Compare Source

v23.8.0

Compare Source

Thanks to @​bgb10!

v23.7.4

Compare Source

chore(intl-tel-input.ts): add @​vite-ignore comment to webpackIgnore directive to ensure Vite ignores the path during bundling

Thanks @​mihai-ro!

v23.7.3

Compare Source

Update utils to libphonenumber v8.13.42

v23.7.1

Compare Source

Fix: country names with accents should not be pushed to end of list

v23.7.0

Compare Source

Add Bosnian and Croatian translations - thanks to @​sabljak

v23.6.1

Compare Source

Update utils to libphonenumber v8.13.40

v23.6.0

Compare Source

v23.5.0

Compare Source

webp images

v23.4.1

Compare Source

Remove added input padding in destroy method

v23.4.0

Compare Source

Re-add countrySearch option

(primarily for cases where you only want to show a handful of countries in the dropdown, when search seems overkill)

v23.3.2

Compare Source

light globe icon for dark mode

v23.3.1

Compare Source

The selected country flag should not be a button if allowDropdown is false

v23.3.0

Compare Source

Easier dark mode theming (see new readme section) - thanks to @​anthony0030

v23.2.1

Compare Source

Revert "Single types file"

This didn't work. Non-react projects got an error for the react import in the types file. See https://github.com/jackocnr/intl-tel-input/issues/1694.

v23.2.0

Compare Source

Single types file

v23.1.2

Compare Source

Remove (break) the dynamic import in the 4 bundles that come with utils

v23.1.1

Compare Source

Farsi translations, by Mahyar SBT

v23.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: jackocnr/intl-tel-input@v23.0.12...v23.1.0

v23.0.12

Compare Source

v23.0.11

Compare Source

Fix: auto country ignored in some cases.

v23.0.10

Compare Source

v23.0.9

Compare Source

setNumber now triggers input event

v23.0.8

Compare Source

Fix: static getCountryData missing country names

v23.0.7

Compare Source

v23.0.6

Compare Source

React cmp: expose instance ref and input ref to parent

v23.0.5

Compare Source

v23.0.4

Compare Source

Update LPN to v8.13.36

v23.0.3

Compare Source

Fix strictMode issue: type max len number, select all, can't type 0

v23.0.2

Compare Source

  • New package.json exports

v23.0.1

Compare Source

  • validationNumberType (see v23.0.0 release notes)

v23.0.0

Compare Source

  • utilsScript option and loadUtils method now load the utils script using a dynamic import as opposed to injecting a new script tag.
  • To make this work, the utils script (build/js/utils.js) is now an ES Module, which no longer uses any globals, like window.intlTelInputUtils (etc). This means it will no longer work to pre-load the utils script yourself, hence the new bundles (see next point).
  • For those who are not worried about file size, we now provide two bundles which include the utils script: build/js/intlTelInputWithUtils.js and react/build/IntlTelInputWithUtils.js. If you're using ES Modules, you can import these as "intl-tel-input/intlTelInputWithUtils" and "intl-tel-input/reactWithUtils" respectively (TypeScript types included in the regular declaration files).
  • New option validationNumberType which defaults to "MOBILE" - this determines the number type to enforce during validation with isValidNumber, as well as the number length to enforce with strictMode. This replaces the mobileOnly argument which you could previously pass to isValidNumber. (this change snuck in in v23.0.1 very quickly after releasing v23.0.0)

v22.0.2

Compare Source

v22.0.1

Compare Source

Switch translation files from .mjs to .js to increase compatibility e.g. esbuild

v22.0.0

Compare Source

  • Dropped showSelectedDialCode in favour of new separateDialCode option
  • Dropped countrySearch option (leaving it enabled)
  • Dropped preferredCountries option in favour of new countryOrder option
  • Moved global variables window.intlTelInputGlobals and window.intlTelInputUtils to static variables on intlTelInput object e.g. intlTelInput.getCountryData() and intlTelInput.utils.getValidationError()
  • Switch translation files from .mjs to .js to increase compatibility e.g. esbuild

v21.2.8

Compare Source

v21.2.7

Compare Source

  • minor bug fix

v21.2.6

Compare Source

  • Improve translation exports - thanks @​anthony0030!
  • Update to libphonenumber v8.13.35

v21.2.5

Compare Source

  • Dont override window.intlTelInputGlobals if already exists

v21.2.4

Compare Source

v21.2.3

Compare Source

  • Move translations out of data.js

v21.2.2

Compare Source

  • Add ZH locale
  • Add AC and XK country names in all translation files (currently not supported by country-list lib)

v21.2.1

Compare Source

  • Fix package.json path

v21.2.0

Compare Source

  • Provide translation modules for several common languages - BIG THANKS to @​anthony0030 🎈 🍰

v21.1.4

Compare Source

Add new CA dial code

v21.1.3

Compare Source

Fix globe icon

v21.1.2

Compare Source

Expose react CJS module

v21.1.1

Compare Source

Fix package.json exports

v21.1.0

Compare Source

  • Significant reduction in CSS filesize
  • Lots of other improvements under the hood e.g. linting/spelling/formatting fixes

With thanks to @​anthony0030

Full Changelog: jackocnr/intl-tel-input@v21.0.9...v21.1.0

v21.0.9

Compare Source

TS declaration setup v6

v21.0.8

Compare Source

Try re-adding types entry in package.json

v21.0.7

Compare Source

Bump libphonenumber

v21.0.6

Compare Source

TS declaration setup v5

v21.0.5

Compare Source

TS declaration setup v4

v21.0.4

Compare Source

v21.0.3

Compare Source

TS declaration setup v3

v21.0.2

Compare Source

  • Fixes and testing different TS declaration setup

v21.0.1

Compare Source

Fixes

v21.0.0

Compare Source

BREAKING CHANGES

  • Remove legacy jQuery version of the plugin
  • Remove Sass variables in favour of CSS variables (thanks @​anthony0030)
    • NOTE: upgrading users are recommended to update their CSS overrides to use the new CSS variables instead where possible - see CSS file for details
  • React component: drop CommonJS build (IntlTelInput.cjs.js) and rename ES Modules build from IntlTelInput.esm.js to IntlTelInput.js
  • React component: remove redundant react props: placeholder, className, disabled, onFocus, onBlur (instead use inputProps)
  • Switch selected-flag div to be a <button> instead of just having role="button" attribute
  • Rename HTML/CSS classes: selected-flag => selected-country and flag-container => country-container

OTHER CHANGES

  • Use Esbuild instead of grunt plugins (template/concat/uglify) to build JS
  • Use ES modules internally
  • Use Typescript internally (type declaration files can be found in build/js/ and react/build/js/ dirs)
  • Update libphonenumber to v8.13.33 (thanks @​anthony0030)
  • Add a way to automatically download the correct version of node (thanks @​anthony0030)

v20.3.0

Compare Source

  • Remove babel build step as no longer needed

v20.2.0

Compare Source

  • Added strictMode option

v20.1.0

Compare Source

  • React component: support inputProps prop

v20.0.5

Compare Source

  • a11y fix - see commits

v20.0.4

Compare Source

Cleanup

v20.0.3

Compare Source

  • Bump libphonenumber to v8.13.32

v20.0.2

Compare Source

  • Build CSS

v20.0.1

Compare Source

Fixes

v20.0.0

Compare Source

BREAKING CHANGES

  • Limit the number of files installed with intl-tel-input (as a dependency) - more details here
  • Update the ARIA tags to work with countrySearch (there are 4 new translation keys in i18n option - see readme)
  • Remove defaultToFirstCountry option as that behaviour was causing problems and so is not recommended (you can always use initialCountry to set the initial country if you wish to)
  • By default, calling isValidNumber will now default to mobile-only mode (it will only return true for valid mobile numbers), which means it will be much more accurate - if you don't want this, you can pass false as an argument e.g. isValidNumber(false)
  • Removed legacy Promise checks, as they are now supported in all modern browsers
  • Remove autoInsertDialCode feature, preferring showSelectedDialCode
  • Simplified hiddenInput option so it must return an object - see readme
  • Validation methods now return false if the number contains an alphabetic character

NON BREAKING CHANGES

v19.5.7

Compare Source

Fixes

v19.5.6

Compare Source

  • mobileOnly flag for isValidNumber

v19.5.5

Compare Source

Fixes

v19.5.4

Compare Source

Fixes

v19.5.3

Compare Source

v19.5.2

Compare Source

v19.5.1

Compare Source

v19.5.0

Compare Source

  • New globe icon

v19.4.0

Compare Source

  • improve hiddenInput to allow returning an object (see readme)

v19.3.0

Compare Source

  • defaultToFirstCountry option

v19.2.20

Compare Source

  • Fixes

v19.2.19

Compare Source

v19.2.18

Compare Source

Fixes

v19.2.17

Compare Source

v19.2.16

Compare Source

Fixes

v19.2.15

Compare Source

Full Changelog: jackocnr/intl-tel-input@v19.2.14...v19.2.15

v19.2.14

Compare Source

Handle accented chars in search

v19.2.13

Compare Source

Tweaks

v19.2.12

Compare Source

Fixes

v19.2.11

Compare Source

Build stuff

v19.2.8

Compare Source

Fixes

v19.2.7

Compare Source

Fixes

v19.2.6

Compare Source

Fixes

v19.2.5

Compare Source

Fixes

v19.2.3

Compare Source

v19.2.2

Compare Source

v19.2.1

Compare Source

v19.2.0

Compare Source

v19.1.1

Compare Source

v19.1.0

Compare Source

v19.0.2

Compare Source

Bugfix

v19.0.1

Compare Source

v19.0.0

Compare Source

v18.5.3

Compare Source

v18.5.2

Compare Source

v18.5.1

Compare Source

Fixes

v18.5.0

Compare Source

v18.4.0

Compare Source

v18.3.5

Compare Source

  • Fix getValidationError returning -99 for 1-digit numbers
  • Fix popup position when only showing a few countries

v18.3.4

Compare Source

What's Changed

New Contributors

Full Changelog: jackocnr/intl-tel-input@v18.3.3...v18.3.4

v18.3.3

Compare Source

-Fix tests

v18.3.2

Compare Source

-Re-add Western Sahara - see discussion here:https://github.com/jackocnr/intl-tel-input/pull/14844

v18.3.1

Compare Source

-Fixing non compliant divider in country dropdown

v18.3.0

Compare Source

-remove western sahara country
-useFullscreenPopup option
-update libphonenumber to v8.13.26

v18.2.1

[Compare Source](https://redirect.github.com/jackocnr/intl-tel-input/compare/


Configuration

📅 Schedule: Branch creation - "every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Dec 7, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 7, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.64%. Comparing base (5619783) to head (d5482a4).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #3589    +/-   ##
========================================
  Coverage   66.64%   66.64%            
========================================
  Files         909      909            
  Lines       14870    14870            
  Branches     2064     2068     +4     
========================================
  Hits         9910     9910            
+ Misses       4787     4653   -134     
- Partials      173      307   +134     

see 59 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5619783...d5482a4. Read the comment docs.

@renovate renovate bot force-pushed the renovate/intl-tel-input-25.x branch from 4974a57 to bff0219 Compare December 7, 2024 18:25
@renovate renovate bot force-pushed the renovate/intl-tel-input-25.x branch from bff0219 to ea280c0 Compare December 8, 2024 19:10
@renovate renovate bot force-pushed the renovate/intl-tel-input-25.x branch from ea280c0 to 219d4fd Compare December 9, 2024 01:22
@renovate renovate bot force-pushed the renovate/intl-tel-input-25.x branch from 219d4fd to 7b5ea35 Compare December 12, 2024 13:49
@renovate renovate bot force-pushed the renovate/intl-tel-input-25.x branch from 7b5ea35 to 40471cb Compare December 12, 2024 14:42
Copy link

socket-security bot commented Dec 12, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Possible typosquat attack npm/[email protected] ⚠︎

View full report↗︎

Next steps

What is a typosquat?

Package name is similar to other popular packages and may not be the package you want.

Use care when consuming similarly named packages and ensure that you did not intend to consume a different package. Malicious packages often publish using similar names as existing popular packages.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

@renovate renovate bot force-pushed the renovate/intl-tel-input-25.x branch from 40471cb to d5482a4 Compare December 12, 2024 14:45
Copy link

Report too large to display inline

View full report↗︎

Copy link

sonarcloud bot commented Dec 12, 2024

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant