feat(v4): add z.abaRoutingNumber() string format with ABA checksum
Link to changes: https://github.com/jiaheyi-maggie/zod/tree/feat/aba-routing-number
Adds z.abaRoutingNumber() to Zod and Zod Mini, following the shape of z.iban() (#6571).
Validation is shape plus the ABA check digit: exactly nine digits, weights 3-7-1 repeating, weighted sum divisible by 10. Digits only — no spaces or hyphens, same call as the IBAN electronic format. The leading-digit prefix ranges the Fed assigns are not enforced; they change over time and a checksum-valid number with an unlisted prefix would be turned away for nothing, the same reasoning that removed the issuer allowlist from z.creditCard() in #5931.
Motivation: US ACH payouts to a mistyped routing number come back from the receiving bank as a return, and the checksum catches every single-digit typo and most transpositions before the payment is ever sent. Every ACH form ends up hand-rolling this refinement.
zod/mini pays nothing unless it calls z.abaRoutingNumber(); a mini bundle that does pays ~314 B gzipped for the whole call path (~54 B less than the z.iban() fixture). Classic pays 18 raw bytes for the locale label. Locales keep "ABA routing number" as a loanword, with the Portuguese article and the Hebrew gendered form handled the same way as IBAN. Nothing is added to any existing parse path; memory/runtime benches were not run since the instance is shape-identical to z.iban().
Source: colinhacks/zod