Skip to content

Commit 75d7e1b

Browse files
authored
Merge pull request #5736 from vuestorefront/remove-phone-num
Removed phoneNum
2 parents a8fdea4 + ce96f1b commit 75d7e1b

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3939
- servercart-after-diff event payload - Fifciu (#5365)
4040
- Fix Original Price Calculation typo - @akucharczyk / @lukaszjedrasik (#5472)
4141
- Purge loader works properly with dynamic config reload - @Fifciu
42+
4243
### Changed / Improved
4344

4445
- Moved hardcoded fields from omitSelectedVariantFields.ts to config (#4679)
4546
- Bump dependencies versions (#4715, #4696, #4951)
4647
- Using dayjs for dates in taxCalc.ts to make it work properly in Safari (#5364)
4748
- Awaiting addItem action call inside mergeServerItem action (#5165)
49+
- Moved `phoneNum` to proper branch - @lukaszjedrasik ([#5730](https://github.com/vuestorefront/vue-storefront/issues/5730))
50+
4851
## [1.12.2] - 2020.07.28
4952

5053
### Added

core/helpers/validators/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,3 @@ export const unicodeAlpha = (value: string): boolean => /[A-Za-z\xAA\xB5\xBA\xC0
33

44
/** check if string contains some any unicode alphabet characters or digits */
55
export const unicodeAlphaNum = (value: string): boolean => unicodeAlpha(value) || /[0-9]+/.test(value)
6-
7-
/** check if string contains between 6 and 14 digits and can consist of plus sign with national code and spaces between groups of digits */
8-
export const phoneNum = (value: string): boolean => /^\+?(?:[0-9] ?){6,14}[0-9]$/.test(value)

src/themes/default

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)