New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

phone

Package Overview
Dependencies
Maintainers
2
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

phone - npm Package Compare versions

Comparing version 3.1.22 to 3.1.23

2

dist/data/country_phone_data.js

@@ -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

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