File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3- ## [ 0.0.5] ( https://github.com/uphold/uk-modulus-checking/tree/0.0.5 ) (2017-10-26)
4- [ Full Changelog] ( https://github.com/uphold/uk-modulus-checking/compare/v0.0.4...0.0.5 )
3+ ## [ 0.0.6] ( https://github.com/uphold/uk-modulus-checking/tree/0.0.6 ) (2018-04-09)
4+ [ Full Changelog] ( https://github.com/uphold/uk-modulus-checking/compare/v0.0.5...0.0.6 )
5+
6+ ** Merged pull requests:**
7+
8+ - Update Vocalink data sets and PDF docs to versions valid as of 16/4/2018 [ \# 13] ( https://github.com/uphold/uk-modulus-checking/pull/13 ) ([ gunjam] ( https://github.com/gunjam ) )
9+
10+ ## [ v0.0.5] ( https://github.com/uphold/uk-modulus-checking/tree/v0.0.5 ) (2017-10-26)
11+ [ Full Changelog] ( https://github.com/uphold/uk-modulus-checking/compare/v0.0.4...v0.0.5 )
512
613** Merged pull requests:**
714
Original file line number Diff line number Diff line change 44040010 040014 DBLAL 2 1 2 1 2 1 2 1 2 1 2 1 2 1
55040020 040059 MOD11 0 2 0 0 9 1 2 8 4 3 7 5 6 1
66040072 040073 MOD11 0 0 0 0 0 0 8 7 6 5 4 3 2 1
7+ 040082 040082 MOD10 2 1 2 1 2 1 0 64 32 16 8 4 2 1
78040400 041399 DBLAL 1 3 4 3 9 3 1 7 5 5 4 5 2 4
89050000 050020 MOD11 0 0 0 0 0 0 2 1 7 5 8 2 4 1
910050022 058999 MOD11 0 0 0 0 0 0 2 1 7 5 8 2 4 1
210211232279 232279 DBLAL 2 1 2 1 2 1 2 1 2 1 2 1 2 1
211212232283 232283 MOD11 0 0 0 0 0 0 0 7 6 5 4 3 2 1
212213232283 232283 DBLAL 2 1 2 1 2 1 2 1 2 1 2 1 2 1
214+ 232290 232290 MOD11 0 0 0 0 0 0 0 7 6 5 4 3 2 1
213215232445 232445 MOD11 0 0 0 0 0 0 0 7 6 5 4 3 2 1
214216232445 232445 DBLAL 2 1 2 1 2 1 2 1 2 1 2 1 2 1
215217232571 232571 MOD11 0 0 0 0 0 0 0 7 6 5 4 3 2 1
638640302556 302556 MOD11 0 0 3 2 9 8 1 7 6 5 4 3 2 1 9
639641302579 302580 MOD11 0 0 3 2 9 8 5 7 6 5 4 3 2 1 2
640642302579 302580 MOD11 0 0 3 2 9 8 1 7 6 5 4 3 2 1 9
643+ 302880 302880 MOD11 0 0 0 0 0 0 8 7 6 5 4 3 2 1
641644303460 303461 MOD11 0 0 3 2 9 8 5 7 6 5 4 3 2 1 2
642645303460 303461 MOD11 0 0 3 2 9 8 1 7 6 5 4 3 2 1 9
643646305907 305939 MOD11 0 0 3 2 9 8 5 7 6 5 4 3 2 1 2
Original file line number Diff line number Diff line change @@ -30,10 +30,10 @@ var UkModulusChecking = function () {
3030 */
3131
3232 function UkModulusChecking ( _ref ) {
33- var _ref$accountNumber = _ref . accountNumber ,
34- accountNumber = _ref$accountNumber === undefined ? '' : _ref$accountNumber ,
35- _ref$sortCode = _ref . sortCode ,
36- sortCode = _ref$sortCode === undefined ? '' : _ref$sortCode ;
33+ var _ref$accountNumber = _ref . accountNumber ;
34+ var accountNumber = _ref$accountNumber === undefined ? '' : _ref$accountNumber ;
35+ var _ref$sortCode = _ref . sortCode ;
36+ var sortCode = _ref$sortCode === undefined ? '' : _ref$sortCode ;
3737
3838 _classCallCheck ( this , UkModulusChecking ) ;
3939
@@ -346,7 +346,7 @@ var UkModulusChecking = function () {
346346 } , {
347347 key : 'loadValacdos' ,
348348 value : function loadValacdos ( ) {
349- var content = _fs2 . default . readFileSync ( __dirname + '/data/valacdos-v460 .txt' , 'utf8' ) ;
349+ var content = _fs2 . default . readFileSync ( __dirname + '/data/valacdos-v480-updated .txt' , 'utf8' ) ;
350350 var valacdos = [ ] ;
351351
352352 content . split ( '\r\n' ) . forEach ( function ( line ) {
Original file line number Diff line number Diff line change 11{
22 "name" : " uk-modulus-checking" ,
3- "version" : " 0.0.5 " ,
3+ "version" : " 0.0.6 " ,
44 "description" : " Validate a UK bank account number against a sort code using the VocaLink modulus check" ,
55 "author" : " Uphold" ,
66 "license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments