Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-international-phone

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-international-phone - npm Package Versions

1
7

2.2.2

Diff

Changelog

Source

2.2.2 (2023-05-05)

Bug Fixes

  • usePhoneInput: move onChange call from the useHistoryState state setter to value update effect (6ab8da7)
goveo
published 2.2.1 •

Changelog

Source

2.2.1 (2023-04-23)

Bug Fixes

  • update Australia format mask (2506e7f)
goveo
published 2.2.0 •

Changelog

Source

2.2.0 (2023-04-21)

Bug Fixes

  • validation: add formatMatch return value, make areaCodesMatch not affect isValid (48715ef)

Features

  • add country value to onChange callback (39fcf48)
  • validation: add country prop to validation function, add dialCodeMatch return property (97f19e7)
goveo
published 2.1.0 •

Changelog

Source

2.1.0 (2023-03-16)

Features

  • make defaultCountry not required, set us as defaultCountry (41e96e3)
goveo
published 2.0.4 •

Changelog

Source

2.0.4 (2023-03-15)

Bug Fixes

  • add onChange callback to usePhoneInput, remove useEffect from PhoneInput (423bef9)
goveo
published 2.0.3 •

Changelog

Source

2.0.3 (2023-03-11)

Bug Fixes

  • infinite loop when passing empty string value on react v18 (c593432)
goveo
published 2.0.2 •

Changelog

Source

2.0.2 (2023-03-11)

Bug Fixes

  • usePhoneInput: fix value change handle after initial render (c00caa1)
goveo
published 2.0.1 •

Changelog

Source

2.0.1 (2023-03-10)

Bug Fixes

  • buildCountryData: fix countryData filter, add validation of passed country values (a62ea19)
goveo
published 2.0.0 •

Changelog

Source

2.0.0 (2023-03-10)

Bug Fixes

  • cursor: fix cursor position on autofocus (a7805fb)

  • cursor: set cursor position on initialization (4176553)

  • history: add history initial value function setter, fix state comparing (5893db6)

  • PhoneInput: fix call onChange callback after redo/undo and country change (e8f5ffc)

  • store country in history, update country flag on undo/redo (8259173)

  • usePhoneInput: fix dial code population on phone removal after the first render (2b14c61)

  • usePhoneInput: remove double rendering on initialization (241e3e1)

  • refactor!: remove usePhone hook, change hideSpaceAfterDialCode with charAfterDialCode (69731ae)

BREAKING CHANGES

  • usePhone hook has been removed
  • hideSpaceAfterDialCode prop was changed with charAfterDialCode
goveo
published 1.8.8 •

Changelog

Source

1.8.8 (2023-03-04)

Bug Fixes

  • update Chinese format mask (bf264a6)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc