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

react-telephone-input

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-telephone-input - npm Package Compare versions

Comparing version 3.1.3 to 3.2.3

8

package.json
{
"name": "react-telephone-input",
"version": "3.1.3",
"version": "3.2.3",
"description": "React component for entering and validating international telephone numbers",

@@ -51,6 +51,8 @@ "main": "lib/ReactTelephoneInput.js",

"lodash": "^3.10.1",
"react": ">=0.14.0",
"react-dom": "^0.14.7",
"react-onclickoutside": "^4.5.0"
},
"peerDependencies": {
"react": ">=0.14.0",
"react-dom": "^0.14.7"
},
"browserify-shim": {

@@ -57,0 +59,0 @@ "classnames": "global:classNames",

@@ -27,3 +27,5 @@ Reactjs Component for International Telephone Input

flagsImagePath='/path/to/images/flags.png'
onChange={handleInputChange}/>
onChange={handleInputChange}
onBlur={handleInputBlur}
/>
</MyAwesomeReactComponent>

@@ -36,3 +38,4 @@

flagsImagePath='/path/to/images/flags.png'
onChange={handleInputChange}/>,
onChange={handleInputChange}/>
onBlur={handleInputBlur}
document.getElementById('my-container'));

@@ -50,6 +53,12 @@ ```

function handleInputBlur(telNumber) {
console.log('Focus off the ReactTelephoneInput component. Tel number entered is: ', telNumber);
}
<ReactTelephoneInput
defaultCountry='in'
flagsImagePath='/path/to/images/flags.png'
onChange={handleInputChange}>
onChange={handleInputChange}
onBlur={handleInputBlur}
/>
```

@@ -56,0 +65,0 @@ The default value for `flagsImagePath` is 'flags.png'

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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