validator.js icon indicating copy to clipboard operation
validator.js copied to clipboard

feat(isISO4217): update iso4217 currency codes according to wiki

Open cbodtorf opened this issue 2 years ago • 1 comments

feat(isISO4217): update iso4217 currency codes according to wiki

  • Removed 'CUC' and 'HRK' currency codes
Code Num D Currency From Until Replaced by
HRK 191 2 Croatian kuna 1994-05-30 2023-01-01 EUR[31]
CUC 931 2 Cuban convertible peso 2022 CUP
  • Added 'SLE' and 'VED' currency codes
Code Num D Currency Locations
SLE 925 2 Sierra Leonean leone (new leone)[12][13][14] image Sierra Leone
VED 926 2 Venezuelan digital bolívar[18] image Venezuela

Resources:

  • https://en.wikipedia.org/wiki/ISO_4217#Active_codes_(List_One)

Checklist

  • [x] PR contains only changes related; no stray files, etc.
  • [x] README updated (where applicable)
  • [x] Tests written (where applicable)
  • [x] References provided in PR (where applicable)

cbodtorf avatar Oct 27 '23 16:10 cbodtorf

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b958bd7) 99.95% compared to head (5c382bc) 99.95%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2332      +/-   ##
==========================================
- Coverage   99.95%   99.95%   -0.01%     
==========================================
  Files         107      107              
  Lines        2454     2449       -5     
  Branches      619      619              
==========================================
- Hits         2453     2448       -5     
  Partials        1        1              
Files Coverage Δ
src/lib/isISO4217.js 100.00% <ø> (ø)

... and 3 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Oct 27 '23 16:10 codecov[bot]

Thanks for your contrib!

profnandaa avatar Jun 04 '24 05:06 profnandaa