koblas / stdnum-js

A JavaScript library to provide functions to handle, parse and validate standard numbers.
MIT License
38 stars 26 forks source link

fix: Sri Lanka NIC number validation #114

Closed rajithaeyee closed 5 months ago

rajithaeyee commented 5 months ago

added Sri Lanka NIC number validation feature

rajithaeyee commented 5 months ago

@koblas test failures are not occured from Sri Lankan NIC but from bis.spec.ts(Belgian) and curp.spec.ts (Mexico), I will go through the code and see what's happening there. Thanks!

koblas commented 5 months ago

@rajithaeyee Found the issue, a bug in a unit test (padding issue) committing the fix shortly so you can rebase.

rajithaeyee commented 5 months ago

@koblas Thanks! :)

rajithaeyee commented 5 months ago

done @koblas