Commit f232854
fix(fake): generate NANP-valid phone numbers for demo data
gofakeit.Phone() produces numbers starting with 0 or 1 (~11% of the
time), which libphonenumber misparses (leading 1 is treated as country
code, leaving too few digits). Replace with a helper that generates
area codes and exchanges starting with 2-9 per NANP rules.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ced16e2 commit f232854
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
85 | 96 | | |
86 | 97 | | |
87 | 98 | | |
| |||
247 | 258 | | |
248 | 259 | | |
249 | 260 | | |
250 | | - | |
| 261 | + | |
251 | 262 | | |
252 | 263 | | |
253 | 264 | | |
| |||
258 | 269 | | |
259 | 270 | | |
260 | 271 | | |
261 | | - | |
| 272 | + | |
262 | 273 | | |
263 | 274 | | |
264 | 275 | | |
| |||
0 commit comments