Comments (8)
hello, for all reports, please include the reference information such as PDFs, websites, etc. Thank you very much.
from phone.
hello, for all reports, please include the reference information such as PDFs, websites, etc. Thank you very much.
Hi @Bossa573, I am not sure I understand this. Do you mean the link to the application I am using the library with. Or you mean some ISO standards to documentation.
from phone.
any docs works, like each countries government official docs / website, wiki pages, or even 3rd party references showing your number format should be the valid mobile phone number formats.
from phone.
Ohk noted. I found the ITU portal with the documents per country, see link. I have also updated the issue with the links and page number for each set of phone numbers not being recognised.
from phone.
- for +268, I found that there's no data in the lib (https://github.com/AfterShip/phone/blob/master/src/data/country_phone_data.ts#L1633)
- for +267, can add '77', '78' and '79' prefix (https://github.com/AfterShip/phone/blob/master/src/data/country_phone_data.ts#L312C48-L312C50)
- for +265, the docs show 77, 88, 99 prefix, which match our data (https://github.com/AfterShip/phone/blob/master/src/data/country_phone_data.ts#L1211)
the doc doesn't seem to show +265-984xxxxxx is a correct format - for +263, 864xxxxxxx is the range of VoIP, which does not include in our lib's scope
from phone.
Hey @Bossa573, thanks for checking the documents out.
3. How will do a further search later, maybe the document is not up to date
4. I am guessing it is possible for someone to create a WhatsApp account using VOIP, if they select the option to verify via a call. I probably have to find a work around on this one, probably for a phone number that the package undefined for phone('+263xxxxx').countryIso2?.toLowerCase()
I check if the number starts with +263.
from phone.
https://www.npmjs.com/package/phone/v/3.1.40
handle (1) and (2)
upcoming updates for the new format, if possible please try to create the PR as well, thank you very much.
from phone.
https://www.npmjs.com/package/phone/v/3.1.40 handle (1) and (2)
upcoming updates for the new format, if possible please try to create the PR as well, thank you very much.
Thank you @Bossa573! Sure no problem, I will raise a PR for 3 or 4 depending on the information I find. Cheers.
from phone.
Related Issues (20)
- New Canada area codes from 2020 onwards are missing HOT 1
- `phone('+441471323991').isValid` returns false? HOT 1
- Any plan on supporting landline phone number? HOT 1
- Nigerian numbers are up to 11 digits long but the lib assumes they should be 10 digits HOT 3
- Does not correctly parse Zimbabwe numbers +263 HOT 8
- Chinese cell phone numbers will be recognized as US cell phone numbers HOT 4
- Issue with Bahrain country code HOT 3
- Does Not Validate A Valid Phone Number HOT 1
- Library incorrectly flagging UAE phone numbers as incorrect HOT 8
- Missing Angullia 2642, 2644 area code
- Error in validating indian phone number with 11 digits HOT 2
- [Phone number format] Add more Poland prefix phone number HOT 5
- Phone Number Output HOT 1
- Some valid phone number is getting as invalid phone numbers HOT 3
- [Phone number format] HOT 1
- Can not validate India phone number HOT 2
- [feature] provide formatted number HOT 1
- [Phone number format]
- Publish only distribution files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phone.