Comparing version 3.1.22 to 3.1.23
@@ -901,3 +901,3 @@ "use strict"; | ||
country_name: 'Kyrgyzstan', | ||
mobile_begin_with: ['5', '7'], | ||
mobile_begin_with: ['5', '7', '8', '9'], | ||
phone_number_lengths: [9] | ||
@@ -904,0 +904,0 @@ }, |
{ | ||
"name": "phone", | ||
"version": "3.1.22", | ||
"version": "3.1.23", | ||
"description": "With a given country and phone number, validate and format the phone number to E.164 standard", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -89,3 +89,3 @@ # Phone · [![Build Status](https://travis-ci.org/AfterShip/phone.svg?branch=v2)](https://travis-ci.org/AfterShip/phone) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com) | ||
### Without country code, with phone prefix, but no `+` sign | ||
### With country code / phone prefix, but no `+` sign | ||
@@ -234,3 +234,3 @@ Even you input a valid phone number with a valid prefix, if there is no plus sign, it will not work as expected: | ||
phoneNumber | String or null | Normalized phone number in E.164 format | ||
countryIso2 | String or null | Detected phone number country code in iso-3166 alpha 3 format | ||
countryIso2 | String or null | Detected phone number country code in iso-3166 alpha 2 format | ||
countryIso3 | String or null | Detected phone number country code in iso-3166 alpha 3 format | ||
@@ -237,0 +237,0 @@ countryCode | String or null | Detected phone number country calling code with `+` sign |
85094