Huge News!Announcing our $40M Series B led by Abstract Ventures.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.19 to 3.1.20

11

dist/data/country_phone_data.d.ts

@@ -1,2 +0,2 @@

declare const _default: ({
declare const _default: {
alpha2: string;

@@ -8,10 +8,3 @@ alpha3: string;

phone_number_lengths: number[];
} | {
alpha2: string;
alpha3: string;
country_code: string;
country_name: string;
mobile_begin_with: number[];
phone_number_lengths: number[];
})[];
}[];
export default _default;

2

dist/data/country_phone_data.js

@@ -1513,3 +1513,3 @@ "use strict";

country_name: 'Svalbard And Jan Mayen',
mobile_begin_with: [79],
mobile_begin_with: ['79'],
phone_number_lengths: [8]

@@ -1516,0 +1516,0 @@ },

@@ -15,9 +15,2 @@ import countryPhoneData from '../data/country_phone_data';

phone_number_lengths: number[];
} | {
alpha2: string;
alpha3: string;
country_code: string;
country_name: string;
mobile_begin_with: number[];
phone_number_lengths: number[];
} | null;

@@ -31,9 +24,2 @@ export declare function findExactCountryPhoneData(phoneNumber: string, validateMobilePrefix: boolean, countryPhoneDatum: CountryPhoneDataItem): {

phone_number_lengths: number[];
} | {
alpha2: string;
alpha3: string;
country_code: string;
country_name: string;
mobile_begin_with: number[];
phone_number_lengths: number[];
} | null;

@@ -47,9 +33,2 @@ export declare function findPossibleCountryPhoneData(phoneNumber: string, validateMobilePrefix: boolean, countryPhoneDatum: CountryPhoneDataItem): {

phone_number_lengths: number[];
} | {
alpha2: string;
alpha3: string;
country_code: string;
country_name: string;
mobile_begin_with: number[];
phone_number_lengths: number[];
} | null | undefined;

@@ -71,9 +50,2 @@ /**

phone_number_lengths: number[];
} | {
alpha2: string;
alpha3: string;
country_code: string;
country_name: string;
mobile_begin_with: number[];
phone_number_lengths: number[];
} | null | undefined;

@@ -87,9 +59,2 @@ possibleCountryPhoneData: {

phone_number_lengths: number[];
} | {
alpha2: string;
alpha3: string;
country_code: string;
country_name: string;
mobile_begin_with: number[];
phone_number_lengths: number[];
} | null | undefined;

@@ -96,0 +61,0 @@ };

{
"name": "phone",
"version": "3.1.19",
"version": "3.1.20",
"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",

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