New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 1.0.0 to 1.0.1

15

index.js

@@ -5,3 +5,4 @@ /**

// TODO - remove jquery dependence
// TODO - fix the onlyContries props. Currently expects that as an array of country object, but users should be able to send in array of country isos
var _ = require('lodash');

@@ -47,14 +48,2 @@ var React = require('react/addons');

function scrollToTop(scrollDuration) {
var scrollStep = -window.scrollY / (scrollDuration / 15),
scrollInterval = setInterval(function(){
if ( window.scrollY != 0 ) {
window.scrollBy( 0, scrollStep );
}
else clearInterval(scrollInterval);
},15);
}
// sroll to the country list item in the dropdown
var ReactTelephoneInput = React.createClass({

@@ -61,0 +50,0 @@ getInitialState: function() {

2

package.json
{
"name": "react-telephone-input",
"version": "1.0.0",
"version": "1.0.1",
"description": "React component for entering and validating international telephone numbers. Inspired from the awesome jquery plugin for the same - https://github.com/Bluefieldscom/intl-tel-input.",

@@ -5,0 +5,0 @@ "main": "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