Skip to content

Commit

Permalink
fix: add SLE to the isISO4217 validator (#2273)
Browse files Browse the repository at this point in the history
  • Loading branch information
urg authored Apr 27, 2024
1 parent 72c8dc1 commit 5677f91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/isISO4217.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const validISO4217CurrencyCodes = new Set([
'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG',
'QAR',
'RON', 'RSD', 'RUB', 'RWF',
'SAR', 'SBD', 'SCR', 'SDG', 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SRD', 'SSP', 'STN', 'SVC', 'SYP', 'SZL',
'SAR', 'SBD', 'SCR', 'SDG', 'SEK', 'SGD', 'SHP', 'SLE', 'SLL', 'SOS', 'SRD', 'SSP', 'STN', 'SVC', 'SYP', 'SZL',
'THB', 'TJS', 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TWD', 'TZS',
'UAH', 'UGX', 'USD', 'USN', 'UYI', 'UYU', 'UYW', 'UZS',
'VES', 'VND', 'VUV',
Expand Down
1 change: 1 addition & 0 deletions test/validators.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11560,6 +11560,7 @@ describe('Validators', () => {
'MYR',
'SGD',
'USD',
'SLE',
],
invalid: [
'',
Expand Down

0 comments on commit 5677f91

Please sign in to comment.