-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix(finance): routingNumber now uses real FederalReserveRoutingSymbol from lookup table. #3429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ST-DDT
merged 9 commits into
faker-js:next
from
woldaker:fix/finance/routingNumber_#3290
Apr 19, 2026
Merged
Changes from 2 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
fb2132b
Added locale for base/finance. Updated modules/finance.routingNumber(…
624d42c
Had a few errors in my first commit. For some reason an ignore eslint…
16b5aa6
Updated the JSDoc comment for the method with a link to Wikipedia's p…
f86941d
Consolidated test conditions in finance random-seeded test
45ef38d
Merge branch 'next' into fix/finance/routingNumber_#3290
ST-DDT 8ccbbc4
Merge branch 'next' into fix/finance/routingNumber_#3290
woldaker a888b2f
Merge branch 'next' into fix/finance/routingNumber_#3290
woldaker c0b3a2e
Made changes as suggested here: https://github.com/faker-js/faker/pul…
413956d
Merge branch 'next' into fix/finance/routingNumber_#3290
ST-DDT File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
168 changes: 168 additions & 0 deletions
168
src/locales/base/finance/federal_reserve_routing_symbol.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,168 @@ | ||
| // Source: https://www.frbservices.org/resources/fees/check-key-to-routing-numbers.html | ||
| // Last Synced with Source: 2025-03-01 | ||
| export default [ | ||
| '0110', | ||
| '0111', | ||
| '0112', | ||
| '0113', | ||
| '0114', | ||
| '0115', | ||
| '0116', | ||
| '0117', | ||
| '0118', | ||
| '0119', | ||
| '0210', | ||
| '0211', | ||
| '0212', | ||
| '0213', | ||
| '0214', | ||
| '0215', | ||
| '0216', | ||
| '0219', | ||
| '0220', | ||
| '0223', | ||
| '0260', | ||
| '0280', | ||
| '0310', | ||
| '0311', | ||
| '0312', | ||
| '0313', | ||
| '0319', | ||
| '0360', | ||
| '0410', | ||
| '0412', | ||
| '0420', | ||
| '0421', | ||
| '0422', | ||
| '0423', | ||
| '0430', | ||
| '0432', | ||
| '0433', | ||
| '0434', | ||
| '0440', | ||
| '0441', | ||
| '0442', | ||
| '0510', | ||
| '0514', | ||
| '0515', | ||
| '0519', | ||
| '0520', | ||
| '0521', | ||
| '0522', | ||
| '0530', | ||
| '0531', | ||
| '0532', | ||
| '0539', | ||
| '0540', | ||
| '0550', | ||
| '0560', | ||
| '0570', | ||
| '0610', | ||
| '0611', | ||
| '0612', | ||
| '0613', | ||
| '0620', | ||
| '0621', | ||
| '0622', | ||
| '0630', | ||
| '0631', | ||
| '0632', | ||
| '0640', | ||
| '0641', | ||
| '0642', | ||
| '0650', | ||
| '0651', | ||
| '0652', | ||
| '0653', | ||
| '0654', | ||
| '0655', | ||
| '0660', | ||
| '0670', | ||
| '0710', | ||
| '0711', | ||
| '0712', | ||
| '0719', | ||
| '0720', | ||
| '0724', | ||
| '0730', | ||
| '0739', | ||
| '0740', | ||
| '0749', | ||
| '0750', | ||
| '0759', | ||
| '0810', | ||
| '0812', | ||
| '0813', | ||
| '0815', | ||
| '0819', | ||
| '0820', | ||
| '0829', | ||
| '0830', | ||
| '0839', | ||
| '0840', | ||
| '0841', | ||
| '0842', | ||
| '0843', | ||
| '0863', | ||
| '0865', | ||
| '0910', | ||
| '0911', | ||
| '0912', | ||
| '0913', | ||
| '0914', | ||
| '0915', | ||
| '0918', | ||
| '0919', | ||
| '0920', | ||
| '0921', | ||
| '0929', | ||
| '0960', | ||
| '1010', | ||
| '1011', | ||
| '1012', | ||
| '1019', | ||
| '1020', | ||
| '1021', | ||
| '1022', | ||
| '1023', | ||
| '1030', | ||
| '1031', | ||
| '1039', | ||
| '1040', | ||
| '1041', | ||
| '1049', | ||
| '1070', | ||
| '1110', | ||
| '1111', | ||
| '1113', | ||
| '1119', | ||
| '1120', | ||
| '1122', | ||
| '1123', | ||
| '1130', | ||
| '1131', | ||
| '1140', | ||
| '1149', | ||
| '1163', | ||
| '1210', | ||
| '1211', | ||
| '1212', | ||
| '1213', | ||
| '1214', | ||
| '1220', | ||
| '1221', | ||
| '1222', | ||
| '1223', | ||
| '1224', | ||
| '1230', | ||
| '1231', | ||
| '1232', | ||
| '1233', | ||
| '1240', | ||
| '1241', | ||
| '1242', | ||
| '1243', | ||
| '1250', | ||
| '1251', | ||
| '1252', | ||
| ]; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| /* | ||
| * This file is automatically generated. | ||
| * Run 'pnpm run generate:locales' to update. | ||
| */ | ||
| import type { FinanceDefinition } from '../../..'; | ||
| import federal_reserve_routing_symbol from './federal_reserve_routing_symbol'; | ||
|
|
||
| const finance: FinanceDefinition = { | ||
| federal_reserve_routing_symbol, | ||
| }; | ||
|
|
||
| export default finance; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.