New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-international-phone

Package Overview
Dependencies
Maintainers
1
Versions
65
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.0.0

Diff

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)
goveo
published 1.8.7 •

Changelog

Source

1.8.7 (2023-02-28)

Bug Fixes

  • correctly set an initial-country flag when value is provided (26c97d7)
  • handle dial code change using selector when forceDialCode is set (541e26d)
  • prevent country change when dial code or area-code is not changed (9d68653)
  • use default mask for countries with empty mask (b08a70c)
goveo
published 1.8.6 •

Changelog

Source

1.8.6 (2023-02-22)

Bug Fixes

  • remove node version from package.json (c9c4057)
goveo
published 1.8.5 •

Changelog

Source

1.8.5 (2023-02-12)

Bug Fixes

  • guess country by passed value on initial render (98607b6)
  • revert scrolling behaviour (9947eeb)
goveo
published 1.8.4 •

Changelog

Source

1.8.4 (2023-02-11)

Bug Fixes

  • add initial value formatting, fix flash on mount (e67c694)
  • set cursor to the end on autofocus (017b0de)
goveo
published 1.8.3 •

Changelog

Source

1.8.3 (2023-02-05)

Bug Fixes

  • CountrySelectorDropdown: re-implement scrolling using the native scrollIntoView function (df3da41)
goveo
published 1.8.2 •

Changelog

Source

1.8.2 (2023-02-03)

Bug Fixes

  • CountrySelector: fix dropdown closing by clicking on the selector button (b149f6d)
goveo
published 1.8.1 •

Changelog

Source

1.8.1 (2023-01-29)

Bug Fixes

  • build: switch back to webpack builder (934090c)
goveo
published 1.8.0 •

Changelog

Source

1.8.0 (2023-01-29)

Bug Fixes

  • CountrySelector: omit onClick event type (28e4e48)

Features

  • CountrySelectorDropdown: add css variables for top and left properties (13660bb)
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