Comparing version 3.1.30 to 3.1.31
@@ -21,6 +21,6 @@ "use strict"; | ||
'603', '605', '606', '607', '608', '609', '610', '612', '614', '615', '616', '617', '618', '619', '620', | ||
'623', '626', '627', '628', '629', '630', '631', '636', '640', '641', '646', '650', '651', '657', '659', '660', | ||
'623', '626', '627', '628', '629', '630', '631', '636', '640', '641', '646', '650', '651', '656', '657', '659', '660', | ||
'661', '662', '667', '669', '678', '679', '680', '681', '682', '689', '701', '702', '703', '704', '706', '707', | ||
'708', '712', '713', '714', '715', '716', '717', '718', '719', '720', '724', '725', '726', '727', '730', '731', | ||
'732', '734', '737', '740', '743', '747', '752', '754', '757', '760', '762', '763', '764', '765', '769', '770', | ||
'732', '734', '737', '740', '743', '747', '752', '754', '757', '760', '762', '763', '764', '765', '769', '770', '771', | ||
'772', '773', '774', '775', '779', '781', '785', '786', '787', '801', '802', '803', '804', '805', '806', '808', | ||
@@ -27,0 +27,0 @@ '810', '812', '813', '814', '815', '816', '817', '818', '820', '828', '830', '831', '832', '835', '838', '840', '843', '845', |
@@ -16,3 +16,3 @@ import countryPhoneData from './data/country_phone_data'; | ||
} | ||
export declare type PhoneResult = PhoneInvalidResult | PhoneValidResult; | ||
export type PhoneResult = PhoneInvalidResult | PhoneValidResult; | ||
/** | ||
@@ -19,0 +19,0 @@ * @typedef {Object} Option |
import countryPhoneData from '../data/country_phone_data'; | ||
declare type GetArrayElementType<T extends readonly any[]> = T extends readonly (infer U)[] ? U : never; | ||
export declare type CountryPhoneDataItem = GetArrayElementType<typeof countryPhoneData>; | ||
type GetArrayElementType<T extends readonly any[]> = T extends readonly (infer U)[] ? U : never; | ||
export type CountryPhoneDataItem = GetArrayElementType<typeof countryPhoneData>; | ||
/** | ||
@@ -5,0 +5,0 @@ * @param {string=} country - country code alpha 2 or 3 |
{ | ||
"name": "phone", | ||
"version": "3.1.30", | ||
"version": "3.1.31", | ||
"description": "With a given country and phone number, validate and format the phone number to E.164 standard", | ||
@@ -33,4 +33,4 @@ "main": "./dist/index.js", | ||
"@babel/preset-env": "^7.20.2", | ||
"@types/jest": "^29.2.2", | ||
"@types/node": "^18.11.9", | ||
"@types/jest": "^29.2.3", | ||
"@types/node": "^18.11.10", | ||
"@types/papaparse": "^5.3.5", | ||
@@ -43,3 +43,3 @@ "babel-cli": "^6.26.0", | ||
"dotenv": "^16.0.3", | ||
"eslint": "^8.27.0", | ||
"eslint": "^8.28.0", | ||
"eslint-config-aftership": "^7.0.0", | ||
@@ -54,6 +54,6 @@ "eslint-plugin-import": "^2.26.0", | ||
"ts-node": "^10.9.1", | ||
"twilio": "^3.83.1", | ||
"typescript": "^4.8.4", | ||
"twilio": "^3.83.4", | ||
"typescript": "^4.9.3", | ||
"webpack": "^5.75.0", | ||
"webpack-cli": "^4.10.0", | ||
"webpack-cli": "^5.0.0", | ||
"webpack-dev-server": "^4.11.1" | ||
@@ -60,0 +60,0 @@ }, |
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
85371