Skip to content

Commit

Permalink
fix(location): fix US ZIP code anomalies for zipCode({state}) (#3180)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewmayer authored Oct 16, 2024
1 parent 98d1dc0 commit df59724
Showing 1 changed file with 44 additions and 5 deletions.
49 changes: 44 additions & 5 deletions src/locales/en_US/location/postcode_by_state.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,54 @@
export default {
AK: '{{number.int({"min": 99501,"max": 99950})}}',
AL: '{{number.int({"min": 35004,"max": 36925})}}',
AR: '{{number.int({"min": 71601,"max": 72959})}}',
AR: [
'{{number.int({"min": 71601,"max": 72642})}}',
'{{number.int({"min": 72644,"max": 72959})}}',
],
AZ: '{{number.int({"min": 85001,"max": 86556})}}',
CA: '{{number.int({"min": 90001,"max": 96162})}}',
CO: '{{number.int({"min": 80001,"max": 81658})}}',
CT: '0{{number.int({"min": 6001,"max": 6389})}}',
DC: '{{number.int({"min": 20001,"max": 20039})}}',
DE: '{{number.int({"min": 19701,"max": 19980})}}',
FL: '{{helpers.arrayElement(["320","321","322","323","324","325","326","327","328","329","330","331","332","333","334","335","336","337","338","339","341","342","344","346","347","349"])}}{{string.numeric({"length": 2})}}',
FL: [
'{{number.int({"min": 32003,"max": 32099})}}',
'{{number.int({"min": 32102,"max": 32198})}}',
'{{number.int({"min": 32201,"max": 32290})}}',
'{{number.int({"min": 32301,"max": 32399})}}',
'{{number.int({"min": 32401,"max": 32466})}}',
'{{number.int({"min": 32501,"max": 32592})}}',
'{{number.int({"min": 32601,"max": 32697})}}',
'{{number.int({"min": 32701,"max": 32799})}}',
'{{number.int({"min": 32801,"max": 32899})}}',
'{{number.int({"min": 32901,"max": 32978})}}',
'{{number.int({"min": 33001,"max": 33097})}}',
'{{number.int({"min": 33101,"max": 33199})}}',
'{{number.int({"min": 33206,"max": 33299})}}',
'{{number.int({"min": 33301,"max": 33394})}}',
'{{number.int({"min": 33401,"max": 33499})}}',
'{{number.int({"min": 33503,"max": 33598})}}',
'{{number.int({"min": 33601,"max": 33694})}}',
'{{number.int({"min": 33701,"max": 33786})}}',
'{{number.int({"min": 33801,"max": 33898})}}',
'{{number.int({"min": 33900,"max": 33994})}}',
'{{number.int({"min": 34101,"max": 34146})}}',
'{{number.int({"min": 34201,"max": 34295})}}',
'{{number.int({"min": 34420,"max": 34498})}}',
'{{number.int({"min": 34601,"max": 34698})}}',
'{{number.int({"min": 34705,"max": 34797})}}',
'{{number.int({"min": 34945,"max": 34997})}}',
],
GA: '{{number.int({"min": 30001,"max": 31999})}}',
HI: '{{number.int({"min": 96701,"max": 96898})}}',
HI: [
'{{number.int({"min": 96701,"max": 96798})}}',
'{{number.int({"min": 96801,"max": 96898})}}',
],
IA: '{{number.int({"min": 50001,"max": 52809})}}',
ID: '{{number.int({"min": 83201,"max": 83876})}}',
ID: [
'{{number.int({"min": 83201,"max": 83406})}}',
'{{number.int({"min": 83415,"max": 83876})}}',
],
IL: '{{number.int({"min": 60001,"max": 62999})}}',
IN: '{{number.int({"min": 46001,"max": 47997})}}',
KS: '{{number.int({"min": 66002,"max": 67954})}}',
Expand All @@ -38,7 +74,10 @@ export default {
OK: '{{number.int({"min": 73001,"max": 73199})}}',
OR: '{{number.int({"min": 97001,"max": 97920})}}',
PA: '{{number.int({"min": 15001,"max": 19640})}}',
PR: '00{{number.int({"min": 601,"max": 988})}}',
PR: [
'00{{number.int({"min": 601,"max": 799})}}',
'00{{number.int({"min": 901,"max": 988})}}',
],
RI: '0{{number.int({"min": 2801,"max": 2940})}}',
SC: '{{number.int({"min": 29001,"max": 29948})}}',
SD: '{{number.int({"min": 57001,"max": 57799})}}',
Expand Down

0 comments on commit df59724

Please sign in to comment.