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

@s-ui/react-molecule-phone-input

Package Overview
Dependencies
Maintainers
63
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@s-ui/react-molecule-phone-input - npm Package Compare versions

Comparing version 1.5.0 to 1.6.0

9

CHANGELOG.md
# CHANGELOG
# 1.6.0 (2023-07-28)
### Features
* **components/molecule/phoneInput:** Expose formatted value ([fbd922d](https://github.com/SUI-Components/sui-components/commit/fbd922d64631c682e81464fb99e155c22f29de88))
# 1.5.0 (2023-07-28)

@@ -4,0 +13,0 @@

2

lib/index.js

@@ -20,2 +20,3 @@ import { useEffect, useRef, useState } from 'react';

value = _ref$value === void 0 ? '' : _ref$value,
setFormattedValue = _ref.setFormattedValue,
_ref$prefixes = _ref.prefixes,

@@ -65,2 +66,3 @@ prefixes = _ref$prefixes === void 0 ? [] : _ref$prefixes,

}
typeof setFormattedValue === 'function' && setFormattedValue(value);
typeof onChange === 'function' && onChange(e, {

@@ -67,0 +69,0 @@ prefix: selectedPrefix.countryCode,

2

package.json
{
"name": "@s-ui/react-molecule-phone-input",
"version": "1.5.0",
"version": "1.6.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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