Releases: agraris/nusantara-valid
Nusantara Valid v0.4.2
Nusantara Valid v0.4.1
Added:
- Missing NPWP Identifier (65, 71, 91) d281bce by @adisetiawan
- Missing NPWP Identifier (41, 64) ebee470 by @trikarai
Fixes:
- NISN unit test
Nusantara Valid v0.4.0
Nusantara Valid v0.3.0
Nusantara Valid v0.2.0
New
Add getDataCellularProvider() and getDataCellularProviders() function
Add formatTelephoneNumber() function
Add formatCellularNumber() function
Add getDataTNKB function
Add isValidWithComparison() function
Add formatDate() function helper
Add getDataNIK() function
Add getDataTelephoneNumber() function
Add function documents
Add getDataNIP() function
Fixes
Refactor parseCellularPrefix and parseTelephoneAreaCode into cleanUpPhoneNumber
Refactor getProvinceData() into getDataProvince() and getDataProvinces()
Refactor getBankData() into getDataBank() and getDataBanks()
Refactor IValidLength interface into correctLength() helper
Refactor range() Array.from (ES2015) with ES5 syntax using for loop to support older browsers
Refactor includes() (ES2016) with custom function using loop to support older browsers
Fix e-mail regex groupings
Change NIK validation Date() format with YYYYMMDD or YYYY-MM-DD
Change getDataCellularNumber() object data structure
Remove support for NPWP number parameter type and pad formating
Nusantara Valid v0.1.0
Initial release