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.7 to 3.1.8

11

dist/data/country_phone_data.d.ts

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

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

@@ -8,3 +8,10 @@ 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: [],
mobile_begin_with: [79],
phone_number_lengths: [8]

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

@@ -15,2 +15,9 @@ 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;

@@ -24,2 +31,9 @@ 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;

@@ -33,2 +47,9 @@ 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;

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

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

@@ -59,2 +87,9 @@ 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;

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

{
"name": "phone",
"version": "3.1.7",
"version": "3.1.8",
"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