Skip to content

Releases: agraris/nusantara-valid

Nusantara Valid v0.4.1

27 Feb 00:35
Compare
Choose a tag to compare

Added:

Fixes:

  • NISN unit test

Nusantara Valid v0.4.0

04 Mar 04:45
Compare
Choose a tag to compare

Nusantara Valid v0.3.0

30 Jul 21:54
Compare
Choose a tag to compare

Nusantara Valid v0.2.0

16 Jul 09:33
Compare
Choose a tag to compare

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

29 Jun 12:10
Compare
Choose a tag to compare

Initial release