Comparing version 3.1.19 to 3.1.20
@@ -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; |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
85077
2281