(frontend) add libphonenumber-js for phone number formatting

Install JavaScript implementation of Google's libphonenumber for proper
international phone number validation and formatting.
This commit is contained in:
lebaudantoine
2025-07-01 23:14:29 +02:00
committed by aleb_the_flash
parent 70d250cc9c
commit 6a1c85809d
2 changed files with 8 additions and 0 deletions

View File

@@ -22,6 +22,7 @@
"i18next-browser-languagedetector": "8.2.0",
"i18next-parser": "9.3.0",
"i18next-resources-to-backend": "1.2.1",
"libphonenumber-js": "1.12.9",
"livekit-client": "2.15.2",
"posthog-js": "1.256.2",
"react": "18.3.1",
@@ -7207,6 +7208,12 @@
"node": ">= 0.8.0"
}
},
"node_modules/libphonenumber-js": {
"version": "1.12.9",
"resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.12.9.tgz",
"integrity": "sha512-VWwAdNeJgN7jFOD+wN4qx83DTPMVPPAUyx9/TUkBXKLiNkuWWk6anV0439tgdtwaJDrEdqkvdN22iA6J4bUCZg==",
"license": "MIT"
},
"node_modules/lightningcss": {
"version": "1.25.1",
"resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.25.1.tgz",

View File

@@ -29,6 +29,7 @@
"i18next-resources-to-backend": "1.2.1",
"livekit-client": "2.15.2",
"posthog-js": "1.256.2",
"libphonenumber-js": "1.12.9",
"react": "18.3.1",
"react-aria-components": "1.10.1",
"react-dom": "18.3.1",