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 4.75.5 to 5.0.0

dist/format_number.d.ts

2

CHANGELOG.md

@@ -0,1 +1,3 @@

## 5.0.0 (2020-05-02)
# Changelog

@@ -2,0 +4,0 @@

33

package.json
{
"name": "react-telephone-input",
"version": "4.75.5",
"version": "5.0.0",
"description": "React component for entering and validating international telephone numbers",
"main": "lib/ReactTelephoneInput.js",
"modules": "es/ReactTelephoneInput.js",
"main": "dist/index.js",
"module": "dist/react-telephone-input.esm.js",
"typings": "dist/ReactTelephoneInput.d.ts",
"files": [
"css",
"es",
"lib",
"umd"
"dist",
"src"
],
"scripts": {
"build": "nwb build-react-component --copy-files",
"build": "tsdx build --entry ./src/ReactTelephoneInput.tsx ./src/withStyles.js",
"clean": "nwb clean-module && npx nwb clean-demo",

@@ -21,3 +21,6 @@ "start": "nwb serve-react-demo",

"test:watch": "jest --watch",
"deploy": "gh-pages -d demo/dist"
"deploy": "gh-pages -d demo/dist",
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags",
"release:minor": "changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags",
"release:patch": "changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags"
},

@@ -33,3 +36,2 @@ "husky": {

"prettier --write",
"git add",
"npm run test -- --bail --passWithNoTests --findRelatedTests"

@@ -68,2 +70,6 @@ ]

"@testing-library/react": "^10.0.3",
"@types/jest": "^25.2.1",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"awesome-typescript-loader": "^5.2.1",
"babel-eslint": "^10.0.3",

@@ -78,2 +84,3 @@ "babel-jest": "^25.5.1",

"eslint-plugin-react": "^7.7.0",
"generate-changelog": "^1.8.0",
"gh-pages": "^2.2.0",

@@ -87,5 +94,11 @@ "husky": "^4.2.3",

"react-dom": "^16.13.1",
"regenerator-runtime": "0.13.5"
"regenerator-runtime": "0.13.5",
"ts-jest": "^25.4.0",
"tsdx": "^0.13.2",
"typescript": "^3.8.3"
},
"dependencies": {
"@types/classnames": "^2.2.10",
"@types/debounce": "^1.2.0",
"@types/lodash.memoize": "^4.1.6",
"classnames": "^2.1.2",

@@ -92,0 +105,0 @@ "country-telephone-data": "0.6.2",

@@ -6,2 +6,9 @@ # Reactjs Component for International Telephone Input

_IMP_: From 5.\*, the withStyles file will not be bundled in dist. If you want
to use the css, you can import the css file directly to your module -
```JavaScript
import 'react-telephone-input/css/default.css'
```
_IMP_: From 3.\*, the styles won't be included by default. Can use `require('react-telephone-input/lib/withStyles')` to get the styles.

@@ -197,2 +204,4 @@

### Contributing
You can try the app by downloading everything and running the commands given below -

@@ -207,2 +216,9 @@

### Running tests
```
$ npm run test
$ npm run test -- --watch # to run tests in watch mode
```
[build-badge]: https://img.shields.io/travis/mukeshsoni/react-telephone-input/master.png?style=flat-square

@@ -209,0 +225,0 @@ [build]: https://travis-ci.org/mukeshsoni/react-telephone-input

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