From e18657ba8585f79c4c7b3831e9c30a631090a80f Mon Sep 17 00:00:00 2001 From: Bossa573 Date: Thu, 24 Oct 2024 11:25:53 +0900 Subject: [PATCH] Bump to 3.1.52 - https://github.com/AfterShip/phone/issues/403 Cuba phone number format --- package.json | 2 +- src/data/country_phone_data.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 43262dd..01ca67b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "phone", - "version": "3.1.51", + "version": "3.1.52", "description": "With a given country and phone number, validate and format the phone number to E.164 standard", "main": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/src/data/country_phone_data.ts b/src/data/country_phone_data.ts index 2f19682..def7084 100644 --- a/src/data/country_phone_data.ts +++ b/src/data/country_phone_data.ts @@ -457,7 +457,7 @@ export default [ alpha3: 'CUB', country_code: '53', country_name: 'Cuba', - mobile_begin_with: ['5'], + mobile_begin_with: ['5', '6'], phone_number_lengths: [8] }, // {alpha2: "CX", alpha3: "CXR", country_code: "61", country_name: "Christmas Island", mobile_begin_with: [], phone_number_lengths: []},